Expand description
One signer of a federated chain, running (feature bin): the chain on
disk, the block round and the peg-out round driven every second, relays
followed and published to, the parent polled when there is one, and
what a mirror needs served over HTTP. bin/siding.mjs produce on a
level-2 document, in Rust, minus what is not level 2’s (the desk, the
EVM rule, checkpoints).
Everything that owns state runs on one thread — sidestr-core’s state
is not Send — so the HTTP server asks the loop over a channel, and
only the relay sockets are separate tasks.
Structs§
- Parent
Settings - A parent view.
- Settings
- How a signer is run.
Constants§
- MAX_
TX_ BODY - The most a
POST /txbody may be, bytes; more is 413.
Functions§
- pegout_
journal_ path_ for - The peg-out round’s journal beside the block round’s:
votes.jsonl→votes-pegout.jsonl. - run
- Run one signer for the document at
settings.chain, picking the header family from its parent. - run_as
- Run one signer until the process ends. Generic over the header family;
runpicks it from the document.