Documentation ¶
Index ¶
- func CalcDifficulty(config *params.ChainConfig, time uint64, parent *types.Header) *big.Int
- type UuuHash
- func (u *UuuHash) APIs(chain con.ChainReader) []rpc.API
- func (u *UuuHash) Author(header *types.Header) (common.Address, error)
- func (u *UuuHash) CalcDifficulty(chain con.ChainReader, time uint64, parent *types.Header) *big.Int
- func (u *UuuHash) Close() error
- func (u *UuuHash) Finalize(chain con.ChainReader, header *types.Header, state *state.StateDB, ...) (*types.Block, error)
- func (u *UuuHash) Prepare(chain con.ChainReader, header *types.Header) error
- func (u *UuuHash) Seal(chain con.ChainReader, block *types.Block, results chan<- *types.Block, ...) error
- func (u *UuuHash) SealHash(header *types.Header) (hash common.Hash)
- func (u *UuuHash) VerifyHeader(chain con.ChainReader, header *types.Header, seal bool) error
- func (u *UuuHash) VerifyHeaders(chain con.ChainReader, headers []*types.Header, seals []bool) (chan<- struct{}, <-chan error)
- func (u *UuuHash) VerifySeal(chain con.ChainReader, header *types.Header) error
- func (u *UuuHash) VerifyUncles(chain con.ChainReader, block *types.Block) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcDifficulty ¶
Types ¶
type UuuHash ¶
func CreateConsensusEngine ¶
func CreateConsensusEngine() *UuuHash
func (*UuuHash) CalcDifficulty ¶
func (*UuuHash) VerifyHeader ¶
return nil All verifications are returned by default.
func (*UuuHash) VerifyHeaders ¶
func (*UuuHash) VerifySeal ¶
return nil All verifications are returned by default.
func (*UuuHash) VerifyUncles ¶
return nil All verifications are returned by default.
Click to show internal directories.
Click to hide internal directories.