SetGenesis sets a new genesis block header for the chain
(head *types.Header)
| 445 | |
| 446 | // SetGenesis sets a new genesis block header for the chain |
| 447 | func (hc *HeaderChain) SetGenesis(head *types.Header) { |
| 448 | hc.genesisHeader = head |
| 449 | } |
| 450 | |
| 451 | // Config retrieves the header chain's chain configuration. |
| 452 | func (hc *HeaderChain) Config() *configs.ChainConfig { return hc.config } |
no outgoing calls
no test coverage detected