@@ -72,36 +72,36 @@ class BCN_API protocol_explore
7272 // //bool handle_get_block_txs(const code& ec, interface::block_txs,
7373 // // uint8_t version, uint8_t media, std::optional<system::hash_cptr> hash,
7474 // // std::optional<uint32_t> height) NOEXCEPT;
75- // //
75+
7676 // //bool handle_get_block_tx(const code& ec, interface::block_tx,
7777 // // uint8_t version, uint8_t media, uint32_t position,
7878 // // std::optional<system::hash_cptr> hash,
7979 // // std::optional<uint32_t> height, bool witness) NOEXCEPT;
80- // //
80+
8181 bool handle_get_transaction (const code& ec, interface::transaction,
82- uint8_t version, uint8_t media, system::hash_cptr hash,
82+ uint8_t version, uint8_t media, const system::hash_cptr& hash,
8383 bool witness) NOEXCEPT;
8484 // //bool handle_get_address(const code& ec, interface::address,
85- // // uint8_t version, uint8_t media, system::hash_cptr hash) NOEXCEPT;
86- // //
85+ // // uint8_t version, uint8_t media, const system::hash_cptr& hash) NOEXCEPT;
86+
8787 // //bool handle_get_input(const code& ec, interface::input,
88- // // uint8_t version, uint8_t media, system::hash_cptr hash,
88+ // // uint8_t version, uint8_t media, const system::hash_cptr& hash,
8989 // // std::optional<uint32_t> index) NOEXCEPT;
9090 // //bool handle_get_input_script(const code& ec, interface::input_script,
91- // // uint8_t version, uint8_t media, system::hash_cptr hash,
91+ // // uint8_t version, uint8_t media, const system::hash_cptr& hash,
9292 // // std::optional<uint32_t> index) NOEXCEPT;
9393 // //bool handle_get_input_witness(const code& ec, interface::input_witness,
94- // // uint8_t version, uint8_t media, system::hash_cptr hash,
94+ // // uint8_t version, uint8_t media, const system::hash_cptr& hash,
9595 // // std::optional<uint32_t> index) NOEXCEPT;
96- // //
96+
9797 // //bool handle_get_output(const code& ec, interface::output,
98- // // uint8_t version, uint8_t media, system::hash_cptr hash,
98+ // // uint8_t version, uint8_t media, const system::hash_cptr& hash,
9999 // // std::optional<uint32_t> index) NOEXCEPT;
100100 // //bool handle_get_output_script(const code& ec, interface::output_script,
101- // // uint8_t version, uint8_t media, system::hash_cptr hash,
101+ // // uint8_t version, uint8_t media, const system::hash_cptr& hash,
102102 // // std::optional<uint32_t> index) NOEXCEPT;
103103 // //bool handle_get_output_spender(const code& ec, interface::output_spender,
104- // // uint8_t version, uint8_t media, system::hash_cptr hash,
104+ // // uint8_t version, uint8_t media, const system::hash_cptr& hash,
105105 // // std::optional<uint32_t> index) NOEXCEPT;
106106
107107private:
0 commit comments