5

The change is usually to a different address, and it could be more or less than the amount sent to the recipient. It seems like a crude estimate would be to just randomly remove one output (assuming num outputs >= 2), and hope it worked out on average but I was curious if anyone had better ideas. Thanks!

1 Answer 1

5

The satoshi client always sends change to an address that has never been used before.

Often the amount being sent has less significant decimal digits than the change. If you see 2 outputs, one for 1.235 and one for 1.19403995 then the change is probably the 2nd one.

The satoshi client will try to minimise the change. Usually the change will be relatively small, and is often smaller than any of the inputs.

2
  • Interesting, thanks Chris. The comment about significant digits is a great idea. Do you think (assuming significant digits the same) selecting the smaller output as the change would cause your estimate to be too high on average? Jul 20, 2012 at 5:41
  • Probably, yes. Sometimes you see a chain of transactions where a single very large input is used to make a series of much smaller payments, with the change being very big each time. Jul 20, 2012 at 5:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.