Documentation ¶
Index ¶
- func Genesis() (*core.Genesis, error)
- func InitBlockchain(db ethdb.Database, height uint64, ...) (*core.BlockChain, error)
- type AccountWithAddress
- type Manager
- type NoopBackend
- func (*NoopBackend) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (*NoopBackend) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
- func (*NoopBackend) EstimateGas(ctx context.Context, call ethereum.CallMsg) (gas uint64, err error)
- func (*NoopBackend) FilterLogs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error)
- func (*NoopBackend) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)
- func (*NoopBackend) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error)
- func (*NoopBackend) SendTransaction(ctx context.Context, tx *types.Transaction) error
- func (*NoopBackend) SubscribeFilterLogs(ctx context.Context, query ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
- func (*NoopBackend) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- func (b *NoopBackend) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountWithAddress ¶
type AccountWithAddress struct {
// contains filtered or unexported fields
}
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(chain *core.BlockChain, targetDataDir string) Manager
func (*Manager) GetRoutinesChannel ¶
func (*Manager) StartServers ¶
func (*Manager) StopServers ¶
func (m *Manager) StopServers()
type NoopBackend ¶
type NoopBackend struct {
// contains filtered or unexported fields
}
func (*NoopBackend) CallContract ¶
func (*NoopBackend) EstimateGas ¶
func (*NoopBackend) EstimateGas(ctx context.Context, call ethereum.CallMsg) (gas uint64, err error)
func (*NoopBackend) FilterLogs ¶
func (*NoopBackend) PendingCodeAt ¶
func (*NoopBackend) PendingNonceAt ¶
func (*NoopBackend) SendTransaction ¶
func (*NoopBackend) SendTransaction(ctx context.Context, tx *types.Transaction) error
func (*NoopBackend) SubscribeFilterLogs ¶
func (*NoopBackend) SuggestGasPrice ¶
func (*NoopBackend) TransactionReceipt ¶
Click to show internal directories.
Click to hide internal directories.