aelf区块数据结构和ChainId
Block & BlockHeader & BlockBody
message Block {
BlockHeader header = 1;
BlockBody body = 2;
}message BlockHeader {
int32 version = 1;
int32 chain_id = 2;
Hash previous_block_hash = 3;
Hash merkle_tree_root_of_transactions = 4;
Hash merkle_tree_root_of_world_state = 5;
bytes bloom = 6;
int64 height = 7;
map<string, bytes> extra_data = 8;
google.protobuf.Timestamp time = 9;
Hash merkle_tree_root_of_transaction_status = 10;
bytes signer_pubkey = 9999;
bytes signature = 10000;
}ChainId的两种表现形式
侧链名tDVV是怎么来的
Last updated