internal/

directory
v0.87.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: Apache-2.0

Directories

Path Synopsis
Package apiconfig defines TLS configuration shared by built-in API providers.
Package apiconfig defines TLS configuration shared by built-in API providers.
Package benchci implements CI benchmark regression detection for Dingo's weekly benchmark workflow.
Package benchci implements CI benchmark regression detection for Dingo's weekly benchmark workflow.
cmd/benchcheck command
Command benchcheck compares two `go test -bench` result files (produced by `make bench-ci`) via internal/benchci and writes a markdown regression report.
Command benchcheck compares two `go test -bench` result files (produced by `make bench-ci`) via internal/benchci and writes a markdown regression report.
Package blockverify re-derives a block's identity from its bytes so a remote blob backend (S3, GCS) cannot silently hand back the wrong block for a requested (slot, hash) key.
Package blockverify re-derives a block's identity from its bytes so a remote blob backend (S3, GCS) cannot silently hand back the wrong block for a requested (slot, hash) key.
cmd command
Package chainsyncrecycler detects stalled chainsync clients and recycles truly stuck connections.
Package chainsyncrecycler detects stalled chainsync clients and recycles truly stuck connections.
Package committeeauth periodically resolves the chain's live rollback-safe immutable point and pushes it into the metadata store's committee hot-key authorization pruner.
Package committeeauth periodically resolves the chain's live rollback-safe immutable point and pushes it into the metadata store's committee hot-key authorization pruner.
Package dblifecycle is the single entry point the CLI (and, in a later phase, a gRPC surface) calls to perform database snapshot, restore, and truncate operations, so both front ends run exactly the same code path.
Package dblifecycle is the single entry point the CLI (and, in a later phase, a gRPC surface) calls to perform database snapshot, restore, and truncate operations, so both front ends run exactly the same code path.
Package devnetkeys provides the local-only credentials used by Dingo's single-node development network.
Package devnetkeys provides the local-only credentials used by Dingo's single-node development network.
Package fsyncdir syncs a directory's own entries (a new or renamed file appearing in it) to disk, so that change is durable across a crash, not just the changed file's own content -- a file's own fsync does not guarantee its directory entry is persisted.
Package fsyncdir syncs a directory's own entries (a new or renamed file appearing in it) to disk, so that change is durable across a crash, not just the changed file's own content -- a file's own fsync does not guarantee its directory entry is persisted.
Package health serves the node's liveness and readiness probes on a dedicated listener, separate from the Prometheus metrics listener, the pprof debug listener and every API listener.
Package health serves the node's liveness and readiness probes on a dedicated listener, separate from the Prometheus metrics listener, the pprof debug listener and every API listener.
cmd command
Package netguard provides shared destination checks for outbound HTTP clients.
Package netguard provides shared destination checks for outbound HTTP clients.
Package nodemithril implements dingo.MithrilCatchUp on the mithril package.
Package nodemithril implements dingo.MithrilCatchUp on the mithril package.
Package nodeparity compares Dingo's and a reference cardano-node's ledger state over their node-to-client (NtC) LocalStateQuery interfaces, for cross-node validation.
Package nodeparity compares Dingo's and a reference cardano-node's ledger state over their node-to-client (NtC) LocalStateQuery interfaces, for cross-node validation.
Package plannerstats keeps SQLite planner statistics current while the node runs.
Package plannerstats keeps SQLite planner statistics current while the node runs.
Package plugins contains application-composition registration for all providers compiled into this binary.
Package plugins contains application-composition registration for all providers compiled into this binary.
Package promutil holds Prometheus registration helpers shared by components that must not panic on a reused registry.
Package promutil holds Prometheus registration helpers shared by components that must not panic on a reused registry.
Package ratewindow provides bounded, externally synchronized fixed-window counters for peer admission and misbehavior tracking.
Package ratewindow provides bounded, externally synchronized fixed-window counters for peer admission and misbehavior tracking.
Package rpchealth restricts gRPC health services to bounded unary calls.
Package rpchealth restricts gRPC health services to bounded unary calls.
Package safedecode contains CBOR decoder panics on externally-supplied bytes, so a malformed or adversarial payload fails the single decode that received it rather than the process that attempted it.
Package safedecode contains CBOR decoder panics on externally-supplied bytes, so a malformed or adversarial payload fails the single decode that received it rather than the process that attempted it.
Package secretfile reads a configuration value from a file.
Package secretfile reads a configuration value from a file.
Package settingsresolve lets a data directory's already-persisted node settings supply the effective value for any override-eligible gate an operator left at its built-in default, before the rest of configuration resolution runs.
Package settingsresolve lets a data directory's already-persisted node settings supply the effective value for any override-eligible gate an operator left at its built-in default, before the rest of configuration resolution runs.
test
conformance
Package conformance provides a DingoStateManager that implements the ouroboros-mock conformance.StateManager interface using dingo's ledger state models.
Package conformance provides a DingoStateManager that implements the ouroboros-mock conformance.StateManager interface using dingo's ledger state models.
dbtest
Package dbtest composes storage providers for tests that need a real database without putting provider construction back into package database.
Package dbtest composes storage providers for tests that need a real database without putting provider construction back into package database.
devnet
Package devnet provides a test harness for running integration tests against a private Cardano DevNet consisting of Dingo and cardano-node instances connected via Docker Compose.
Package devnet provides a test harness for running integration tests against a private Cardano DevNet consisting of Dingo and cardano-node instances connected via Docker Compose.
dijkstrabatchfixture
Package dijkstrabatchfixture provides one encoded Dijkstra governance batch shared by live ledger, replay, and metadata backfill tests.
Package dijkstrabatchfixture provides one encoded Dijkstra governance batch shared by live ledger, replay, and metadata backfill tests.
fakecloud
Package fakecloud is an in-memory object store that answers the subset of the S3 REST API and the GCS JSON API that Dingo's cloud blob stores and snapshot destinations use.
Package fakecloud is an in-memory object store that answers the subset of the S3 REST API and the GCS JSON API that Dingo's cloud blob stores and snapshot destinations use.
fixtures
Package fixtures contains small, valid protocol fixtures for Dingo tests.
Package fixtures contains small, valid protocol fixtures for Dingo tests.
plutusv4script
Package plutusv4script builds PlutusV4 scripts that inspect the ScriptContext, shared by the era validation tests and the ledger tests that drive the same scripts through block application, replay and the mempool.
Package plutusv4script builds PlutusV4 scripts that inspect the ScriptContext, shared by the era validation tests and the ledger tests that drive the same scripts through block application, replay and the mempool.
storagetest
Package storagetest is a shared conformance suite for blob.BlobStore and metadata.MetadataStore implementations.
Package storagetest is a shared conformance suite for blob.BlobStore and metadata.MetadataStore implementations.
testutil
Package testutil provides common test helper utilities for the Dingo project.
Package testutil provides common test helper utilities for the Dingo project.
Package tracing starts spans on the process-wide OpenTelemetry tracer provider.
Package tracing starts spans on the process-wide OpenTelemetry tracer provider.
Package txresponse owns transaction payloads copied into serving responses.
Package txresponse owns transaction payloads copied into serving responses.
cmd command
turbocmd command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL