Stake-derived Tendermint identities and verified bootstrap from a chain's trusted genesis.
Stake-derived Tendermint identities and verified bootstrap from a chain's trusted genesis.
(bootstrap! driver wal options {:keys [cursor digest]} fetch apply!)Replay up to a trusted {:cursor n :digest hex} checkpoint into an exclusive fresh genesis ledger and unused WAL. fetch returns {:proposal ... :certificate ...} by height. apply! is the same finalized-proposal handler used live and advances driver. Use disposable staging for both stores until this returns. Never bootstrap a key previously used to vote from an empty WAL.
Replay up to a trusted {:cursor n :digest hex} checkpoint into an exclusive fresh genesis
ledger and unused WAL. fetch returns {:proposal ... :certificate ...} by height.
apply! is the same finalized-proposal handler used live and advances driver.
Use disposable staging for both stores until this returns. Never bootstrap
a key previously used to vote from an empty WAL.(history-digest chain previous {:keys [height id]})Extend a public checkpoint over ordered finalized proposal IDs. Start with nil.
Extend a public checkpoint over ordered finalized proposal IDs. Start with nil.
(http-history base-url)Read archived CBOR {proposal, certificate} records from base-url/<height>. The URL locates data. bootstrap! authenticates its contents.
Read archived CBOR {proposal, certificate} records from base-url/<height>.
The URL locates data. bootstrap! authenticates its contents.(node-options driver genesis-powers peer private-key valid-payload?)Build transport and vote authentication from this replica's finalized stake. driver is an atom holding the output of consensus/driver and consensus/apply!. genesis-powers comes from the independently pinned chain genesis. Supply a durable private WAL, a network, and the application's proposal/finalize handlers.
Build transport and vote authentication from this replica's finalized stake. driver is an atom holding the output of consensus/driver and consensus/apply!. genesis-powers comes from the independently pinned chain genesis. Supply a durable private WAL, a network, and the application's proposal/finalize handlers.
(proposal-frames {:keys [txs]})Decode the canonical base64url envelope vector used in permissionless proposals.
Decode the canonical base64url envelope vector used in permissionless proposals.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |