Documentation ¶
Index ¶
- type BlockBroadcastEvent
- type BlockReadyEvent
- type BloomFilter
- type CommitBlockEvent
- type CommitCompleteEvent
- type ConsensusEvent
- type ErrOccurEvent
- type ExecBlockEvent
- type ExecFinishEvent
- type ExecPendingTxEvent
- type NewBlockEvent
- type NewReceiptsEvent
- type NewTxEvent
- type NewTxsEvent
- type ProposeBlockEvent
- type RollbackEvent
- type TxBroadcastEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockBroadcastEvent ¶
type BlockBroadcastEvent struct{}
type BlockReadyEvent ¶
BlockReadyEvent will be post after block pool received a block and store into pool.
type BloomFilter ¶
type BloomFilter struct {
// contains filtered or unexported fields
}
BloomFilter is used to accelerate the process of checking a bytes is existed or not
type CommitBlockEvent ¶
type CommitCompleteEvent ¶
type ConsensusEvent ¶
ConsensusEvent will be posted after a new block proposed by the BP completed execution without errors
type ErrOccurEvent ¶
type ErrOccurEvent struct {
Err error
}
ErrOccurEvent will be posted when some errors occur during executor processing.
type ExecBlockEvent ¶
type ExecFinishEvent ¶
type ExecFinishEvent struct {
Res bool // exec result.If success,set true
}
type ExecPendingTxEvent ¶
type ExecPendingTxEvent struct {
Txs types.Transactions
}
type NewReceiptsEvent ¶
NewReceiptsEvent will be posted after a block from other nodes come in, completed execution without errors and passed verification.
type NewTxsEvent ¶
type NewTxsEvent struct {
Txs types.Transactions
}
type ProposeBlockEvent ¶
type RollbackEvent ¶
type RollbackEvent struct{}
type TxBroadcastEvent ¶
type TxBroadcastEvent struct{}
Directories ¶
Path | Synopsis |
---|---|
Bucket merkle tree implementaion
|
Bucket merkle tree implementaion |
evm/abi
Package abi implements the Ethereum ABI (Application Binary Interface).
|
Package abi implements the Ethereum ABI (Application Binary Interface). |
evm/crypto/bn256
Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
|
Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve. |
evm/crypto/bn256/cloudflare
Package bn256 implements a particular bilinear group at the 128-bit security level.
|
Package bn256 implements a particular bilinear group at the 128-bit security level. |
evm/crypto/bn256/google
Package bn256 implements a particular bilinear group.
|
Package bn256 implements a particular bilinear group. |
evm/crypto/secp256k1
Package secp256k1 wraps the bitcoin secp256k1 C library.
|
Package secp256k1 wraps the bitcoin secp256k1 C library. |
evm/crypto/sha3
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
|
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202. |
evm/hexutil
Package hexutil implements hex encoding with 0x prefix.
|
Package hexutil implements hex encoding with 0x prefix. |
evm/math
Package math provides integer math utilities.
|
Package math provides integer math utilities. |
evm/runtime
Package runtime provides a basic execution model for executing EVM code.
|
Package runtime provides a basic execution model for executing EVM code. |
Click to show internal directories.
Click to hide internal directories.