Author

Topic: Hello, how to get currently mining total of bitcoin? (Read 974 times)

newbie
Activity: 28
Merit: 0
The RPC call "gettxoutsetinfo" will return a set of information about all the unspent outputs, including "total_amount" value  -  that is the total amount of bitcoins ever created at height xxxxx

Thank you very very very much.

The command 'gettxoutsetinfo' include the "total_amount" unexpectedly.
newbie
Activity: 28
Merit: 0
I am develop a safely and quickly trade platform now,
but I don't found any interface to fetch the currently mining total of bitcoin,
Does anyone know this? thanks.

Currently mining total?

Do you mean the current block height that has been mined?
  • You can get this from bitcoind with the API call "getblockcount"

Do you mean the current block reward?
  • In that case you can determine the current era by dividing the current block height by 210000 and throw away the remainder. The current block reward is 50*((1/2)era) when rounded down to the nearest hundred millionth

Do you mean the current total bitcoins in existence?
  • In that case, it can be computed by era(210000) + (blockheight modulo 210000)(current block reward)

Do you mean the current total amount of hash power in the world working on mining bitcoin blocks?
  • It is impossible to know exactly what this number is, but it can be reasonable estimated from the current difficulty. The estimation is calcualted as difficulty(7158388.055)


Thank you very much.

I am mean the current total bitcoins in existence. :-)

I am plan to support many electronic virtual currency on my trading platform,
so I must to computed the current total one by one now.

It sounds so strange that why the bitcoin implement don't include this value in current block,
and provide a interface to read it, that just cost 16 bytes.

electronic virtual currency ?

what is that, can you explain sir ?

Sorry sir, I mean peer-to-peer Internet/digital currency :0
hero member
Activity: 511
Merit: 500
I am develop a safely and quickly trade platform now,
but I don't found any interface to fetch the currently mining total of bitcoin,
Does anyone know this? thanks.

Currently mining total?

Do you mean the current block height that has been mined?
  • You can get this from bitcoind with the API call "getblockcount"

Do you mean the current block reward?
  • In that case you can determine the current era by dividing the current block height by 210000 and throw away the remainder. The current block reward is 50*((1/2)era) when rounded down to the nearest hundred millionth

Do you mean the current total bitcoins in existence?
  • In that case, it can be computed by era(210000) + (blockheight modulo 210000)(current block reward)

Do you mean the current total amount of hash power in the world working on mining bitcoin blocks?
  • It is impossible to know exactly what this number is, but it can be reasonable estimated from the current difficulty. The estimation is calcualted as difficulty(7158388.055)


Thank you very much.

I am mean the current total bitcoins in existence. :-)

I am plan to support many electronic virtual currency on my trading platform,
so I must to computed the current total one by one now.

It sounds so strange that why the bitcoin implement don't include this value in current block,
and provide a interface to read it, that just cost 16 bytes.

electronic virtual currency ?

what is that, can you explain sir ?
newbie
Activity: 28
Merit: 0
I am develop a safely and quickly trade platform now,
but I don't found any interface to fetch the currently mining total of bitcoin,
Does anyone know this? thanks.

Currently mining total?

Do you mean the current block height that has been mined?
  • You can get this from bitcoind with the API call "getblockcount"

Do you mean the current block reward?
  • In that case you can determine the current era by dividing the current block height by 210000 and throw away the remainder. The current block reward is 50*((1/2)era) when rounded down to the nearest hundred millionth

Do you mean the current total bitcoins in existence?
  • In that case, it can be computed by era(210000) + (blockheight modulo 210000)(current block reward)

Do you mean the current total amount of hash power in the world working on mining bitcoin blocks?
  • It is impossible to know exactly what this number is, but it can be reasonable estimated from the current difficulty. The estimation is calcualted as difficulty(7158388.055)


Thank you very much.

I am mean the current total bitcoins in existence. :-)

I am plan to support many peer-to-peer Internet/digital currency on my trading platform,
so I must to computed the current total one by one now.

It sounds so strange that why the bitcoin implement don't include this value in current block,
and provide a interface to read it, that just cost 16 bytes.
legendary
Activity: 1120
Merit: 1000
I think that is what you want, you can extract the data easily from here

http://blockexplorer.com/q/totalbc

PS: right now:  13717375 bitcoin
sr. member
Activity: 298
Merit: 250
You might wanna take a look at RPC commands, not sure what you are asking there.
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
legendary
Activity: 3472
Merit: 4801
I am develop a safely and quickly trade platform now,
but I don't found any interface to fetch the currently mining total of bitcoin,
Does anyone know this? thanks.

Currently mining total?

Do you mean the current block height that has been mined?
  • You can get this from bitcoind with the API call "getblockcount"

Do you mean the current block reward?
  • In that case you can determine the current era by dividing the current block height by 210000 and throw away the remainder. The current block reward is 50*((1/2)era) when rounded down to the nearest hundred millionth

Do you mean the current total bitcoins in existence?
  • In that case, it can be computed by era(210000) + (blockheight modulo 210000)(current block reward)

Do you mean the current total amount of hash power in the world working on mining bitcoin blocks?
  • It is impossible to know exactly what this number is, but it can be reasonable estimated from the current difficulty. The estimation is calcualted as difficulty(7158388.055)
newbie
Activity: 28
Merit: 0
I am develop a safely and quickly trade platform now,
but I don't found any interface to fetch the currently mining total of bitcoin,
Does anyone know this? thanks.
Jump to: