Post
Topic
Board Announcements (Altcoins)
Re: [ANN][DRK] DarkCoin | First Anonymous Coin | First X11 | First DGW | Fork for Masternode Payment
by
dotnetmin
on 01/07/2014, 08:18:08 UTC
Code:
user@sv:~/doubleshot> grep Xrr9QM87kBrkns5LPF4FMyNBiu8Syc6ZAe getblocktemplate/*
getblocktemplate/92938.txt:{"masternode_payments": true, "coinbaseaux": {"flags": "062f503253482f"}, "votes": [], "previousblockhash": "0000000000017494e6c1652d6c594d0c09416b9161278c99c33cc754160cb86b", "target": "00000000000a9f0c000000000000000000000000000000000000000000000000", "noncerange": "00000000ffffffff", "transactions": [{"hash": "6f64c89ecf62cfdaaa8329315355d89420b17602aa85262b235a70a50aba3533", "depends": [], "fee": 0, "data": "01000000011cf96a28f489636a3e015fd633abfbb1b0e09f9237bedbce54661a1119390db8000000006b48304502204e078c5ccb18842438f68d33a5ee602f900e0f4f772d462d17cc38f58a1e1775022100e16bbc033a70bc122a8a7ee86fae3abd6fb2a40693a427e7c532ca809e410b97012103a254d948ff70bbf19f7e7dd97001f11e3ae4869eae015b537f687d16bcb1d2abffffffff010065cd1d000000001976a91406fe1565a94d0691e74e34350f91b3be4959e71288ac00000000", "sigops": 1}], "mintime": 1403929596, "sigoplimit": 20000, "curtime": 1403931067, "height": 92938, "payee": "Xrr9QM87kBrkns5LPF4FMyNBiu8Syc6ZAe", "version": 2, "coinbasevalue": 500000000, "sizelimit": 1000000, "enforce_masternode_payments": false, "mutable": ["time", "transactions", "prevblock"], "bits": "1b0a9f0c"}

How did you dump all getblocktemplate's for all blocks?


Use command option blocknotify.
Code:
# darkcoin.conf
blocknotify=/home/user/scripts/blocks.py



Works for new blocks, but not historical blocks. Any ideas?
Deleted directories blocks and chainstate expecting blocknotify invocation for all historical blocks. No joy.



could you please explain how this works and how to do to get these results ?

blocks.py is a script that runs when a new block is found ?
What to put into this script ?

Waiting now for more than 96h without a payment so it would be nice to know get voted but only issue pool is not paying