Untangle connection from MessageRaw, paving the way for refactoring the message code into the protocol package.

This commit is contained in:
Kleissner
2021-10-17 16:39:41 +02:00
parent 0c7b1e0e03
commit 93f10fd3b5
4 changed files with 26 additions and 27 deletions

View File

@@ -49,7 +49,6 @@ const (
type MessageRaw struct {
protocol.PacketRaw
SenderPublicKey *btcec.PublicKey // Sender Public Key, ECDSA (secp256k1) 257-bit
connection *Connection // Connection that received the packet
sequence *sequenceExpiry // Sequence
}