Safe Haskell | None |
---|
Network.Bitcoin.Net
Description
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
Auth
describes authentication credentials for
making API requests to the Bitcoin daemon.
Constructors
Auth | |
getConnectionCount :: Auth -> IO IntegerSource
Returns the number of connections to other nodes.
Information about a peer node of the Bitcoin 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!
Constructors
PeerInfo | |
Fields
|
getPeerInfo :: Auth -> IO [PeerInfo]Source
Returns data about all connected peer nodes.