-
Notifications
You must be signed in to change notification settings - Fork 199
/
argInterceptedDataFactory.go
34 lines (32 loc) · 1.41 KB
/
argInterceptedDataFactory.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package factory
import (
"github.com/ElrondNetwork/elrond-go/core"
"github.com/ElrondNetwork/elrond-go/crypto"
"github.com/ElrondNetwork/elrond-go/data/typeConverters"
"github.com/ElrondNetwork/elrond-go/hashing"
"github.com/ElrondNetwork/elrond-go/marshal"
"github.com/ElrondNetwork/elrond-go/process"
"github.com/ElrondNetwork/elrond-go/sharding"
)
// ArgInterceptedDataFactory holds all dependencies required by the shard and meta intercepted data factory in order to create
// new instances
type ArgInterceptedDataFactory struct {
ProtoMarshalizer marshal.Marshalizer
TxSignMarshalizer 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
AddressPubkeyConv core.PubkeyConverter
FeeHandler process.FeeHandler
WhiteListerVerifiedTxs process.WhiteListHandler
HeaderSigVerifier process.InterceptedHeaderSigVerifier
HeaderIntegrityVerifier process.InterceptedHeaderIntegrityVerifier
ValidityAttester process.ValidityAttester
EpochStartTrigger process.EpochStartTriggerHandler
NonceConverter typeConverters.Uint64ByteSliceConverter
}