decred / dcrlnd

Decred Lightning Network Daemon ⚡️
MIT License
36 stars 24 forks source link

rpcserver: Check in/out total bandwidth instead of per-channel #111

Closed matheusd closed 4 years ago

matheusd commented 4 years ago

This switches the checkCanReceiveInvoice/checkCanSendPayment preflight checks to only verify total bandwidth instead of per-channel bandwidth.

Now that dcrlnd supports both sending and receiving multi-path payments, it doesn't make sense to look for a specific channel with the required bandwidth.