Bitcoin Forum
October 21, 2024, 07:19:11 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to remove change from the output record  (Read 420 times)
wkyu94 (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 13, 2015, 02:07:42 AM
 #1

A transaction includes several output records which includes the "real output" as well as the "change sent back to the owner".
And because of some reason (security?), the address which receive the change is not the original address of the owner.
So the problem is how to identify whether a output record is a "change record"?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3514
Merit: 6863


Just writing some code


View Profile WWW
July 13, 2015, 02:25:12 AM
 #2

You can't, at least, not for certain unless you are the sender. The whole point of a new change address is so that people cant find out how much Bitcoin someone has left. You can guess by looking at which address is receiving the weirder number. If a transaction has two outputs, 0.15 and 0.124575, you can assume that the not even number 0.124575 is the change.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!