From f215c8cb5c26eb3721ec5963fd200212d4254d91 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 4 Jul 2018 17:30:20 +0200 Subject: [PATCH] protob: prev_block_height_bip115 is uint32 not bytes --- protob/messages-bitcoin.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protob/messages-bitcoin.proto b/protob/messages-bitcoin.proto index fe99d3421..e0f63c4d3 100644 --- a/protob/messages-bitcoin.proto +++ b/protob/messages-bitcoin.proto @@ -204,7 +204,7 @@ message TxAck { optional uint32 decred_tree = 9; optional uint32 decred_script_version = 10; optional bytes prev_block_hash_bip115 = 11; // block hash of previous transaction output (for bip115 implementation) - optional bytes prev_block_height_bip115 = 12; // block height of previous transaction output (for bip115 implementation) + optional uint32 prev_block_height_bip115 = 12; // block height of previous transaction output (for bip115 implementation) } /** * Structure representing compiled transaction output @@ -226,7 +226,7 @@ message TxAck { optional bytes op_return_data = 6; // defines op_return data; script_type must be PAYTOOPRETURN, amount must be 0 optional uint32 decred_script_version = 7; optional bytes block_hash_bip115 = 8; // block hash of existing block (recommended current_block - 300) (for bip115 implementation) - optional bytes block_height_bip115 = 9; // block height of existing block (recommended current_block - 300) (for bip115 implementation) + optional uint32 block_height_bip115 = 9; // block height of existing block (recommended current_block - 300) (for bip115 implementation) enum OutputScriptType { PAYTOADDRESS = 0; // used for all addresses (bitcoin, p2sh, witness) PAYTOSCRIPTHASH = 1; // p2sh address (deprecated; use PAYTOADDRESS)