Repository navigation
add: getorphantxs support for rpc-extractor - #340
Merged
Merged
Conversation
Collaborator
Author
|
Draft as I want to add orphanage metrics. |
10 of 11 tasks
0xB10C
force-pushed
the
2026-01-rpc-extractor-getorphantxs
branch
from
January 26, 2026 15:41
4d1b14f to
34cf80f
Compare
0xB10C
marked this pull request as ready for review
January 26, 2026 18:18
0xB10C
commented
Jan 27, 2026
| }; | ||
| use corepc_client::types::v28::{GetNetworkInfo, GetNetworkInfoAddress, GetNetworkInfoNetwork}; | ||
| use corepc_client::types::v29::GetBlockchainInfo; | ||
| use corepc_client::types::v30::GetMempoolInfo; |
Collaborator
Author
There was a problem hiding this comment.
Doing this breaks the current tests with Bitcoin Core v29:
2026-01-27T07:55:35.9581655Z 2026-01-27T07:55:35.957Z TRACE [corepc] response for getmempoolinfo: {"loaded":true,"size":0,"bytes":0,"usage":0,"total_fee":0.00000000,"maxmempool":300000000,"mempoolminfee":0.00001000,"minrelaytxfee":0.00001000,"incrementalrelayfee":0.00001000,"unbroadcastcount":0,"fullrbf":true}
2026-01-27T07:55:35.9583235Z 2026-01-27T07:55:35.958Z ERROR [rpc_extractor] Could not fetch and publish 'getmempoolinfo': RPC error: JSON-RPC error: JSON decode error: missing field `permitbaremultisig` at line 1 column 213
#342 should help
instead of a function with way too many args
And produce a few orphans to test if the RPC works.
0xB10C
force-pushed
the
2026-01-rpc-extractor-getorphantxs
branch
from
January 27, 2026 08:34
f4a72cd to
eb281a5
Compare
This was referenced Jan 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
getorphantxs gives insights about the Bitcoin Core orphanage. We currently don't have any insights in peer-observer yet.
Part of #199