-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removals for v23.05 (deprecated in 0.12.0 or before) #5986
Removals for v23.05 (deprecated in 0.12.0 or before) #5986
Conversation
ce987bd
to
ab87eff
Compare
f1eb567
to
c998659
Compare
Makes it easier when we remove support for a version. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
We promised two versions after v0.12, and here we are. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…quietly. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Removed: JSON-RPC: `checkmessage` now always returns an error when the pubkey is not specified and it is unknown in the network graph (deprecated v0.12.0)
Changelog-Removed: JSON-RPC: `listpeers`.`local_msat` and `listpeers`.`remote_msat` (deprecated v0.12.0) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Removed: JSON-RPC: all the non-msat-named millisatoshi fields deprecated in v0.12.0.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Removed: JSON-RPC: the "msat" suffix on millisatoshi fields, as deprecated in v0.12.0.
Now there's no compat variant, we can rename this function. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Removed: JSON-RPC: require the `"jsonrpc": "2.0"` property (requests without this deprecated in v0.10.2).
It seems that bitcoind frequently dies on this test. I assume running the multiple nodes under valgrind with the extra 214 blocks is too memory-hungry? Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
aa5abdd
to
5b7b86b
Compare
Trivial rebase onto latest master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am running with deprecated-api=false for more than 3 months now!
ACK 5b7b86b
@@ -286,7 +286,6 @@ On success, an object containing **route** is returned. It is an array of objec | |||
- **amount\_msat** (msat): The amount expected by the node at the end of this hop | |||
- **delay** (u32): The total CLTV expected by the node at the end of this hop | |||
- **style** (string): The features understood by the destination node (always "tlv") | |||
- **msatoshi** (u64, optional) **deprecated, removal in v23.05** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from a doc point of view, do you think that it is better remove from the docs when it is already released? so in the v23.08 in this case
I think this could add a little bit of more documentation when people find this breaking change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm... that's a bit trickier, we'd have to add a "removed": "version" tag in the schema. Probably not worth it for now?
Importantly, this completes the Great Msat Migration started in v0.12.0, so "msat" fields are no longer strings with
"msat" appended, but simply integers.
And we re-try deprecating non-jsonrpc-2.0 compliant requests.