put MSGID bytes back in to lnwire
This commit is contained in:
parent
19233dc42d
commit
919b0002b1
@ -4,8 +4,23 @@ package lnwire
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/btcsuite/btcd/wire"
|
|
||||||
"io"
|
"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
|
//4-byte network + 4-byte message id + payload-length 4-byte
|
||||||
|
Loading…
Reference in New Issue
Block a user