Minor change: New networkWire.unicast field which might be handy in the future.

This commit is contained in:
Kleissner
2021-03-01 01:01:44 +01:00
parent b53ab7c7b3
commit 9086e201c3
4 changed files with 4 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ type networkWire struct {
sender *net.UDPAddr // sender of the packet
receiverPublicKey *btcec.PublicKey // public key associated with the receiver
raw []byte // buffer
unicast bool // True if the message was sent via unicast. False if sent via IPv4 broadcast or IPv6 multicast.
}
var (