put MSGID bytes back in to lnwire

This commit is contained in:
Tadge Dryja authored and Olaoluwa Osuntokun committed 2016-01-14 23:56:09 -08:00
1 parent 19233dc42d
commit 919b0002b1
1 file changed
+16 -1
+16 -1
View File
@@ -4,8 +4,23 @@ package lnwire
import (
"bytes"
"fmt"
"github.com/btcsuite/btcd/wire"
"io"
"github.com/btcsuite/btcd/wire"
)
// message type identifyer bytes
const (
MSGID_FUNDREQUEST = 0x30
MSGID_FUNDRESPONSE = 0x31
MSGID_CLOSEREQUEST = 0x40
MSGID_CLOSERESPONSE = 0x41
MSGID_TEXTCHAT = 0x70
MSGID_FWDMSG = 0x20
MSGID_FWDAUTHREQ = 0x21
)
//4-byte network + 4-byte message id + payload-length 4-byte