Finally moving Sequence code into protocol package

This commit is contained in:
Kleissner
2021-10-18 02:41:55 +02:00
parent 5d93a74981
commit f1e8e0cab8
4 changed files with 27 additions and 31 deletions

View File

@@ -48,8 +48,8 @@ const (
// MessageRaw is a high-level message between peers that has not been decoded
type MessageRaw struct {
protocol.PacketRaw
SenderPublicKey *btcec.PublicKey // Sender Public Key, ECDSA (secp256k1) 257-bit
SequenceInfo *SequenceExpiry // Sequence
SenderPublicKey *btcec.PublicKey // Sender Public Key, ECDSA (secp256k1) 257-bit
SequenceInfo *protocol.SequenceExpiry // Sequence
}
// MessageAnnouncement is the decoded announcement message.