2 option go_package = "storage";
3 package chain.core.txdb.internal.storage;
5 // Snapshot represents a snapshot of the blockchain, including the state
6 // tree and issuance memory.
8 // Nodes contains every node within the state tree, including interior nodes.
9 // The nodes are ordered according to a pre-order traversal.
10 repeated StateTreeNode nodes = 1;
12 // Nonces contains the record of recent nonces for ensuring
13 // uniqueness of issuances.
14 repeated Nonce nonces = 2;
21 message StateTreeNode {
26 // Mainchain represents a mainchain of the blockchain
29 repeated Hash hashs = 1;