| 230 | return tip ? tip->GetBlockHash() : Params().GenesisBlock().GetHash(); |
| 231 | } |
| 232 | int64_t getLastBlockTime() override |
| 233 | { |
| 234 | LOCK(::cs_main); |
| 235 | if (chainman().ActiveChain().Tip()) { |
| 236 | return chainman().ActiveChain().Tip()->GetBlockTime(); |
| 237 | } |
| 238 | return Params().GenesisBlock().GetBlockTime(); // Genesis block's time of current network |
| 239 | } |
| 240 | double getVerificationProgress() override |
| 241 | { |
| 242 | const CBlockIndex* tip; |
nothing calls this directly
no test coverage detected