Safe Haskell | None |
---|
An interface to bitcoind's available network-related RPC calls. The implementation of these functions can be found at https://github.com/bitcoin/bitcoin/blob/master/src/rpcnet.cpp.
If any APIs are missing, patches are always welcome. If you look at the source of this module, you'll see that the interface code is trivial.
Documentation
getConnectionCount :: Auth -> IO IntegerSource
Returns the number of connections to other nodes.
Information on a given connected node in the network.
The documentation for this data structure is incomplete, as I honestly don't know what some of these fields are for. Patches are welcome!
PeerInfo | |
|
getPeerInfo :: Auth -> IO PeerInfoSource
Returns data about each connected network node.