package
0.0.0-20181011062216-59a0c89196eb
Repository: https://github.com/boxproject/lib-bitcore.git
Documentation: pkg.go.dev

# Functions

DisableLog disables all library log output.
New creates a new RPC client based on the provided connection configuration details.
UseLogger uses a specified Logger to output package logging info.

# Constants

ANAdd indicates the specified host should be added as a persistent peer.
ANOneTry indicates the specified host should try to connect once, but it should not be made persistent.
ANRemove indicates the specified peer should be removed.
SigHashAll indicates ALL of the outputs should be signed.
SigHashAllAnyoneCanPay indicates that signer does not care where the other inputs to the transaction come from, so it allows other people to add inputs.
SigHashNone indicates NONE of the outputs should be signed.
SigHashNoneAnyoneCanPay indicates that signer does not care where the other inputs to the transaction come from, so it allows other people to add inputs.
SigHashSingle indicates that a SINGLE output should be signed.
SigHashSingleAnyoneCanPay indicates that signer does not care where the other inputs to the transaction come from, so it allows other people to add inputs.

# Variables

ErrClientAlreadyConnected is an error to describe the condition where a new client connection cannot be established due to a websocket client having already connected to the RPC server.
ErrClientDisconnect is an error to describe the condition where the client has been disconnected from the RPC server.
ErrClientNotConnected is an error to describe the condition where a websocket client has been created, but the connection was never established.
ErrClientShutdown is an error to describe the condition where the client is either already shutdown, or in the process of shutting down.
ErrInvalidAuth is an error to describe the condition where the client is either unable to authenticate or the specified endpoint is incorrect.
ErrInvalidEndpoint is an error to describe the condition where the websocket handshake failed with the specified endpoint.
ErrNotWebsocketClient is an error to describe the condition of calling a Client method intended for a websocket client when the client has been configured to run in HTTP POST mode instead.
ErrWebsocketsRequired is an error to describe the condition where the caller is trying to use a websocket-only feature, such as requesting notifications or other websocket requests when the client is configured to run in HTTP POST mode.

# Structs

Client represents a Bitcoin RPC client which allows easy access to the various RPC methods available on a Bitcoin RPC server.
ConnConfig describes the connection configuration parameters for the client.
NotificationHandlers defines callback function pointers to invoke with notifications.
No description provided by the author
No description provided by the author
** "txid": "e3785c0201fbb0012b7dd88770563cb8083ba012b5544bba6d3e6e35888cca61", "fee": "0.00005140", "sendingaddress": "n1GVisU77i1LLq5f4tV9KhrwxHXhzRgPCm", "referenceaddress": "mopRxRL9XfxbDy5CEDbUiXY8gfDuuYLyv7", "ismine": true, "version": 0, "type_int": 0, "type": "Simple Send", "propertyid": 2147483651, "divisible": false, "amount": "7", "valid": true, "blockhash": "2ad2ec41da9fe55687a73b0a792aeb56af7d2ce9599a11b357da09e7dec813a4", "blocktime": 1531909645, "positioninblock": 2, "block": 534, "confirmations": 12 */.

# Type aliases

AddNodeCommand enumerates the available commands that the AddNode function accepts.
SigHashType enumerates the available signature hashing types that the SignRawTransaction function accepts.