bstore

command
v0.38.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 53 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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), the S3 gateway (`bstore s3d`, section 16) and an S3 client (`bstore cp` with an s3:// side). 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 client: `bstore cp`, `bstore ls` and `bstore rm` with an s3:// argument, and `bstore bench`, speaking S3 to the gateway (or to any S3) through the AWS SDK for Go v2 (docs/usage.md, docs/s3.md). The body is never hashed before it moves: payload signing is off (UNSIGNED-PAYLOAD), the flexible checksum rides in the trailer over TLS, and a file above one part goes by multipart upload, its parts read in place and sent -conc at a time. The timings printed are the client's own, for publishing.

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 -beef FILE  import a payment to the fund address from its BEEF
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL