Bitcoin Forum
February 26, 2017, 10:42:33 AM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 ... 6329 »
  Print  
Author Topic: [ANN][DASH] Dash (dash.org) | First Self-Funding Self-Governing Crypto Currency  (Read 7567271 times)
megges
Sr. Member
****
Offline Offline

Activity: 344


View Profile
January 19, 2014, 04:04:04 PM
 #141

- Block reward controlled by moores law ( 1111 / (diff+1 ^ 2))

This is not working, right? I'm getting 500 coins as reward
see all function in source )))

Code:

 int64 static GetBlockValue(int nBits, int64 nFees)
{
    double dDiff =
        (double)0x0000ffff / (double)(nBits & 0x00ffffff);

    int64 nSubsidy = (1111 / (pow((dDiff+1),2)));
    if (nSubsidy > 500) nSubsidy = 500;
    if (nSubsidy < 1) nSubsidy = 1;
    nSubsidy *= COIN;

    return nSubsidy + nFees;
}

so i guess we have unlimited coins, dind't find your 84 mio max coins there !!!!!!!

Code:
static const int64 MAX_MONEY = 84000000 * COIN;
--> COINS that can be max in wallet/transaction - this has almost nothing to do with the cap, because the COIN cap is calculated from the blockvalue!!

Code:
if (txout.nValue > MAX_MONEY)
            return state.DoS(100, error("CTransaction::CheckTransaction() : txout.nValue too high"));

that checks transactions for MAX_MONEY but there isn't any check that prevents us from mining more than 84 mio coins !!


tip me! Tongue XtSrWch1U3BsTBFBHj7acTTzxFo1fy5BMa
1488105753
Hero Member
*
Offline Offline

Posts: 1488105753

View Profile Personal Message (Offline)

Ignore
1488105753
Reply with quote  #2

1488105753
Report to moderator
1488105753
Hero Member
*
Offline Offline

Posts: 1488105753

View Profile Personal Message (Offline)

Ignore
1488105753
Reply with quote  #2

1488105753
Report to moderator
1488105753
Hero Member
*
Offline Offline

Posts: 1488105753

View Profile Personal Message (Offline)

Ignore
1488105753
Reply with quote  #2

1488105753
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1488105753
Hero Member
*
Offline Offline

Posts: 1488105753

View Profile Personal Message (Offline)

Ignore
1488105753
Reply with quote  #2

1488105753
Report to moderator
kaene
Hero Member
*****
Offline Offline

Activity: 728



View Profile
January 19, 2014, 04:10:13 PM
 #142

Is it me or difficulty is stuck at 1.00 for the last 2 hours? The network is around 100Mh/s, and we are solving blocks faster than every 5 minutes, shouldn't diff be higher?

I notice this too.  Why isn't diff increasing?


- 5 minute block target
- 6 Confirms per transaction
- Difficulty re-targets every 60 minutes
- Block reward controlled by moores law ( 1111 / (diff+1 ^ 2))


It hasn't changed for the last 3-4 hours
xibeijan
Hero Member
*****
Offline Offline

Activity: 798


View Profile
January 19, 2014, 04:11:02 PM
 #143

- Block reward controlled by moores law ( 1111 / (diff+1 ^ 2))

This is not working, right? I'm getting 500 coins as reward
see all function in source )))

Code:

 int64 static GetBlockValue(int nBits, int64 nFees)
{
    double dDiff =
        (double)0x0000ffff / (double)(nBits & 0x00ffffff);

    int64 nSubsidy = (1111 / (pow((dDiff+1),2)));
    if (nSubsidy > 500) nSubsidy = 500;
    if (nSubsidy < 1) nSubsidy = 1;
    nSubsidy *= COIN;

    return nSubsidy + nFees;
}

so i guess we have unlimited coins, dind't find your 84 mio max coins there !!!!!!!

Code:
static const int64 MAX_MONEY = 84000000 * COIN;
--> COINS that can be max in wallet/transaction - this has almost nothing to do with the cap, because the COIN cap is calculated from the blockvalue!!

Code:
if (txout.nValue > MAX_MONEY)
            return state.DoS(100, error("CTransaction::CheckTransaction() : txout.nValue too high"));

that checks transactions for MAX_MONEY but there isn't any check that prevents us from mining more than 84 mio coins !!



face palm (in dev face)

XEL, ETH, Ardor, CLAM
amude888
Jr. Member
*
Offline Offline

Activity: 53


View Profile
January 19, 2014, 04:12:59 PM
 #144

vtc ....
xibeijan
Hero Member
*****
Offline Offline

Activity: 798


View Profile
January 19, 2014, 04:17:06 PM
 #145

OK... unlimited money supply. Sad

 Well done.

Switching to something else.

XEL, ETH, Ardor, CLAM
eduffield
Legendary
*
Offline Offline

Activity: 1162


Dash Developer


View Profile WWW
January 19, 2014, 04:17:48 PM
 #146

The Small Time Miner XCoin Pool
* http://xco.smalltimeminer.com
* Pplns Payouts. Full Block Rewards Rewards Including Tx Fees, 1% Pool Fee.
* Stratum Only: stratum+tcp://xco.smalltimeminer.com:3350

Pool should work, completely untested at this point, wasn't a miner available at the time and I won't even be able to test it myself for several hours, difficulty is still low so solo mining is probably the best option yet but its running if anyone wants to try it out.

Getting 100% rejects.

Thanks for checking it for me, I'll have to fix it later. Sorry folks.

I think I have it fixed now folks if anyone wants to try again. Thanks

Still reject. This is a CPU coin.


It's working for me! I added it to the list of pools.

jap1968
Sr. Member
****
Offline Offline

Activity: 276


View Profile
January 19, 2014, 04:21:45 PM
 #147

OK... unlimited money supply. Sad

 Well done.

Switching to something else.

You mean... mining has been useless so far?
xibeijan
Hero Member
*****
Offline Offline

Activity: 798


View Profile
January 19, 2014, 04:25:55 PM
 #148

OK... unlimited money supply. Sad

 Well done.

Switching to something else.

You mean... mining has been useless so far?

Pretty much.  How have you done?

XEL, ETH, Ardor, CLAM
drillbaby
Jr. Member
*
Offline Offline

Activity: 38


View Profile
January 19, 2014, 04:26:43 PM
 #149

OK... unlimited money supply. Sad

 Well done.

Switching to something else.

You mean... mining has been useless so far?
Almost. Seems like developer focused so much on the new algos that he forgot to set the coin properly  Undecided
A fork in the future might help ...
eduffield
Legendary
*
Offline Offline

Activity: 1162


Dash Developer


View Profile WWW
January 19, 2014, 04:27:54 PM
 #150

Is it me or difficulty is stuck at 1.00 for the last 2 hours? The network is around 100Mh/s, and we are solving blocks faster than every 5 minutes, shouldn't diff be higher?

I notice this too.  Why isn't diff increasing?


- 5 minute block target
- 6 Confirms per transaction
- Difficulty re-targets every 60 minutes
- Block reward controlled by moores law ( 1111 / (diff+1 ^ 2))


Opps, updated that. It's every 576.0 blocks.

xibeijan
Hero Member
*****
Offline Offline

Activity: 798


View Profile
January 19, 2014, 04:30:01 PM
 #151

OK... unlimited money supply. Sad

 Well done.

Switching to something else.

You mean... mining has been useless so far?
Almost. Seems like developer focused so much on the new algos that he forgot to set the coin properly  Undecided
A fork in the future might help ...

Nope, it's limited to 84 million.

Unfortunately, we don't see this in the code.

XEL, ETH, Ardor, CLAM
eduffield
Legendary
*
Offline Offline

Activity: 1162


Dash Developer


View Profile WWW
January 19, 2014, 04:36:27 PM
 #152

OK... unlimited money supply. Sad

 Well done.

Switching to something else.

You mean... mining has been useless so far?
Almost. Seems like developer focused so much on the new algos that he forgot to set the coin properly  Undecided
A fork in the future might help ...

Nope, it's limited to 84 million.

Unfortunately, we don't see this in the code.

I just saw that message. I'll fix that asap

jap1968
Sr. Member
****
Offline Offline

Activity: 276


View Profile
January 19, 2014, 04:48:42 PM
 #153

OK... unlimited money supply. Sad

 Well done.

Switching to something else.

You mean... mining has been useless so far?
Almost. Seems like developer focused so much on the new algos that he forgot to set the coin properly  Undecided
A fork in the future might help ...

Nope, it's limited to 84 million.

Unfortunately, we don't see this in the code.

I just saw that message. I'll fix that asap

Should we stop mining? Our already mined coins (90 so far in my case) will be valid after fixing the code?
drillbaby
Jr. Member
*
Offline Offline

Activity: 38


View Profile
January 19, 2014, 04:50:42 PM
 #154


Should we stop mining? Our already mined coins (90 so far in my case) will be valid after fixing the code?
The coins will be valid. Up to you weather keep mining or not.
jap1968
Sr. Member
****
Offline Offline

Activity: 276


View Profile
January 19, 2014, 04:53:00 PM
 #155

What happens with wallet mining? Does it work?

I have been mining with the wallet for about 5 hours, just after the coin was launched. Mined coins = 0.0

I have been mining on the only available mine so far (AFAIK) for less than two hours. Mined coins = 95

XCO: Xo2DMM2ET3PbtXDe49yo9mBUFChCVcQStP
Equate
Hero Member
*****
Offline Offline

Activity: 658


View Profile
January 19, 2014, 04:53:25 PM
 #156

any working  windows wallet ?
eduffield
Legendary
*
Offline Offline

Activity: 1162


Dash Developer


View Profile WWW
January 19, 2014, 04:59:26 PM
 #157

OK... unlimited money supply. Sad

 Well done.

Switching to something else.

You mean... mining has been useless so far?
Almost. Seems like developer focused so much on the new algos that he forgot to set the coin properly  Undecided
A fork in the future might help ...

Nope, it's limited to 84 million.

Unfortunately, we don't see this in the code.

I just saw that message. I'll fix that asap

Should we stop mining? Our already mined coins (90 so far in my case) will be valid after fixing the code?

No, you can keep mining. Everything will still be valid.

drillbaby
Jr. Member
*
Offline Offline

Activity: 38


View Profile
January 19, 2014, 04:59:59 PM
 #158

any working  windows wallet ?
There is a link somewhere in the thread (page 3 if I remember right).
Equate
Hero Member
*****
Offline Offline

Activity: 658


View Profile
January 19, 2014, 05:10:54 PM
 #159

any working  windows wallet ?
There is a link somewhere in the thread (page 3 if I remember right).

thanks , trying it now .
phm
Full Member
***
Offline Offline

Activity: 182


View Profile
January 19, 2014, 05:14:09 PM
 #160

Is it me or difficulty is stuck at 1.00 for the last 2 hours? The network is around 100Mh/s, and we are solving blocks faster than every 5 minutes, shouldn't diff be higher?

Yeah, it's been around 12 hours now and difficulty changed only few times. In the code there is:

static const int64 nTargetTimespan = 24 * 60 * 60; // Xcoin: 1 day
static const int64 nTargetSpacing = 2.5 * 60; // Xcoin: 2.5 minutes
static const int64 nInterval = nTargetTimespan / nTargetSpacing;

so interval between difficulty changes is 24 * 60 / 2.5 = 576 blocks. For me it looks like the target difficulty adjustment period is 1 day, not 1 hour.

My hobby: mining CPU-only coins with GPU
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 ... 6329 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!