George Tsagkarelis
705e567357
itest: add dynamic scid alias routing test
2024-09-05 10:29:42 +02:00
bitromortac
b0f0715813
routing: fix fee limit condition
...
When iterating edges, pathfinding checks early whether using an edge
would violate the requested total fee limit for a route. This check is
done on the net amount (an amount the inbound fee is calculated with).
However, a possible next hop's fee discount leads to a reduction in fees
and as such using the net amount leads to assuming a higher cumulative
fee than the route really has, excluding the path erroneously. We
perform the fee limit check on the amount to send, which includes both
inbound and outbound fees. This should be possible as the first hop's
outbound fee is zero and therefore doesn't have to be checked in the
end.
2024-07-30 08:53:09 +02:00
bitromortac
557b33733c
itest: add test for failing send after queryroutes
2024-07-30 08:52:50 +02:00
yyforyongyu
f1f341095e
lntest+itest: add new method CurrentHeight
2024-07-23 21:30:08 +08:00
yyforyongyu
6bd8baea38
lntest+itest: continue removing direct call to Miner
2024-07-23 21:30:07 +08:00
Keagan McClelland
07277172f8
itest+lntest: remove temporary hacks around broken coop close in itests
2024-01-23 14:31:51 -08:00
yyforyongyu
0816f9124c
itest: update itest to reflect new sweeper behavior
2023-10-23 13:01:50 +08:00
Oliver Gugger
56dba2df03
multi: update linter, fix new issues
2023-06-13 11:58:33 +02:00
bitromortac
fce88e8b5d
lncli+routerrpc: dynamic capacity fraction config
...
Enable setting and getting of the apriori capacity fraction in lncli and
in the router rpc.
2023-02-24 15:28:55 +01:00
yyforyongyu
8288d3da8e
itest: add missing topology check in tests
...
This commit adds the missing topology checks.
2023-02-23 21:56:10 +08:00
yyforyongyu
2bc6aabf96
itest: fix make lint
...
This commit fixes the issues reported by the linter.
2023-02-23 21:56:10 +08:00
yyforyongyu
9d1d629001
itest+lntest: migrate lntemp
to lntest
...
This commit performs the takeover that `lntemp` is now promoted to be
`lntest`, and the scaffolding is now removed as all the refactoring is
finished!
2023-02-23 21:56:09 +08:00
yyforyongyu
ee0790493c
itest+lntemp: move calculation functions into lntemp
...
Functions that can be useful to other tests are now moved into the
package `lntemp`.
2023-02-23 21:56:09 +08:00
yyforyongyu
0bc86a3b4b
multi: move itest
out of lntest
...
This commit moves all the test cases living in `itest` out of `lntest`,
further making `lntest` an independent package for general testing.
2023-02-23 21:56:08 +08:00