Skip to content

p2p-extractor: publish inventory and feefilter announcements - #297

Merged
0xB10C merged 6 commits into
masterfrom
2025-11-p2p-extractor-invs
Nov 24, 2025
Merged

0xB10C merged 6 commits into
masterfrom
2025-11-p2p-extractor-invs

Conversation

@0xB10C

@0xB10C 0xB10C commented Nov 22, 2025 •

Copy link
Copy Markdown
Collaborator

This implements two new p2p-extractor announcements as part of #263:

  • InventoryAnnoucement: published when we receive a inv P2P message from the node. Initial metrics for count by inv type, message count, inv message size
  • FeefilterAnnoucement: published when we receive a feefilter P2P message from the node. Initial metrics for feefilter value and feefilter message counts

The InventoryAnnoucement events and metrics are interesting for e.g. https://bnoc.xyz/t/increased-b-msghand-thread-utilization-due-to-many-352-byte-runestone-inscriptions-on-2025-11-17/58

This allows us to specify "relay", which we need for getting
tx INVs.
@0xB10C

0xB10C commented Nov 22, 2025

Copy link
Copy Markdown
Collaborator Author

Needs tests and metrics. Also:

  • wtxid relay?
  • feefilter?

@0xB10C
0xB10C force-pushed the 2025-11-p2p-extractor-invs branch 2 times, most recently from 9b2561c to 1c9047f Compare November 23, 2025 16:55
@0xB10C 0xB10C changed the title WIP: p2p-extractor publish inventory annoucements p2p-extractor publish inventory and feefilter announcements Nov 24, 2025
@0xB10C 0xB10C changed the title p2p-extractor publish inventory and feefilter announcements p2p-extractor: publish inventory and feefilter announcements Nov 24, 2025
@0xB10C
0xB10C marked this pull request as ready for review November 24, 2025 12:57
@0xB10C
0xB10C force-pushed the 2025-11-p2p-extractor-invs branch from 2f0b21c to bb1cc13 Compare November 24, 2025 13:20
@0xB10C
0xB10C force-pushed the 2025-11-p2p-extractor-invs branch from bb1cc13 to 89762bd Compare November 24, 2025 13:22
@0xB10C
0xB10C merged commit 3695a19 into master Nov 24, 2025
@0xB10C
0xB10C deleted the 2025-11-p2p-extractor-invs branch November 24, 2025 13:42
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