hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
313 stars 138 forks source link

Implement Merkle tree serialization to protobuf #13692

Open artemananiev opened 5 months ago

artemananiev commented 5 months ago

One of the aspects of public merkle tree APIs feature is that all platform inputs and outputs should be in protobuf. In particular, platform state is saved to disk every 15 minutes, and these snapshots are currently just binary files with no clear schema. These files should be changed to protobuf.

13764 determines if this work will be to flush the virtual node cache on every snapshot, or to serialize it as protobuf.

poulok commented 2 months ago

After Virtual Mega Map, is the only part left of this the Virtual Node Cache?