I'm testing my bitcoin marketplace site using testnet. Sometimes I'll simulate a payment from a buyer to a seller. In this scenario, my site generates a payment address and the fake buyer is supposed to send money to it. But before I do anything, a mysterious payment will be sent to the address and cause the payment to be partially or fully paid.
I'm not an expert on blockchain but it seems like someone sent 0.68885375 BTC and the change valued at 0.00059542 BTC ended up going to my address instead. Why does this happen? Isn't the change supposed to go back to the sender?
Testnet is generally pretty noisy, filled with strange transactions and nonsensical movements of money. I personally hold wallets responsible for 20%+ of all transactions in the block chain, and most of the UTXOs. If you want a stable environment regtest is designed for testing your tooling without the noise or needing to wait for blocks.
Not the answer you're looking for? Browse other questions tagged transactions testnet change or ask your own question.
Why are all testnet transactions currently unconfirmed and all faucets empty?