Documentation ¶
Index ¶
- func NewInterceptedMetaHeaderDataFactory(argument *ArgInterceptedDataFactory) (*interceptedMetaHeaderDataFactory, error)
- func NewInterceptedRewardTxDataFactory(argument *ArgInterceptedDataFactory) (*interceptedRewardTxDataFactory, error)
- func NewInterceptedShardHeaderDataFactory(argument *ArgInterceptedDataFactory) (*interceptedShardHeaderDataFactory, error)
- func NewInterceptedTxBlockBodyDataFactory(argument *ArgInterceptedDataFactory) (*interceptedTxBlockBodyDataFactory, 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 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 NewInterceptedTxBlockBodyDataFactory ¶
func NewInterceptedTxBlockBodyDataFactory(argument *ArgInterceptedDataFactory) (*interceptedTxBlockBodyDataFactory, error)
NewInterceptedTxBlockBodyDataFactory creates an instance of interceptedTxBlockBodyDataFactory
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 { Marshalizer marshal.Marshalizer Hasher hashing.Hasher ShardCoordinator sharding.Coordinator MultiSigVerifier crypto.MultiSigVerifier NodesCoordinator sharding.NodesCoordinator KeyGen crypto.KeyGenerator BlockKeyGen crypto.KeyGenerator Signer crypto.SingleSigner BlockSigner crypto.SingleSigner AddrConv state.AddressConverter FeeHandler process.FeeHandler HeaderSigVerifier process.InterceptedHeaderSigVerifier ChainID []byte }
ArgInterceptedDataFactory holds all dependencies required by the shard and meta intercepted data factory in order to create new instances