rgb-cln/tests
Rusty Russell 8cf2fff91b pytest: generalize tests.
Anchor outputs break many assumptions in our tests:

1. Remove some hardcoded numbers in favor of a fee calc, so we only have to
   change in one place.
   FIXME: This should also be done for elements!
2. Do binary search to get feerate for a given closing fee.
3. Don't assume output #0: anchor outputs perturb them.
4. Don't assume we can make 1ksat channels (anchors cost 660 sats!).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-08-14 11:51:14 +09:30
..
data
plugins
vectors
benchmark.py
conftest.py
db.py
fixtures.py
test_closing.py pytest: generalize tests. 2020-08-14 11:51:14 +09:30
test_connection.py pytest: generalize tests. 2020-08-14 11:51:14 +09:30
test_db.py
test_gossip.py
test_invoices.py
test_misc.py pytest: generalize tests. 2020-08-14 11:51:14 +09:30
test_onion.py
test_pay.py pytest: generalize tests. 2020-08-14 11:51:14 +09:30
test_plugin.py pytest: generalize tests. 2020-08-14 11:51:14 +09:30
test_wallet.py
utils.py pytest: generalize tests. 2020-08-14 11:51:14 +09:30