OSDN Git Service

Bvm (#138)
[bytom/bytom.git] / protocol / bc / bc.proto
index 162037b..9261066 100644 (file)
@@ -54,11 +54,12 @@ message BlockHeader {
   uint64 serialized_size           = 2;
   uint64 height                    = 3;
   Hash   previous_block_id         = 4;
-  uint64 timestamp_ms              = 5;
-  Hash   transactions_root         = 6;
-  Hash   assets_root               = 7;
-  uint64 nonce                     = 8;
-  uint64 bits                      = 9;
+  Hash   seed                      = 5;
+  uint64 timestamp_ms              = 6;
+  Hash   transactions_root         = 7;
+  Hash   assets_root               = 8;
+  uint64 nonce                     = 9;
+  uint64 bits                      = 10;
 }
 
 message TxHeader {
@@ -66,9 +67,7 @@ message TxHeader {
   uint64        serialized_size = 2;
   repeated Hash result_ids      = 3;
   Hash          data            = 4;
-  uint64        min_time_ms.    = 5;
-  uint64        max_time_ms.    = 6;
-  Hash          ext_hash        = 7;
+  Hash          ext_hash        = 5;
 }
 
 message Mux {