rgb-cln/contrib
Rusty Russell a9c05d7d16 pytest: test for mutual close fail under very low feerates.
```
$ l1-cli close 445x1x1 
# Sending closing fee offer 183sat, with range 0sat-183sat
# Received closing fee offer 183sat, with range 0sat-1000000sat
{
   "tx": "0200000000010153ce29f4df20875492760ec51092d01ade3da99ffd72c3ff47b02e8f78a5845a0100000000ffffffff02b882010000000000225120847b3d31b036c0b4fad77fd41805f375f4fc9507d52f2a19d858b43975a633b0d1be0d000000000022512017912fd7fc767d03e02461bd932556d78291ea226db5efec84d84a5c753a650a0400473044022005b184a595ec0b650dffb3168d003b13ae0d98d456d879ec7fac7012f3dbad6202202f5a9620a59fb3cb9269be3b2a941f18fe1b7e3037c259125c56d3ec86c8e91a014730440220559f1c2a578e35a975466bb6f2319d313cd79070add77c51b6f6aeb25f7eae9802204749e84e7f8a777c66896a38588f6046a28653a493c34c79a0080580a0f389ec01475221024ff290301210ddffa14db591eb629d864bb4b4583586f5bffaaebc4ca8d5edef2102e0de3f54ca6cf38cb527b326242bf418a4a0a50485c97999074e69e127216fd052ae00000000",
   "txid": "216ed9adf8df623770e219f52b31350de60cd1b236d6f043664d9eb5bc462ad4",
   "type": "mutual"
}
rusty@rusty-Framework:~/devel/cvs/lightning (master)$ bt-cli getrawmempool
[
]
```

Logs show:

```
2023-08-11T02:20:13.947Z DEBUG   plugin-bcli: sendrawtx exit 26 (bitcoin-cli -regtest -datadir=/home/rusty/.bitcoin sendrawtransaction 0200000000010153ce29f4df20875492760ec51092d01ade3da99ffd72c3ff47b02e8f78a5845a0100000000ffffffff02b882010000000000225120847b3d31b036c0b4fad77fd41805f375f4fc9507d52f2a19d858b43975a633b0d1be0d000000000022512017912fd7fc767d03e02461bd932556d78291ea226db5efec84d84a5c753a650a0400473044022005b184a595ec0b650dffb3168d003b13ae0d98d456d879ec7fac7012f3dbad6202202f5a9620a59fb3cb9269be3b2a941f18fe1b7e3037c259125c56d3ec86c8e91a014730440220559f1c2a578e35a975466bb6f2319d313cd79070add77c51b6f6aeb25f7eae9802204749e84e7f8a777c66896a38588f6046a28653a493c34c79a0080580a0f389ec01475221024ff290301210ddffa14db591eb629d864bb4b4583586f5bffaaebc4ca8d5edef2102e0de3f54ca6cf38cb527b326242bf418a4a0a50485c97999074e69e127216fd052ae00000000) error code: -26\nerror message:\nmin relay fee not met, 183 < 192

Indeed, tx weight is 192!
```

Reported-by: @ShahanaFarooqui
2023-08-12 13:17:46 +09:30
..
docker docker: bitcoin and elements version update 2023-08-07 16:04:14 +09:30
init Remove --daemon from lightningd.service 2023-07-09 13:02:10 +09:30
keys misc: Update cdecker's gpg key 2022-12-06 16:37:19 +01:00
msggen msggen: Add `staticbackup` call to list of managed methods 2023-08-06 12:34:36 +09:30
plugins tests: notification response fixes 2023-07-10 14:51:11 +09:30
pylightning tests: notification response fixes 2023-07-10 14:51:11 +09:30
pyln-client splice: Move splice to experimental feature bit 2023-08-10 15:52:53 +09:30
pyln-grpc-proto splicing: Update documentation 2023-08-07 12:38:36 +09:30
pyln-proto pyln-client, pyln-proto, pyln-testing: update to new versions. 2023-08-03 09:05:59 +09:30
pyln-spec Mac: Update Makefile to work on Mac zsh 2023-07-31 21:00:22 +09:30
pyln-testing pytest: test for mutual close fail under very low feerates. 2023-08-12 13:17:46 +09:30
reprobuild docker: Install clnrest dependencies from rquirements.txt 2023-08-06 12:34:19 +09:30
sanitizer_suppressions common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
bootstrap-node.sh Replace head -n with sort -R for better random peer selection 2023-01-04 13:29:46 +10:30
clang-coverage-report.sh contrib: script to generate Clang coverage report 2023-06-15 10:47:56 +09:30
config-example Added sample config file 2023-06-21 14:57:34 +09:30
giantnode.py contrib/giantnode.py: populate three regtest nodes with many invoices/forwards/payments. 2022-09-18 16:21:54 +02:00
lightning-cli.bash-completion Fix bash completion. 2020-05-15 15:25:33 +02:00
short_channel_id-to-txid.sh Add compability to current formalism to short_channel_id-to-txid.sh 2019-10-04 00:38:52 +00:00
startup_regtest.sh contrib/startup: ignore db-updates 2023-07-31 21:00:22 +09:30