Handle case where socket.write() returns false
In the ElectrumConnection send()
function we call this.socket.write()
which generally consumes the entire message and returns true
, but in the case of especially large payloads, part of the message stream could get queued. This should be handled some time in the future.