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;
56 message BytomBlockHeader {
59 Hash previous_block_id = 3;
61 Hash transactions_root = 5;
62 Hash transaction_status_hash = 6;
65 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;
84 uint64 serialized_size = 2;
85 uint64 time_range = 3;
86 repeated Hash result_ids = 4;
89 message TxVerifyResult {
93 message TransactionStatus {
95 repeated TxVerifyResult verify_status = 2;
99 repeated ValueSource sources = 1; // issuances, spends, and muxes
101 repeated ValueDestination witness_destinations = 3; // outputs, retirements, and muxes
102 repeated bytes witness_arguments = 4;
106 ValueDestination witness_destination = 1;
111 ValueSource source = 1;
112 Program control_program = 2;
117 ValueSource source = 1;
123 AssetAmount value = 2;
124 ValueDestination witness_destination = 3;
125 AssetDefinition witness_asset_definition = 4;
126 repeated bytes witness_arguments = 5;
131 Hash spent_output_id = 1;
132 ValueDestination witness_destination = 2;
133 repeated bytes witness_arguments = 3;
138 Hash spent_output_id = 1;
139 ValueDestination witness_destination = 2;
140 repeated bytes witness_arguments = 3;
142 repeated bytes Peginwitness = 5;