Documentation
¶
Index ¶
- func NewInterceptedMetaHeaderDataFactory(argument *ArgInterceptedDataFactory) (*interceptedMetaHeaderDataFactory, error)
- func NewInterceptedMiniblockDataFactory(argument *ArgInterceptedDataFactory) (*interceptedMiniblockDataFactory, 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)
- type ArgInterceptedDataFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInterceptedMetaHeaderDataFactory ¶
func NewInterceptedMetaHeaderDataFactory(argument *ArgInterceptedDataFactory) (*interceptedMetaHeaderDataFactory, error)
NewInterceptedMetaHeaderDataFactory creates an instance of interceptedMetaHeaderDataFactory
func NewInterceptedMiniblockDataFactory ¶ added in v1.0.104
func NewInterceptedMiniblockDataFactory(argument *ArgInterceptedDataFactory) (*interceptedMiniblockDataFactory, error)
NewInterceptedMiniblockDataFactory creates an instance of interceptedMiniblockDataFactory
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
Types ¶
type ArgInterceptedDataFactory ¶
type ArgInterceptedDataFactory struct {
CoreComponents interceptedDataCoreComponentsHolder
CryptoComponents interceptedDataCryptoComponentsHolder
ShardCoordinator sharding.Coordinator
NodesCoordinator sharding.NodesCoordinator
FeeHandler process.FeeHandler
WhiteListerVerifiedTxs process.WhiteListHandler
HeaderSigVerifier process.InterceptedHeaderSigVerifier
ValidityAttester process.ValidityAttester
HeaderIntegrityVerifier process.HeaderIntegrityVerifier
EpochStartTrigger process.EpochStartTriggerHandler
ArgsParser process.ArgumentsParser
EnableSignTxWithHashEpoch uint32
}
ArgInterceptedDataFactory holds all dependencies required by the shard and meta intercepted data factory in order to create new instances