routing: allow specifying a fee limit during route construction
This commit is contained in:
6 files changed
+143
-36
No files matched your search
+3
-3
@@ -43,9 +43,9 @@ const (
|
||||
// attempt timed out before we were able to successfully route an HTLC.
|
||||
ErrPaymentAttemptTimeout
|
||||
|
||||
// ErrFeeCutoffExceeded is returned when the total fees of a route
|
||||
// exceed the user-specified maximum payment for the fee.
|
||||
ErrFeeCutoffExceeded
|
||||
// ErrFeeLimitExceeded is returned when the total fees of a route exceed
|
||||
// the user-specified fee limit.
|
||||
ErrFeeLimitExceeded
|
||||
)
|
||||
|
||||
// routerError is a structure that represent the error inside the routing package,
|
||||
|
||||
Reference in new issue
Block a user