Add Transaction.block_timestamp

This commit is contained in:
Nex 2020-06-15 07:29:47 +08:00
parent eb604852a8
commit c32a9b8ce7

View File

@ -17,16 +17,17 @@ enum TransactionType {
message Transaction { message Transaction {
bytes block_hash = 1; // `null` bytes block_hash = 1; // `null`
uint32 index = 2; // index`null` int64 block_timestamp = 2; // UNIX
bytes hash = 3; // uint32 index = 3; // index`null`
TransactionType type = 4; // bytes hash = 4; //
bytes from = 5; // TransactionType type = 5; //
uint64 nonce = 6; // bytes from = 6; //
bytes to = 7; // `null` uint64 nonce = 7; //
bytes data = 8; // bytes to = 8; // `null`
bytes v = 9; // ECDSA recovery id bytes data = 9; //
bytes r = 10; // ECDSA signature r bytes v = 10; // ECDSA recovery id
bytes s = 11; // ECDSA signature s bytes r = 11; // ECDSA signature r
bytes s = 12; // ECDSA signature s
} }
message Block { message Block {