Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrKnownBlock is returned when a block to import is already known locally. ErrKnownBlock = errors.New("block already known") // ErrBlacklistedHash is returned if a block to import is on the blacklist. ErrBlacklistedHash = errors.New("blacklisted hash") // ErrNonceTooHigh is returned if the nonce of a transaction is higher than the // next one expected based on the local chain. ErrNonceTooHigh = errors.New("nonce too high") // ErrNonceTooLow is returned if the nonce of a transaction is lower than the // one present in the local chain. ErrNonceTooLow = errors.New("nonce too low") )
Functions ¶
This section is empty.
Types ¶
type ChainEvent ¶
type ChainHeadEvent ¶
type ChainSideEvent ¶
type NewProducedBlockEvent ¶
NewProducedBlockEvent is posted when a block has been imported.
type PendingLogsEvent ¶
type PendingLogsEvent struct {
Logs []*transaction.Log
}
PendingLogsEvent is posted pre producing and notifies of pending logs.
type PendingStateEvent ¶
type PendingStateEvent struct{}
PendingStateEvent is posted pre producing and notifies of pending state changes.
type RemovedLogsEvent ¶
type RemovedLogsEvent struct{ Logs []*transaction.Log }
RemovedLogsEvent is posted when a reorg happens
type RemovedTransactionEvent ¶
type RemovedTransactionEvent struct{ Txs transaction.Transactions }
RemovedTransactionEvent is posted when a reorg happens
type TxPreEvent ¶
type TxPreEvent struct{ Tx *transaction.Transaction }
TxPreEvent is posted when a transaction enters the transaction pool.
Directories ¶
Path | Synopsis |
---|---|
contract/jsre/deps
Package deps contains the console JavaScript dependencies Go embedded.
|
Package deps contains the console JavaScript dependencies Go embedded. |
jsre/deps
Package deps contains the console JavaScript dependencies Go embedded.
|
Package deps contains the console JavaScript dependencies Go embedded. |
Package state provides a caching layer atop the Ethereum state trie.
|
Package state provides a caching layer atop the Ethereum state trie. |
Click to show internal directories.
Click to hide internal directories.