Well SLR code is so choppy and a mess looking right now!!!
I don't have the time to go look through your mess of post/code right now, I just pulled up the forum quick today to see if you finally fixed the code.
OK not sure if "ddirt" or "ubuntu" are writing code for Solarcoin now or if they are just having fun. BC non of the new code has been merged to the Master branch yet...
But reading it all al beit quickly, has me shaking me head and not seeing one thing right yet, from miss understood code to bloat code.
It's time for the Foundation to tell everyone if Justin is still working for solarcoin?
??
OK diggin through this I see you all here talking about 15 min re-target...
I'm not expert like sunuser is on coding
here is what I see...
You have Justin's master branch which we are all using still bc there has been no Fork yet (so no fix has been written we are all just waiting for the original back up to kick in)
https://github.com/solarcoin/solarcoin/tree/master/src here was from original code release it had a back up "_Version2" written in the code to start at "nHeight_Version2 = 208440" or block 208440
Now unless I messed a new wallet release somewhere you are all sitting around waiting for this back-up to hit...
I dont have the time to check but unless Justin was wrong with his math
// 10 minutes was stated in his code
static const int64 nTargetTimespan_Version1 = 24 * 60 * 60; // SolarCoin: 24 Hours
static const int64 nTargetSpacing = 60 ; // SolarCoin: 1 Minute Blocks
static const int64 nInterval_Version1 = nTargetTimespan_Version1 / nTargetSpacing; // SolarCoin: 1440 blocks
static const int64 nHeight_Version2 = 208440;
static const int64 nInterval_Version2 = 15;
static const int64 nTargetTimespan_Version2 = nInterval_Version2 * nTargetSpacing; // 10 minutes
Now justin looked to be working on changing this all with a branch off the master that I'm sure he was planing to just merge when he was done and ready...
25 days agohttps://github.com/solarcoin/solarcoin/tree/diff-retarget/src now what did justin fix the code to say?
25 days agohttps://github.com/solarcoin/solarcoin/commit/87e62b7496ba37c6fec7e264f93f22987e3c2188He took out the old back up "_Version2" and added digishield
+ nInterval = nInterval_Version1;
+ nTargetTimespan = nTargetTimespan_Version1;
+ if (nHeight >= DiffChangeBlock) {
+ nTargetTimespan = 60 //1 min
+ nInterval = nTargetTimespan / nTargetSpacing; //60/60 = 1 block
+ //target timespan remains the same, 1 min
with "= DiffChangeBlock" set at
200000+//block to apply patch
+static const int64_t DiffChangeBlock = 200000;
Great!!!!! old
// 10 minutes back up gone and new
//1 min retarget in its place at block 200000
HOWEVER in come this ddirt fork Not sure what is goin on here but with all the talk about 15 min retarget 1 of 2 things either Justin math was wrong or you are looking at ddirt new code and it fixed Justins math
which reall blows my mind bc ddirt should not even have "_Version2" added back in and
added Wrong i may addok ddirt fork and code
https://github.com/ddirt/solarcoin/blob/diff-retarget/src/main.cppint64 static GetBlockValue(int nHeight, int64 nFees)
{
int64 nSubsidy = 100 * COIN;
if(nHeight < 99) {nSubsidy = 1000000000 * COIN;}
nSubsidy >>= (nHeight / 525600);
return nSubsidy + nFees;
}
static const int64 nTargetTimespan_Version1 = 24 * 60 * 60; // SolarCoin: 24 Hours
static const int64 nTargetSpacing = 60 ; // SolarCoin: 1 Minute Blocks
static const int64 nInterval_Version1 = nTargetTimespan_Version1 / nTargetSpacing; // SolarCoin: 1440 blocks
//this is used in computeminwork but no longer in getnextwork
static const int64 nHeight_Version2 = 208440;
static const int64 nInterval_Version2 = 15;
static const int64 nTargetTimespan_Version2 = nInterval_Version2 * nTargetSpacing; // 15 minutes
//block to apply patch
//CHANGE FOR PRODUCTION!
static const int64_t DiffChangeBlock = 3000;
So same numbers but now said to change every 15 min
// 15 minutes not sure who is right?
??
however ddirt has old code
static const int64 nHeight_Version2 = 208440;
static const int64 nInterval_Version2 = 15;
static const int64 nTargetTimespan_Version2 = nInterval_Version2 * nTargetSpacing; // 15 minutes
ONLY defined NEVER used!!!!!! bc the use of the code
if (pindexLast->nHeight+1 < nHeight_Version2)
- {
- nInterval = nInterval_Version1;
- nTargetTimespan = nTargetTimespan_Version1;
- }
- else
- {
- nInterval = nInterval_Version2;
- nTargetTimespan = nTargetTimespan_Version2;
Is missing from ddirt code?
? So there is defind code that is never used bc
//block to apply patch
//CHANGE FOR PRODUCTION!
static const int64_t DiffChangeBlock = 3000;
AND
if (nHeight >= DiffChangeBlock) {
nTargetTimespan = 60; //1 min
nInterval = nTargetTimespan / nTargetSpacing; //60/60 = 1 block
//target timespan remains the same, 1 min
over rule the old "nHeight_Version2 = 208440" SO I have no idea why ddirt wrote old code that gets over ruled, defined and never executed in to the code?
?
and if using " DiffChangeBlock = 3000" why not just use the number "1" ? 3000 has been passed long ago?
So some one if anyone knows what the hell they are talking about pls tell us all... Is the old back-up that we are all waiting to hit at block 208440 is 15 min or like Justin said 10 min?
will the real digisheild 1 min block re-target be used sometime SOON?
I see you guys still don't understand you get what you pay for... I see Sunuser was approached and probably asked and offered 3k or small amount like that...? Epiphany I know how nice you are and I mean this in a nice way but saying 5k Solarcoins (I'm sure you just meant what part you would throw in..) is not even close to being a rude offer!!!! it's a flat out insult!!! You all need to hear real world numbers bc Like I siad I still have my money and family memebers money in SLR so pls it's time to get real you are a
CryptoCurrency whit out dealing with SLR as a
Currency a real Currency you guys are just working on a CryptoCoupon "that stats on the bottom
NO real value"
A coder like Sunuser needs to hear numbers like
1 million Solarcoins before your request is serious. If that scares your board then it may be time to rethink this whole thing. I have seen coders get that amount when its 2-3% of the coin cap to work on many other coins,
1 million Solarcoins is 0.2% of just the
genesis pool and
0.001% of the
coin cap The board cant flip a penny at hours of work and expect it to be done right, I'm sorry if you think I'm wrong bc that scares me if you still can't see this...