X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=protocol%2Fbc%2Fbc.proto;h=de7a9485c8eccbb5636ee719e8e1f3030357d698;hb=2cf5801b2e693a45de9b51ec9aa9c1f787d57105;hp=59d70c224da715e1d404fd47a7750756ab2fd4eb;hpb=a795c2c4f52973630972ba062716fb40b7016c46;p=bytom%2Fvapor.git diff --git a/protocol/bc/bc.proto b/protocol/bc/bc.proto index 59d70c22..de7a9485 100644 --- a/protocol/bc/bc.proto +++ b/protocol/bc/bc.proto @@ -48,24 +48,6 @@ message ValueDestination { uint64 position = 3; } -message Proof { - bytes sign = 1; - bytes controlProgram = 2; - bytes address = 3; -} - -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; @@ -73,12 +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; - bytes extra = 11; - bytes coinbase = 12; + TransactionStatus transaction_status = 7; } message TxHeader { @@ -134,24 +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; -} - -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; -} +} \ No newline at end of file