| 225 | return chainman().ActiveChain().Height(); |
| 226 | } |
| 227 | uint256 getBestBlockHash() override |
| 228 | { |
| 229 | const CBlockIndex* tip = WITH_LOCK(::cs_main, return chainman().ActiveChain().Tip()); |
| 230 | return tip ? tip->GetBlockHash() : Params().GenesisBlock().GetHash(); |
| 231 | } |
| 232 | int64_t getLastBlockTime() override |
| 233 | { |
| 234 | LOCK(::cs_main); |
nothing calls this directly
no test coverage detected