*p2pool
Here is a patch to get a public thepandacoin p2pool node, this patch applies to the original vertcoin p2pool code (git clone git://github.com/donSchoe/p2pool-vtc).
You may setup your own p2pool node. You will get a low latency, low dead on arrival stratum server, and no fees....
p2pool
diff -r -u /dosr/src/p2pool-vtccoins-20140217/p2pool/bitcoin/networks.py p2pool-vtccoins-20140217/p2pool/bitcoin/networks.py
--- /dosr/src/p2pool-vtccoins-20140127/p2pool/bitcoin/networks.py 2014-02-15 15:45:28.000000000 +0100
+++ p2pool-vtccoins-20140127/p2pool/bitcoin/networks.py 2014-02-17 19:02:53.000000000 +0100
@@ -252,6 +252,29 @@
DUMB_SCRYPT_DIFF=2**16,
DUST_THRESHOLD=0.03e8,
),
+
+ thepandacoin=math.Object(
+ P2P_PREFIX='fabfb5da'.decode('hex'),
+ P2P_PORT=8889,
+ ADDRESS_VERSION=56,
+ RPC_PORT=5888,
+ RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
+ 'thepandacoinaddress' in (yield bitcoind.rpc_help()) and
+ not (yield bitcoind.rpc_getinfo())['testnet']
+ )),
+ SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//840000,
+ POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('vtc_scrypt').getPoWHash(data)),
+ BLOCK_PERIOD=150, # s
+ SYMBOL='PANDA',
+ CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Thepandacoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Thepandacoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.thepandacoin'), 'thepandacoin.conf'),
+ BLOCK_EXPLORER_URL_PREFIX='
http://explorer.thepandacoin.org/block/',
+ ADDRESS_EXPLORER_URL_PREFIX='
http://explorer.thepandacoin.org/address/',
+ TX_EXPLORER_URL_PREFIX='
http://explorer.thepandacoin.org/tx/',
+ SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
+ DUMB_SCRYPT_DIFF=2**16,
+ DUST_THRESHOLD=0.03e8,
+ ),
+
)
for net_name, net in nets.iteritems():
net.NAME = net_name
diff -r -u /dosr/src/p2pool-vtccoins-20140127/p2pool/networks.py p2pool-vtccoins-20140127/p2pool/networks.py
--- /dosr/src/p2pool-vtccoins-20140127/p2pool/networks.py 2014-02-16 11:28:40.000000000 +0100
+++ p2pool-vtccoins-20140127/p2pool/networks.py 2014-02-17 19:06:12.000000000 +0100
@@ -160,6 +160,26 @@
ANNOUNCE_CHANNEL='#cachecoin-bots',
VERSION_CHECK=lambda v: True,
),
+
+ thepandacoin=math.Object(
+ PARENT=networks.nets['thepandacoin'],
+ SHARE_PERIOD=15, # seconds
+ CHAIN_LENGTH=1*60*60//10, # shares
+ REAL_CHAIN_LENGTH=1*60*60//10, # shares
+ TARGET_LOOKBEHIND=200, # shares
+ SPREAD=12, # blocks
+ IDENTIFIER='a06a81c827ca8129'.decode('hex'),
+ PREFIX='7c3614a6bcdc4192'.decode('hex'),
+ P2P_PORT=18187,
+ MIN_TARGET=4,
+ MAX_TARGET=2**256//2**20 - 1,
+ PERSIST=False,
+ WORKER_PORT=8169,
+ BOOTSTRAP_ADDRS='rock.awiki.org wolf.awiki.org'.split(' '),
+ ANNOUNCE_CHANNEL='#p2pool-vtc',
+ VERSION_CHECK=lambda v: True,
+ ),
+
)
for net_name, net in nets.iteritems():
net.NAME = net_name
Good, I switch to p2pool, as soon as my config is operational.