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

Support multiple warnings in RPC responses #356

Merged
merged 1 commit into from
May 11, 2024

Conversation

romanz
Copy link
Contributor

@romanz romanz commented May 11, 2024

Following #352 & #353.

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

@romanz
Copy link
Contributor Author

romanz commented May 11, 2024

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

Copy link
Member

@apoelstra apoelstra left a comment

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
13 checks passed
@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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants