go-bitfs is the source of truth for the BitFS v3 Go protocol: file exchange, arbitration, and MultisigPool v4 2-of-3 settlement. The implementation uses strict deterministic CBOR and preserves the exact signed bytes required for offline verification.
The protocol is documented in the multilingual Docusaurus site. English is the normative website language; Simplified Chinese is maintained under website/i18n/zh-CN/.
| Step | Specification | Requirements and intent |
|---|---|---|
| 001 | Quote credential | Requirements |
| 002 | Pool opening | Requirements |
| 003 | Content request | Requirements |
| 004 | Content delivery | Requirements |
| 005 | Cumulative payment | Requirements |
| 006 | Pool close | Requirements |
| 007 | Seller arbitration | Requirements |
The current CDDL is under spec/v3/. Transaction scripts, fees, signatures, and state construction are delegated to the published github.com/bsv8/MultisigPool/v4 implementation. Network, queue, WebSocket, and database adapters remain application-owned interfaces.
bitfs/: quote and content credentials, seeds, hashes, and evidence validation.pool/: independent 002/005/006 settlement state machine, transaction engine, persistence ports, and memory reference implementation.buyer/andseller/: role workflows for the v3 protocol.arbitration/andwire/: arbitration evidence signing and typed protocol message dispatch.
Run the test suite with:
go test ./...