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;
59 Hash previous_block_id = 3;
61 Hash transactions_root = 5;
62 Hash transaction_status_hash = 6;
65 TransactionStatus transaction_status = 9;
71 uint64 serialized_size = 2;
72 uint64 time_range = 3;
73 repeated Hash result_ids = 4;
76 message TxVerifyResult {
80 message TransactionStatus {
82 repeated TxVerifyResult verify_status = 2;
86 repeated ValueSource sources = 1; // issuances, spends, and muxes
88 repeated ValueDestination witness_destinations = 3; // outputs, retirements, and muxes
89 repeated bytes witness_arguments = 4;
93 ValueDestination witness_destination = 1;
98 ValueSource source = 1;
99 Program control_program = 2;
104 ValueSource source = 1;
110 AssetAmount value = 2;
111 ValueDestination witness_destination = 3;
112 AssetDefinition witness_asset_definition = 4;
113 repeated bytes witness_arguments = 5;
118 Hash spent_output_id = 1;
119 ValueDestination witness_destination = 2;
120 repeated bytes witness_arguments = 3;
125 Hash spent_output_id = 1;
126 ValueDestination witness_destination = 2;
127 repeated bytes witness_arguments = 3;
129 repeated bytes Peginwitness = 5;