Returns the index entry for the genesis block of this chain, or nullptr if none. */
| 475 | public: |
| 476 | /** Returns the index entry for the genesis block of this chain, or nullptr if none. */ |
| 477 | CBlockIndex *Genesis() const { |
| 478 | return vChain.size() > 0 ? vChain[0] : nullptr; |
| 479 | } |
| 480 | |
| 481 | /** Returns the index entry for the tip of this chain, or nullptr if none. */ |
| 482 | CBlockIndex *Tip() const { |