fabric-samples/off_chain_data/application-go
Stanislav Jakuschevskij bd0c03356b
Implement block and transaction processor
Added block processor struct and the process method.
Implemented getting valid transactions from the last processed index.
Added data structures needed for the store.

Decomposed the parser.Block.Transactions() method into readable chunks.

Added transaction processor struct and process method. Unwrapping
read write set data from the transaction, mapping to a new "write"
data structure and passing down to the store.

Store is an empty function and will be implemented next.

Signed-off-by: Stanislav Jakuschevskij <stas@two-giants.com>
2025-02-24 13:14:47 +01:00
..
contract Encapsulate block parser in a package 2025-02-24 13:14:47 +01:00
parser Implement block and transaction processor 2025-02-24 13:14:47 +01:00
utils Encapsulate block parser in a package 2025-02-24 13:14:47 +01:00
app.go Add off-chain-data go client application 2025-02-24 13:14:46 +01:00
connect.go Add off-chain-data go client application 2025-02-24 13:14:46 +01:00
getAllAssets.go Encapsulate block parser in a package 2025-02-24 13:14:47 +01:00
go.mod Encapsulate block parser in a package 2025-02-24 13:14:47 +01:00
go.sum Encapsulate block parser in a package 2025-02-24 13:14:47 +01:00
listen.go Implement block and transaction processor 2025-02-24 13:14:47 +01:00
transact.go Encapsulate block parser in a package 2025-02-24 13:14:47 +01:00