Versions in this module Expand all Collapse all v0 v0.0.1 Nov 7, 2024 Changes in this version + type BlockContainerStub struct + GetCalled func(headerType core.HeaderType) (block.EmptyBlockCreator, error) + func (bcs *BlockContainerStub) Get(headerType core.HeaderType) (block.EmptyBlockCreator, error) + type OutportDataProviderStub struct + PrepareOutportSaveBlockDataCalled func(arg process.ArgPrepareOutportSaveBlockData) (*outportcore.OutportBlockWithHeaderAndBody, error) + func (a *OutportDataProviderStub) IsInterfaceNil() bool + func (a *OutportDataProviderStub) PrepareOutportSaveBlockData(arg process.ArgPrepareOutportSaveBlockData) (*outportcore.OutportBlockWithHeaderAndBody, error) + type OutportStub struct + HasDriversCalled func() bool + SaveBlockCalled func(args *outportcore.OutportBlockWithHeaderAndBody) error + SaveValidatorsPubKeysCalled func(validatorsPubKeys *outportcore.ValidatorsPubKeys) + SaveValidatorsRatingCalled func(validatorsRating *outportcore.ValidatorsRating) + func (as *OutportStub) Close() error + func (as *OutportStub) FinalizedBlock(_ *outportcore.FinalizedBlock) + func (as *OutportStub) HasDrivers() bool + func (as *OutportStub) IsInterfaceNil() bool + func (as *OutportStub) RevertIndexedBlock(_ *outportcore.HeaderDataWithBody) error + func (as *OutportStub) SaveAccounts(_ *outportcore.Accounts) + func (as *OutportStub) SaveBlock(args *outportcore.OutportBlockWithHeaderAndBody) error + func (as *OutportStub) SaveRoundsInfo(_ *outportcore.RoundsInfo) + func (as *OutportStub) SaveValidatorsPubKeys(validatorsPubKeys *outportcore.ValidatorsPubKeys) + func (as *OutportStub) SaveValidatorsRating(validatorsRating *outportcore.ValidatorsRating) + func (as *OutportStub) SubscribeDriver(_ outport.Driver) error + type SenderHostStub struct + CloseCalled func() error + SendCalled func(payload []byte, topic string) error + SetPayloadHandlerCalled func(handler websocket.PayloadHandler) error + func (s *SenderHostStub) Close() error + func (s *SenderHostStub) IsInterfaceNil() bool + func (s *SenderHostStub) Send(payload []byte, topic string) error + func (s *SenderHostStub) SetPayloadHandler(handler websocket.PayloadHandler) error