Skip to content

Conversation

@lucasaafaria
Copy link
Collaborator

@lucasaafaria lucasaafaria commented Oct 7, 2025

Description: takes the $BITCOIND_PID value and pass it as bitcoind-pid parameter to the ebpf-extractor initialization command.

Expected results: ebpf-extractor initializes correctly and connects to the correct node.
image

closes #21

Copy link
Collaborator

@m4ycon m4ycon left a comment

Choose a reason for hiding this comment

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

It seems correct but for some reason logger isn't receiving any messages from nats, it logs a lot of messages when its working. I wonder if this PID is correct, which I don't see any reason not to be.

Image

@0xB10C
Copy link
Contributor

0xB10C commented Oct 9, 2025

I found the tool nats-top helpful when debugging NATS related stuff. Alternatively, you can run the ebpf-extractor with RUST_LOG=trace.

@lucasaafaria
Copy link
Collaborator Author

I found the tool nats-top helpful when debugging NATS related stuff. Alternatively, you can run the ebpf-extractor with RUST_LOG=trace.

Using nats-top, it seems that NATS isn't getting any message published to it, and thus logger doesn't have anything to show from it. I'll try running the ebpf-extractor with trace log level and see if I can figure out why this is happening.
image

@0xB10C
Copy link
Contributor

0xB10C commented Oct 10, 2025

Is the bitcoind connected to the network and communicating with peers? If you run bitcoind in regtest, there might be no messages to extract if you don't have any peers.

@lucasaafaria
Copy link
Collaborator Author

With this last change, the ebpf-extractor uses the correct pid, and logger works correctly.
image

Logger messages when there is ongoing traffic between peers:
image

Copy link
Collaborator

@m4ycon m4ycon left a comment

Choose a reason for hiding this comment

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

Nice one! It worked fine here 👍

@m4ycon m4ycon merged commit 2b54c06 into ClubeBitcoinUnB:master Nov 4, 2025
1 check passed
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.

bitcoind-pid argument is missing at the ebpf-extractor initialization

3 participants