8

How can I determine the entire number of available blockchain outputs for each denomination?

Is there a blockexplorer that tracks this data or a bitmonerod command I can use to find the answer to this?

  • 3
    Note that this will be irrelevant once ringCT is deployed. – hyc Jul 22 '16 at 14:15
5

There is a bitmonerod command, output_histogram [[mincount] maxcount], which lists (amount, instances) pairs of outputs on the blockchain. The output is sorted by instances.

output_histogram takes an optional first parameter, which is an instances count minimum cutoff. That is, it will display all amounts with at least that many instances. The second parameter is an optional maximum cutoff. The default is to display all of them. For instance, outout_histogram 5 9 will display a sorted set of amounts for which there are between 5 and 9 intances on the chain, inclusive.

Note that this is rather slow as it reads a lot from the database.

The wallet uses this to determine which outputs can be used for the requested mixin (in that case, assuming a trusted daemon, the wallet will supply the amounts to check, which is a lot faster).

  • I have tried this output_histogram 5 9 command, but after a few minutes, I always get Error: Couldn't connect to daemon. After that, the wallet also becomes unresponsive. I assume because the daemon gets stuck. – dpzz Oct 11 '16 at 23:17
  • Opened GitHub issue #1208 for the above error. – dpzz Oct 11 '16 at 23:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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