hedera-services icon indicating copy to clipboard operation
hedera-services copied to clipboard

Block stream MVP

Open netopyr opened this issue 9 months ago • 0 comments

Write the block stream as specified.

### Unrelated, but good to be done before blockstreams
- [ ] https://github.com/hashgraph/hedera-services/issues/13559
- [ ] https://github.com/hashgraph/hedera-services/issues/13447
- [ ] https://github.com/hashgraph/hedera-services/issues/14032
### StreamBuilders
- [ ] https://github.com/hashgraph/hedera-services/issues/14349
- [ ] https://github.com/hashgraph/hedera-services/issues/13349
### POC Related
- [ ] https://github.com/hashgraph/hedera-services/issues/13348
- [ ] https://github.com/hashgraph/hedera-services/issues/13349
### Protobufs
- [ ] https://github.com/hashgraph/hedera-services/issues/14031
- [ ] #13897
- [x] Merge block-node `hedera-protobufs` [branch](https://github.com/hashgraph/hedera-protobufs/tree/continue-block-node) into main
### Writing Block To A File
- [ ] https://github.com/hashgraph/hedera-services/issues/13921
- [x] Implement a basic block-writing facility using the given output types (StateChange, transaction outputs by service, etc.) In other words, create `BlockStreamManager`
- [ ] https://github.com/hashgraph/hedera-services/issues/14143
- [ ] https://github.com/hashgraph/hedera-services/issues/14121
- [ ] https://github.com/hashgraph/hedera-services/issues/14438
- [ ] https://github.com/hashgraph/hedera-services/issues/14249
- [x] Attach StateChanges to pending stream builders in Savepoint commit
- [ ] https://github.com/hashgraph/hedera-services/issues/14247
- [ ] https://github.com/hashgraph/hedera-services/issues/14354
- [x] Write EventMetadata BlockItem's to the block stream
- [ ] https://github.com/hashgraph/hedera-services/issues/14668
- [ ] https://github.com/hashgraph/hedera-services/issues/14919
### State Changes
- [ ] https://github.com/hashgraph/hedera-services/issues/14138
- [x] Create a basic sequence diagram that describes the flow of state changes for a single user transaction
- [x] Write a mock implementation for defined state changes API (placeholder for more tickets)
- [ ] https://github.com/hashgraph/hedera-services/issues/14506
- [x] Determine areas where state is commited outside of the stack and try to use the stack.
### Testing And Verification
- [x] Use class from #14438 to verify block items
- [ ] https://github.com/hashgraph/hedera-services/issues/14618
- [ ] https://github.com/hashgraph/hedera-services/issues/14619
- [ ] https://github.com/hashgraph/hedera-services/issues/14645
- [ ] https://github.com/hashgraph/hedera-services/issues/14926
- [ ] https://github.com/hashgraph/hedera-services/issues/14958
- [ ] https://github.com/hashgraph/hedera-services/issues/14963
- [ ] https://github.com/hashgraph/hedera-services/issues/14997
- [x] Create translators for pending airdrop transactions (when possible)
### Platform Dependencies
- [x] API for StateChanges
- [x] Event metadata
- [x] State Proof data needed
### Validators
- [ ] https://github.com/hashgraph/hedera-services/issues/14415
- [x] Transfer List, Token Transfer list, etc.
- [x] Validator to validate block metadata and hash chain
### Merge the `stream-manager-spike` branch to develop
- [ ] https://github.com/hashgraph/hedera-services/issues/14704
- [ ] https://github.com/hashgraph/hedera-services/pull/14833
- [ ] https://github.com/hashgraph/hedera-services/issues/14940
- [ ] https://github.com/hashgraph/hedera-services/issues/14941
- [ ] https://github.com/hashgraph/hedera-services/issues/15027
- [ ] https://github.com/hashgraph/hedera-services/issues/15080
- [ ] https://github.com/hashgraph/hedera-services/issues/15104
- [ ] https://github.com/hashgraph/hedera-services/issues/15138
- [ ] https://github.com/hashgraph/hedera-services/issues/15151
- [ ] https://github.com/hashgraph/hedera-services/issues/15147
- [ ] https://github.com/hashgraph/hedera-services/issues/15204
- [ ] https://github.com/hashgraph/hedera-services/issues/15183
- [ ] https://github.com/hashgraph/hedera-services/issues/15163

netopyr avatar May 16 '24 11:05 netopyr