package
0.0.0-20230803065340-eb934a0893fc
Repository: https://github.com/sliceledger-blockchain/slice-ledger.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
DecodeRawReceipts decodes receipts and adds additional blocks metadata.
DecodeTransactions decodes a list of opaque transactions into transactions.
EncodeReceipts encodes a list of receipts into raw receipts.
EncodeTransactions encodes a list of transactions into opaque transactions.
No description provided by the author
HeaderBlockInfo returns h as a BlockInfo implementation.
No description provided by the author
No description provided by the author
PollBlockChanges opens a polling loop to fetch the L1 block reference with the given label, on provided interval and with request timeout.
No description provided by the author
TransactionsToHashes computes the transaction-hash for every transaction in the input.
WatchHeadChanges wraps a new-head subscription from NewHeadSource to feed the given Tracker.

# Constants

returned if the payload is not fully validated, and does not extend the canonical chain, but will be remembered for later (on reorgs or sync updates and such).
given payload is invalid.
if the block-hash in the payload is not correct.
proof-of-stake transition only, not used in rollup.
sync process is in progress.
given payload is valid.
Finalized is: - L1: Finalized checkpoint, beacon chain: 2+ justified epochs with "supermajority link" (see FFG docs).
Forkchoice state is invalid / inconsistent.
Payload attributes are invalid / inconsistent.
Safe is: - L1: Justified checkpoint, beacon chain: 1 epoch of 2/3 of the validators attesting the epoch.
Payload does not exist / is not available.
Unsafe is: - L1: absolute head of the chain - L2: absolute head of the chain, not confirmed on L1.

# Variables

No description provided by the author
ErrExtraDataTooLarge occurs when the ExecutionPayload's ExtraData field is too large to be properly represented in SSZ.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InputError distinguishes an user-input error from regular rpc errors, to help the (Engine) API user divert from accidental input mistakes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SyncStatus is a snapshot of the driver.
SystemConfig represents the rollup system configuration that carries over in every L2 block, and may be changed through L1 system config events.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HeadSignalFn is used as callback function to accept head-signals.
No description provided by the author
No description provided by the author
No description provided by the author