0

I've mined a few blocks on a blockchain, and I'm trying to figure how to actually see them. What is the correct RPC command ? I've managed to see all the coinbase transactions thanks to listtransactions, and my getbalance output seems ok, but they don't show up in listreceivedbyaddress nor listreceivedbyaccount.

  • 1
    These are two different questions. Please edit your question to include only the first and place the second part to a new question. – George Kimionis Mar 31 '15 at 22:11
  • @GeorgeKimionis Here it is – rmac Apr 1 '15 at 6:38
  • @rmac to clarify, are you talking about Bitcoin -regtest or a Bitcoin-fork? – Wizard Of Ozzie Apr 1 '15 at 10:08
1

You can use the listsinceblock command to filter out the mined coins. listsinceblock contains a category field. The values you're looking for are:

  • generate: for coins mined locally that are available for spending
  • immature: same as above but coins cannot be spent yet
  • It seems to work, but why aren't two clients returning the same list? Since they both have access to the same list of transaction, I would have thought that the output should be the same (and that there was no way to know, from this command only, that it was possible to redeem a generate block) – rmac Apr 1 '15 at 6:49
  • @rmac what do you mean by "two clients"? Two different bitcoin-core instances? If so, each instance has its own wallet and so the results will be different. – George Kimionis Apr 1 '15 at 10:44
  • @GeorgeKimionis Judging from the tags and the quote "on a blockchain I'm inclined to think this is a Bitcoin fork project stuck at the pre-mine phase. I've tried to clarify this, rmac, which is it mate? Bitcoin or a fork? – Wizard Of Ozzie Apr 3 '15 at 1:43
  • @WizardOfOzzie good point – George Kimionis Apr 3 '15 at 10:09

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.