fabric-samples/off_chain_data/application-go/parser
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
..
blockParser.go Implement block and transaction processor 2025-02-24 13:14:47 +01:00
blockParser_test.go Encapsulate block parser in a package 2025-02-24 13:14:47 +01:00
identity.go Encapsulate block parser in a package 2025-02-24 13:14:47 +01:00
payload.go Implement block parsing 2025-02-24 13:14:47 +01:00
readWriteSet.go Implement block parsing 2025-02-24 13:14:47 +01:00
transaction.go Implement block parsing 2025-02-24 13:14:47 +01:00