Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: KevinHD214 on October 27, 2017, 08:53:01 AM



Title: Setting up a local test-environment fork
Post by: KevinHD214 on October 27, 2017, 08:53:01 AM
Hey guys,

I am currently writing my exams about cryptocurrency and for sure are trying to setup some local test-environment forks to get a better overview and some statistics.

Sadly I got stuck setting up one of the altcoins I've choosen.

The current altcoin I am trying to get started is BTDX (https://github.com/LIMXTEC/Bitcloud)

I just git-cloned it and tried to mine the first block after removing all IPs from the SeedList (to fake a new network) - but I got alot of errors in the debug.log as soon as I start "setgenerate true 1" (mining):

Code:
CreateNewBlock(): total size 1000
ERROR: CheckTransaction() : txout.nValue negative
ERROR: CheckBlock() : CheckTransaction failed
CreateNewBlock() : TestBlockValidity failed
CreateNewBlock: Failed to detect masternode to pay


RPC Calls return the following:

getinfo
Code:
{
"version" : 2000003,
"protocolversion" : 70713,
"walletversion" : 61000,
"balance" : 0.00000000,
"Darksend_balance" : 0.00000000,
"blocks" : 0,
"timeoffset" : 0,
"connections" : 2,
"proxy" : "",
"difficulty" : 0.00024414,
"testnet" : true,
"keypoololdest" : 1509074698,
"keypoolsize" : 1001,
"paytxfee" : 0.00000000,
"relayfee" : 0.00010000,
"staking status" : "Staking Not Active",
"errors" : ""
}

getblocktemplate
Code:
error: {"code":-7,"message":"Out of memory"}

I guess the first block needs to be mined in any other way - but how?

Greetings
Kevin