Versions in this module Expand all Collapse all v22 v22.4.2 Apr 28, 2022 Changes in this version + const AccountRangeMaxResults + type BadBlockArgs struct + Block map[string]interface{} + Hash common.Hash + RLP string + type Config = ethconfig.Config + type EthAPIBackend struct + func (b *EthAPIBackend) AccountExtraDataStateGetterByNumber(ctx context.Context, number rpc.BlockNumber) (vm.AccountExtraDataStateGetter, error) + func (b *EthAPIBackend) AccountManager() *accounts.Manager + func (b *EthAPIBackend) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error) + func (b *EthAPIBackend) BlockByNumber(ctx context.Context, number rpc.BlockNumber) (*types.Block, error) + func (b *EthAPIBackend) BlockByNumberOrHash(ctx context.Context, blockNrOrHash rpc.BlockNumberOrHash) (*types.Block, error) + func (b *EthAPIBackend) BloomStatus() (uint64, uint64) + func (b *EthAPIBackend) CallTimeOut() time.Duration + func (b *EthAPIBackend) ChainConfig() *params.ChainConfig + func (b *EthAPIBackend) ChainDb() ethdb.Database + func (b *EthAPIBackend) CurrentBlock() *types.Block + func (b *EthAPIBackend) CurrentHeader() *types.Header + func (b *EthAPIBackend) Downloader() *downloader.Downloader + func (b *EthAPIBackend) Engine() consensus.Engine + func (b *EthAPIBackend) EventMux() *event.TypeMux + func (b *EthAPIBackend) ExtRPCEnabled() bool + func (b *EthAPIBackend) GetBlockchain() *core.BlockChain + func (b *EthAPIBackend) GetEVM(ctx context.Context, msg core.Message, state vm.MinimalApiState, ...) (*vm.EVM, func() error, error) + func (b *EthAPIBackend) GetLogs(ctx context.Context, hash common.Hash) ([][]*types.Log, error) + func (b *EthAPIBackend) GetPoolNonce(ctx context.Context, addr common.Address) (uint64, error) + func (b *EthAPIBackend) GetPoolTransaction(hash common.Hash) *types.Transaction + func (b *EthAPIBackend) GetPoolTransactions() (types.Transactions, error) + func (b *EthAPIBackend) GetReceipts(ctx context.Context, hash common.Hash) (types.Receipts, error) + func (b *EthAPIBackend) GetTd(ctx context.Context, hash common.Hash) *big.Int + func (b *EthAPIBackend) GetTransaction(ctx context.Context, txHash common.Hash) (*types.Transaction, common.Hash, uint64, uint64, error) + func (b *EthAPIBackend) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error) + func (b *EthAPIBackend) HeaderByNumber(ctx context.Context, number rpc.BlockNumber) (*types.Header, error) + func (b *EthAPIBackend) HeaderByNumberOrHash(ctx context.Context, blockNrOrHash rpc.BlockNumberOrHash) (*types.Header, error) + func (b *EthAPIBackend) IsPrivacyMarkerTransactionCreationEnabled() bool + func (b *EthAPIBackend) Miner() *miner.Miner + func (b *EthAPIBackend) PSMR() mps.PrivateStateMetadataResolver + func (b *EthAPIBackend) ProxyClient() *rpc.Client + func (b *EthAPIBackend) ProxyEnabled() bool + func (b *EthAPIBackend) RPCGasCap() uint64 + func (b *EthAPIBackend) RPCTxFeeCap() float64 + func (b *EthAPIBackend) SendTx(ctx context.Context, signedTx *types.Transaction) error + func (b *EthAPIBackend) ServiceFilter(ctx context.Context, session *bloombits.MatcherSession) + func (b *EthAPIBackend) SetHead(number uint64) + func (b *EthAPIBackend) StartMining(threads int) error + func (b *EthAPIBackend) StateAndHeaderByNumber(ctx context.Context, number rpc.BlockNumber) (vm.MinimalApiState, *types.Header, error) + func (b *EthAPIBackend) StateAndHeaderByNumberOrHash(ctx context.Context, blockNrOrHash rpc.BlockNumberOrHash) (vm.MinimalApiState, *types.Header, error) + func (b *EthAPIBackend) StateAtBlock(ctx context.Context, block *types.Block, reexec uint64) (*state.StateDB, mps.PrivateStateRepository, func(), error) + func (b *EthAPIBackend) StateAtTransaction(ctx context.Context, block *types.Block, txIndex int, reexec uint64) (core.Message, vm.BlockContext, *state.StateDB, *state.StateDB, ...) + func (b *EthAPIBackend) StatesInRange(ctx context.Context, fromBlock *types.Block, toBlock *types.Block, ...) ([]*state.StateDB, []mps.PrivateStateRepository, func(), error) + func (b *EthAPIBackend) Stats() (pending int, queued int) + func (b *EthAPIBackend) SubscribeChainEvent(ch chan<- core.ChainEvent) event.Subscription + func (b *EthAPIBackend) SubscribeChainHeadEvent(ch chan<- core.ChainHeadEvent) event.Subscription + func (b *EthAPIBackend) SubscribeChainSideEvent(ch chan<- core.ChainSideEvent) event.Subscription + func (b *EthAPIBackend) SubscribeLogsEvent(ch chan<- []*types.Log) event.Subscription + func (b *EthAPIBackend) SubscribeNewTxsEvent(ch chan<- core.NewTxsEvent) event.Subscription + func (b *EthAPIBackend) SubscribePendingLogsEvent(ch chan<- []*types.Log) event.Subscription + func (b *EthAPIBackend) SubscribeRemovedLogsEvent(ch chan<- core.RemovedLogsEvent) event.Subscription + func (b *EthAPIBackend) SuggestPrice(ctx context.Context) (*big.Int, error) + func (b *EthAPIBackend) SupportsMultitenancy(rpcCtx context.Context) (*proto.PreAuthenticatedAuthenticationToken, bool) + func (b *EthAPIBackend) TxPool() *core.TxPool + func (b *EthAPIBackend) TxPoolContent() (map[common.Address]types.Transactions, map[common.Address]types.Transactions) + func (b *EthAPIBackend) UnprotectedAllowed() bool + type EthAPIState struct + func (s EthAPIState) Error() error + func (s EthAPIState) GetBalance(addr common.Address) *big.Int + func (s EthAPIState) GetCode(addr common.Address) []byte + func (s EthAPIState) GetCodeHash(addr common.Address) common.Hash + func (s EthAPIState) GetManagedParties(addr common.Address) ([]string, error) + func (s EthAPIState) GetNonce(addr common.Address) uint64 + func (s EthAPIState) GetPrivacyMetadata(addr common.Address) (*state.PrivacyMetadata, error) + func (s EthAPIState) GetProof(addr common.Address) ([][]byte, error) + func (s EthAPIState) GetRLPEncodedStateObject(addr common.Address) ([]byte, error) + func (s EthAPIState) GetState(a common.Address, b common.Hash) common.Hash + func (s EthAPIState) GetStorageProof(addr common.Address, h common.Hash) ([][]byte, error) + func (s EthAPIState) SetBalance(addr common.Address, balance *big.Int) + func (s EthAPIState) SetCode(addr common.Address, code []byte) + func (s EthAPIState) SetNonce(addr common.Address, nonce uint64) + func (s EthAPIState) SetState(a common.Address, key common.Hash, value common.Hash) + func (s EthAPIState) SetStorage(addr common.Address, storage map[common.Hash]common.Hash) + func (s EthAPIState) StorageTrie(addr common.Address) state.Trie + type Ethereum struct + APIBackend *EthAPIBackend + func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) + func (eth *Ethereum) GetBlockchain() *core.BlockChain + func (s *Ethereum) APIs() []rpc.API + func (s *Ethereum) AccountManager() *accounts.Manager + func (s *Ethereum) ArchiveMode() bool + func (s *Ethereum) BlockChain() *core.BlockChain + func (s *Ethereum) BloomIndexer() *core.ChainIndexer + func (s *Ethereum) CalcGasLimit(block *types.Block) uint64 + func (s *Ethereum) ChainDb() ethdb.Database + func (s *Ethereum) ConsensusServicePendingLogsFeed() *event.Feed + func (s *Ethereum) Downloader() *downloader.Downloader + func (s *Ethereum) Engine() consensus.Engine + func (s *Ethereum) Etherbase() (eb common.Address, err error) + func (s *Ethereum) EventMux() *event.TypeMux + func (s *Ethereum) IsListening() bool + func (s *Ethereum) IsMining() bool + func (s *Ethereum) Miner() *miner.Miner + func (s *Ethereum) Protocols() []p2p.Protocol + func (s *Ethereum) QLightClientAPIs() []rpc.API + func (s *Ethereum) QProtocols() []p2p.Protocol + func (s *Ethereum) ResetWithGenesisBlock(gb *types.Block) + func (s *Ethereum) SetEtherbase(etherbase common.Address) + func (s *Ethereum) Start() error + func (s *Ethereum) StartMining(threads int) error + func (s *Ethereum) Stop() error + func (s *Ethereum) StopMining() + func (s *Ethereum) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription + func (s *Ethereum) Synced() bool + func (s *Ethereum) TxPool() *core.TxPool + type NodeInfo struct + Config *params.ChainConfig + Consensus string + Difficulty *big.Int + Genesis common.Hash + Head common.Hash + Network uint64 + type PrivateAdminAPI struct + func NewPrivateAdminAPI(eth *Ethereum) *PrivateAdminAPI + func (api *PrivateAdminAPI) ExportChain(file string, first *uint64, last *uint64) (bool, error) + func (api *PrivateAdminAPI) ImportChain(file string) (bool, error) + type PrivateDebugAPI struct + func NewPrivateDebugAPI(eth *Ethereum) *PrivateDebugAPI + func (api *PrivateDebugAPI) GetBadBlocks(ctx context.Context) ([]*BadBlockArgs, error) + func (api *PrivateDebugAPI) GetModifiedAccountsByHash(startHash common.Hash, endHash *common.Hash) ([]common.Address, error) + func (api *PrivateDebugAPI) GetModifiedAccountsByNumber(startNum uint64, endNum *uint64) ([]common.Address, error) + func (api *PrivateDebugAPI) Preimage(ctx context.Context, hash common.Hash) (hexutil.Bytes, error) + func (api *PrivateDebugAPI) StorageRangeAt(ctx context.Context, blockHash common.Hash, txIndex int, ...) (StorageRangeResult, error) + type PrivateMinerAPI struct + func NewPrivateMinerAPI(e *Ethereum) *PrivateMinerAPI + func (api *PrivateMinerAPI) GetHashrate() uint64 + func (api *PrivateMinerAPI) SetEtherbase(etherbase common.Address) bool + func (api *PrivateMinerAPI) SetExtra(extra string) (bool, error) + func (api *PrivateMinerAPI) SetGasPrice(gasPrice hexutil.Big) bool + func (api *PrivateMinerAPI) SetRecommitInterval(interval int) + func (api *PrivateMinerAPI) Start(threads *int) error + func (api *PrivateMinerAPI) Stop() + type PublicDebugAPI struct + func NewPublicDebugAPI(eth *Ethereum) *PublicDebugAPI + func (api *PublicDebugAPI) AccountRange(ctx context.Context, blockNrOrHash rpc.BlockNumberOrHash, start []byte, ...) (state.IteratorDump, error) + func (api *PublicDebugAPI) DefaultStateRoot(ctx context.Context, blockNr rpc.BlockNumber) (common.Hash, error) + func (api *PublicDebugAPI) DumpAddress(ctx context.Context, address common.Address, blockNr rpc.BlockNumber) (state.DumpAccount, error) + func (api *PublicDebugAPI) DumpBlock(ctx context.Context, blockNr rpc.BlockNumber, typ *string) (state.Dump, error) + func (api *PublicDebugAPI) PrivateStateRoot(ctx context.Context, blockNr rpc.BlockNumber) (common.Hash, error) + type PublicEthereumAPI struct + func NewPublicEthereumAPI(e *Ethereum) *PublicEthereumAPI + func (api *PublicEthereumAPI) ChainId() (hexutil.Uint64, error) + func (api *PublicEthereumAPI) Coinbase() (common.Address, error) + func (api *PublicEthereumAPI) Etherbase() (common.Address, error) + func (api *PublicEthereumAPI) Hashrate() hexutil.Uint64 + func (s *PublicEthereumAPI) StorageRoot(ctx context.Context, addr common.Address, blockNr *rpc.BlockNumber) (common.Hash, error) + type PublicMinerAPI struct + func NewPublicMinerAPI(e *Ethereum) *PublicMinerAPI + func (api *PublicMinerAPI) Mining() bool + type StorageRangeResult struct + NextKey *common.Hash + Storage storageMap Other modules containing this package github.com/baptiste-b-pegasys/quorum