Documentation
¶
Overview ¶
Command bstore is bstore's command line: the publisher client (spec sections 9 and 14), the bucket owner's tooling (sections 3.4 to 3.6 and 4.4), a verified reader (section 15) and the S3 gateway (`bstore s3d`, section 16). docs/usage.md is the reference.
A home (-home, default ~/.bstore) holds one identity: its wallet, its funding trees, its outbox, its races, the chains it owns and the local closures it built, with config.json naming the node, the settlement leg, the header source, the hosts and the providers. One process at a time uses a home.
Exit codes (spec section 15.4): 0 done or verified; 1 refused (a check that names the owner or the writer failed, a broken chain, an invalid signed response, a key proven absent); 2 usage, configuration, local or transport error, a quorum not met, a price over the budget; 3 incomplete (hosts disagree or answered what does not verify, a key no host produces, a challenge with no valid signed answer, something still due), which proves nothing either way.
The S3 gateway, `bstore s3d` (spec section 16, docs/s3.md):
bstore s3d init -config FILE create every identity's wallet the configuration names
bstore s3d address -config FILE -identity NAME
bstore s3d fund -config FILE -identity NAME -txid TXID import a mined payment to the fund address
bstore s3d rescan -config FILE -identity NAME -from H [-to H]
coinbase: only on a regtest chain you run (development and tests)
bstore s3d fund -config FILE -identity NAME -blocks N
coinbase: only on a regtest chain you run (development and tests)
bstore s3d run -config FILE serve until interrupted