1. Releases#
Builds of bs are published on the libbitcoin-server
releases page
in three stages, each from version tags of the libraries it is built from
(Release builds).
| Stage | Tag | Published as | For |
|---|---|---|---|
| Preview build | v4.0.<build>-preview |
A GitHub pre-release | Trying current work. A preview may change the store schema, settings and interfaces from one preview to the next. |
| Release candidate | v4.0.<build> followed by an rc suffix |
A GitHub pre-release | Testing a build proposed for release |
| Release | v4.0.<build> |
A GitHub release, marked latest | General use |
Version 4 is in preview: the latest release is 3.8.0.
2. Version numbers#
A version is <major>.<minor>.<build>.
| Part | Meaning |
|---|---|
| Major | May include breaking changes to the public interfaces |
| Minor | Avoids breaking changes to the public interfaces |
| Build | Identifies the build, and implies nothing about compatibility |
The public interfaces are the library APIs, the command lines of bs and
bx, their configuration settings, and the client interfaces of bs
(Interfaces).
The libraries are coordinated by minor version: libbitcoin-system,
-database, -network, -node, -server and -explorer share the major and
minor numbers, 4.0, and a build combines libraries of one minor
version. The build number is the number of commits in the repository, so
it is raised by every commit, and differs from library to library
(Versioning). Each library is
tagged at its own build number, as on 2026-11-28:
libbitcoin-system v4.0.10640
libbitcoin-database v4.0.4985
libbitcoin-network v4.0.7629
libbitcoin-node v4.0.4545
libbitcoin-server v4.0.4062
3. Reading the version#
bs --version (-v) prints the version of each library, followed by the
first eight digits of its commit hash, and -dirty for a build from a
modified checkout. It also prints the store schema compiled into the
build, and the schema of the configured store if there is one:
$ bs --version
Version Information...
secp256k1............ internal
tls.................. internal tls 1.3
libbitcoin-system.... 4.0.10633 6b75b49e
libbitcoin-database.. 4.0.4983 71abdcc8
libbitcoin-network... 4.0.7626 1ac9fed8
libbitcoin-node...... 4.0.4545 4970e9c2
libbitcoin-server.... 4.0.4056 4f6bdefc
compiled schema...... 4.0.35
database schema...... 4.0.35
bs logs the same lines when it starts. bx version prints the versions
of the libraries bx is built from:
$ bx version
Version Information...
secp256k1............ internal
tls.................. internal tls 1.3
libbitcoin-system.... 4.0.10633 6b75b49e
libbitcoin-network... 4.0.7623 607933f1
libbitcoin-explorer.. 4.0.2882 8bc5162f
The tag suffix of a preview or release candidate is not part of the version a build prints.
4. Store migration#
The store is a cache of public data, the chain and the transactions
relayed by the network, so nothing is lost when it is rebuilt. Rebuilding
it, in full or in part, is always an option. A new bs generally migrates
the store of any earlier version in place, so that it need not be rebuilt
(Store Migration). Some migrations rebuild
part of the store: the transaction pool is discarded and refills from
the network. A migration may not be provided where it is too complex, or
where it would cost more than a resync. Such a store is refused, and is
recreated.
A process terminated during migration generally leaves a store that must be recreated: migration deletes the snapshots, which hold the old schema, and the store is fault locked while it is changed. On a fast network, a full sync is generally faster than copying a store from another disk (Synchronize).
5. History#
Versions before 4, by the date of their tags. Until 3.0 the libraries were numbered independently, and libbitcoin-system was named libbitcoin.
| Date | Version |
|---|---|
| 2013-05-11 | libbitcoin 1.0 |
| 2013-10-12 | libbitcoin 1.4 |
| 2014-05-21 | libbitcoin 2.0 |
| 2014-12-13 | libbitcoin 2.7.0, explorer 2.0.0, client 2.0.0 |
| 2015-03-31 | consensus 1.0.0 |
| 2015-05-10 | libbitcoin 2.8.0, server 2.0.0, node 2.0.0, blockchain 2.0.0, explorer 2.1.0, client 2.1.0 |
| 2015-07-11 | libbitcoin 2.9.0, server 2.1.0, node 2.1.0, blockchain 2.1.0 |
| 2015-12-21 | libbitcoin 2.10.0, server 2.2.0, node 2.2.0, blockchain 2.2.0, explorer 2.2.0, client 2.2.0 |
| 2016-01-14 | libbitcoin 2.10.1, server 2.3.0, node 2.3.0, blockchain 2.3.0 |
| 2016-01-23 | libbitcoin 2.11.0, server 2.4.0, node 2.4.0, blockchain 2.4.0 |
| 2017-02-09 | libbitcoin 2.12.0, server 2.5.0, explorer 2.3.0, client 2.3.0, consensus 2.0.0 |
| 2017-03-07 | 3.0.0 |
| 2017-04-19 | 3.1.0 |
| 2017-05-01 | 3.2.0 |
| 2017-08-12 | 3.3.0 |
| 2017-12-25 | 3.4.0 |
| 2018-02-05 | 3.5.0 |
| 2019-08-29 | 3.6.0 |
| 2023-08-17 | 3.8.0 |
From 3.0, every library is tagged with the same version: libbitcoin-system, -database, -network, -node, -server, -explorer, -blockchain, -consensus, -protocol and -client. There is no 3.7. Version 4 is built from libbitcoin-system, -database, -network, -node, -server and -explorer.