requesters

package
v1.7.16 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: GPL-3.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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