Bitcoin Forum
October 03, 2025, 10:09:05 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: Problem with getblocktemplate (after general node blackout) on: September 17, 2014, 07:26:31 AM
I understood that, but let's say you don't have many nodes, you have 3 Node that are on Block 148545 and 3 Nodes that haven't synced the blockchain and are at Block 148535 and then the main nodes have at the same time a catastrophic failure. Then the other 3 Nodes should be able to start mining again, starting at Block 148535. They have no information of the 10 missing Blocks, so they can move forward. Eventually you lost 10 blocks but you can continue with the same blockchain.

Is that correct or i'm understanding something wrong?

Thanks a lot.

Best Regards,

Hashingmaster.
2  Bitcoin / Bitcoin Technical Support / Re: Problem with getblocktemplate (after general node blackout) on: September 17, 2014, 04:36:24 AM
Hello There!

Appreciate your post. It's not bitcoin, it's another alternative cryptocurrency. So there isn't any mining node and the blockchain is some hours behind.

How can you force the node to start mining again on the current block?
How does the node know that he is up to date?

Thanks a lot.

Best Regards,

Hashingmaster.
3  Bitcoin / Bitcoin Technical Support / Problem with getblocktemplate (after general node blackout) on: September 16, 2014, 09:09:36 PM
We had a problem and the running nodes aren't available anymore. So we setup a new node and every client can sync again, but we can't start mining again because getblocktemplate is returning:

error: {"code":-1,"message":"getblocktemplate [params]\nIf [params] does not contain a \"data\" key, returns data needed to construct a block to work on:\n  \"version\" : block version\n  \"previousblockhash\" :
 hash of current highest block\n  \"transactions\" : contents of non-coinbase transactions that should be included in the next block\n  \"coinbaseaux\" : data that should be included in coinbase\n  \"coinbaseval
ue\" : maximum allowable input to coinbase transaction, including the generation award and transaction fees\n  \"target\" : hash target\n  \"mintime\" : minimum timestamp appropriate for next block\n  \"curtime\
" : current timestamp\n  \"mutable\" : list of ways the block template may be changed\n  \"noncerange\" : range of valid nonces\n  \"sigoplimit\" : limit of sigops in blocks\n  \"sizelimit\" : limit of block siz
e\n  \"bits\" : compressed target of next block\n  \"height\" : height of the next block\nIf [params] does contain a \"data\" key, tries to solve the block and returns null if it was successful (and \"rejected\"
 if not)\nSee https://en.bitcoin.it/wiki/BIP_0022 for full specification."}

The problem is that the node is not up to date, some 10'000 blocks away from the last block that was generated before everything went down.

What do you have to when you want to start mining again, even if you loose those 10'000 blocks that where generated before.

Thanks for the help.

Best Regards,

Hashingmaster.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!