Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
slctl
command
Command slctl is the ShadowLedger wallet and chain inspection CLI.
|
Command slctl is the ShadowLedger wallet and chain inspection CLI. |
|
slnode
command
Command slnode runs a ShadowLedger node daemon.
|
Command slnode runs a ShadowLedger node daemon. |
|
internal
|
|
|
bloom
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. |
|
chain
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. |
|
chainparams
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. |
|
consensus
Package consensus defines how blocks are produced and headers authorized.
|
Package consensus defines how blocks are produced and headers authorized. |
|
crypto
Package crypto provides ShadowLedger identity: Ed25519 keys, addresses, signing.
|
Package crypto provides ShadowLedger identity: Ed25519 keys, addresses, signing. |
|
economy
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. |
|
erasure
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. |
|
forkchoice
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. |
|
mempool
Package mempool holds pending, validated transactions awaiting inclusion.
|
Package mempool holds pending, validated transactions awaiting inclusion. |
|
merkle
Package merkle implements a binary Merkle tree with inclusion proofs.
|
Package merkle implements a binary Merkle tree with inclusion proofs. |
|
netparams
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. |
|
node
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. |
|
p2p
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. |
|
pos
Package pos implements ShadowLedger's Proof-of-Storage challenge layer.
|
Package pos implements ShadowLedger's Proof-of-Storage challenge layer. |
|
regpow
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). |
|
rendezvous
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. |
|
shl
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. |
|
state
Package state holds the active account ledger: balances and nonces.
|
Package state holds the active account ledger: balances and nonces. |
|
store
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. |
|
types
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. |
|
version
Package version reports the build version.
|
Package version reports the build version. |
|
vm
Package vm is ShadowLedger's minimal deterministic smart-contract VM.
|
Package vm is ShadowLedger's minimal deterministic smart-contract VM. |
Click to show internal directories.
Click to hide internal directories.