13 uint64 vm_version = 1;
17 // This message type duplicates Hash, above. One alternative is to
18 // embed a Hash inside an AssetID. But it's useful for AssetID to be
19 // plain old data (without pointers). Another alternative is use Hash
20 // in any protobuf types where an AssetID is called for, but it's
21 // preferable to have type safety.
34 message AssetDefinition {
35 Program issuance_program = 1;
41 AssetAmount value = 2;
45 message ValueDestination {
47 AssetAmount value = 2;
53 bytes controlProgram = 2;
57 message BytomBlockHeader {
60 Hash previous_block_id = 3;
62 Hash transactions_root = 5;
63 Hash transaction_status_hash = 6;
66 TransactionStatus transaction_status = 9;
72 Hash previous_block_id = 3;
74 Hash transactions_root = 5;
75 Hash transaction_status_hash = 6;
78 TransactionStatus transaction_status = 9;
86 uint64 serialized_size = 2;
87 uint64 time_range = 3;
88 repeated Hash result_ids = 4;
91 message TxVerifyResult {
95 message TransactionStatus {
97 repeated TxVerifyResult verify_status = 2;
101 repeated ValueSource sources = 1; // issuances, spends, and muxes
103 repeated ValueDestination witness_destinations = 3; // outputs, retirements, and muxes
104 repeated bytes witness_arguments = 4;
108 ValueDestination witness_destination = 1;
113 ValueSource source = 1;
114 Program control_program = 2;
119 ValueSource source = 1;
125 AssetAmount value = 2;
126 ValueDestination witness_destination = 3;
127 AssetDefinition witness_asset_definition = 4;
128 repeated bytes witness_arguments = 5;
133 Hash spent_output_id = 1;
134 ValueDestination witness_destination = 2;
135 repeated bytes witness_arguments = 3;
140 Hash spent_output_id = 1;
141 ValueDestination witness_destination = 2;
142 repeated bytes witness_arguments = 3;
144 repeated bytes Peginwitness = 5;
148 Hash spent_output_id = 1;
149 ValueDestination witness_destination = 2;
150 repeated bytes witness_arguments = 3;