package
0.0.0-20220616152218-3da4c06c590a
Repository: https://github.com/astra-net/astra-network.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package tracers is a collection of JavaScript transaction tracers.
# Functions
FormatLogs formats EVM returned structured logs for json output.
New creates a new Astra object (including the initialisation of the common Astra object).
NewBloomIndexer returns a chain indexer that generates bloom bits data for the canonical chain for fast logs filtering.
NewOracle returns a new gasprice oracle which can recommend suitable gasprice for newly created transaction.
No description provided by the author
# Constants
BloomBitsBlocks is the number of blocks a single bloom bit section vector contains on the server side.
# Variables
500 gwei is the max suggested limit.
ErrFinalizedTransaction is returned if the transaction to be submitted is already on-chain.
# Structs
Astra implements the Astra full node service.
BloomIndexer implements a core.ChainIndexer, building up a rotated bloom bits index for the Ethereum header bloom filters, permitting blazing fast filtering.
DetailedBlockSignerInfo contains all of the block singing information.
ExecutionResult groups all structured logs emitted by the EVM while replaying a transaction in debug mode as well as transaction execution status, the amount of gas used and the return value Taken from go-ethereum/internal/ethapi/api.go.
No description provided by the author
Oracle recommends gas prices based on the content of recent blocks.
StdTraceConfig holds extra parameters to standard-json trace functions.
StructLogRes stores a structured log emitted by the EVM while replaying a transaction in debug mode.
TraceConfig holds extra parameters to trace functions.
TxTraceResult is the result of a single transaction trace.
UndelegationPayouts ..
# Interfaces
NodeAPI is the list of functions from node used to call rpc apis.
OracleBackend includes all necessary background APIs for oracle.
# Type aliases
PreStakingBlockRewards are the rewards for a block in the pre-staking era (epoch < staking epoch).