Documentation
¶
Index ¶
- func NewInterceptedDataVerifierFactory(args InterceptedDataVerifierFactoryArgs) *interceptedDataVerifierFactory
- func NewInterceptedEquivalentProofsFactory(args ArgInterceptedEquivalentProofsFactory) *interceptedEquivalentProofsFactory
- func NewInterceptedHeartbeatDataFactory(arg ArgInterceptedDataFactory) (*interceptedHeartbeatDataFactory, error)
- func NewInterceptedMetaHeaderDataFactory(argument *ArgInterceptedMetaHeaderFactory) (*interceptedMetaHeaderDataFactory, error)
- func NewInterceptedMiniblockDataFactory(argument *ArgInterceptedDataFactory) (*interceptedMiniblockDataFactory, error)
- func NewInterceptedPeerAuthenticationDataFactory(arg ArgInterceptedDataFactory) (*interceptedPeerAuthenticationDataFactory, error)
- func NewInterceptedPeerShardFactory(args ArgInterceptedDataFactory) (*interceptedPeerShardFactory, error)
- func NewInterceptedRewardTxDataFactory(argument *ArgInterceptedDataFactory) (*interceptedRewardTxDataFactory, error)
- func NewInterceptedShardHeaderDataFactory(argument *ArgInterceptedDataFactory) (*interceptedShardHeaderDataFactory, error)
- func NewInterceptedTrieNodeDataFactory(argument *ArgInterceptedDataFactory) (*interceptedTrieNodeDataFactory, error)
- func NewInterceptedTxDataFactory(argument *ArgInterceptedDataFactory) (*interceptedTxDataFactory, error)
- func NewInterceptedUnsignedTxDataFactory(argument *ArgInterceptedDataFactory) (*interceptedUnsignedTxDataFactory, error)
- func NewInterceptedValidatorInfoDataFactory(args ArgInterceptedDataFactory) (*interceptedValidatorInfoDataFactory, error)
- type ArgInterceptedDataFactory
- type ArgInterceptedEquivalentProofsFactory
- type ArgInterceptedMetaHeaderFactory
- type InterceptedDataVerifierFactoryArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInterceptedDataVerifierFactory ¶ added in v1.9.0
func NewInterceptedDataVerifierFactory(args InterceptedDataVerifierFactoryArgs) *interceptedDataVerifierFactory
NewInterceptedDataVerifierFactory will create a factory instance that will create instance of InterceptedDataVerifiers
func NewInterceptedEquivalentProofsFactory ¶ added in v1.9.0
func NewInterceptedEquivalentProofsFactory(args ArgInterceptedEquivalentProofsFactory) *interceptedEquivalentProofsFactory
NewInterceptedEquivalentProofsFactory creates a new instance of interceptedEquivalentProofsFactory
func NewInterceptedHeartbeatDataFactory ¶
func NewInterceptedHeartbeatDataFactory(arg ArgInterceptedDataFactory) (*interceptedHeartbeatDataFactory, error)
NewInterceptedHeartbeatDataFactory creates an instance of interceptedHeartbeatDataFactory
func NewInterceptedMetaHeaderDataFactory ¶
func NewInterceptedMetaHeaderDataFactory(argument *ArgInterceptedMetaHeaderFactory) (*interceptedMetaHeaderDataFactory, error)
NewInterceptedMetaHeaderDataFactory creates an instance of interceptedMetaHeaderDataFactory
func NewInterceptedMiniblockDataFactory ¶
func NewInterceptedMiniblockDataFactory(argument *ArgInterceptedDataFactory) (*interceptedMiniblockDataFactory, error)
NewInterceptedMiniblockDataFactory creates an instance of interceptedMiniblockDataFactory
func NewInterceptedPeerAuthenticationDataFactory ¶
func NewInterceptedPeerAuthenticationDataFactory(arg ArgInterceptedDataFactory) (*interceptedPeerAuthenticationDataFactory, error)
NewInterceptedPeerAuthenticationDataFactory creates an instance of interceptedPeerAuthenticationDataFactory
func NewInterceptedPeerShardFactory ¶
func NewInterceptedPeerShardFactory(args ArgInterceptedDataFactory) (*interceptedPeerShardFactory, error)
NewInterceptedPeerShardFactory creates an instance of interceptedPeerShardFactory
func NewInterceptedRewardTxDataFactory ¶
func NewInterceptedRewardTxDataFactory(argument *ArgInterceptedDataFactory) (*interceptedRewardTxDataFactory, error)
NewInterceptedRewardTxDataFactory creates an instance of interceptedRewardTxDataFactory
func NewInterceptedShardHeaderDataFactory ¶
func NewInterceptedShardHeaderDataFactory(argument *ArgInterceptedDataFactory) (*interceptedShardHeaderDataFactory, error)
NewInterceptedShardHeaderDataFactory creates an instance of interceptedShardHeaderDataFactory
func NewInterceptedTrieNodeDataFactory ¶
func NewInterceptedTrieNodeDataFactory( argument *ArgInterceptedDataFactory, ) (*interceptedTrieNodeDataFactory, error)
NewInterceptedTrieNodeDataFactory creates an instance of interceptedTrieNodeDataFactory
func NewInterceptedTxDataFactory ¶
func NewInterceptedTxDataFactory(argument *ArgInterceptedDataFactory) (*interceptedTxDataFactory, error)
NewInterceptedTxDataFactory creates an instance of interceptedTxDataFactory
func NewInterceptedUnsignedTxDataFactory ¶
func NewInterceptedUnsignedTxDataFactory(argument *ArgInterceptedDataFactory) (*interceptedUnsignedTxDataFactory, error)
NewInterceptedUnsignedTxDataFactory creates an instance of interceptedUnsignedTxDataFactory
func NewInterceptedValidatorInfoDataFactory ¶
func NewInterceptedValidatorInfoDataFactory(args ArgInterceptedDataFactory) (*interceptedValidatorInfoDataFactory, error)
NewInterceptedValidatorInfoDataFactory creates an instance of interceptedValidatorInfoDataFactory
Types ¶
type ArgInterceptedDataFactory ¶
type ArgInterceptedDataFactory struct { CoreComponents interceptedDataCoreComponentsHolder CryptoComponents interceptedDataCryptoComponentsHolder ShardCoordinator sharding.Coordinator NodesCoordinator nodesCoordinator.NodesCoordinator FeeHandler process.FeeHandler WhiteListerVerifiedTxs process.WhiteListHandler HeaderSigVerifier process.InterceptedHeaderSigVerifier ValidityAttester process.ValidityAttester HeaderIntegrityVerifier process.HeaderIntegrityVerifier EpochStartTrigger process.EpochStartTriggerHandler ArgsParser process.ArgumentsParser PeerSignatureHandler crypto.PeerSignatureHandler SignaturesHandler process.SignaturesHandler HeartbeatExpiryTimespanInSec int64 PeerID core.PeerID }
ArgInterceptedDataFactory holds all dependencies required by the shard and meta intercepted data factory in order to create new instances
type ArgInterceptedEquivalentProofsFactory ¶ added in v1.9.0
type ArgInterceptedEquivalentProofsFactory struct { ArgInterceptedDataFactory ProofsPool dataRetriever.ProofsPool }
ArgInterceptedEquivalentProofsFactory is the DTO used to create a new instance of interceptedEquivalentProofsFactory
type ArgInterceptedMetaHeaderFactory ¶ added in v1.9.0
type ArgInterceptedMetaHeaderFactory struct {
ArgInterceptedDataFactory
}
ArgInterceptedMetaHeaderFactory is the DTO used to create a new instance of meta header factory
Source Files
¶
- argInterceptedDataFactory.go
- interceptedDataVerifierFactory.go
- interceptedEquivalentProofsFactory.go
- interceptedHeartbeatDataFactory.go
- interceptedMetaHeaderDataFactory.go
- interceptedMiniblockDataFactory.go
- interceptedPeerAuthenticationDataFactory.go
- interceptedPeerShardFactory.go
- interceptedRewardTxDataFactory.go
- interceptedShardHeaderDataFactory.go
- interceptedTrieNodeDataFactory.go
- interceptedTxDataFactory.go
- interceptedUnsignedTxDataFactory.go
- interceptedValidatorInfoDataFactory.go