Documentation
¶
Overview ¶
Package sdk exposes the small, stable execution surface shared by portable Ethereum cases and their host programs. Protocol-specific wire operations remain in the SDK's subpackages.
Index ¶
Constants ¶
View Source
const ( // VerdictAccept indicates that the target behaved as expected. VerdictAccept = result.VerdictAccept // VerdictDisconnect indicates that the target disconnected unexpectedly. VerdictDisconnect = result.VerdictDisconnect // VerdictTimeout indicates that the target did not respond in time. VerdictTimeout = result.VerdictTimeout // VerdictInvalid indicates an invalid or inconclusive target response. VerdictInvalid = result.VerdictInvalid // VerdictBug indicates a protocol bug in the target. VerdictBug = result.VerdictBug // VerdictCrash indicates that the target crashed. VerdictCrash = result.VerdictCrash )
View Source
const Version = "v0.1.7"
Version identifies this SDK release.
Variables ¶
This section is empty.
Functions ¶
func EncodeRLPBytes ¶
EncodeRLPBytes returns the canonical RLP byte-string encoding of payload.
func EncodeRLPList ¶
EncodeRLPList wraps caller-supplied, pre-encoded RLP items in one list.
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package discovery provides Ethereum node discovery primitives.
|
Package discovery provides Ethereum node discovery primitives. |
|
Package eth provides the execution-layer ETH devp2p capability.
|
Package eth provides the execution-layer ETH devp2p capability. |
|
Package gossipsub provides Ethereum consensus-layer gossip publishing.
|
Package gossipsub provides Ethereum consensus-layer gossip publishing. |
|
Package reqresp provides Ethereum consensus-layer request/response streams.
|
Package reqresp provides Ethereum consensus-layer request/response streams. |
|
Package result classifies an operation with a stable Verdict and detail.
|
Package result classifies an operation with a stable Verdict and detail. |
|
Package rlpx provides Ethereum's encrypted RLPx transport and devp2p base protocol primitives.
|
Package rlpx provides Ethereum's encrypted RLPx transport and devp2p base protocol primitives. |
|
Package rpc provides bounded execution-layer JSON-RPC access.
|
Package rpc provides bounded execution-layer JSON-RPC access. |
|
Package session carries output, client metadata, and write observation in a standard context.Context.
|
Package session carries output, client metadata, and write observation in a standard context.Context. |
|
Package snap provides the SNAP state-sync capability and its packet model.
|
Package snap provides the SNAP state-sync capability and its packet model. |
|
Package target describes the HTTP and peer-to-peer endpoints of an Ethereum node pair.
|
Package target describes the HTTP and peer-to-peer endpoints of an Ethereum node pair. |
|
Package utils provides deterministic identity and presentation helpers shared by the wire packages.
|
Package utils provides deterministic identity and presentation helpers shared by the wire packages. |
|
Package wit implements the WIT/1 execution-witness devp2p capability.
|
Package wit implements the WIT/1 execution-witness devp2p capability. |
Click to show internal directories.
Click to hide internal directories.