Genesis retrieves the chain's genesis block.
()
| 638 | |
| 639 | // Genesis retrieves the chain's genesis block. |
| 640 | func (bc *BlockChain) Genesis() *types.Block { |
| 641 | return bc.genesisBlock |
| 642 | } |
| 643 | |
| 644 | // GetBody retrieves a block body (transactions and uncles) from the database by |
| 645 | // hash, caching it if found. |
no outgoing calls