Documentation ¶
Index ¶
- type ChainFetchStateDiff
- func (msrT *ChainFetchStateDiff) GetNewL1Commitment() *state.L1Commitment
- func (msrT *ChainFetchStateDiff) GetNewStateIndex() uint32
- func (msrT *ChainFetchStateDiff) GetOldL1Commitment() *state.L1Commitment
- func (msrT *ChainFetchStateDiff) GetOldStateIndex() uint32
- func (msrT *ChainFetchStateDiff) IsResultChClosed() bool
- func (msrT *ChainFetchStateDiff) IsValid() bool
- func (msrT *ChainFetchStateDiff) Respond(theState *ChainFetchStateDiffResults)
- type ChainFetchStateDiffResults
- type ConsensusBlockProduced
- type ConsensusDecidedState
- type ConsensusStateProposal
- type StateManagerTimerTick
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainFetchStateDiff ¶
type ChainFetchStateDiff struct {
// contains filtered or unexported fields
}
func NewChainFetchStateDiff ¶
func NewChainFetchStateDiff(ctx context.Context, prevAO, nextAO *isc.AliasOutputWithID) (*ChainFetchStateDiff, <-chan *ChainFetchStateDiffResults)
func (*ChainFetchStateDiff) GetNewL1Commitment ¶
func (msrT *ChainFetchStateDiff) GetNewL1Commitment() *state.L1Commitment
func (*ChainFetchStateDiff) GetNewStateIndex ¶
func (msrT *ChainFetchStateDiff) GetNewStateIndex() uint32
func (*ChainFetchStateDiff) GetOldL1Commitment ¶
func (msrT *ChainFetchStateDiff) GetOldL1Commitment() *state.L1Commitment
func (*ChainFetchStateDiff) GetOldStateIndex ¶
func (msrT *ChainFetchStateDiff) GetOldStateIndex() uint32
func (*ChainFetchStateDiff) IsResultChClosed ¶
func (msrT *ChainFetchStateDiff) IsResultChClosed() bool
func (*ChainFetchStateDiff) IsValid ¶
func (msrT *ChainFetchStateDiff) IsValid() bool
func (*ChainFetchStateDiff) Respond ¶
func (msrT *ChainFetchStateDiff) Respond(theState *ChainFetchStateDiffResults)
type ChainFetchStateDiffResults ¶
type ChainFetchStateDiffResults struct {
// contains filtered or unexported fields
}
func NewChainFetchStateDiffResults ¶
func NewChainFetchStateDiffResults(newState state.State, added, removed []state.Block) *ChainFetchStateDiffResults
func (*ChainFetchStateDiffResults) GetAdded ¶
func (msrrT *ChainFetchStateDiffResults) GetAdded() []state.Block
func (*ChainFetchStateDiffResults) GetNewState ¶
func (msrrT *ChainFetchStateDiffResults) GetNewState() state.State
func (*ChainFetchStateDiffResults) GetRemoved ¶
func (msrrT *ChainFetchStateDiffResults) GetRemoved() []state.Block
type ConsensusBlockProduced ¶
type ConsensusBlockProduced struct {
// contains filtered or unexported fields
}
func NewConsensusBlockProduced ¶
func NewConsensusBlockProduced(ctx context.Context, stateDraft state.StateDraft) (*ConsensusBlockProduced, <-chan error)
func (*ConsensusBlockProduced) GetStateDraft ¶
func (cbpT *ConsensusBlockProduced) GetStateDraft() state.StateDraft
func (*ConsensusBlockProduced) IsValid ¶
func (cbpT *ConsensusBlockProduced) IsValid() bool
func (*ConsensusBlockProduced) Respond ¶
func (cbpT *ConsensusBlockProduced) Respond(err error)
type ConsensusDecidedState ¶
type ConsensusDecidedState struct {
// contains filtered or unexported fields
}
func NewConsensusDecidedState ¶
func NewConsensusDecidedState(ctx context.Context, aliasOutput *isc.AliasOutputWithID) (*ConsensusDecidedState, <-chan state.State)
func (*ConsensusDecidedState) GetL1Commitment ¶
func (cdsT *ConsensusDecidedState) GetL1Commitment() *state.L1Commitment
func (*ConsensusDecidedState) IsResultChClosed ¶
func (cdsT *ConsensusDecidedState) IsResultChClosed() bool
func (*ConsensusDecidedState) IsValid ¶
func (cdsT *ConsensusDecidedState) IsValid() bool
func (*ConsensusDecidedState) Respond ¶
func (cdsT *ConsensusDecidedState) Respond(theState state.State)
type ConsensusStateProposal ¶
type ConsensusStateProposal struct {
// contains filtered or unexported fields
}
func NewConsensusStateProposal ¶
func NewConsensusStateProposal(ctx context.Context, aliasOutput *isc.AliasOutputWithID) (*ConsensusStateProposal, <-chan interface{})
func (*ConsensusStateProposal) GetL1Commitment ¶
func (cspT *ConsensusStateProposal) GetL1Commitment() *state.L1Commitment
func (*ConsensusStateProposal) IsResultChClosed ¶
func (cspT *ConsensusStateProposal) IsResultChClosed() bool
func (*ConsensusStateProposal) IsValid ¶
func (cspT *ConsensusStateProposal) IsValid() bool
func (*ConsensusStateProposal) Respond ¶
func (cspT *ConsensusStateProposal) Respond()
type StateManagerTimerTick ¶
type StateManagerTimerTick struct {
// contains filtered or unexported fields
}
func NewStateManagerTimerTick ¶
func NewStateManagerTimerTick(timee time.Time) *StateManagerTimerTick
func (*StateManagerTimerTick) GetTime ¶
func (smttT *StateManagerTimerTick) GetTime() time.Time
Click to show internal directories.
Click to hide internal directories.