indexes, refactor: Remove CBlockIndex* uses in coinstatsindex LookUpOne function

This commit does not change behavior in any way.
This commit is contained in:
Ryan Ofsky
2022-01-17 17:32:19 -05:00
parent 33b4d48cfc
commit addb4f2af1
2 changed files with 12 additions and 6 deletions

View File

@@ -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.