smart-byte: the cluster state machine, the state hash it commits at, and its vectors #130
Loading…
Reference in a new issue
No description provided.
Delete branch "smart-byte-cluster-state"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The cluster state machine. The post-frame state hash, which every node agrees on before a frame commits, was a stand-in: the lockstep crate hashed a rolling chain over each frame's transitions. Treatise §9.4 commits a frame at the BLAKE3 of the canonical whole state. That state now exists, is specified, and is pinned by vectors that two independent implementations reproduce.
Spec:
spec/cluster_state.md(new)Code
smart-byte-state(new):smart-byte-lockstep: the cluster runs these state machines in place of the rolling hash.smart-byte-keri-witness: exposes a controller's state and resumes a replay from it, which is how the cluster extends a log one event at a time.smart-byte cluster simulateruns real mints and transfers through the supermajority commit.Conformance
state_vectors.json: 12 vectors. Each is a genesis state and frames of inputs, with every input's result and every frame's state and hash.verify_v1.pyruns the state machine independently, written from the spec text, standard library only.Falsified
-O. A frame deleted from the only vector exercising a class is caught by the completeness gate.cargo test --workspacepasses, as doesverify_v1.py(106 vectors, pack complete).Not yet specified
🤖 Generated with Claude Code