| 138 | using BlockMap = std::unordered_map<uint256, CBlockIndex, BlockHasher>; |
| 139 | |
| 140 | struct CBlockIndexWorkComparator { |
| 141 | bool operator()(const CBlockIndex* pa, const CBlockIndex* pb) const; |
| 142 | using is_transparent = void; |
| 143 | }; |
| 144 | |
| 145 | struct CBlockIndexHeightOnlyComparator { |
| 146 | /* Only compares the height of two block indices, doesn't try to tie-break */ |
no outgoing calls
no test coverage detected