github.com/lbryio/lbcd@v0.22.119/rpcclient/README.md (about) 1 rpcclient 2 ========= 3 4 [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) 5 6 rpcclient implements a Websocket-enabled Bitcoin JSON-RPC client package written 7 in [Go](http://golang.org/). It provides a robust and easy to use client for 8 interfacing with a Bitcoin RPC server that uses a lbcd/bitcoin core compatible 9 Bitcoin JSON-RPC API. 10 11 ## Status 12 13 This package is currently under active development. It is already stable and 14 the infrastructure is complete. However, there are still several RPCs left to 15 implement and the API is not stable yet. 16 17 ## Major Features 18 19 * Supports Websockets (lbcd/lbcwallet) and HTTP POST mode (bitcoin core) 20 * Provides callback and registration functions for lbcd/lbcwallet notifications 21 * Supports lbcd extensions 22 * Translates to and from higher-level and easier to use Go types 23 * Offers a synchronous (blocking) and asynchronous API 24 * When running in Websockets mode (the default): 25 * Automatic reconnect handling (can be disabled) 26 * Outstanding commands are automatically reissued 27 * Registered notifications are automatically reregistered 28 * Back-off support on reconnect attempts 29