requesters

package
v1.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL