Skip to content

Client Server Interface

Eric Voskuil edited this page Apr 17, 2017 · 65 revisions

Libbitcoin messages conform to a uniform message structure. The command and payload of each message is byte-aligned as documented for each endpoint.

The full client-server interface consists of 4 services, each with a secure and public endpoint, for a total of 8. The server may be configured to expose any combination of endpoints. The full set with default configuration is:

secure_query_endpoint = tcp://*:9081
secure_heartbeat_endpoint = tcp://*:9082
secure_block_endpoint = tcp://*:9083
secure_transaction_endpoint = tcp://*:9084

public_query_endpoint = tcp://*:9091
public_heartbeat_endpoint = tcp://*:9092
public_block_endpoint = tcp://*:9093
public_transaction_endpoint = tcp://*:9094
Clone this wiki locally