I forked the BlackCoin source, changed the ports, generated the genesis block, merkle, blah blah blah. I set up a node on a DigitalOcean server and compiled my coin daemon there as well as on my local machine. They two coin daemons recognize each other, I put the addnode into the conf file, also put in rpcuser, rpcpassword, and rpcport into each conf file.

My coin-qt program on my local machine recognizes that it has 1 connection to the network, but for some reason will not stop syncing, even though only the genesis block has been created. It still says out of sync. My server daemon is still syncing too.

When I call getwork, they both return values. Here is what is returned:

EDIT--
I went into main.h and changed the value of static const int CURRENT_VERSION from 6 to 1. This seems to have fixed the json problem. As far as the server, I simply had forgotten to open the rpc port and not just the port.

However, my client *coin-qt program continually says 'out of sync' and just says 'catching up. downloaded 0 blocks of transaction history. last block was 2 days ago.' That is the genesis block.

Since BlackCoin uses standard scrypt algorithm, I think minerd should be able to mine this coin. It seems to work alright but I get all 'boos' when mining.

Ok, something is very strange. On my local coin-qt, minerd is now working. I used this query: ./minerd --url=127.0.0.1:{{rpcport}} --userpass=user::{{pass}} -P -D --coinbase-addr={{mylocaladdress}} Everything is working and it is finding blocks. My node is picking up on these changes as well and it is syncing. However, I was getting all 'boos' in minerd, recompiled and it worked for some reason? So strange. I am going to recompile my node code now to see if it will work, since I am still getting rejects from it.
– Matthew DarnellJun 13 '14 at 18:25

1 Answer
1

Although this is rather old, I thought I should at least provide my knowledge on this - although it shows "0" blocks of transaction history, and continually states that it is catching up, it is however up to date - depending on the circumstances. First, you need to open "checkpoints.cpp" and remove all the checkpoints in the file (they'll be somewhere in the first 20 lines, it's fairly self explanatory), and create one checkpoint at 0 with the genesis block hash - the genesis block checkpoint. After you've done that, rebuild both clients, connect them, and instead of using minerd (or equivalent), instead use "setgenerate" through the console for at least 1 block. After that 1 block, you should be able to use minerd (or equivalent). Hope this helps for you