Documentation ¶
Index ¶
- type ConsensusManager
- func (cm *ConsensusManager) CheckGenesis(ctx context.Context) (bool, error)
- func (cm *ConsensusManager) GetGenesis(ctx context.Context) (*types.TipSet, error)
- func (cm *ConsensusManager) GetNodeWithTipSet(ctx context.Context, tsk types.TipSetKey, filterList []string) (api.FullNode, string, error)
- func (cm *ConsensusManager) GetTipset(ctx context.Context, height abi.ChainEpoch) (types.TipSetKey, error)
- func (cm *ConsensusManager) ShiftStartNode(iteration int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsensusManager ¶
type ConsensusManager struct {
// contains filtered or unexported fields
}
func NewConsensusManager ¶
func NewConsensusManager(nodes []api.FullNode) *ConsensusManager
func (*ConsensusManager) CheckGenesis ¶
func (cm *ConsensusManager) CheckGenesis(ctx context.Context) (bool, error)
func (*ConsensusManager) GetGenesis ¶
func (*ConsensusManager) GetNodeWithTipSet ¶
func (*ConsensusManager) GetTipset ¶
func (cm *ConsensusManager) GetTipset(ctx context.Context, height abi.ChainEpoch) (types.TipSetKey, error)
func (*ConsensusManager) ShiftStartNode ¶
func (cm *ConsensusManager) ShiftStartNode(iteration int)
Click to show internal directories.
Click to hide internal directories.