https://github.com/darkcoinproject/darkcoin/blob/master/src/protocol.cpp#L16-L27// The message start string is designed to be unlikely to occur in normal data.
// The characters are rarely used upper ascii, not valid as UTF-8, and produce
// a large 4-byte int at any alignment.
// Public testnet message start
static unsigned char pchMessageStartTestOld[4] = { 0xfc, 0xc1, 0xb7, 0xdc };
static unsigned char pchMessageStartTestNew[4] = { 0xce, 0xe2, 0xca, 0xff };
static unsigned int nMessageStartTestSwitchTime = 1398869551+(60*5);
// Darkcoin message start (switch from Litecoin's)
static unsigned char pchMessageStartLitecoin[4] = { 0xfb, 0xc0, 0xb6, 0xdb };
static unsigned char pchMessageStartDarkcoin[4] = { 0xbf, 0x0c, 0x6b, 0xbd };
static unsigned int nMessageStartSwitchTime = 1400094580;/Wed, 14 May 2014 19:09:40 GMT
p2pool need hard fork.
As pchMessage switched, p2pool-drk need to change P2P_PREFIX of bitcoin/networks.py at 1400094580;/Wed, 14 May 2014 19:09:40 GMT.
https://github.com/chaeplin/p2pool-drk/commit/3ffb8c55da6702cc0522f4d925ce13c03a7f45fehttps://github.com/chaeplin/p2pool-drk/commit/c27ef50ad6c2f68d224e92fd1077082269629115https://github.com/chaeplin/p2pool-drk/blob/master/p2pool/bitcoin/networks.py#L23
from
P2P_PREFIX='fbc0b6db'.decode('hex'),
to
P2P_PREFIX='bf0c6bbd'.decode('hex'),
https://github.com/chaeplin/p2pool-drk/blob/master/p2pool/bitcoin/networks.py#L46
from
P2P_PREFIX='fcc1b7dc'.decode('hex'),
to
P2P_PREFIX='cee2caff'.decode('hex'),
How to update.
1) git pull
https://github.com/chaeplin/p2pool-drk2) at 1400094580;/Wed, 14 May 2014 19:09:40 GMT
- stop p2pool-drk
- remove data/darkcoin ( rm -rf data/darkcoin )
3) run p2pool-drk
(sad, Masternode payment is not patched yet)