Skip to main content

Crate choir_demo

Crate choir_demo 

Source
Expand description

Guided walkthrough of the whole stack: run cargo run -p choir-demo.

Three “agents” get keys, race signed ops through the single-writer sequencer (one gets rejected, one gets a first-class conflict and keeps working), the op log is time-traveled, and a real git client pushes through the choir-node daemon at the end.

§Where this sits

docs/architecture.md is the map of the whole workspace. This crate is a narrated walkthrough of the whole stack, and the fastest answer to “what is this?”.

It builds on choir_hash, [choir_identity], choir_merge, choir_node, choir_oplog, choir_sequencer, choir_store and choir_view.

Structs§

ChoirPolicy 🔒
The production admission shape: verify the author’s signature, then CAS the op against a view cached on the writer thread.

Functions§

main 🔒
section 🔒
short 🔒