why a specific transaction value and it's output address which is sent from a specific IP address, returns from another address to that IP address?

0

I wrote a code to extract bitcoin output addresses and their values from TX messages of the bitcoin protocol. to test it, I prepare this scenario: first I send a specific bitcoin value(for example A bitcoin) from one wallet which installed in my cellphone to another wallet which installed in another cellphone, and I was waiting to confirm this transaction. during this process, I capture all traffics which was going between two cellphones. then I test my program with this traffic. I saw same value(A bitcoin) and it's output address(Address B) in the output which was sent from Source IP address(my cellphone) to destination IP address. and this value and address was sent to some other IP's. I guess that they are miners which which can confirm my transaction.

also, I saw that this value(A bitcoin) and it's output address(address B) is is some tx messages which is sent from an IP address to my IP address(my cellphone). in another words, i see that the specific value and it's address returens to my address again. It should be note that this is a spent value and is not a UTXO. and I want to know that why my bitcoin transaction value and it's address in some tx messages returns to me?

Saeed

Posted 2019-06-09T12:51:14.380

Reputation: 115

Question was closed 2019-06-09T21:49:52.627

The reason for this is due to the fact that Bitcoin does not work account based, but UTXO based. See https://bitcoin.stackexchange.com/q/736/208 for a full explanation.

Pieter Wuille 2019-06-09T17:08:14.853

No answers