Move `Channel::get_feerate_sat_per_1000_weight` and other methods
authorDuncan Dean <git@dunxen.dev>
Wed, 7 Jun 2023 10:33:41 +0000 (12:33 +0200)
committerDuncan Dean <git@dunxen.dev>
Wed, 14 Jun 2023 14:04:21 +0000 (16:04 +0200)
commit3ff94fae55a155603ddcb7c2a96d3b36a0eefa63
tree9b6ae0569b47b3337825f4ec8b0953793d397205
parent0d739eeb22c8de9fe9bdf9d27223d134eb6dcf9c
Move `Channel::get_feerate_sat_per_1000_weight` and other methods

This is one of a series of commits to make sure methods are moved by
chunks so they are easily reviewable in diffs. Unfortunately they are
not purely move-only as fields to be updated for things to
compile, but these should be quite clear.

This commit also uses the `context` field where needed for compilation
and tests to pass due to the above change.

f s/tarcontext.get_/target_/
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs