internal/

directory
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT

Directories

Path Synopsis
Package bloom is a small Bloom filter for "do I hold this shard?" lookups.
Package bloom is a small Bloom filter for "do I hold this shard?" lookups.
Package chain wires together state, storage, erasure coding and shard placement into an append-only ledger.
Package chain wires together state, storage, erasure coding and shard placement into an append-only ledger.
Package chainparams holds the network parameters BAKED INTO the binary, the way Bitcoin and Ethereum ship their genesis + DNS seeds in source.
Package chainparams holds the network parameters BAKED INTO the binary, the way Bitcoin and Ethereum ship their genesis + DNS seeds in source.
Package consensus defines how blocks are produced and headers authorized.
Package consensus defines how blocks are produced and headers authorized.
Package crypto provides ShadowLedger identity: Ed25519 keys, addresses, signing.
Package crypto provides ShadowLedger identity: Ed25519 keys, addresses, signing.
Package economy defines $SHARD monetary policy: a fixed supply cap with a Bitcoin-style halving emission schedule.
Package economy defines $SHARD monetary policy: a fixed supply cap with a Bitcoin-style halving emission schedule.
Package erasure wraps Reed-Solomon coding to fragment block bodies into shards and rebuild them from any K of K+M shards.
Package erasure wraps Reed-Solomon coding to fragment block bodies into shards and rebuild them from any K of K+M shards.
Package faucet is ShadowLedger's storage-flavored Proof-of-Work faucet: a way for FOLLOWERS (non-validators) to earn a small amount of $SHARD by doing real compute, without a bond or a centralized tap.
Package faucet is ShadowLedger's storage-flavored Proof-of-Work faucet: a way for FOLLOWERS (non-validators) to earn a small amount of $SHARD by doing real compute, without a bond or a centralized tap.
Package forkchoice implements ShadowLedger's deterministic chain-selection rule: among competing branches, pick the heaviest (most cumulative weight), breaking ties by lowest block id.
Package forkchoice implements ShadowLedger's deterministic chain-selection rule: among competing branches, pick the heaviest (most cumulative weight), breaking ties by lowest block id.
Package mempool holds pending, validated transactions awaiting inclusion.
Package mempool holds pending, validated transactions awaiting inclusion.
Package merkle implements a binary Merkle tree with inclusion proofs.
Package merkle implements a binary Merkle tree with inclusion proofs.
Package netparams makes ShadowLedger self-tuning: the erasure parameters (K data / M parity shards) and the shard replication factor are derived from the LIVE node count, not pinned in any config file.
Package netparams makes ShadowLedger self-tuning: the erasure parameters (K data / M parity shards) and the shard replication factor are derived from the LIVE node count, not pinned in any config file.
Package node wires storage, state, consensus, chain, mempool and networking into a runnable ShadowLedger daemon.
Package node wires storage, state, consensus, chain, mempool and networking into a runnable ShadowLedger daemon.
Package p2p provides ShadowLedger's networking: a control/RPC channel and a shard-transfer channel, decentralized peer discovery (DNS seeds + explicit seeds + peer exchange, NO central server), Proof-of-Storage shard challenges, and the client that reconstructs block bodies by pulling K-of-(K+M) shards from rendezvous-ranked holders.
Package p2p provides ShadowLedger's networking: a control/RPC channel and a shard-transfer channel, decentralized peer discovery (DNS seeds + explicit seeds + peer exchange, NO central server), Proof-of-Storage shard challenges, and the client that reconstructs block bodies by pulling K-of-(K+M) shards from rendezvous-ranked holders.
Package pos implements ShadowLedger's Proof-of-Storage challenge layer.
Package pos implements ShadowLedger's Proof-of-Storage challenge layer.
Package regpow is ShadowLedger's registration Proof-of-Work: a one-time compute puzzle a node must solve to register as a validator (on TOP of its bond).
Package regpow is ShadowLedger's registration Proof-of-Work: a one-time compute puzzle a node must solve to register as a validator (on TOP of its bond).
Package rendezvous implements Highest-Random-Weight (HRW) hashing to assign each block shard to a deterministic, stable set of holder nodes without any global coordination.
Package rendezvous implements Highest-Random-Weight (HRW) hashing to assign each block shard to a deterministic, stable set of holder nodes without any global coordination.
Package shl is a tiny high-level language that compiles to ShadowLedger VM bytecode.
Package shl is a tiny high-level language that compiles to ShadowLedger VM bytecode.
Package state holds the active account ledger: balances and nonces.
Package state holds the active account ledger: balances and nonces.
Package store persists block headers (with shard sets) and the erasure shards this node is responsible for, under a data directory.
Package store persists block headers (with shard sets) and the erasure shards this node is responsible for, under a data directory.
Package types defines ShadowLedger's core data structures: transactions, blocks, headers and shard sets, with deterministic canonical encodings.
Package types defines ShadowLedger's core data structures: transactions, blocks, headers and shard sets, with deterministic canonical encodings.
Package version reports the build version.
Package version reports the build version.
Package vm is ShadowLedger's minimal deterministic smart-contract VM.
Package vm is ShadowLedger's minimal deterministic smart-contract VM.

Jump to

Keyboard shortcuts

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