1. Add new TxLedger APIs: BlockCount, GetBlocks
2. Update AcChain APIs 3. Change hashes from 32 bytes to 20 bytes
This commit is contained in:
@@ -39,7 +39,7 @@ message Block {
|
||||
uint64 number = 1; // 区块号,当区块处于待确认状态时为`null`
|
||||
bytes hash = 2; // 区块的哈希,当区块处于待确认状态时为`null`
|
||||
bytes parent_hash = 3; // 父区块的哈希
|
||||
bytes witness = 4; // 见证者账户地址
|
||||
repeated bytes witnesses = 4; // 见证者账户地址的数组
|
||||
uint64 timestamp = 5; // 区块产生时的UNIX时间戳
|
||||
uint64 size = 6; // 区块大小的字节数
|
||||
bytes transactions_root = 7; // 区块的事务树根
|
||||
|
||||
Reference in New Issue
Block a user