core-lightning/contrib/pyln-testing/pyln/testing
Rusty Russell 64b1ddd761 lightningd: clean up feerate handling, deprecate old terms.
Drop try_get_feerate() in favor of explicit feerate_for_deadline() and
smoothed_feerate_for_deadline().

This shows us everywhere we deal with old-style feerates by names.

`delayed_to_us` and `htlc_resolution` will be moving to dynamic fees,
so deprecate those.

Note that "penalty" is still used for generating penalty txs for
watchtowers, and "unilateral_close" still used until we get zero-fee
anchors.

Changelog-Added: JSON-RPC: `feerates` `estimates` array shows fee estimates by blockcount from underlying plugin (usually *bcli*).
Changelog-Changed: JSON-RPC: `close`, `fundchannel`, `fundpsbt`, `multifundchannel`, `multiwithdraw`, `txprepare`, `upgradewallet`, `withdraw` `feerate` (`feerange` for `close`) value *slow* is now 100 block-estimate, not half of 100-block estimate.
Changelog-Deprecated: JSON-RPC: `close`, `fundchannel`, `fundpsbt`, `multifundchannel`, `multiwithdraw`, `txprepare`, `upgradewallet`, `withdraw` `feerate` (`feerange` for `close`) expressed as, "delayed_to_us", "htlc_resolution", "max_acceptable" or "min_acceptable".  Use explicit block counts or *slow*/*normal*/*urgent*/*minimum*.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-04-10 07:31:12 +09:30
..
__init__.py meta: update changelog and pyln version for 23.02 release 2023-03-02 12:14:50 -06:00
btcproxy.py Skip following import and skip flask type to mypy code analysis. 2021-08-30 12:12:32 +09:30
db.py test-db-provider: if postgres in tests, startup a bookkeeper db 2022-07-28 12:08:18 +09:30
fixtures.py pyln.testing: remove Throttler. 2023-04-06 09:10:53 +09:30
gossip.py common: assume htlc_maximum_msat, don't check bit any more. 2022-09-24 15:22:27 +09:30
grpc.py pyln-testing: Add listinvoices to grpc shim 2022-07-21 14:19:06 +09:30
grpc2py.py lightningd: clean up feerate handling, deprecate old terms. 2023-04-10 07:31:12 +09:30
node_pb2.py msggen: Use the inferred optional field 2023-04-06 10:16:19 +09:30
node_pb2_grpc.py msggen: Regenerate for addition of SendCustomMsg 2023-02-08 23:10:53 -06:00
primitives_pb2.py msggen: Map the extratlvs field of keysend 2022-11-01 17:05:30 +01:00
utils.py lightningd: handle fees as blockcount + range. 2023-04-10 07:31:12 +09:30