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
5 changes: 5 additions & 0 deletions src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,11 @@ options_metadata parser::load_settings() THROWS
value<bool>(&configured.database.turbo),
"Allow indiviudal non-validation queries to use all CPUs, defaults to false."
)
(
"database.interval_depth",
value<uint8_t>(&configured.database.interval_depth),
"The interval depth for merkle proof optimization, defaults to '255' (disabled)."
)

/* header */
(
Expand Down
2 changes: 0 additions & 2 deletions src/protocols/protocol_electrum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,13 @@ std::string to_hex(const Object& object, size_t size, Args&&... args) NOEXCEPT
// Handlers (blockchain).
// ----------------------------------------------------------------------------

// electrum-protocol.readthedocs.io/en/latest/protocol-basics.html#block-headers
void protocol_electrum::handle_blockchain_block_header(const code& ec,
rpc_interface::blockchain_block_header, double height,
double cp_height) NOEXCEPT
{
handle_blockchain_block_headers(ec, {}, height, 1, cp_height);
}

// electrum-protocol.readthedocs.io/en/latest/protocol-basics.html#block-headers
void protocol_electrum::handle_blockchain_block_headers(const code& ec,
rpc_interface::blockchain_block_headers, double start_height, double count,
double cp_height) NOEXCEPT
Expand Down
Loading