{"modulePath":"github.com/lightwebinc/bstore","version":"v0.41.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/lightwebinc/bstore/auth104","name":"auth104","synopsis":"Package auth104 is the server side of BRC-103 mutual authentication over HTTP (BRC-104), as a provider's routes need it: the handshake at /.well-known/auth, and each authenticated request checked and its answer signed, the way the SDK's clients (authhttp in Go, AuthFetch in TypeScript) send and check them.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/backend","name":"backend","synopsis":"Package backend is the hold-backend interface of spec section 17 and the native content-addressed backend on local disk.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/chaincfg","name":"chaincfg","synopsis":"Package chaincfg builds what every bstore program reads the chain through from its configuration: the chain view (transactions, proofs, spends), the header source and the tip, the settlement leg, and the miner fee policy.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/cmd/bstore","name":"main","synopsis":"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).","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/cmd/bstore-provider","name":"main","synopsis":"Command bstore-provider is a bstore storage provider: the market front of spec section 17 over the native content-addressed hold backend.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/cmd/devchain","name":"main","synopsis":"Command devchain is a local stand-in chain for trying bstore without a node, a settlement service or any coin: bcommon devkit's devchain (a node's JSON-RPC at /rpc, its asset API under /api/v1/ and a header source at /v1/root/\u003cheight\u003e and /v1/tip, every transaction mined at once).","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/cmd/perfcorpus","name":"main","synopsis":"Command perfcorpus builds a replayable corpus of real bstore records for step-load runs on a lab (lab and tests only, never for real use).","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/cmd/vectors","name":"main","synopsis":"Command vectors writes the golden vectors under testdata/vectors, or with -check compares them byte for byte and writes nothing (bcommon devkit's vectors runner over this repository's generator).","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/gateway","name":"gateway","synopsis":"Package gateway runs a bstore gateway inside another program, so that program reads objects by a call instead of an S3 request to a gateway beside it.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/internal/acceptcfg","name":"acceptcfg","synopsis":"Package acceptcfg is the payment acceptance settings every bstore configuration file names (bcommon acceptance.Policy): the writer's home, the gateway's and the provider's, the same keys in each.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/internal/anchor","name":"anchor","synopsis":"Package anchor is the bucket owner's tooling (spec sections 3.4 to 3.6 and 4.4): it creates a bucket chain, and anchors the entries of the owner and its writers into the chain's next tokens, exactly as frozen.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/internal/efleg","name":"efleg","synopsis":"Package efleg hands a settlement leg every transaction with its inputs' source transactions attached.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/internal/publish","name":"publish","synopsis":"Package publish is bstore's publisher (spec sections 5, 9, 13 and 14): it builds an object's CHIRP closure and proof root while the content streams (Store.Stage), mints a hold output when a bounty is asked for, makes the piece carriers and the entry, and delivers them over the plane, by unicast to the hosts and providers configured, or by BRC-167 upload session; it judges each bounty's race (race.go), settles it by rank or reclaims it after its deadline (settle.go), challenges providers (challenge.go), publishes outcome records, and sweeps its funding trees (sweep.go).","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/internal/reader","name":"reader","synopsis":"Package reader is a bstore reader (spec section 15): it asks the hosts it is given the free lookup questions of spec section 11.1, verifies every token, entry and advertisement against its own headers, proves what a key names, that a key is absent and that a listing page is complete against the chain's latest token, and reads an object's closure from its advertisers, every byte held to its hash before it is released.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/internal/s3d","name":"s3d","synopsis":"Package s3d is `bstore s3d`, the S3 gateway of spec section 16: a reader and a writer for clients that speak S3, authenticated with AWS Signature Version 4 in gateway mode.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/internal/testwriter","name":"testwriter","synopsis":"Package testwriter is a minimal bstore writer for tests only: it funds itself from a local test chain's coinbase (coinbase: only on a regtest chain you run, development and tests), builds an object's CHIRP closure, mints its piece carriers, a hold output and the entry, submits them, asks hosts for advertisements, challenges providers, verifies their signed responses as a buyer does (spec section 7.4), buys renewals, and settles a bounty by rank with BRC-29 outputs and remittances (spec section 9.5).","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/internal/vectors","name":"vectors","synopsis":"Package vectors generates the golden vectors under testdata/vectors from the codec in storerec.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/module","name":"module","synopsis":"Package module is the bstore overlay module in Go: `tm_bstore_\u003cbucket\u003e` for each configured bucket, `tm_bstoreblob_\u003cbucket\u003e` where the host's topics name one, and `ls_bstore` for all of them, written to bcommon's engine-neutral contract (github.com/lightwebinc/bcommon/module) so that any Go overlay host that carries the adapter mounts it.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/provider","name":"provider","synopsis":"Package provider is bstore-provider: the market front of spec section 17 over a hold backend.","isRedistributable":true},{"path":"github.com/lightwebinc/bstore/storerec","name":"storerec","synopsis":"Package storerec is the byte-level contract of bstore: the bucket record a mined token carries, the object entry, the piece, the outcome record and the front statement that ride unmined carriers, the challenge request and response, the hold terms, the key map and its contexts, the proof tree, settlement, BRC-26 advertisements, the names and lookup questions, the topic manager's transaction rules and a reader's checks that need no network.","isRedistributable":true}],"total":20}}
