Pages:
Author

Topic: [ANN] Diamond DMD - new PoW/PoS coin | Super random blocks | Only 4.38 mil total - page 28. (Read 116368 times)

sr. member
Activity: 980
Merit: 255
HALA MADRID
good enough:) i'm still new to the mining world.
sr. member
Activity: 434
Merit: 250
I've got a card currently able to run 125 MH/s. it is worth trying to mine these?

Im assuming you mean 125Khash.. It wont be enough for solo mining, but pooled mining may be good enough, you can try any of the pools on the OP (first post).
All the hashrate seems to be on one pool, so i would consider spreading the other two

http://dmd.minar.cc (its mine.. but well..)
or RobRoy's: http://coinminer.net:8000/dmd/  (fairplay  Wink)



sr. member
Activity: 980
Merit: 255
HALA MADRID
I've got a card currently able to run 125 MH/s. it is worth trying to mine these?
hero member
Activity: 518
Merit: 500
newbie
Activity: 38
Merit: 0
You can download all files by pressing STRG+S or click on "File" | "Download" Wink

The following conf works for me:

listen=1
daemon=1
server=1
rpcuser=**Yourusername**
rpcpassword=**Yourpassword**
rpcport=17772
rpcconnect=127.0.0.1
addnode=27.3.56.138
addnode=84.237.202.34
addnode=121.206.245.183
addnode=70.98.114.237
addnode=97.89.174.206
addnode=109.60.104.146
addnode=113.240.74.168
addnode=93.96.132.70
addnode=183.167.26.115
addnode=71.187.248.95
addnode=82.4.104.203
addnode=113.240.74.168:17771
addnode=14.210.168.10:17771
addnode=219.90.173.102:52451
addnode=174.98.127.147
addnode=64.120.17.150
addnode=68.103.214.20

aaaaaand it works. Thanks a lot for your help Smiley
newbie
Activity: 59
Merit: 0
So these are the modified networks.py and helper.py files for p2pool. I am still having difficulty getting it to connect to the proper port. Maybe someone can take a look at it and see if I messed something up.

First is from p2pool\bitcoin\networks.py, this includes the modifications that treasureseeker recommended above.
Code:
    diamond=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'),
        P2P_PORT=17771,
        ADDRESS_VERSION=35,
        RPC_PORT=17772,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'diamondaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 1*10000000 >> (height + 1)//4204800,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=60, # s targetspacing
        SYMBOL='DMD',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'diamond') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/diamond/')  if platform.system() == 'Darwin' else os.path.expanduser('~/.diamond'), 'diamond.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://d.evco.in/abe/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://d.evco.in/abe/address/',
        SANE_TARGET_RANGE=(2**256//100000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
    ),

This is from \p2pool\networks.py
Code:
    diamond=math.Object(
        PARENT=networks.nets['diamond'],
        SHARE_PERIOD=30, # seconds target spacing
        CHAIN_LENGTH=24*60*60//10, # shares
        REAL_CHAIN_LENGTH=24*60*60//10, # shares
        TARGET_LOOKBEHIND=200, # shares coinbase maturity
        SPREAD=30, # blocks
        IDENTIFIER='6469616d6f6e6473'.decode('hex'),
        PREFIX='6269676d6f6e6579'.decode('hex'),
        P2P_PORT=17771,
        MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=17772,
        BOOTSTRAP_ADDRS='chncoin.no-ip.biz'.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-alt',
        VERSION_CHECK=lambda v: True,
),

And this is added to the helpers.py file

Code:
if 'lite' in net.NAME or 'feather' in net.NAME or 'chn' in net.NAME or 'franko' in net.NAME or 'diamond' in net.NAME:
newbie
Activity: 59
Merit: 0
Also can someone make a blockchain explorer?
newbie
Activity: 59
Merit: 0
Minar.cc Diamond DMD PPLNS Pool

I have setup a PPLNS Pool and its working fine, we have already found 6 blocks, 3 confirmed at the time of writing, so you are welcome to join and spread the network hashrate.

Please let me know if you find anything out of normal, comments and suggestions also welcome!

I have set pool fees to 1%, 60 block confirms for fast payouts, and only 0.001 DMD payout fee to pay the actual transaction fee.

dmd.minar.cc

Start your miner using the following parameters:
URL:stratum+tcp://dmd.minar.cc
PORT:3333
PORT:3333
USER:username.worker
PASS:workerPass
Sample command-line:
   ./cgminer -o stratum+tcp://dmd.minar.cc:3333 --scrypt -u username.worker -p workerPass


Nice... updated the OP.
sr. member
Activity: 434
Merit: 250
Minar.cc Diamond DMD PPLNS Pool

I have setup a PPLNS Pool and its working fine, we have already found 6 85 blocks, 3 80 confirmed at the time of writing, so you are welcome to join and spread the network hashrate.

Please let me know if you find anything out of normal, comments and suggestions also welcome!

I have set pool fees to 1%, 60 block confirms for fast payouts, and only 0.001 DMD payout fee to pay the actual transaction fee.

dmd.minar.cc

Start your miner using the following parameters:
URL:stratum+tcp://dmd.minar.cc
PORT:3333
USER:username.worker
PASS:workerPass
Sample command-line:
   ./cgminer -o stratum+tcp://dmd.minar.cc:3333 --scrypt -u username.worker -p workerPass
sr. member
Activity: 434
Merit: 250
So far this coin seems to be pretty good. The only issue is that so much of the hashpower is concentrated at one pool. I would like to set up a p2pool, but not quite sure where to start. Anyone care to point me in the right direction?
The thing im missing is how to calculate the subsidy function because of the random super blocks.. If you know that, i can make a p2pool node for Diamond coin.

Can you use the same function (GetProofOfWorkReward() or something similar from main.cpp) to calculate the payout? source code is available in github.

Ive tried, but i cannot recalculate the random number on the p2pool node side.. i wont be the same as the diamondd..

Anyone knows how to get the network hash rate with diamondd ? The RPC call should be "getnetworkhashps" but it isnt implemented.. (i think) "diamondd getmininginfo" gives "networkhashps"  Smiley
you need to have the previous block hash in order to calculate the random number correctly, part of which is used as the seed.

I spoke with treasureseeker, who had set up a p2pool for elephant which also includes bonus random blocks, and this is what he had to say:
Quote from: treasureseeker

Hello Isotastic,

Interestingly, if you  just tell P2Pool the correct basic "subsidy" (block payout), which, looking at the Diamond  announcement details is 1 Diamond per block, P2Pool will correctly share out bonus blocks when they occur (at least this is what is happening with Elephantcoin).

I'll just check the Diamondcoin source code.....oh, just noticed that Diamond includes has Proof of Stake...I've yet to get a P2Pool set up and looking correct with a Proof of Stake coin yet (despite trying) .

Anyway, you can try the following....this is what I would use for Diamond if it didn't have the proof of stake coding...the  SUBSIDY_FUNC part of / p2pool /bitcoin/ networks.py is the important part when it comes to block rewards, so for that I would use ....

        SUBSIDY_FUNC=lambda height: 1*100000000 >> (height + 1)//4204800,

This is a bit of a hack in Diamond's case, as unlike Elephantcoin for example, which gradually halves the rewards on a regular basis, Diamond seems to just stop after 8 years of steady 1 Diamond per block production.   The  SUBSIDY_FUNC line above assumes a halving after the 8 years, but seeing as nothing will be produced after the 8 years, your P2Pool will automatically just stop paying then as expected.

You'll need to also set other settings appropriately for Diamondcoin in /p2pool/bitcoin/networks.py, / p2pool/networks.py , and also add diamondcoin to helper.py.

Once you've got it all running, check that the "Current block value" (if you're using hardcpp's extended front end) is correctly showing "1".  If so, you should be fine, but I'd monitor the blocks and payouts at least to begin with, particularly because of the fact that Diamondcoin includes the Proof of Stake type of coding.  


So I was able to use narken's modified p2pool code, and add diamond to the networks.py (both the main p2pool folder and the bitcoin folder, and also to helper.py. Ill take a look at the subsidy function when I have some time and see if I am able to update it as well. If anyone would like the modified narken python scripts let me know and I can send them your way

Thats great!! Can you share your both networks.py ? the diamondcoin part
Thanks
newbie
Activity: 59
Merit: 0
So far this coin seems to be pretty good. The only issue is that so much of the hashpower is concentrated at one pool. I would like to set up a p2pool, but not quite sure where to start. Anyone care to point me in the right direction?
The thing im missing is how to calculate the subsidy function because of the random super blocks.. If you know that, i can make a p2pool node for Diamond coin.

Can you use the same function (GetProofOfWorkReward() or something similar from main.cpp) to calculate the payout? source code is available in github.

Ive tried, but i cannot recalculate the random number on the p2pool node side.. i wont be the same as the diamondd..

Anyone knows how to get the network hash rate with diamondd ? The RPC call should be "getnetworkhashps" but it isnt implemented.. (i think) "diamondd getmininginfo" gives "networkhashps"  Smiley
you need to have the previous block hash in order to calculate the random number correctly, part of which is used as the seed.

I spoke with treasureseeker, who had set up a p2pool for elephant which also includes bonus random blocks, and this is what he had to say:
Quote from: treasureseeker

Hello Isotastic,

Interestingly, if you  just tell P2Pool the correct basic "subsidy" (block payout), which, looking at the Diamond  announcement details is 1 Diamond per block, P2Pool will correctly share out bonus blocks when they occur (at least this is what is happening with Elephantcoin).

I'll just check the Diamondcoin source code.....oh, just noticed that Diamond includes has Proof of Stake...I've yet to get a P2Pool set up and looking correct with a Proof of Stake coin yet (despite trying) .

Anyway, you can try the following....this is what I would use for Diamond if it didn't have the proof of stake coding...the  SUBSIDY_FUNC part of / p2pool /bitcoin/ networks.py is the important part when it comes to block rewards, so for that I would use ....

        SUBSIDY_FUNC=lambda height: 1*100000000 >> (height + 1)//4204800,

This is a bit of a hack in Diamond's case, as unlike Elephantcoin for example, which gradually halves the rewards on a regular basis, Diamond seems to just stop after 8 years of steady 1 Diamond per block production.   The  SUBSIDY_FUNC line above assumes a halving after the 8 years, but seeing as nothing will be produced after the 8 years, your P2Pool will automatically just stop paying then as expected.

You'll need to also set other settings appropriately for Diamondcoin in /p2pool/bitcoin/networks.py, / p2pool/networks.py , and also add diamondcoin to helper.py.

Once you've got it all running, check that the "Current block value" (if you're using hardcpp's extended front end) is correctly showing "1".  If so, you should be fine, but I'd monitor the blocks and payouts at least to begin with, particularly because of the fact that Diamondcoin includes the Proof of Stake type of coding.  


So I was able to use narken's modified p2pool code, and add diamond to the networks.py (both the main p2pool folder and the bitcoin folder, and also to helper.py. Ill take a look at the subsidy function when I have some time and see if I am able to update it as well. If anyone would like the modified narken python scripts let me know and I can send them your way
hero member
Activity: 809
Merit: 1008
The mega wallet link is not working for me.

I never used GDrive before but the only way I could download the wallet was to manually download each file which is kind of tedious but hey, I might do something wrong.

Also, upon downloading the wallet it would report 0 connections (i.e. won't sinch for the last half hour). Any advice is more than welcomed ....

You can download all files by pressing STRG+S or click on "File" | "Download" Wink

The following conf works for me:

listen=1
daemon=1
server=1
rpcuser=**Yourusername**
rpcpassword=**Yourpassword**
rpcport=17772
rpcconnect=127.0.0.1
addnode=27.3.56.138
addnode=84.237.202.34
addnode=121.206.245.183
addnode=70.98.114.237
addnode=97.89.174.206
addnode=109.60.104.146
addnode=113.240.74.168
addnode=93.96.132.70
addnode=183.167.26.115
addnode=71.187.248.95
addnode=82.4.104.203
addnode=113.240.74.168:17771
addnode=14.210.168.10:17771
addnode=219.90.173.102:52451
addnode=174.98.127.147
addnode=64.120.17.150
addnode=68.103.214.20
newbie
Activity: 59
Merit: 0
The mega wallet link is not working for me.

I never used GDrive before but the only way I could download the wallet was to manually download each file which is kind of tedious but hey, I might do something wrong.

Also, upon downloading the wallet it would report 0 connections (i.e. won't sinch for the last half hour). Any advice is more than welcomed ....

Google drive allows you download individual files. For example, you can click on diamond-qt.exe, on the right most side, it will have an arrow, click on it, it gives you the "download" option for just the file you selected.

For connections, you may need to use addnode in the config file. Unfortunately I am currently at work, once I return home, I should be able to post my peer's addresses, and then you can use them for addnode in config file.
newbie
Activity: 38
Merit: 0
The mega wallet link is not working for me.

I never used GDrive before but the only way I could download the wallet was to manually download each file which is kind of tedious but hey, I might do something wrong.

Also, upon downloading the wallet it would report 0 connections (i.e. won't sinch for the last half hour). Any advice is more than welcomed ....
sr. member
Activity: 588
Merit: 250
So far this coin seems to be pretty good. The only issue is that so much of the hashpower is concentrated at one pool. I would like to set up a p2pool, but not quite sure where to start. Anyone care to point me in the right direction?
The thing im missing is how to calculate the subsidy function because of the random super blocks.. If you know that, i can make a p2pool node for Diamond coin.

Can you use the same function (GetProofOfWorkReward() or something similar from main.cpp) to calculate the payout? source code is available in github.

Ive tried, but i cannot recalculate the random number on the p2pool node side.. i wont be the same as the diamondd..

Anyone knows how to get the network hash rate with diamondd ? The RPC call should be "getnetworkhashps" but it isnt implemented.. (i think) "diamondd getmininginfo" gives "networkhashps"  Smiley
you need to have the previous block hash in order to calculate the random number correctly, part of which is used as the seed.
sr. member
Activity: 434
Merit: 250
So far this coin seems to be pretty good. The only issue is that so much of the hashpower is concentrated at one pool. I would like to set up a p2pool, but not quite sure where to start. Anyone care to point me in the right direction?
The thing im missing is how to calculate the subsidy function because of the random super blocks.. If you know that, i can make a p2pool node for Diamond coin.

Can you use the same function (GetProofOfWorkReward() or something similar from main.cpp) to calculate the payout? source code is available in github.

Ive tried, but i cannot recalculate the random number on the p2pool node side.. i wont be the same as the diamondd..

Anyone knows how to get the network hash rate with diamondd ? The RPC call should be "getnetworkhashps" but it isnt implemented.. (i think) "diamondd getmininginfo" gives "networkhashps"  Smiley
hero member
Activity: 1073
Merit: 666
looks like pow/pos and random block coin (this is the only one) may cause problems in block explorer and mining pool  Grin
hero member
Activity: 766
Merit: 621
Own ONION
So far this coin seems to be pretty good. The only issue is that so much of the hashpower is concentrated at one pool. I would like to set up a p2pool, but not quite sure where to start. Anyone care to point me in the right direction?
The thing im missing is how to calculate the subsidy function because of the random super blocks.. If you know that, i can make a p2pool node for Diamond coin.

Can you use the same function (GetProofOfWorkReward() or something similar from main.cpp) to calculate the payout? source code is available in github.
hero member
Activity: 532
Merit: 500
So far this coin seems to be pretty good. The only issue is that so much of the hashpower is concentrated at one pool. I would like to set up a p2pool, but not quite sure where to start. Anyone care to point me in the right direction?
The thing im missing is how to calculate the subsidy function because of the random super blocks.. If you know that, i can make a p2pool node for Diamond coin.
+1 i'm in on the pool also
Pages:
Jump to: