LiteClient Toolbox; Open-source project releases


The Bitcoin SV team are happy to announce the release of three exciting open-source projects as part of their LiteClient Toolbox programme.  

BitcoinJ-SV – v1.0.1 Release 

BitcoinJ-SV is a highly optimised and lightweight version of the legacy BitcoinJ library that has been tuned for use on the massively scalable original Bitcoin (BSV) blockchain. This is a Community Edition (CE) release, with an Enterprise Edition being planned. 

Main features 

  • Domain, serialization, hashing, merkle proofs and cryptography classes 
  • Storage functionality for headers/ transactions 
  • An in-memory block store maintains a full block header history  
  • Refactoring of some legacy BitcoinJ code 

Source code can be downloaded here:

URL: https://github.com/bitcoin-sv/bitcoinj-sv

BSV Java Components Library (JCL) – v1.0.5 Release 

The BSV Components Library is a suite of Java libraries providing the services required by Java developers who wish to write Bitcoin-based applications.  

Combining the various libraries components provides a high-speed toolkit for handling the large transaction volumes we witness on the original Bitcoin (BSV) network. 

Main features 

  • Base library 
  • Provides representative base classes including Transactions and Blocks, and facilitates the management of their Serialization 
  • Network library 
  • Provides connection and streaming capabilities 
  • Allows applications to connect to and ‘listen’ for incoming blockchain network messages  
  • Supports commonly used “send/ broadcast” message operations. 
  • Persistence library 
  • Operations to save or retrieve blockchain information to and from a database/ repository 
  • A LevelDB (Key/Value store) reference implementation 

Source code can be downloaded here:

URL: https://github.com/bitcoin-sv/bsv-components-library

Block Headers Client – v1.0.2 Release 

The Block Headers Client provides a super-lightweight application that can be used to independently verify block hashes and on the original Bitcoin (BSV) Blockchain. The client can be deployed on the user’s premises via a convenient docker image or built from source. 

Main features 

  • Connects to the BSV network to synchronise block headers 
  • Whitelists and blacklists internal management 
  • Maintains a customisable minimum number of peer connections 
  • A REST API is provided to enable rapid lookups of chain and network state, including: 
  • Query Chain Tips 
  • Prune Fork 
  • Query Headers 
  • Query Headers State 
  • Query Network 
  • Supports BSV Mainnet, Testnet, Regtest and STNnet.  
  • Additional networks can be added with ease. 

Binaries and Source code can be downloaded here:

URL: https://github.com/bitcoin-sv/block-headers-client

URL: https://hub.docker.com/repository/docker/bitcoinsv/block-headers-client

Known issues 

  • Occasionally a race condition can occur, causing a runtime exception since the Headers Client cannot access a level-db database file on the runtime filesystem. If this does occur, simply restarting the headers client resolves the issue. A more graceful preventative measure will be released in a patch-release soon. 
  • There is a known issue where an unclean shutdown can cause the headers client to fail to read the level-db file store. To fix this issue, delete the level-db database folder, as displayed in the runtime filesystem path in the console log. Once done, restart the Headers Client.  

Should you have any support questions, please direct them via support@bitcoinsv.io or via telegram at https://t.me/bitcoinsvsupport

Thank you for your continued support of Bitcoin SV.