specborn documentation contents ↓

Logging and privacy #

Where output goes #

specborn writes plain text lines; there are no log files, log levels or log rotation of its own. Redirect or pipe the output wherever you keep logs (for example specborn run … >>node.log 2>&1, or a service manager's journal).

StreamWhat
standard outputthe status line of every slot, and event lines: start-up (validator keys: with --validator-keys, chain:, data availability:, store:, libp2p: peer id …, discovery: …, rpc: …, pool: …, duties: …, propose: block proposal enabled …, beacon api: …), peers (peer N: connected, disconnected, goodbye, closed (…), session failed: …, the peer's yamux GoAway; a session that consumed no input across 16 resumes is closed with closed (session stalled: …)), discovery (discovery: …, with the node ids and addresses of discovered peers), sync (sync: …), data availability (da: …), snapshots (snapshot: …), the transaction pool's periodic summary (pool: …), validator duties (duties: …, a summary every epoch, and duties: slot S: N aggregate(s), M contribution(s) handed to the network at T ms into the slot (due D ms): … in each slot where it publishes aggregates or contributions), a duty step that began 150 ms or more after its due time (loop-diag: slot S: duty step (…) begins … ms after the due time …), block proposals (propose: …, propose(gloas): …, see Block proposals; also propose: sidecars of slot …, propose: profile of slot … and, when connections had no room for the proposal's messages, propose: own messages of slot … held for slow connections: … and peer N: no room for own messages …), a step of the event loop still running after 30 s (pump: step … still running after N s), refused items with the reason
standard errorerrors and warnings (specborn: … before exiting, store: … warnings, replay: …), and with --verbose every protocol event

With --verbose and --validator-keys, standard output also gets the proposals' propose(debug): … lines (how the aggregates were packed, Block proposals); without --verbose they are not printed.

Lines about refused items are limited to 16 per slot; the rest are counted in the status line's log_suppressed field, so a peer cannot flood your logs.

The status line #

specborn run prints one line per slot, three quarters into the slot (after the block, payload and attestation deadlines), beginning with SLOT. The fields, in order (Specborn/Node/Sync/Run.lean, statusLine):

FieldMeaning
SLOT nthe wall-clock slot
sync=FOLLOWING (at the peers' head), SYNCING(target=n) (range-syncing towards slot n), or SYNCING(no_peer_status) (no peer has answered Status yet)
head=, head_slot=, payload=the fork-choice head block, its slot, and its payload status (FULL, EMPTY, PENDING; Gloas)
justified=, finalized=the fork-choice store's checkpoints, epoch:root
state_justified=, state_finalized=the checkpoints recorded in the head's beacon state
head_blobs=blobs committed to by the head
cl_state_root=the head's beacon state root
el_head=, el_number=, el_state_root=the execution head (hash, number, state root) of the in-process engine
blocks=blocks in the fork-choice store
imported=, refused=, stored=items imported and refused since start; items in the data directory
pending=a+bblocks and envelopes waiting for a parent or block
da_wait=, da_blocks=, columns_kept=, da_established=, col_verdicts=, da_released_gossip_other=Gloas data availability: envelopes waiting for columns, blocks with kept columns, columns kept, envelopes whose availability was established, column verdict counts (kept, known, not sampled, block unknown, dropped, invalid), and how waiting envelopes were released
held=, held_released_expired=gossip blocks held for their parent's payload
custody_known=, da_by_root_sent=peers whose custody is known; by-root column requests sent
fulu_da_held=, fulu_da_blocks=, fulu_da_established=, fulu_col_verdicts=, fulu_gossip_col_acc_ign_rej=, fulu_da_released_gossip_other=the same for Fulu blocks
peers=consensus connections, including dials in progress
gossip_block_acc_ign_rej=, gossip_env_acc_ign_rej=, gossip_ptc_acc_ign_rej=gossip verdicts (accepted, ignored, rejected) for blocks, envelopes and PTC messages
strike_disconnects=connections closed for too many rejected messages
log_suppressed=refused-item lines not printed (limit 16 per slot)
gossip_ev_dropped=gossip messages dropped because more than 4,096 waited between two loop iterations
served_reqs_chunks=, range_following=req/resp requests served and chunks sent; range batches requested while following
duty_deferred_events_pool=a,bwith --validator-keys: events (a) and transaction-pool steps (b) the loop put off because a duty due time was less than 600 ms away (the work is done after the duty step, nothing is skipped)
disc_…=, known_peers=, el_known=, peers_…=(with --bootnodes) discv5 counters (table size, records accepted and refused and why, queries, timeouts, datagrams dropped), known consensus and execution peers, peer-table admissions, updates, evictions and refusals
disc4_…=(with execution bootnode records) the same for discv4
el_peers=, rpc_head=, rpc_ingested=, rpc_errors=, rpc_unlinked=, rpc_reanchors=, tx_announced=, el_served_headers_bodies_receipts=(with JSON-RPC) active eth sessions, the RPC store's head block number and its ingest counters, transactions announced, eth chain data served

To compare with another client, the useful fields are head, finalized, cl_state_root, el_head and el_state_root: on the devnets these are what the project's checker compares (testnet/kurtosis/node-check.py).

The checkpoint-sync command prints CPSLOT lines instead, described in Checkpoint sync.

The pool line #

While the transaction pool runs, specborn run writes a pool: … line at most every 12 seconds (Specborn/Node/Sync/PoolLink.lean). It holds counts only, no hash, address or peer address:

PartMeaning
N transactions (… blob, … queued, … bytes)what the pool holds; queued transactions wait behind a nonce gap
head, eth sessions A (C/P configured connected), headsthe head block number the pool validates against, active eth sessions, configured --el-peers connected, head changes seen
in: … Transactions, … announcements, … PooledTransactionseth messages received
admitted p2p … (… blob; by peer: …), rpc … (refused …)transactions admitted from peers (with the count for each configured --el-peers label) and over JSON-RPC
requested … hashes (… from another announcer after a failure), announcements sent, GetPooledTransactions servedfetching and serving
re-validation dropped, peers disconnected, over rate, global budget X/Ytransactions dropped by the re-validation at head changes, execution peers the pool disconnected, transactions and hashes skipped because the sender's credit ran out, the work budget all peers share (tokens left / burst)
inbox dropped …, over a peer's share of the carried work …messages dropped because the inbox, or the sender's share of it, was full; messages dropped beyond the sender's share of the carried work
carried M messages in Q queues (I iterations carried work over; longest pool part T ms, most units U)work left for later iterations; the longest time the pool's part of one loop iteration took so far (head re-validation and both work loops); the most units the loop over peers' messages handled in one iteration (JSON-RPC units are not counted) (JSON-RPC)

Privacy #

What specborn does not do, by design (AGENTS.md, docs/pieces/node.md §9):

What to be careful with: