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).
| Stream | What |
|---|---|
| standard output | the 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 error | errors 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):
| Field | Meaning |
|---|---|
SLOT n | the 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+b | blocks 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,b | with --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:
| Part | Meaning |
|---|---|
N transactions (… blob, … queued, … bytes) | what the pool holds; queued transactions wait behind a nonce gap |
head, eth sessions A (C/P configured connected), heads | the head block number the pool validates against, active eth sessions, configured --el-peers connected, head changes seen |
in: … Transactions, … announcements, … PooledTransactions | eth 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 served | fetching and serving |
re-validation dropped, peers disconnected, over rate, global budget X/Y | transactions 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):
- no telemetry, analytics, crash reporting or update checks; no connection to any party you did not name;
- no logging of keys: the node's network key is fresh at every start and is never written to disk or printed; decrypted validator secret keys and passwords are never printed, logged or written (TESTED: the
vkeyssuite searches every output and stored file for them,docs/pieces/vkeys.md§12, §24.2); validator public keys are printed byvalidator keys import,validator keys listandrun --validator-keys, and appear in slashing-protection exports, because they are public data; - the status lines contain public chain data — slots, roots, hashes, counters, import verdicts — and peers only as counts;
- the validator output contains validator indices, public keys, slots, block roots and counts, and at start the fee recipient address (which every proposed block carries on chain anyway); refusals are logged with their reason only;
- the JSON-RPC and beacon API servers log no request and no client address.
What to be careful with:
- The default output does name other nodes: the
discovery:lines carry the node ids, IP addresses and ports of discovered, answering and refused nodes (from public discovery records; the notes about refused records are capped at 64 per process, the other discovery lines are not), and thelibp2p: peer idline names your own node's peer id for this run. The checkpoint-sync command's scoring lines (peer N: invalid data-column sidecar (…): identity … score S) carry the last 6 bytes of the sending peer's id.--verboseadds every protocol event, with addresses. Review logs before sharing them. - Your peers file and bootnode file name the machines you connect to; they stay on your machine, and the node never sends them anywhere.
- Your peers see your IP address, as with any peer-to-peer client.