Methods to test if one transactions is from the identical pockets (public key) as a earlier one
If the transaction in query consumes inputs that had been locked to a bitcoin tackle that has been beforehand used, then it will be simple to inform that the fee got here from the identical pockets. In any case, the fee got here ‘from the identical tackle’ as a earlier fee.
Nonetheless, re-using addresses will not be finest practices. Doing so may be very dangerous on your privateness, simply contemplate the premise of this query to grasp why! There is no such thing as a purpose to re-use addresses and thus enable somebody to see your monetary historical past (ie, the entire different transactions you have comprised of that tackle).
Fortunately, trendy wallets are constructed to by no means re-use addresses. Additional, addresses from the identical pockets are indistinguishable from random addresses, there is no such thing as a public info included within the tackle/transaction that hyperlinks them collectively. That is by design: you would not need somebody to have the ability to decide your total pockets stability, after receiving a single transaction from you.