OSDN Git Service

Merge pull request #38 from Bytom/dev_module_cliam
[bytom/vapor.git] / protocol / bc / bc.proto
index b12c67d..5a38c4c 100644 (file)
@@ -51,6 +51,7 @@ message ValueDestination {
 message Proof {
        bytes sign           = 1;
        bytes controlProgram = 2;
+  bytes address        = 3;
 }
 
 message BytomBlockHeader {
@@ -75,14 +76,15 @@ message BlockHeader {
   uint64            nonce                   = 7;
   uint64            bits                    = 8;
   TransactionStatus transaction_status      = 9;
-  Proof             Proof                   = 10;
 }
 
 message TxHeader {
   uint64        version         = 1;
   uint64        serialized_size = 2;
-  uint64        time_range      = 3;
-  repeated Hash result_ids      = 4;
+  Hash          data            = 3;
+  uint64        time_range      = 4;
+  repeated Hash result_ids      = 5;
+  bool          side            = 6;
 }
 
 message TxVerifyResult {
@@ -139,4 +141,5 @@ message Claim {
   repeated bytes   witness_arguments   = 3;
   uint64           ordinal             = 4;
   repeated bytes   Peginwitness        = 5;
-}
\ No newline at end of file
+}
+