OSDN Git Service

modify code
[bytom/vapor.git] / protocol / bc / bc.proto
index d333667..b12c67d 100644 (file)
@@ -53,6 +53,18 @@ message Proof {
        bytes controlProgram = 2;
 }
 
+message BytomBlockHeader {
+  uint64            version                 = 1;
+  uint64            height                  = 2;
+  Hash              previous_block_id       = 3;
+  uint64            timestamp               = 4;
+  Hash              transactions_root       = 5;
+  Hash              transaction_status_hash = 6;
+  uint64            nonce                   = 7;
+  uint64            bits                    = 8;
+  TransactionStatus transaction_status      = 9;
+}
+
 message BlockHeader {
   uint64            version                 = 1;
   uint64            height                  = 2;