0

can somebody help me to point out where and in wich file the setgenerate true testnet function is located and controlled is it in chainparams.ccp or somewhere else ? and where to change the bitcoin testnet block memory to reset it .and to be able to test starting with zero blocks in testnet ?and i dont need to know regtest is the thing for you im learning the code and not testing . so i really like to know how the setgenerate true is turned of and on in the code and where the block memory is located . because i removed block data in .bitcoin and deleted seeds but still my testnet is saying 3 years loading where is this comming from ?

al help is welcome thanks in advance

0

The setgenerate RPC has been removed in version Bitcoin Core v0.13, in 2016.

Use the generateblock or generatetoaddress RPCs instead.

4
  • thanks for your reply | can you explain exactly what the mining command is going to be with generateblock? and do i put this like this bitcoin-cli blockgenerate or in the console from the qt blockgenerate? and will this solo mine non stop or isn't this the same mining as set generate true 1.
    – BG media
    Oct 12 at 11:55
  • I've added links to the documentation. Oct 12 at 11:57
  • and pieter is there a possibilty to add an code snipped to again activate the old set generate true in the code ? an setgenerate rpc code snipped ? and in wich folder should i change/activate this if i have such an snipped .
    – BG media
    Oct 12 at 11:59
  • You can make any changes you want in your own copy of the source code to add such an RPC back if you want, but you're on your own then. The software does not support it. Oct 12 at 12:01

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.