Documentation
¶
Overview ¶
Package bstore mounts the bstore application's Go module (github.com/lightwebinc/bstore/module) in this engine: tm_bstore_<bucket> for each bucket BSTORE_BUCKETS names, tm_bstoreblob_<bucket> where OVERLAY_TOPICS names one (it refuses everything: a host holds no pieces), and ls_bstore for all of them, with its terms route on BSTORE_LISTEN (8294 on a Go host) and its state under BSTORE_STATE_DIR. The module reads the same BSTORE_ variables as the TypeScript module (bstore docs/host.md); this package only registers it and runs its background work (drops, retention, the payment watch) for the life of the process.
A host that mounts it beside anytx names anytx's own topics with OVERLAY_ANYTX_TOPICS, leaving out every tm_bstore_ and tm_bstoreblob_ topic: module.Mount refuses two managers on one topic.
Index ¶
Constants ¶
const Name = bstoremod.Name
Name is the module name in OVERLAY_MODULES.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.