OSDN Git Service

init delete the pow related (#55)
[bytom/vapor.git] / protocol / bc / bc.proto
index d333667..de7a948 100644 (file)
@@ -48,11 +48,6 @@ message ValueDestination {
   uint64      position = 3;
 }
 
-message Proof {
-       bytes sign           = 1;
-       bytes controlProgram = 2;
-}
-
 message BlockHeader {
   uint64            version                 = 1;
   uint64            height                  = 2;
@@ -60,10 +55,7 @@ message BlockHeader {
   uint64            timestamp               = 4;
   Hash              transactions_root       = 5;
   Hash              transaction_status_hash = 6;
-  uint64            nonce                   = 7;
-  uint64            bits                    = 8;
-  TransactionStatus transaction_status      = 9;
-  Proof             Proof                   = 10;
+  TransactionStatus transaction_status      = 7;
 }
 
 message TxHeader {
@@ -119,12 +111,4 @@ message Spend {
   ValueDestination witness_destination = 2;
   repeated bytes   witness_arguments   = 3;
   uint64           ordinal             = 4;
-}
-
-message Claim {
-  Hash             spent_output_id     = 1;
-  ValueDestination witness_destination = 2;
-  repeated bytes   witness_arguments   = 3;
-  uint64           ordinal             = 4;
-  repeated bytes   Peginwitness        = 5;
 }
\ No newline at end of file