Skip to main content

Crate bitview

Crate bitview 

Source
Expand description

§Bitview runner

bitview is the composition-agnostic daemon runtime for a statically typed Bitview plugin set. It owns bootstrap, updates, mempool tracking, queries, and HTTP serving, but it does not parse process arguments, read configuration files, install signal handlers, initialize logging, or select an official composition.

Applications pass a resolved Config, an exit state, and their composition’s import function to bitview::run.

The runner is designed for one long-lived instance per process. Its query view and process-wide services intentionally live until process exit; it is not a start-stop or multi-instance application server.

The full-api feature enables every optional API group (chain, series, and urpd) without selecting a plugin composition.

The official daemon is provided by bitviewd. A complete custom composition is available in the repository’s examples/custom_plugin package.

§License

MIT

Structs§

Config
Fully resolved settings for one Bitview runner.
ImportContext
Shared resources available while importing a plugin composition.
UpdateContext
Shared control state for one complete plugin-composition update.

Enums§

BootstrapAction
Result of the initial full computation before Bitview starts serving reads.

Constants§

HOMEPAGE
The Bitview project website.
INSTANCE
The official hosted Bitview instance.
TOOLKIT
The toolkit Bitview is built on.

Traits§

ComputePluginSet
Writable plugin composition that participates in Bitview’s update loop.
PluginSet
Statically composed collection of Bitview plugins.
QueryPluginSet
Composition contract for the individually enabled query plugins.

Functions§

bootstrap
Imports and fully computes a composition before it can be published.
run
Runs one process-lifetime plugin composition with resolved settings and a shutdown coordinator.
update
Performs and publishes one complete steady-state update.

Derive Macros§

PluginSet