P2p Client
Constructors
Properties
When we last heard from this peer
When we last heard from this peer
keep track of how often we got a message drop. If its too many times, drop the node
installable callback for when some blockchain or connection state changes
Functions
If you issue a getHeaders() but then give up waiting, call this function
Get block headers. This function only allows one outstanding getheaders per node due to protocol issues. Call @cleanupExclusiveHeaders() if you stop waiting (if cb is never called). Its Ok to unnecessarily call cleanupExclusiveHeaders
Provide a request/response latency datapoint
Provide feedback that this node is not responding to our requests
Provide feedback that this node is not responding to our requests
Tell the peer we want headers not INVs for new blocks
reload CAPD info from this client and then execute the passed function
Stop monitoring messages
Send a GETADDR request message
returns true if this node is tracking token information and will reply to token info getdata requests