Post
Topic
Board Development & Technical Discussion
Re: Number of non-zero addresses
by
TimS
on 08/08/2014, 12:18:51 UTC
I know bitcoind uses the rpc, is there any way to query the bitcoind client to spit out a current number of addresses in use without using linux? Any cool blockchain querying windows applications?

Windows? Didn't that die yet? Wink

You can get a Fermi estimate using bitcoind.
RPC command 'gettxoutsetinfo' reports 12.6 million transaction outputs.
That's an upper bound. Not all outputs are pay to pubkey hash, and some people practice address reuse.
Are there any good estimates of outputs that have no pubkey hash?
From http://webbtc.com/stats, about 99.10% of outputs are to a pubkey hash. Another 0.77% are to pubkeys. About 0.13% are others: multisigs, P2SH, OP_RETURN, and non-standard unknown scripts.

For the sake of a rough/Fermi estimate: all outputs are pubkey hash.