Documentation ¶
Overview ¶
Copyright (c) 2018-2019 The MATRIX Authors Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php
Copyright (c) 2018-2019 The MATRIX Authors Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ModuleEveryBroadcastSeed = "广播区块种子"
)
Functions ¶
func RegisterEveryBlockSeedPlugs ¶
func RegisterEveryBlockSeedPlugs(name string, plug preBroadcastSeedPlug)
Types ¶
type EveryBroadcastSeedPlug1 ¶
type EveryBroadcastSeedPlug1 struct { }
func (*EveryBroadcastSeedPlug1) CalcSeed ¶
func (self *EveryBroadcastSeedPlug1) CalcSeed(hash common.Hash, support baseinterface.RandomChainSupport) (*big.Int, error)
func (*EveryBroadcastSeedPlug1) Prepare ¶
func (self *EveryBroadcastSeedPlug1) Prepare(height uint64) error
Click to show internal directories.
Click to hide internal directories.