Skip to content
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

Merged

Conversation

rustyrussell
Copy link
Contributor

@rustyrussell rustyrussell commented Feb 9, 2023

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.

@rustyrussell rustyrussell added this to the v23.05 milestone Feb 9, 2023
@rustyrussell rustyrussell changed the title Removals for v23.05 (deprecated <- 0.12.0) Removals for v23.05 (deprecated <= 0.12.0) Feb 9, 2023
@rustyrussell rustyrussell changed the title Removals for v23.05 (deprecated <= 0.12.0) Removals for v23.05 (deprecated in 0.12.0 or before) Feb 9, 2023
@rustyrussell rustyrussell force-pushed the guilt/deprecations-for-v23.05 branch 2 times, most recently from f1eb567 to c998659 Compare March 4, 2023 01:41
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>
@rustyrussell
Copy link
Contributor Author

Trivial rebase onto latest master.

Copy link
Collaborator

@vincenzopalazzo vincenzopalazzo left a 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**
Copy link
Collaborator

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

Copy link
Contributor Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants