• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

v0.10.6.x RC2 Testing With Pool Support

Status
Not open for further replies.

eduffield

Core Developer
Stratum has been patched and pools are now supported by RC2. If you run a pool you must apply the patch and test that it works with your environment. Do this on testnet, not on production. This is just a test to make sure the fork will work.

Sadly p2pool was not able to be patched for RC2, so we'll have to move from p2pool until a patch can be made later.

Notes about the new stratum:

This code includes the following changes and improvements:
  • Masternode voting system embedded into the blockchain to form a network consensus of who should be paid and payment code
  • DGW3 - fixes all issues with various architectures, removed exponential moving average. Much smoother adjustments
  • pchMessageStart updated to it's own unique value (it was set to litecoin still)
Links:


Add this to your config!
delete ~/.darkcoin/testnet3
addnode=23.23.186.131
testnet=1

Join IRC #darkcoin-test at freenode
 
Last edited by a moderator:
using darkcon-stratum with db NONE, got a block.
Code:
2014-05-01 05:03:08,443 INFO template_registry # We found a block candidate! 00000002a64d4f00c84e1af449790528b2d62997388ef103547480512ee95715
2014-05-01 05:03:08,443 DEBUG bitcoin_rpc # Submitting Block with submitblock: attempt #1
2014-05-01 05:03:08,443 DEBUG bitcoin_rpc # ['02000000305a2fe91b3779f0570b39fa39598cdb8f4bbb306e55909e5fa581380600000066f3335338ceba8ad7cbe546991172c5076d756785250db2c6d1bc6445dfe456d4566153b498081d562a70000101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff25016e062f503253482f04d456615308f8000001480000000d2f7374726174756d506f6f6c2f000000000100743ba40b0000001976a9141e7fc5c41408231aab222e12b45da2d64ab3212d88ac0000000000']
2014-05-01 05:03:08,444 DEBUG interfaces # b0fd30646c9ffaa7d468f9c17f9c24b70b975d4aad10e7bf99612b7963befea8 (0) valid miXsn1Q7PgkMLGcPm6fsFFrubBgyEwRUde.1
2014-05-01 05:03:08,545 DEBUG bitcoin_rpc # SUBMITBLOCK RESULT: {"result":null,"error":null,"id":"1"}
2014-05-01 05:03:08,545 INFO bitcoin_rpc # CHECKING FOR BLOCK AFTER SUBMITBLOCK
2014-05-01 05:03:08,546 DEBUG block_template # Got To  Block_template.py



e@e-H87-HD3:~/.darkcoin$ ./darkcoind-pool listtransactions
[
    {
        "account" : "test",
        "address" : "miJDdbiufg6SnfMogqz3J3BfKejbJQxfDv",
        "category" : "immature",
        "amount" : 500.00000000,
        "confirmations" : 2,
        "generated" : true,
        "blockhash" : "00000002a64d4f00c84e1af449790528b2d62997388ef103547480512ee95715",
        "blockindex" : 0,
        "blocktime" : 1398888148,
        "txid" : "56e4df4564bcd1c6b20d258567756d07c572119946e5cbd78abace385333f366",
        "time" : 1398888148,
        "timereceived" : 1398888188
    }
]
 
Got the genesis block ;)... actually, not not as masternode, brb...

Ok, so as instructed, I stopped darkcoind, deleted testnet3, fired it up again. Its been 20 minutes, ideas?

Code:
root@ip-172-31-49-55:~# darkcoind getmininginfo
{
    "blocks" : 0,
    "currentblocksize" : 0,
    "currentblocktx" : 0,
    "difficulty" : 0.00024414,
    "errors" : "",
    "generate" : false,
    "genproclimit" : -1,
    "hashespersec" : 0,
    "networkhashps" : 0,
    "pooledtx" : 0,
    "testnet" : true
}
 
Last edited by a moderator:
Got the genesis block ;)... actually, not not as masternode, brb...
Ok, so as instructed, I stopped darkcoind, deleted testnet3, fired it up again. Its been 20 minutes, ideas?
[/CODE]

I think your node banned form 23.23.186.131.

add more nodes(my testnet node), and restart darkcoind
Code:
addnode=54.238.156.138
addnode=54.215.215.6
 
Bingo. Why would I be banned off that ip?
anyway... Block explorer says we're on block 145

Code:
root@ip-172-31-55-12:~# darkcoind getmininginfo
{
    "blocks" : 1241,
    "currentblocksize" : 0,
    "currentblocktx" : 0,
    "difficulty" : 0.28955635,
    "errors" : "",
    "generate" : false,
    "genproclimit" : -1,
    "hashespersec" : 0,
    "networkhashps" : 7678638,
    "pooledtx" : 0,
    "testnet" : true
}

How come I'm on 1241?
 
Bingo. Why would I be banned off that ip?
anyway... Block explorer says we're on block 145

Code:
root@ip-172-31-55-12:~# darkcoind getmininginfo
{
    "blocks" : 1241,
    "currentblocksize" : 0,
    "currentblocktx" : 0,
    "difficulty" : 0.28955635,
    "errors" : "",
    "generate" : false,
    "genproclimit" : -1,
    "hashespersec" : 0,
    "networkhashps" : 7678638,
    "pooledtx" : 0,
    "testnet" : true
}


How come I'm on 1241?

Stop darkcoind. delete ~/.darkcoin/testnet3
redownload darkcoind RC2.

Check block height(no) http://23.23.186.131:1234/chain/DarkCoin

Still ? !!

Then change public ip.
 
When mining on localhost against DarkcoinD network diff is setting to 0.

Code:
./darkcoind getinfo
{
    "version" : 100601,
    "protocolversion" : 70014,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 150,
    "timeoffset" : 0,
    "connections" : 1,
    "proxy" : "",
    "difficulty" : 0.26205405,
    "testnet" : true,
    "keypoololdest" : 1398892593,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
}
 
When mining on localhost against DarkcoinD network diff is setting to 0.
"difficulty" : 0.26205405,

That's miner display glitch.
Code:
Connected to Pool 0 (stratum) diff 0.010 as user miXsn1Q7PgkMLGcPm6fsFFrubBgyEwRUde.1
Block: 17b93f12...  Diff:0  Started: [06:35:00]  Best share: 1.998

[06:34:38] Network diff set to 0
 
if you get stucked on "blocks : 0" ---> your ip address get banned from seed node.
if you have "blocks : 1241" or more --> your node is on old testnet. your ip address get banned from seed node.

Simple and fast solution :
stop darkcoin
delete ~/.darkcoin/testnet3
Download one of


1) Change public ip address
or
2) stop darkcoind and wait 24 hours(as far as i know, ban will last 24 hours)
 
Last edited by a moderator:
Ok, so i'm mining on the pool, but at the difficulty we've got, I'll not see any coins for a while, LOL. Can anyone kindly send me 1000 for a masternode?
mu32rdU2bg75RbJ8mTK2gYT4fW7K812FcH

Also, should i darksend people coins? Or are we just trying to set the system up at this time?
 
Ok, so i'm mining on the pool, but at the difficulty we've got, I'll not see any coins for a while, LOL. Can anyone kindly send me 1000 for a masternode?
mu32rdU2bg75RbJ8mTK2gYT4fW7K812FcH

Also, should i darksend people coins? Or are we just trying to set the system up at this time?
sent
 
Status
Not open for further replies.
Back
Top