Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/bitcoin/server/interfaces/bitcoind_blockchain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct bitcoind_blockchain_methods
method<"getblockstats", value_t, optional<empty::array>>{ "hash_or_height", "stats" },
method<"getchaintxstats", optional<-1.0>, optional<""_t>>{ "nblocks", "blockhash" },
method<"gettxout", string_t, number_t, optional<true>>{ "txid", "n", "include_mempool" },
method<"gettxoutsetinfo", optional<"none"_t>>{ "hash_type" },
method<"gettxoutsetinfo", optional<"hash_serialized_3"_t>, optional<empty::value>, optional<true>>{ "hash_type", "hash_or_height", "use_index" },
method<"pruneblockchain", number_t>{ unimplemented, "height" },
method<"savemempool">{ unimplemented },
method<"scantxoutset", string_t, optional<empty::array>>{ "action", "scanobjects" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ class BCS_API protocol_bitcoind_blockchain
bool handle_get_tx_out(const code& ec,
rpc_interface::get_tx_out, const std::string&, double, bool) NOEXCEPT;
bool handle_get_tx_out_set_info(const code& ec,
rpc_interface::get_tx_out_set_info, const std::string&) NOEXCEPT;
rpc_interface::get_tx_out_set_info, const std::string&,
const network::rpc::value_t&, bool) NOEXCEPT;
bool handle_prune_block_chain(const code& ec,
rpc_interface::prune_block_chain, double) NOEXCEPT;
bool handle_save_mempool(const code& ec,
Expand Down Expand Up @@ -162,9 +163,11 @@ class BCS_API protocol_bitcoind_blockchain
bool wait_done() const NOEXCEPT;
void send_tip() NOEXCEPT;

void do_get_tx_out_set_info() NOEXCEPT;
enum class set_hash : uint8_t { none, muhash, serialized };

void do_get_tx_out_set_info(set_hash type, size_t height) NOEXCEPT;
void do_scan_tx_out_set(
const std::shared_ptr<system::chain::scripts>& scripts) NOEXCEPT;
const std::shared_ptr<network::rpc::array_t>& objects) NOEXCEPT;
void complete_scan(const code& ec, network::rpc::object_t& result,
size_t size) NOEXCEPT;

Expand Down
Loading
Loading