Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Support multiple warnings in RPC responses#356

Merged
apoelstra merged 1 commit into
rust-bitcoin:masterfrom
romanz:fix-warnings
May 11, 2024
Merged

Support multiple warnings in RPC responses#356
apoelstra merged 1 commit into
rust-bitcoin:masterfrom
romanz:fix-warnings

Conversation

@romanz

@romanz romanz commented May 11, 2024

Copy link
Copy Markdown
Contributor

Following #352 & #353.

Tested on latest bitcoind (bitcoin/bitcoin@2cedb42) with latest electrs (romanz/electrs@7773c26).

@romanz

romanz commented May 11, 2024

Copy link
Copy Markdown
Contributor Author

@tcharding would it please be possible to include #353 & #356 in the upcoming release PR?

@apoelstra apoelstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK e03cd64 neat! that was easy

@apoelstra apoelstra merged commit 0cdbc25 into rust-bitcoin:master May 11, 2024
@romanz romanz deleted the fix-warnings branch May 12, 2024 16:01
0xB10C added a commit to 0xB10C/fork-observer that referenced this pull request Sep 26, 2024
and rust-bitcoin-pool-indentification 0.3.3 -> 0.3.4.

bitcoincore-rpc 0.19 is needed for full Bitcoin Core >=28.x support.

The getnetworkinfo RPC call now returns a list of warnings instead of
a single warning String. This would cause fork-observer to fall back
to "unkown version" as mapping the JSON response would fail.

See rust-bitcoin/rust-bitcoincore-rpc#356
0xB10C added a commit to 0xB10C/fork-observer that referenced this pull request Sep 26, 2024
and rust-bitcoin-pool-indentification 0.3.3 -> 0.3.4.

bitcoincore-rpc 0.19 is needed for full Bitcoin Core >=28.x support.

The getnetworkinfo RPC call now returns a list of warnings instead of
a single warning String. This would cause fork-observer to fall back
to "unkown version" as mapping the JSON response would fail.

See rust-bitcoin/rust-bitcoincore-rpc#356
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants