core-lightning/tests
Rusty Russell 7bde0ead4d connectd: allow out-of-bounds fees unless they're actually getting *worse*.
Pointed out by @fiatjaf, and indeed it happened to me as well; a peer with
a high feerate reconnects and sends a similar (but now ludicrous) feerate,
and we get upset:

```
$ lightning-cli listpeers 039c73f53daad1050a6a72afb5353a2152f3152ee17168cd0ab28c2cb3e0050e36
{
   "peers": [
      {
         "id": "039c73f53daad1050a6a72afb5353a2152f3152ee17168cd0ab28c2cb3e0050e36",
         "connected": false,
         "channels": [
            {
               "state": "CHANNELD_NORMAL",
               "scratch_txid": "d796aa9c44920cc7169cdb61e36437bf180cedaec44103a69591ce2baac9b1d9",
               "last_tx_fee": "14329000msat",
               "last_tx_fee_msat": "14329000msat",
               "feerate": {
                  "perkw": 19791,
                  "perkb": 79164
               },
```

Then in the logs:
```
2021-07-23T19:34:56.227Z DEBUG   039c73f53daad1050a6a72afb5353a2152f3152ee17168cd0ab28c2cb3e0050e36-channeld-chan#39381: billboard perm: update_fee 17055 outside range 253-7210
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-07-25 10:18:20 +09:30
..
data inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
fuzz liquidity-ads: persist channel blockheight states to disk 2021-07-20 13:28:38 -04:00
plugins pytest: Add test for keysend extra-tlvs 2021-06-26 10:55:13 +09:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py pytest: always provide payment_secret when making payments. 2021-07-14 14:38:00 -05:00
conftest.py tests: add marker for v1/v2 channel opens 2021-05-12 11:25:41 +09:30
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: add schema support for JSON responses. 2021-05-27 20:28:49 +09:30
test_closing.py queryrates: make it dev-only 2021-07-20 13:28:38 -04:00
test_connection.py connectd: allow out-of-bounds fees unless they're actually getting *worse*. 2021-07-25 10:18:20 +09:30
test_db.py inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
test_gossip.py tests: add test for setting/updating node announce 2021-07-20 13:28:38 -04:00
test_invoices.py listinvoices: support listing by local offer_id. 2021-07-03 12:13:45 +09:30
test_misc.py printlogs for failing tests 2021-07-20 13:28:38 -04:00
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_opening.py funderupdate: add documentation, update some params 2021-07-21 11:38:30 -04:00
test_pay.py lightningd: don't turn zero-length tlv fields into NULL. 2021-07-21 13:27:27 -04:00
test_plugin.py pytest: rescan restarts plugin on update 2021-07-15 13:26:05 -04:00
test_wallet.py listtransactions: don't create a msat field called "satoshis". 2021-06-25 09:49:33 +09:30
utils.py lightningd: make invoices insist on payment_secret. 2021-07-14 14:38:00 -05:00