Skip to content

Explorer Library

Eric Voskuil edited this page Mar 9, 2017 · 6 revisions

The BX build produces static and dynamic versions of a library. Tests are implemented in an executable called libbitcoin_explorer_test which links the library. The command line executable bx also links the library. This separation ensures that the library remains useful for building other applications.

In other words another application can link to libbitcoin-explorer and immediately take advantage of the full set of tested commands, as simple methods with no relation to the command line or STDIO.

Using the library requires inclusion of the header <bitcoin/explorer.hpp> and a reference to the libbitcoin-explorer library and its dependencies. To facilitate dependency management BX installs a standard package config.

Primary common functionality is exposed by the following namespaces:

bc::explorer::commands
bc::explorer::config

BX Menu

Clone this wiki locally