Documentation ¶
Index ¶
- func NewHeaderRequester(args ArgHeaderRequester) (*headerRequester, error)
- func NewMiniblockRequester(args ArgMiniblockRequester) (*miniblockRequester, error)
- func NewPeerAuthenticationRequester(args ArgPeerAuthenticationRequester) (*peerAuthenticationRequester, error)
- func NewTransactionRequester(args ArgTransactionRequester) (*transactionRequester, error)
- func NewTrieNodeRequester(args ArgTrieNodeRequester) (*trieNodeRequester, error)
- func NewValidatorInfoRequester(args ArgValidatorInfoRequester) (*validatorInfoRequester, error)
- type ArgBaseRequester
- type ArgHeaderRequester
- type ArgMiniblockRequester
- type ArgPeerAuthenticationRequester
- type ArgTransactionRequester
- type ArgTrieNodeRequester
- type ArgValidatorInfoRequester
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHeaderRequester ¶
func NewHeaderRequester(args ArgHeaderRequester) (*headerRequester, error)
NewHeaderRequester returns a new instance of header requester
func NewMiniblockRequester ¶
func NewMiniblockRequester(args ArgMiniblockRequester) (*miniblockRequester, error)
NewMiniblockRequester returns a new instance of miniblock requester
func NewPeerAuthenticationRequester ¶
func NewPeerAuthenticationRequester(args ArgPeerAuthenticationRequester) (*peerAuthenticationRequester, error)
NewPeerAuthenticationRequester returns a new instance of peer authentication requester
func NewTransactionRequester ¶
func NewTransactionRequester(args ArgTransactionRequester) (*transactionRequester, error)
NewTransactionRequester returns a new instance of transaction requester
func NewTrieNodeRequester ¶
func NewTrieNodeRequester(args ArgTrieNodeRequester) (*trieNodeRequester, error)
NewTrieNodeRequester returns a new instance of trie node requester
func NewValidatorInfoRequester ¶
func NewValidatorInfoRequester(args ArgValidatorInfoRequester) (*validatorInfoRequester, error)
NewValidatorInfoRequester returns a new instance of validator info requester
Types ¶
type ArgBaseRequester ¶
type ArgBaseRequester struct { RequestSender dataRetriever.TopicRequestSender Marshaller marshal.Marshalizer }
ArgBaseRequester is the argument structure used as base to create a new requester instance
type ArgHeaderRequester ¶
type ArgHeaderRequester struct { ArgBaseRequester NonceConverter typeConverters.Uint64ByteSliceConverter }
ArgHeaderRequester is the argument structure used to create a new header requester instance
type ArgMiniblockRequester ¶
type ArgMiniblockRequester struct {
ArgBaseRequester
}
ArgMiniblockRequester is the argument structure used to create a new miniblock requester instance
type ArgPeerAuthenticationRequester ¶
type ArgPeerAuthenticationRequester struct {
ArgBaseRequester
}
ArgPeerAuthenticationRequester is the argument structure used to create a new peer authentication requester instance
type ArgTransactionRequester ¶
type ArgTransactionRequester struct {
ArgBaseRequester
}
ArgTransactionRequester is the argument structure used to create a new transaction requester instance
type ArgTrieNodeRequester ¶
type ArgTrieNodeRequester struct {
ArgBaseRequester
}
ArgTrieNodeRequester is the argument structure used to create a new trie node requester instance
type ArgValidatorInfoRequester ¶
type ArgValidatorInfoRequester struct {
ArgBaseRequester
}
ArgValidatorInfoRequester is the argument structure used to create a new validator info requester instance