# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package v1.0 represents the processors needed for the version v1.0 of the API.
Package v_next represents the processors needed for the example version v_next of the API.

# Functions

NewAboutProcessor creates a new instance of about processor.
NewAccountProcessor creates a new instance of AccountProcessor.
NewBaseProcessor creates a new instance of BaseProcessor struct.
NewBlockProcessor will create a new block processor.
NewBlocksProcessor creates a new block processor.
NewESDTSupplyProcessor will create a new instance of the ESDT supply processor.
NewFaucetProcessor will return a new instance of FaucetProcessor.
NewNodeGroupProcessor creates a new instance of NodeGroupProcessor.
NewNodeStatusProcessor creates a new instance of NodeStatusProcessor.
NewNumShardsProcessor returns a new instance of numShardsProcessor.
No description provided by the author
NewSCQueryProcessor creates a new instance of SCQueryProcessor.
NewStatusProcessor creates a new instance of AccountProcessor.
NewTransactionProcessor creates a new instance of TransactionProcessor.
NewValidatorStatisticsProcessor creates a new instance of ValidatorStatisticsProcessor.
WrapObserversError wraps the observers error.

# Constants

AllIssuedESDTsPath represents the path where an observer exposes all the issued ESDTs.
DelegatedInfoPath represents the path where an observer exposes his network delegated info.
DirectStakedPath represents the path where an observer exposes his network direct staked info.
EconomicsDataPath represents the path where an observer exposes his economics data.
EnableEpochsPath represents the path where an observer exposes all the activation epochs.
GasConfigsPath represents the path where an observer exposes gas configs.
GenesisNodesConfigPath represents the path where an observer exposes genesis nodes config.
MetricAccountsSnapshotNumNodes is the metric that outputs the number of trie nodes written for accounts after snapshot.
MetricCrossCheckBlockHeight is the metric that stores cross block height.
MetricNonce is the metric for monitoring the nonce of a node.
MultipleTransactionsPath defines the multiple transactions send path of the node.
NetworkConfigPath represents the path where an observer exposes his network metrics.
NetworkEsdtTokensPrefix represents the prefix for the path where an observer exposes ESDT tokens of a kind.
NetworkStatusPath represents the path where an observer exposes his network metrics.
NodeStatusPath represents the path where an observer exposes his node status metrics.
RatingsConfigPath represents the path where an observer exposes his ratings metrics.
SCRsByTxHash defines smart contract results by transaction hash path of the node.
TransactionPath defines the transaction group path of the node.
TransactionSendPath defines the single transaction send path of the node.
TransactionSimulatePath defines single transaction simulate path of the node.
TransactionsPoolPath defines the transactions pool path of the node.

# Variables

ErrAuctionListNotAvailable signals that the auction list data is not found.
ErrCannotParseNodeStatusMetrics signals that the node status metrics cannot be parsed.
ErrEmptyAppVersionString signals than an empty app version string has been provided.
ErrEmptyCommitString signals than an empty commit id string has been provided.
ErrEmptyMapOfAccountsFromPem signals that an empty map of accounts was received.
ErrEmptyPubKey signals that an empty public key has been provided.
ErrHeartbeatNotAvailable signals that the heartbeat status is not found.
ErrInvalidAddress signals that an invalid address has been provided.
ErrInvalidCacheValidityDuration signals that the given validity duration for cache data is invalid.
ErrInvalidDefaultFaucetValue signals that the provided faucet value is not strictly positive.
ErrInvalidOutputFormat signals that the output format type is not valid.
ErrInvalidRequestTimeout signals that the provided number of seconds before timeout is invalid.
ErrInvalidSignatureBytes signal that an invalid signature hash been provided.
ErrInvalidTokenType signals that the provided token type is invalid.
ErrInvalidTransactionValueField signals that field value of transaction is invalid.
ErrMissingObserver signals that no observers have been provided for provided shard ID.
ErrNilCoreProcessor signals that a nil core processor has been provided.
ErrNilDefaultFaucetValue signals that a nil default faucet value has been provided.
ErrNilEconomicMetricsCacher signals that the provided economic metrics cacher is nil.
ErrNilHasher is raised when a valid hasher is expected but nil used.
ErrNilHeartbeatCacher signals that the provided heartbeat cacher is nil.
ErrNilHttpClient signals that a nil http client has been provided.
ErrNilLogsMerger signals that the provided logs merger is nil.
ErrNilMarshalizer is raised when a valid marshalizer is expected but nil used.
ErrNilNewTxCostHandlerFunc is raised when a nil function that creates a new transaction cost handler has been provided.
ErrNilNodesProvider signals that a nil observers provider has been provided.
ErrNilPrivateKeysLoader signals that a nil private keys loader has been provided.
ErrNilPubKeyConverter signals that a nil pub key converter has been provided.
ErrNilSCQueryService signals that a nil smart contracts query service has been provided.
ErrNilShardCoordinator signals that a nil shard coordinator has been provided.
ErrNilStatusMetricsProvider signals that a nil status metrics provider has been given.
ErrNilValidatorStatisticsCacher signals that the provided validator statistics cacher is nil.
ErrNoFaucetAccountForGivenShard signals that no account was found for the shard of the given address.
ErrNoObserverAvailable signals that no observer could be found.
ErrNoValidTransactionToSend signals that no valid transaction were received.
ErrSendingRequest signals that sending the request failed on all observers.
ErrValidatorStatisticsNotAvailable signals that the validator statistics data is not found.

# Structs

AccountProcessor is able to process account requests.
ArgNumShardsProcessor is the DTO used to create a new instance of numShardsProcessor.
BaseProcessor represents an implementation of CoreProcessor that helps to process requests.
BlockProcessor handles blocks retrieving.
BlocksProcessor handles blocks retrieving from all shards.
FaucetProcessor will handle the faucet operation.
NodeGroupProcessor is able to process transaction requests.
NodeStatusProcessor handles the action needed for fetching data related to status metrics from nodes.
No description provided by the author
SCQueryProcessor is able to process smart contract queries.
StatusProcessor is able to process status requests.
TransactionProcessor is able to process transaction requests.
ValidatorStatisticsProcessor is able to process validator statistics data requests.

# Interfaces

GenericApiResponseCacheHandler will define what a real economic metrics cacher should do.
HeartbeatCacheHandler will define what a real heartbeat cacher should do.
HttpClient defines an interface for the http client.
LogsMergerHandler will define what a real merge logs handler should do.
PrivateKeysLoaderHandler defines what a component which handles loading of the private keys file should do.
Processor defines what a processor should be able to do.
SCQueryService defines how data should be get from a SC account.
StatusMetricsProvider defines what a status metrics provider should do.
TransactionCostHandler will define what a real transaction cost handler should do.
ValidatorStatisticsCacheHandler will define what a real validator statistics cacher should do.