2017-07-22 04:53:54 +02:00
|
|
|
rpcclient
|
|
|
|
=========
|
2014-05-07 18:14:39 +02:00
|
|
|
|
2017-05-25 19:42:31 +02:00
|
|
|
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
|
2014-05-09 08:16:47 +02:00
|
|
|
|
2017-07-22 04:53:54 +02: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-19 20:41:48 +02:00
|
|
|
interfacing with a Bitcoin RPC server that uses a lbcd/bitcoin core compatible
|
2017-07-22 04:53:54 +02:00
|
|
|
Bitcoin JSON-RPC API.
|
2014-05-07 18:14:39 +02:00
|
|
|
|
2014-05-10 09:47:59 +02: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 18:14:39 +02:00
|
|
|
|
2014-05-10 09:47:59 +02:00
|
|
|
## Major Features
|
|
|
|
|
2021-08-19 20:41:48 +02: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 22:48:14 +02:00
|
|
|
* Translates to and from higher-level and easier to use Go types
|
|
|
|
* Offers a synchronous (blocking) and asynchronous API
|
2014-05-10 09:47:59 +02: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-19 20:41:48 +02:00
|
|
|
|