funding+lnwallet: add more debug logs
This commit is contained in:
2 files changed
+11
No files matched your search
@@ -1505,6 +1505,10 @@ func (f *Manager) handleFundingOpen(peer lnpeer.Peer,
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Debugf("Initialized channel reservation: zeroConf=%v, psbt=%v, "+
|
||||||
|
"cannedShim=%v", reservation.IsZeroConf(),
|
||||||
|
reservation.IsPsbt(), reservation.IsCannedShim())
|
||||||
|
|
||||||
if zeroConf {
|
if zeroConf {
|
||||||
// Store an alias for zero-conf channels. Other option-scid
|
// Store an alias for zero-conf channels. Other option-scid
|
||||||
// channels will do this at a later point.
|
// channels will do this at a later point.
|
||||||
|
|||||||
@@ -798,6 +798,9 @@ func (l *LightningWallet) handleFundingReserveRequest(req *InitFundingReserveMsg
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
walletLog.Debugf("Registered funding intent for "+
|
||||||
|
"PendingChanID: %x", req.PendingChanID)
|
||||||
|
|
||||||
localFundingAmt = fundingIntent.LocalFundingAmt()
|
localFundingAmt = fundingIntent.LocalFundingAmt()
|
||||||
remoteFundingAmt = fundingIntent.RemoteFundingAmt()
|
remoteFundingAmt = fundingIntent.RemoteFundingAmt()
|
||||||
}
|
}
|
||||||
@@ -891,6 +894,10 @@ func (l *LightningWallet) handleFundingReserveRequest(req *InitFundingReserveMsg
|
|||||||
// completed, or canceled.
|
// completed, or canceled.
|
||||||
req.resp <- reservation
|
req.resp <- reservation
|
||||||
req.err <- nil
|
req.err <- nil
|
||||||
|
|
||||||
|
walletLog.Debugf("Successfully handled funding reservation with "+
|
||||||
|
"pendingChanID: %x, reservationID: %v",
|
||||||
|
reservation.pendingChanID, reservation.reservationID)
|
||||||
}
|
}
|
||||||
|
|
||||||
// enforceReservedValue enforces that the wallet, upon a new channel being
|
// enforceReservedValue enforces that the wallet, upon a new channel being
|
||||||
|
|||||||
Reference in new issue
Block a user