still blown away by @0xb10c's p2p ebpf tool for bitcoin-core. detailed node introspection with only a few traces added to the codebase 🀯

github.com/bitcoin/bitcoin/pul

Follow

only these two traces are needed, the p2p ebpf program hooks into these at runtime. these are a no-op when no ebpf program is connected. zero overhead + unlimited utility. amazing.

Β· Β· Moa Β· 1 Β· 0 Β· 2

what's nice is that anyone can write programs that attach to these tracepoints to do something interesting. perhaps you want to create a web app that display all your node p2p messages in realtime, you can do that once this PR is merged!

once we add more tracepoints, we could eventually enable the functionality of @lopp's statoshi[1] to anyone running a bitcoin node.

[1] statoshi.info/

Sign in to participate in the conversation
Bitcoin Mastodon

Bitcoin Maston Instance