3
Assume that I send a specific value from a source wallet to a destination wallet and simultaneously capture the input and output traffic with Wireshark.
I can extract output address and it's value from captured traffic, but how i can detect (from packets of traffic) that my transaction confirmed from miners?
In the other words, when i check out the bitcoin traffic, i see that the specific value which i sent(and it's output address), exists in some packets with different IP addresses, which i don't know which one is a miner. is there a flag or specific message sent to me that help me to understand that my transaction is confirmed?
2Of course, just because you see your transaction in a block, that does not prove it is a valid block. To check that, you need to verify that the block meets all Bitcoin protocol requirements and links into the longest chain - which basically entails writing your own Bitcoin node. So it's probably better to solve this problem by actually running an off-the-shelf Bitcoin node, and having it notify you when the transaction is confirmed. – Nate Eldredge – 2019-06-08T20:38:56.727