Fixes #26602
Adds m_tx_reconciliation
in Peer
struct
to know whether the peer supports Erlay and
exposes it in getpeerinfo
rpc.
getpeerinfo
#27797
Adds `m_tx_reconciliation` in `Peer` struct
to know whether the peer supports Erlay and
exposes it in `getpeerinfo` rpc.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
See the guideline for information on the review process.
Type | Reviewers |
---|---|
Concept ACK | Sjors |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
-txreconciliation
I think it’s fine to add this. We can always drop it if Erlay is given up on. Making it easier to test, makes it more likely to ever get finished though.
given that we have
-txreconciliation
I think it’s fine to add this.
But -txreconciliation
is off-by default and not exposed to users, this field exposes Erlay-related info unconditionally in a popular RPC, which could create confusion (why is this field there if I can’t turn Erlay on yet?) and seems premature given that Erlay could still be years away (if it makes it at all, which I do hope!). So I’d prefer it if these commits were part of #21515 (which anyone wanting to actually test Erlay would need to run anyway) but not master for now.
Also, removing fields from RPCs tends to lead to annoying compatibility / depreciation discussions, so I’d prefer not adding fields in the first place until they are needed.