Directories
¶
| Path | Synopsis |
|---|---|
|
Package chain holds the values that describe an EVM chain (block references, headers, logs, blocks, log filters and blooms) and the Source interface that reads them.
|
Package chain holds the values that describe an EVM chain (block references, headers, logs, blocks, log filters and blooms) and the Source interface that reads them. |
|
Package chainlog defines the canonical log of one chain: entries, offsets, metadata, the Log interface, the validator State, the record codec and an in-memory Log.
|
Package chainlog defines the canonical log of one chain: entries, offsets, metadata, the Log interface, the validator State, the record codec and an in-memory Log. |
|
logtest
Package logtest is the conformance suite for chainlog.Log implementations.
|
Package logtest is the conformance suite for chainlog.Log implementations. |
|
wal
Package wal is a chainlog.Log stored in segment files in one directory.
|
Package wal is a chainlog.Log stored in segment files in one directory. |
|
Package consumer applies a canonical log to state: the Consumer contract, Run, which feeds a consumer the log from its committed offset, and Memory, a consumer for in-memory state machines that cannot undo their writes.
|
Package consumer applies a canonical log to state: the Consumer contract, Run, which feeds a consumer the log from its committed offset, and Memory, a consumer for in-memory state machines that cannot undo their writes. |
|
internal
|
|
|
archtest
Package archtest holds the tests that enforce evmsync's architecture rules: the import table of architecture §5.1 (TestImportBoundaries), the license header of §15.6 (TestLicenseHeaders) and the apply-path rules of principle 5 (TestApplyPathRules).
|
Package archtest holds the tests that enforce evmsync's architecture rules: the import table of architecture §5.1 (TestImportBoundaries), the license header of §15.6 (TestLicenseHeaders) and the apply-path rules of principle 5 (TestApplyPathRules). |
|
fakechain
Package fakechain is a deterministic, seeded fake EVM chain with fork injection and moving finality, and a chain.Source over it with fault hooks.
|
Package fakechain is a deterministic, seeded fake EVM chain with fork injection and moving finality, and a chain.Source over it with fault hooks. |
|
invariant
Package invariant runs the reorg invariant as a seeded property test: the state a consumer builds from the canonical log equals the state built from the final canonical chain alone.
|
Package invariant runs the reorg invariant as a seeded property test: the state a consumer builds from the canonical log equals the state built from the final canonical chain alone. |
|
Package tracker turns new heads and finalized blocks of a chain into canonical-log entries.
|
Package tracker turns new heads and finalized blocks of a chain into canonical-log entries. |
Click to show internal directories.
Click to hide internal directories.