Author

Topic: [ANN][DGC] Digitalcoin | Multi-algo & Masternodes | Established 2013 - page 171. (Read 523584 times)

legendary
Activity: 1270
Merit: 1000
p2pool\networks.py
Code:
       SPREAD=90, # blocks
        IDENTIFIER='7696CFD6441FB537'.decode('hex'),
        PREFIX='4C2530B5ED0E1EB5'.decode('hex'),
        P2P_PORT=23396,
        WORKER_PORT=8810

I can see that the published P2Pool code in post #1 has alternate values for the following :-

p2pool/network.py
Code:
       SPREAD=72, # blocks
        IDENTIFIER='a5aed03050126d6d'.decode('hex'),
        PREFIX='b6c0601991aa19a3'.decode('hex'),
        P2P_PORT=25396,
        WORKER_PORT=25397,

Would you be able to let us know why you chose those values?  At least that way we can all come to a consensus P2Pool.

I chose SPREAD=90 since from research on the forum I found that this is suppose to be based on the block target time of the altcoin.

bitcoin SPREAD=3 block every 600 seconds           Baseline
litecoin SPREAD=12 block every 150 seconds         600/150=4       4x3=12
bbqcoin SPREAD=30 block every 60 seconds          600/60=10       10x3=30
digitalcoin SPREAD=90 block every 20 seconds       600/20=30       30x3=90

Please correct me if this is wrong!

IDENTIFIER, PREFIX and P2P_PORT are random but have to match from pool to pool to successfully connect. Again, got this from researching on the forum so please let me know if you find something to the contrary. Also, not sure if my values are valid since I just used random 19 digit numbers and converted them to hex.

WORKER_PORT is the port miners will connect to. This can be unique for each pool.
legendary
Activity: 966
Merit: 1052
Any idea how many coins mined so far and how many coins will we have after 1 year?


I also made a program to simulate DGC creation.

You can see the results here:

https://bitcointalksearch.org/topic/m.2333025
hero member
Activity: 1395
Merit: 505
Any idea how many coins mined so far and how many coins will we have after 1 year?


1.5 million in circulation
approximately 86,400 are being produced each day
approximately 31.5 million will be produced in the first year
legendary
Activity: 980
Merit: 1000
thanks fenican and nearmiss for answering my question!~

I honestly thought that there was a penalty for turning the miner off intermittently, and that dedicated miners got a boost for some reason.

If it all evens out in the end, then the kind of sharing system shouldn't matter. I guess i wasn't taking into account the gradual rise in my payments on a PPLNS system juxtaposed against the slow decline of steady payments after i'd already stopped mining.

If it's all just luck then i understand not being terribly lucky, but i'll stick with fenican's pool, as i've had the best results there, it's just great to know that i can bust some headshots turning the miner off for a few hours, without stressing that it was the cause of messing up my rewards.

cheers! and i'll toss you each a couple DGC if you leave an address Smiley
sr. member
Activity: 336
Merit: 250
Have the P2pools started networking with each other?

No!


All P2Pools have to be using the same codebase or the P2Pool will be fragmented.  Which is what has happened
since inception.  

The codebase in the first post can be used.  Maybe a stronger push in that direction would help.

This DigitalCoin cryptocurrency has MASSIVE potential  ( mainly due to an outstanding developer 'Baritus' ) but we have to all work together.  Then WE WILL ALL prosper ;o)

^this

The P2Pools should decide on using the same code. I have come up with my own since orphans were so large with the one on the first post. Don't know if it would work any better since no other P2Pool are connected to mine.

So far I have has 0 orphans in the last 11 hours. Stats: http://dgc.xpool.net:8810

Here is the code I'm using if anyone is interested in connecting:

p2pool\networks.py
Code:
   digitalcoin=math.Object(
        PARENT=networks.nets['digitalcoin'],
        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=90, # blocks
        IDENTIFIER='7696CFD6441FB537'.decode('hex'),
        PREFIX='4C2530B5ED0E1EB5'.decode('hex'),
        P2P_PORT=23396,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=8810,
        BOOTSTRAP_ADDRS='dgc.xpool.net'.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-alt',
        VERSION_CHECK=lambda v: True,
    ),

p2pool\bitcoin\networks.py
Code:
   digitalcoin=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'),
        P2P_PORT=7999,
        ADDRESS_VERSION=30,
        RPC_PORT=7998,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'digitalcoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 1*10000000 >> (height + 1)//1080000,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=30, # s targetspacing
        SYMBOL='DGC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'digitalcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/digitalcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.digitalcoin'), 'digitalcoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://dgc.p2pool.nl/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://dgc.p2pool.nl/address/',
        SANE_TARGET_RANGE=(2**256//100000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
    ),

p2pool\bitcoin\helper.py
Code:
     if 'lite' in net.NAME or 'feather' in net.NAME or 'chn' in net.NAME or 'franko' in net.NAME or 'digital' in net.NAME:

Remember to DELETE (or rename) the digitalcoin folder in the data directory with code changes!
Path(or something similar): p2pool-11.4\data\digitalcoin

Shoot me a message if you try to connect.


Great!  Thank you for taking the initiative to start things rolling along the lines of a truly decentralized mining pool.
P2Pool is required because as DigitalCoin's profile increases, those amongst the cryptocurrency community that choose to deny pool services to others
via DDOS might attack centralized pools.  Without the decentralisation Digitalcoin will hit inertia quite quickly.

I can see that the published P2Pool code in post #1 has alternate values for the following :-

p2pool/network.py
Code:
SPREAD=72, # blocks
IDENTIFIER='a5aed03050126d6d'.decode('hex'),
PREFIX='b6c0601991aa19a3'.decode('hex'),
P2P_PORT=25396,
WORKER_PORT=25397,


Would you be able to let us know why you chose those values?  At least that way we can all come to a consensus P2Pool.









legendary
Activity: 966
Merit: 1052
Is it just me or is this coin greatly undervalued?

It seems the market believes it's not just you.
full member
Activity: 128
Merit: 100
Any idea why I'm only getting payments of +/- 0.001 while mining P2pool?

The graph says I should be paid 5.0 DGC, yet the only time I'm getting that much payment is when I'm the one who finds the block.

Guess I'll switch to solo mining and see if it pays better. 50 DGC in 24+ hours of mining doesn't seem very worthwhile IMO.
full member
Activity: 383
Merit: 100
Is it just me or is this coin greatly undervalued?
legendary
Activity: 1023
Merit: 1001
Tokenize Fantasy Sports
its been running in vardiff mode, and has my 1-7950 running at diff 750 something...shouldn't it drop this down to 60 or so?  i'll let it run, but i really have no way of telling what's going on with p2p, but it seems i am missing out on lots of work, because i have a ton of work restarts,new block founds, and I get like 2-3 accepts in a minute or so.  I'm use to this for LTC vardiff, but shouldn't i be producing work on each block?
legendary
Activity: 1023
Merit: 1001
Tokenize Fantasy Sports
just seems if I leave it off, it's not sending many "accepts"  Fenican, any best practice here, let the pool vardiff me, or should i use .0018 for my 1800, and +0.0006 for my 600?
legendary
Activity: 1270
Merit: 1000
What does the .0025 do on this?

YOURDGCADDRESS+0.0025

It tells the pool you want to set your miner difficulty at a certain rate.
For more info look under the Variable Difficulty section here: https://bitcointalksearch.org/topic/anndgcwdccrccscp2pool-xpoolnet-217139

I would recommend you leave it off but see what works best for you. I have seen conflicting posts on the results.

Kh/s        Difficulty         Result
1           +0.00000116
5           +0.00000582
10          +0.00001164
50          +0.00005821
100         +0.00011641
250         +0.00029103
500         +0.00058207
750         +0.00087310
1000        +0.00116414
1600        +0.001862624        122
legendary
Activity: 1270
Merit: 1000
Have the P2pools started networking with each other?

No!


All P2Pools have to be using the same codebase or the P2Pool will be fragmented.  Which is what has happened
since inception.  

The codebase in the first post can be used.  Maybe a stronger push in that direction would help.

This DigitalCoin cryptocurrency has MASSIVE potential  ( mainly due to an outstanding developer 'Baritus' ) but we have to all work together.  Then WE WILL ALL prosper ;o)

^this

The P2Pools should decide on using the same code. I have come up with my own since orphans were so large with the one on the first post. Don't know if it would work any better since no other P2Pool are connected to mine.

So far I have has 0 orphans in the last 11 hours. Stats: http://dgc.xpool.net:8810

Here is the code I'm using if anyone is interested in connecting:

p2pool\networks.py
Code:
    digitalcoin=math.Object(
        PARENT=networks.nets['digitalcoin'],
        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=90, # blocks
        IDENTIFIER='7696CFD6441FB537'.decode('hex'),
        PREFIX='4C2530B5ED0E1EB5'.decode('hex'),
        P2P_PORT=23396,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=8810,
        BOOTSTRAP_ADDRS='dgc.xpool.net'.split(' '),
        ANNOUNCE_CHANNEL='#digitalcoin',
        VERSION_CHECK=lambda v: True,
    ),
p2pool\bitcoin\networks.py
Code:
    digitalcoin=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'),
        P2P_PORT=7999,
        ADDRESS_VERSION=30,
        RPC_PORT=7998,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'digitalcoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 1*10000000 >> (height + 1)//1080000,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=30, # s targetspacing
        SYMBOL='DGC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'digitalcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/digitalcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.digitalcoin'), 'digitalcoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://dgc.cryptocoinexplorer.com/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://dgc.cryptocoinexplorer.com/address/',
        SANE_TARGET_RANGE=(2**256//100000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
    ),
p2pool\bitcoin\helper.py
Code:
     if 'lite' in net.NAME or 'feather' in net.NAME or 'chn' in net.NAME or 'franko' in net.NAME or 'digital' in net.NAME:

If you have a current p2pool please don't modify that one and change to this code. Instead, start a new p2pool and use a new WORKER_PORT (does not have to be 8810) otherwise you will get a bunch of orphans from your miners since they are submitting work based on different parameters. Not sure how long that will last. Perhaps until the miner reconnects or accepts the new settings. Either way it's not pretty.

All connecting P2Pools must have the same parameters.
Path(or something similar): p2pool-11.4\data\digitalcoin

Shoot me a message if you try to connect.
legendary
Activity: 1023
Merit: 1001
Tokenize Fantasy Sports
i have a rig with 3 7950's and one with 1 7950, use the same number, confused, normally i just use address without the +
hero member
Activity: 1395
Merit: 505
What does the .0025 do on this?

YOURDGCADDRESS+0.0025

This requests that the P2Pool send you work to solve at a difficulty of .0025.  Optional.  Can reduce the number of stales and orphans for your local submissions

.0025 is good for a 7970 may want to reduce that to .00125 or lower for a lesser GPU
legendary
Activity: 1023
Merit: 1001
Tokenize Fantasy Sports
What does the .0025 do on this?

YOURDGCADDRESS+0.0025
hero member
Activity: 532
Merit: 500
What I think we now desperately need is escrow service with a reliable owner, like maybe DGC dev team themselves.
Any plans on that?

DudeIamI made one that works well.

the link?
What is the link
sr. member
Activity: 336
Merit: 250
Have the P2pools started networking with each other?

No!


All P2Pools have to be using the same codebase or the P2Pool will be fragmented.  Which is what has happened
since inception. 

The codebase in the first post can be used.  Maybe a stronger push in that direction would help.

This DigitalCoin cryptocurrency has MASSIVE potential  ( mainly due to an outstanding developer 'Baritus' ) but we have to all work together.  Then WE WILL ALL prosper ;o)


full member
Activity: 122
Merit: 100
What I think we now desperately need is escrow service with a reliable owner, like maybe DGC dev team themselves.
Any plans on that?

DudeIamI made one that works well.

the link?
sr. member
Activity: 266
Merit: 250
aka 7Strykes
What I think we now desperately need is escrow service with a reliable owner, like maybe DGC dev team themselves.
Any plans on that?

DudeIamI made one that works well.
full member
Activity: 122
Merit: 100
What I think we now desperately need is escrow service with a reliable owner, like maybe DGC dev team themselves.
Any plans on that?
Jump to: