Skip to content

add: getorphantxs support for rpc-extractor - #340

Merged
0xB10C merged 6 commits into
masterfrom
2026-01-rpc-extractor-getorphantxs
Jan 27, 2026
Merged

0xB10C merged 6 commits into
masterfrom
2026-01-rpc-extractor-getorphantxs

Conversation

@0xB10C

@0xB10C 0xB10C commented Jan 23, 2026

Copy link
Copy Markdown
Collaborator

getorphantxs gives insights about the Bitcoin Core orphanage. We currently don't have any insights in peer-observer yet.

Part of #199

@0xB10C

0xB10C commented Jan 23, 2026

Copy link
Copy Markdown
Collaborator Author

Draft as I want to add orphanage metrics.

@0xB10C
0xB10C force-pushed the 2026-01-rpc-extractor-getorphantxs branch from 4d1b14f to 34cf80f Compare January 26, 2026 15:41
@0xB10C
0xB10C marked this pull request as ready for review January 26, 2026 18:18
};
use corepc_client::types::v28::{GetNetworkInfo, GetNetworkInfoAddress, GetNetworkInfoNetwork};
use corepc_client::types::v29::GetBlockchainInfo;
use corepc_client::types::v30::GetMempoolInfo;

@0xB10C 0xB10C Jan 27, 2026 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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

@0xB10C
0xB10C force-pushed the 2026-01-rpc-extractor-getorphantxs branch from f4a72cd to eb281a5 Compare January 27, 2026 08:34
@0xB10C
0xB10C merged commit 423172f into master Jan 27, 2026
@0xB10C
0xB10C deleted the 2026-01-rpc-extractor-getorphantxs branch January 27, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant