OSDN Git Service

Merge pull request #41 from Bytom/dev
[bytom/vapor.git] / protocol / bc / bc.proto
index 59d70c2..5a38c4c 100644 (file)
@@ -76,16 +76,15 @@ message BlockHeader {
   uint64            nonce                   = 7;
   uint64            bits                    = 8;
   TransactionStatus transaction_status      = 9;
-  Proof             Proof                   = 10;
-  bytes             extra                   = 11;
-  bytes             coinbase                = 12;
 }
 
 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 {
@@ -144,14 +143,3 @@ message Claim {
   repeated bytes   Peginwitness        = 5;
 }
 
-message Dpos {
-  Hash             spent_output_id     = 1;
-  ValueDestination witness_destination = 2;
-  repeated bytes   witness_arguments   = 3;
-  uint64           ordinal             = 4;
-  uint32           type                = 5;
-  string           from                = 6;
-  string           to                  = 7;
-  uint64           stake               = 8;
-  string           data                = 9;
-}