2017-07-21 21:53:54 -05:00
|
|
|
rpcclient
|
|
|
|
=========
|
2014-05-07 11:14:39 -05:00
|
|
|
|
2017-05-25 12:42:31 -05:00
|
|
|
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
|
2014-05-09 01:16:47 -05:00
|
|
|
|
2017-07-21 21:53:54 -05:00
|
|
|
rpcclient implements a Websocket-enabled Bitcoin JSON-RPC client package written
|
|
|
|
in [Go](http://golang.org/). It provides a robust and easy to use client for
|
2021-08-31 15:53:55 -04:00
|
|
|
interfacing with a Bitcoin RPC server that uses a lbcd/bitcoin core compatible
|
2017-07-21 21:53:54 -05:00
|
|
|
Bitcoin JSON-RPC API.
|
2014-05-07 11:14:39 -05:00
|
|
|
|
2014-05-10 02:47:59 -05:00
|
|
|
## Status
|
|
|
|
|
|
|
|
This package is currently under active development. It is already stable and
|
|
|
|
the infrastructure is complete. However, there are still several RPCs left to
|
|
|
|
implement and the API is not stable yet.
|
2014-05-07 11:14:39 -05:00
|
|
|
|
2014-05-10 02:47:59 -05:00
|
|
|
## Major Features
|
|
|
|
|
2021-08-31 15:53:55 -04:00
|
|
|
* Supports Websockets (lbcd/lbcwallet) and HTTP POST mode (bitcoin core)
|
|
|
|
* Provides callback and registration functions for lbcd/lbcwallet notifications
|
|
|
|
* Supports lbcd extensions
|
2014-05-10 15:48:14 -05:00
|
|
|
* Translates to and from higher-level and easier to use Go types
|
|
|
|
* Offers a synchronous (blocking) and asynchronous API
|
2014-05-10 02:47:59 -05:00
|
|
|
* When running in Websockets mode (the default):
|
|
|
|
* Automatic reconnect handling (can be disabled)
|
|
|
|
* Outstanding commands are automatically reissued
|
|
|
|
* Registered notifications are automatically reregistered
|
|
|
|
* Back-off support on reconnect attempts
|
2021-08-31 15:53:55 -04:00
|
|
|
|