Consensus/fba library
Federated Byzantine Agreement (FBA) - quorum slices simulation
A small FBA (Stellar-style) helper demonstrating quorum slice composition, recursive quorum checks, and simple governance operations. The implementation focuses on auditable logic for unit-testing quorum discovery rather than a full protocol stack.
Contract:
- Input: node->list of quorum slices (each slice a set of node ids)
- Output: whether a given set of nodes forms a quorum
- Errors: throws on malformed slices