@@ -401,9 +401,13 @@ class query
401401 // / Services.
402402 // / -----------------------------------------------------------------------
403403
404- // / Gether fee rate tuples by block or set of blocks.
404+ uint64_t get_tx_fee (const tx_link& link) const NOEXCEPT;
405+ uint64_t get_block_fee (const header_link& link) const NOEXCEPT;
406+
407+ // / Gether fee rate tuples by tx, block or branch.
408+ bool get_tx_fees (fee_rate& out, const tx_link& link) const NOEXCEPT;
405409 bool get_block_fees (fee_rates& out, const header_link& link) const NOEXCEPT;
406- bool get_block_fees (std::atomic_bool& cancel, fee_rate_sets& out,
410+ bool get_branch_fees (std::atomic_bool& cancel, fee_rate_sets& out,
407411 size_t top, size_t count) const NOEXCEPT;
408412
409413 // / Merkle computations over the index of confirmed headers.
@@ -476,8 +480,6 @@ class query
476480
477481 // / States.
478482 bool is_validateable (size_t height) const NOEXCEPT;
479- uint64_t get_tx_fee (const tx_link& link) const NOEXCEPT;
480- uint64_t get_block_fees (const header_link& link) const NOEXCEPT;
481483 code get_block_state (const header_link& link) const NOEXCEPT;
482484 code get_header_state (const header_link& link) const NOEXCEPT;
483485 code get_tx_state (const tx_link& link, const context& ctx) const NOEXCEPT;
0 commit comments