Skip to main content
6 votes

How to use Wireshark to identify Bitcoin/Lightning P2P packets

Run 2 nodes with different ports on regtest bitcoind -regtest=1 -port=18333 -datadir=/home/satoshi/node1 bitcoind -regtest=1 -port=18444 -datadir=/home/satoshi/node2 Add node1 as outbound connection ...
Egg's user avatar
  • 111
4 votes

Is there a flag or specific message in a bitcoin pcap to show us our bitcoin transaction is confirmed or not?

A transaction is confirmed when it is included in a block, so you will need to watch for a message that alerts your node (or whatever software you are using to watch the P2P gossip traffic) to a new ...
chytrik's user avatar
  • 18.4k
2 votes
Accepted

Does xmr-stak use Stratum?

Yes Monero mining pools generally use the Stratum protocol for communication between the pool and the miners. However a modified version of the Stratum protocol is used. I've yet find proper ...
user44404's user avatar
  • 546
2 votes
Accepted

Why tx informations of a specific transfer in BITCOIN protocol will send to many IP addresses?

This is gossip protocol. When you are connected to the bitcoin network, you are usually connected to some random nodes. When you want to send transaction, ultimately your goal is for the transaction ...
Wapac's user avatar
  • 1,074
1 vote
Accepted

How is bitcoind "shy" when exchanging `version` packets?

First the peer who chooses to connect shares their version. Each of the peers can only send one version message. PushNodeVersion is used to send the version message. It is called by two functions 1) ...
MCCCS's user avatar
  • 10.2k

Only top scored, non community-wiki answers of a minimum length are eligible