mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-04 19:33:30 +02:00
Added ReservationID for funding_requeset
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
84df87255f
commit
bf8e0d727d
@@ -14,10 +14,17 @@ const MessageHeaderSize = 12
|
||||
const MaxMessagePayload = 1024 * 1024 * 32 // 32MB
|
||||
|
||||
const (
|
||||
//Funding channel open
|
||||
CmdFundingRequest = uint32(200)
|
||||
CmdFundingResponse = uint32(210)
|
||||
CmdFundingSignAccept = uint32(220)
|
||||
CmdFundingSignComplete = uint32(230)
|
||||
|
||||
//Close channel
|
||||
CmdCloseRequest = uint32(300)
|
||||
CmdCloseComplete = uint32(310)
|
||||
|
||||
//HTLC payment
|
||||
)
|
||||
|
||||
//Every message has these functions:
|
||||
@@ -53,7 +60,7 @@ type messageHeader struct {
|
||||
//NOTE(j): We don't need to worry about the magic overlapping with
|
||||
//bitcoin since this is inside encrypted comms anyway, but maybe we
|
||||
//should use the XOR (^wire.TestNet3) just in case???
|
||||
magic wire.BitcoinNet
|
||||
magic wire.BitcoinNet //which Blockchain Technology(TM) to use
|
||||
command uint32
|
||||
length uint32
|
||||
}
|
||||
|
Reference in New Issue
Block a user