Author

Topic: Experienced Developer with POS and hardfork chain fixing needed ASAP (Read 757 times)

legendary
Activity: 1162
Merit: 1000
Decentralizing Jesus on the Blockchain
hello guys i would appreciate if you post your EOC wallet addresses in the main thread of EOC community has some gift for you guys for your assistance.
i am sending individual PM to you guys as well with regards to same request.

main thread https://bitcointalksearch.org/topic/m.11993437

thanks,
legendary
Activity: 1162
Merit: 1000
Decentralizing Jesus on the Blockchain
thanks guys for all your efforts we are gathering our tools and coming back to the right chain and once things will be sorted out and confirmed by community i would request you to send us your EOC addresses in order to send you bounties (gifts Smiley for your support. further details you can see here in the main thread.

https://bitcointalksearch.org/topic/m.11993437


once again a huge thanks to Limar, Muddafudda, Physcodad, barrysty1e for their efforts
full member
Activity: 336
Merit: 100
Hello Everyone,

I would like to thank MuddaFudda for giving me the solution to the fix and I have made the changes to the code now with those changes.  I however haven't had the time to get around to compiling new wallets yet for the coin and if anyone can do that feel free to do so and share them with the community.

Thanks,
Have a Great Day
EinaiOraCoinDev
legendary
Activity: 1612
Merit: 1608
精神分析的爸
Quote
main.cpp: In function 'unsigned int GetNextTargetRequired(const CBlockIndex*, bool)':
main.cpp:1139:2: error: 'int64' was not declared in this scope
main.cpp:1139:8: error: expected ';' before 'nCheckTime'
main.cpp:1140:6: error: 'nCheckTime' was not declared in this scope
main.cpp:1143:26: error: 'nActualSpacing' was not declared in this scope
main.cpp:1152:50: error: 'nActualSpacing' was not declared in this scope
make: *** [obj/main.o] Error 1
First line from muddafudda's proposed change is missing in the commit and int64 needs to be int64_t, then it should compile.
legendary
Activity: 1162
Merit: 1000
Decentralizing Jesus on the Blockchain
seem there was a commit 3days back on github but when compile on linux getting following error


main.cpp: In function 'unsigned int GetNextTargetRequired(const CBlockIndex*, bool)':
main.cpp:1139:2: error: 'int64' was not declared in this scope
main.cpp:1139:8: error: expected ';' before 'nCheckTime'
main.cpp:1140:6: error: 'nCheckTime' was not declared in this scope
main.cpp:1143:26: error: 'nActualSpacing' was not declared in this scope
main.cpp:1152:50: error: 'nActualSpacing' was not declared in this scope
make: *** [obj/main.o] Error 1
legendary
Activity: 1612
Merit: 1608
精神分析的爸
Much appreciated muddafudda, can confirm your proposed fix seems to work:

{  
    "version" : "nvc-v1.1.1.build-g32a928e-bdb-gcc",
    "protocolversion" : 70018,
    "walletversion" : 60000,
    "balance" : X,
    "unspendable" : 0.00000000,
    "newmint" : 9.00000000,
    "stake" : 0.00000000,
    "blocks" : 20991,
    "timeoffset" : 0,
    "moneysupply" : 1258153.89093600,
    "connections" : 0,
    "proxy" : "",
    "ip" : "x.x.x.x",
    "difficulty" : {
        "proof-of-work" : 0.00025390,
        "proof-of-stake" : 0.03124954
    },
    "testnet" : false,
    "keypoololdest" : 1434032778,
    "keypoolsize" : 101,
    "paytxfee" : 0.00010000,
    "mininput" : 0.00010000,
    "errors" : ""
}

member
Activity: 84
Merit: 10
seem despite of all efforts dev is not entertaining any of efforts, muddafudda thanks for your reply here though
legendary
Activity: 1008
Merit: 1022
https://github.com/EiniaOraDev/EiniaOraNewSourceCode/blob/master/src/main.cpp#L1139

Code:
int64_t nActualSpacing = pindexPrev->GetBlockTime() - pindexPrevPrev->GetBlockTime();

change to


Code:
int64 nActualSpacing = pindexPrev->GetBlockTime() - pindexPrevPrev->GetBlockTime();
int64 nCheckTime=GetTime();
     if(nCheckTime > 1437789600) //Human time (GMT): Sat, 25 July 2015 02:00:00 GMT
     {
         int nHeight = pindexPrev->nHeight+1;
            if (nHeight >= 20987 & nActualSpacing < 0) nActualSpacing = 0;  //Sanity Check on nActualSpacing, corrects negative block values
     }

You can use any epoochtime, I just used that as an example.

Try that.
full member
Activity: 336
Merit: 100
Still looking for someone to help with the fixing of EinaiOraCoin so that I can have the coin be strictly POS and the chain fixed and am willing to pay the person who can help fix this problem with BTC.
full member
Activity: 336
Merit: 100
Hello I am the developer of EinaiOraCoin and I'm just a very rookie developer who has run into a slight problem.  My coin at first didn't have the POS working like I was to believe that it would so I had to extend the POW to keep the chain moving.  Then the POS magically started kicking in for everyone and the coin was running full speed POW/POS and everyone was content.

Now the problem that I am facing is that all of a sudden about 2 weeks ago the chain stopped moving at block 20987 and myself and another developer looked through the code and couldn't figure out why out of nowhere the chain just stopped moving?  I am looking to hire a good experienced developer who would be able to look through the code and change the code to make EinaiOraCoin strictly POS with 365% P.A at a min stake age of 24 hours and a max stake age of 30 days and also fix the chain so that it will start moving again.

If you are interested in the job please look over the code first on Github at https://github.com/EiniaOraDev/EiniaOraNewSourceCode and if you feel that you are more than experienced enough to fix the things that need to be fixed and you are reasonably fair priced then just PM and let me know all the details.

Thanks,
Have a Great Day
EinaiOraCoinDev
Jump to: