niftynei
f1b7e5fffe
liquidity-ads: pipe through request to funder, update policy
...
When a request comes through, we forward it over to the funder who
uses the currently set policy to figure out how to handle it.
Includes small update to the policy engine which decides whether or not
to fund a request.
Changelog-Experimental: Plugins: `openchannel2` hook now includes optional fields for a channel lease request
2021-07-20 13:28:38 -04:00
niftynei
d6b302b52f
funder: make policy a pointer, most places
2021-07-20 13:28:38 -04:00
Rusty Russell
a027b3a80c
plugins/test/Makefile: fix typo causing build race.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-05-27 20:28:49 +09:30
niftynei
477832057d
funder: print reason that we don't contribute funds
...
If we don't put funds into a channel, say why in the logs. Should make
it a bit easier to figure out what's going on.
2021-05-23 08:19:50 +09:30
Rusty Russell
7ef6dd04d9
plugins/test/run-route-overlong: modern overlong routing test.
...
gossmap equivalent of gossipd/test/run-overlong.c.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-05-22 17:53:04 +09:30
Rusty Russell
25b5e1e099
update-mocks: make sure we cover all test programs.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-05-22 17:53:04 +09:30
niftynei
2538956b4d
funder-test: tests for our policy configurations
2021-05-03 11:06:10 +09:30