mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
indexes, refactor: Remove CBlockIndex* uses in coinstatsindex LookUpOne function
This commit does not change behavior in any way.
This commit is contained in:
@@ -38,6 +38,12 @@ namespace interfaces {
|
||||
class Handler;
|
||||
class Wallet;
|
||||
|
||||
//! Hash/height pair to help track and identify blocks.
|
||||
struct BlockKey {
|
||||
uint256 hash;
|
||||
int height = -1;
|
||||
};
|
||||
|
||||
//! Helper for findBlock to selectively return pieces of block data. If block is
|
||||
//! found, data will be returned by setting specified output variables. If block
|
||||
//! is not found, output variables will keep their previous values.
|
||||
|
||||
Reference in New Issue
Block a user