Bitcoin Forum
June 15, 2024, 02:11:37 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Thinking of forking yacoin  (Read 700 times)
theblazehen (OP)
Full Member
***
Offline Offline

Activity: 194
Merit: 100



View Profile
June 16, 2013, 04:12:20 PM
 #1

I'm planning on having a high N-factor at the start, such as 22. This will use 1GB per thread

What do you think of that amount?

I think I found all the relevant code
Code:
unsigned char GetNfactor(int64 nTimestamp) {
    int l = 0;

    if (nTimestamp <= nChainStartTime)
        return 4;

    int64 s = nTimestamp - nChainStartTime;
    while ((s >> 1) > 3) {
      l += 1;
      s >>= 1;
    }

    s &= 3;

    int n = (l * 170 + s * 25 - 2320) / 100;

    if (n < 0) n = 0;

    if (n > 255)
        printf( "GetNfactor(%lld) - something wrong(n == %d)\n", nTimestamp, n );

    unsigned char N = (unsigned char) n;
    //printf("GetNfactor: %d -> %d %d : %d / %d\n", nTimestamp - nChainStartTime, l, s, n, min(max(N, minNfactor), maxNfactor));

    return min(max(N, minNfactor), maxNfactor);
}

Is the return 4 all I need to change?


BURST: BURST-ZRT2-GB5S-A6CS-HBVAE
amytheplanarshift
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500


View Profile
June 16, 2013, 04:18:09 PM
 #2

Please spare us from another useless fork.

http://nem.io/
XEM: NBT6RQ-B2K3DN-EB3BDF-TUE3FT-SBDCJJ-L4PCX5-GKL6
barwizi
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
June 16, 2013, 04:26:43 PM
 #3

modifying code is ok i guess but the main issue that is rendering all our efforts is that all these alts we've made are not getting any exposure and use in the real world. Maybe if you pick up an existing coin and try push it to the forefront and make it popular like bitcoin, that will increase it's value and uses. ergo you benefit big time... if we hadn't traded in our LTC for useless alts, it wouldn't be plunging like this.
fendlestick
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500



View Profile
June 16, 2013, 05:23:48 PM
 #4

I agree, put your efforts into doing something using the existing coins, see sig for examples.

20% OFF All Bondage - www.cryptosextoys.com
Affiliates Get 10% - Join
digitalindustry
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


‘Try to be nice’


View Profile WWW
June 16, 2013, 05:40:40 PM
 #5

thinking of forking Yamum !

: D






sorry.

- Twitter @Kolin_Quark
digitalindustry
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


‘Try to be nice’


View Profile WWW
June 16, 2013, 05:47:02 PM
 #6

i'm sorry but , was that just post of the year ?

ha ha ha ! - if not i want to see evidence ha ha ha !

lol - crying here sorry - i'm 10 years old. i'm using my mums computer - her boyfriends aren't home . ha ha .


{is this why nibble can't have nice things ? }

ha ha .

- Twitter @Kolin_Quark
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!