View definition


Defined in


OnWrite is invoked when we write a bitcoin message to a peer. It consists of the number of bytes written, the message, and whether or not an error in the write occurred. This can be useful for circumstances such as keeping track of server-wide byte counts.

OnWrite is referenced in 2 repositories