Here’s full RBF support, as included in Knots since 2016 (not including the service bit), including functional tests.
Two additional commits have been added, which can be squashed, but kept separate for now, for review purposes:
- The first refactors the full RBF test to use a function parameter rather than avoid rearranging the
self.nodes
list. By separating this out, the test changes should be easier to review. - The second removes never-replace support. I think it’s strictly better to support never-replace (as seen, it is trivial), but if reviewers disagree, this can be squashed into the PR to avoid re-supporting it.