Maybe I should get the IRC logs, it seems you have holes in your memory.. but this is not the point..
<MonkeyTooth> this is all fucked up
<MonkeyTooth> my god
<MonkeyTooth> i didnt realize his elseif shit wasnt working
<MonkeyTooth> so blocks were always 600 then im guessing, never went down to 500 even
<MonkeyTooth> we should probably change that soon though lol
<MonkeyTooth> do you know if rewards ever worked
<MonkeyTooth> or was it always 600
<ocminer> i have no idea tbh
<ocminer> i did not watch it so closely
<MonkeyTooth> well shit
<MonkeyTooth> the explorer sucks too i cant tell
<MonkeyTooth> but in order to fix that i need to know what worked so it will accept the old blocks..
<ocminer> let me look in my database
<ocminer> i believe the reward was higher
<ocminer> max was 750
<MonkeyTooth> int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
<MonkeyTooth> {
<MonkeyTooth> int64 nSubsidy = 750 * COIN;
<MonkeyTooth> if(nHeight == 1)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 40000 * COIN; // less then 0.1% premine
<MonkeyTooth> }
<MonkeyTooth> else if(nHeight >= 1440)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 600 * COIN;
<MonkeyTooth> }
<MonkeyTooth> else if(nHeight >= 2880)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 500 * COIN;
<MonkeyTooth> }
<MonkeyTooth> else if(nHeight >= 4320)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 400 * COIN;
<MonkeyTooth> }
<MonkeyTooth> else if(nHeight >= 5760)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 300 * COIN;
<MonkeyTooth> }
<MonkeyTooth> else if(nHeight >= 6000)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 250 * COIN;
<MonkeyTooth> }
<MonkeyTooth> else if(nHeight >= 6001)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 0;
<MonkeyTooth> }
<MonkeyTooth> return nSubsidy + nFees;
<MonkeyTooth> }
<MonkeyTooth> so it stops checking after 600
<ocminer> you want me to change that ?
<MonkeyTooth> im just saying thats what he has
<MonkeyTooth> i dont know where it stops checking
<MonkeyTooth> the explorer doesn't really show
<MonkeyTooth> what the old blocks were
<MonkeyTooth> im guessing if 0 doesnt work, it never dropped to 500, 400, 300, or 250 either
<MonkeyTooth> its an easy fix, but i need to know when it stopped reducing
<ocminer> i see 600 as the last sum
<ocminer> it went down from 750 to 600
<ocminer> lol yes
<ocminer> else if(
<ocminer> thats wrong
<ocminer> it should probably simply be „if"
<ocminer> because the first „else if“ always matches
<ocminer> when its above 1440
<ocminer> do you want me to fix it or should i fix it ?
<MonkeyTooth> ffs
<MonkeyTooth> he is so stupid lol
<MonkeyTooth> if you want to do it, go ahead, but heres my suggestion
<MonkeyTooth> or wait
<MonkeyTooth> let me think
<ocminer> lol
<MonkeyTooth> what block was the last 750
<ocminer> i think 1440
<ocminer> or 1439
<ocminer> i’ll fix it, give me a few mins
<MonkeyTooth> i would cut off mining at block 10k or something
<MonkeyTooth> i mean
<MonkeyTooth> the reward, make it 0 at block 10
<MonkeyTooth> 10k*
<ocminer> i’ll make it 0 at block 6200
<MonkeyTooth> ok that works
<MonkeyTooth> then in main.h
<MonkeyTooth> change
<MonkeyTooth> the pow_cutoff to block 10k
<MonkeyTooth> so i can snapshot it there for balances
<MonkeyTooth> that will be the bittrex deadline, yea?
<ocminer>
http://pastebin.com/dNYnawSp<ocminer> thats the ne code
<MonkeyTooth> you use github?
<MonkeyTooth> just push it
<ocminer> to your repo ?
<MonkeyTooth> yea
<ocminer> hmm if that works...
<MonkeyTooth> or pull or whatever
<MonkeyTooth> int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
<MonkeyTooth> {
<MonkeyTooth> if (pindexBest->nHeight+1 == 1)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 40000 * COIN;
<MonkeyTooth> return nSubsidy + nFees;
<MonkeyTooth> }
<MonkeyTooth>
<MonkeyTooth> else if (pindexBest->nHeight+1 >= 1440)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 600 * COIN;
<MonkeyTooth> return nSubsidy + nFees;
<MonkeyTooth> }
<MonkeyTooth>
<MonkeyTooth> else if (pindexBest->nHeight+1 >= 6200)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 0 * COIN;
<MonkeyTooth> return nSubsidy + nFees;
<MonkeyTooth> } if (pindexBest->nHeight+1 == 1)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 40000 * COIN;
<MonkeyTooth> return nSubsidy + nFees;
<MonkeyTooth> }
<MonkeyTooth>
<MonkeyTooth> else if (pindexBest->nHeight+1 >= 1440)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 600 * COIN;
<MonkeyTooth> return nSubsidy + nFees;
<MonkeyTooth> }
<MonkeyTooth>
<MonkeyTooth> else if (pindexBest->nHeight+1 >= 6200)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 0 * COIN;
<MonkeyTooth> return nSubsidy + nFees;
<MonkeyTooth> }
<MonkeyTooth> return nSubsidy + nFees;
<MonkeyTooth> }
<MonkeyTooth> that is what you have
<MonkeyTooth> ?
<MonkeyTooth> ok got your pull
<MonkeyTooth> main.h though
<MonkeyTooth> make
<MonkeyTooth> static const int POW_CUTOFF_BLOCK = 10000;
<ocminer> good
<MonkeyTooth> so we can snapshot that
<MonkeyTooth> as the balances to swap
<ocminer> i changed cutoff to 6201
<MonkeyTooth> i changed it on git, just for your own i mean
<MonkeyTooth> yea i know, but those coins will never mature then
<MonkeyTooth> 10k gives them time to move the final coins around
<ocminer> oh ok
<MonkeyTooth> 4k blocks at 0 reward
<ocminer> then change it back to 10k ?
<MonkeyTooth> hpopefully
<ocminer> pow cutoff ?
<MonkeyTooth> it was 100k before
<MonkeyTooth> make it 10k now, yea
<ocminer> ok
<MonkeyTooth> we'll snapshot at 10k
<MonkeyTooth> easier for richie too
<MonkeyTooth> if people miss that deadline, fuck them
<MonkeyTooth> lol
<MonkeyTooth> im over this shit
<ocminer> ok changed
<ocminer> recompiling
<MonkeyTooth> let me know if any errors then ill work on windows qt
<MonkeyTooth> i fucking hate windows, god
<MonkeyTooth> thanks for your help, sorry i fucked it up
<MonkeyTooth> im trying my best to work through this guys mess though
<ocminer> ah wait
<MonkeyTooth> i would redownload chain from the start too to make sure it accepts all the old blocks
<ocminer> forgot the declaration
<ocminer> lol
<ocminer> now it is working
<ocminer> if you merge that last change we’re good
<MonkeyTooth> ok no errors on that now?
<MonkeyTooth> and you have pow_cutoff at 10k on yours?
<ocminer> nope, last version is comiling fine
<ocminer> yes
<MonkeyTooth> ok cool
<MonkeyTooth> thanks, ill work on windows now, might take a bit, mingw makes me reset my deps every time...
<MonkeyTooth> wait this wont sync
<MonkeyTooth> you forgot the 750s
<ocminer> hmm
<MonkeyTooth> gotta accept all blocks at 750 before it dropped to 600
<ocminer> yes you’re right
<MonkeyTooth> this explorer is no help
<ocminer> it should be enough if you change line 932 to 750 * COIN
<ocminer> or no
<ocminer> add this
<ocminer> else if (pindexBest->nHeight+1 >= 2)
<ocminer> {
<MonkeyTooth> it may
<ocminer> nSubsidy = 750 * COIN;
<ocminer> return nSubsidy + nFees;
<ocminer> }
<ocminer> yes that should do it
<MonkeyTooth> ok, try syncing from 0 if you can
<MonkeyTooth> just to be sure
<MonkeyTooth> it should be fast
<ocminer> hmm
<MonkeyTooth> oh shit
<MonkeyTooth> we're almost to 6200 already
<MonkeyTooth> fuck
<ocminer> did you update the code yet ?
<ocminer> on github ?
<ocminer> still over 100 blocks to go
<MonkeyTooth> yea i think i matched yours
<MonkeyTooth> i dont think he had fees thouhg
<MonkeyTooth> i cant find original git now
<ocminer> hmmm
<MonkeyTooth> no it didnt
<MonkeyTooth> lmao
<MonkeyTooth> god
<MonkeyTooth> ok so
<MonkeyTooth> just
<MonkeyTooth> remove all the fees
<MonkeyTooth> return nSubsidy + nFees;
<MonkeyTooth> to
<MonkeyTooth> return nSubsidy;
<ocminer> hmm i’m not sure if that works.. else if (pindexBest->nHeight+1 >= should’t it be „<„ instead of „>“ ?
<MonkeyTooth> what was the last 750 block
<MonkeyTooth> ill just do this the easy way lol
<ocminer> let me look
<ocminer> 1439
<MonkeyTooth> ok 1440 was 600
<MonkeyTooth> block 1 was 40,000
<ocminer> yep
<ocminer> thats all
<MonkeyTooth> ok i changed it to block 7000 for 600 just so we have time if needed
<MonkeyTooth> can you compile git now and try syncing from block 0
<MonkeyTooth> i know, im sorry
<MonkeyTooth> i can hop over to linux if you prefer not to
<MonkeyTooth> wait
<MonkeyTooth> what
<MonkeyTooth> the
<MonkeyTooth> fuck
<MonkeyTooth> its giving 750 per block right NOW?
<MonkeyTooth> it just switched...?
<MonkeyTooth> oh my god
<MonkeyTooth> please tell me your pool isnt mining 750 blocks right now
<ocminer> lol yes it is
<MonkeyTooth> ok
<MonkeyTooth> 6084
<MonkeyTooth> was 600
<MonkeyTooth> 6085
<MonkeyTooth> was 750, yes?
<MonkeyTooth> if so, git is updated already
<MonkeyTooth> no idea why it switched at 6085...
<ocminer> i’m downloading your code now, recompiling and reindexing
<ocminer> give me 5 mins
<MonkeyTooth> OK THANKS
<MonkeyTooth> oops
<MonkeyTooth> you got the new switch with 750 right
<MonkeyTooth> int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
<MonkeyTooth> {
<MonkeyTooth> int64 nSubsidy = 0;
<MonkeyTooth> if (hashPrevBlock == hashGenesisBlock) {
<MonkeyTooth> nSubsidy = 40000 * COIN;
<MonkeyTooth> }
<MonkeyTooth> if (nHeight <= 1439) {
<MonkeyTooth> nSubsidy = 750 * COIN;
<MonkeyTooth> }
<MonkeyTooth> if (nHeight <= 7000) {
<MonkeyTooth> nSubsidy = 600 * COIN;
<MonkeyTooth> }
<MonkeyTooth> if (nHeight <= 6085) {
<MonkeyTooth> nSubsidy = 750 * COIN;
<MonkeyTooth> }
<MonkeyTooth> return nSubsidy;
<MonkeyTooth> }
<MonkeyTooth> should be that
<ocminer> yep
<ocminer> compiling now
<MonkeyTooth> that might give an error actually lol ffs
<MonkeyTooth> one more change i think
<ocminer> main.cpp:932:9: error: ‘hashPrevBlock’ was not declared in this scope
<ocminer> lol
<MonkeyTooth> yep
<MonkeyTooth> now its good
<MonkeyTooth> just hardcoded block 1
<ocminer> lioke so
<ocminer> if (nHeight == <=1) {
<ocminer> ?
<MonkeyTooth> if (nHeight = 1) {
<ocminer> ok
<MonkeyTooth> i think = works, if error then ==
<MonkeyTooth> that might not sync
<ocminer> what ?
<MonkeyTooth> no it wont, i had two number backwards
<MonkeyTooth> fuck
<MonkeyTooth> that last switch to 750 just fucked it all up
<MonkeyTooth> ok
<MonkeyTooth> int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
<MonkeyTooth> {
<MonkeyTooth> int64 nSubsidy = 0;
<MonkeyTooth> if (nHeight = 1) {
<MonkeyTooth> nSubsidy = 40000 * COIN;
<MonkeyTooth> }
<MonkeyTooth> if (nHeight <= 1439) {
<MonkeyTooth> nSubsidy = 750 * COIN;
<MonkeyTooth> }
<MonkeyTooth> if (nHeight <= 6085) {
<MonkeyTooth> nSubsidy = 600 * COIN;
<MonkeyTooth> }
<MonkeyTooth> if (nHeight <= 7000) {
<MonkeyTooth> nSubsidy = 750 * COIN;
<MonkeyTooth> }
<MonkeyTooth> return
<MonkeyTooth> does that look right now
<MonkeyTooth> ok NOW i think its right
<ocminer> ok
<ocminer> push that to github
<ocminer> so i can pull
<MonkeyTooth> 6085
<MonkeyTooth> was 600
<MonkeyTooth> or 750
<ocminer> correct would be 600
<MonkeyTooth> ok
<MonkeyTooth> should be ready now
<MonkeyTooth> wait
<MonkeyTooth> 6085 was 600?
<MonkeyTooth> 6084 was 600, i think 6085 was 750
<ocminer> yes but due to a mistake
<ocminer> everything above 6000 should be 600
<MonkeyTooth> yea i know, but i am putting that in now
<MonkeyTooth> so it syncs with those blocks
<ocminer> we should not change that
<ocminer> i’ll just orphan theose blocks
<MonkeyTooth> oh fuck
<MonkeyTooth> ok
<MonkeyTooth> well shit
<ocminer> i’m the only pool on that chain - that makes no sense
<ocminer> just leave it at 600
<MonkeyTooth> so
<MonkeyTooth> everything since
<MonkeyTooth> block 1439 has been 600
<MonkeyTooth> 1440 was the first 600, and they are all 600 now
<MonkeyTooth> right?
<ocminer> i think so - yes
<MonkeyTooth> ok
<MonkeyTooth> then its ready now
<MonkeyTooth> it will be 600 from 1440 through 7000, then 0 until 10000
<MonkeyTooth> man i cant wait to get this on my own chain that i know works...
<MonkeyTooth> this coin is so shit
<ocminer> its not syncing
<ocminer> from block 0
<ocminer> its not even accepting block 1
<MonkeyTooth> ok then change
<MonkeyTooth> main.cpp
<MonkeyTooth> 932
<MonkeyTooth> to ==
<ocminer> lol
<MonkeyTooth> yea
<MonkeyTooth> i know
<ocminer> so much work for tnohting
<MonkeyTooth> ill just switch to linux if you want so i can compile
<MonkeyTooth> yea, i have 0 of these too
<MonkeyTooth> lol
<ocminer> nope
<ocminer> doesn't work either
<MonkeyTooth> well
<MonkeyTooth> thats copying his...
<MonkeyTooth> int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
<MonkeyTooth> {
<MonkeyTooth> int64 nSubsidy = 750 * COIN;
<MonkeyTooth> if(nHeight == 1)
<MonkeyTooth> {
<MonkeyTooth> nSubsidy = 40000 * COIN; // less then 0.1% premine
<MonkeyTooth> }
<MonkeyTooth> thats what he has
<MonkeyTooth> int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
<MonkeyTooth> {
<MonkeyTooth> int64 nSubsidy = 0;
<MonkeyTooth> if (nHeight == 1) {
<MonkeyTooth> nSubsidy = 40000 * COIN;
<MonkeyTooth> }
<MonkeyTooth> thats what i have
<MonkeyTooth> its the exact same..
<ocminer> let me check the old wallet
<MonkeyTooth> yea that should work
<MonkeyTooth> its the same structure i use for balls stake rate
<ocminer> old wallet works
<MonkeyTooth> so that works then?
<MonkeyTooth> it syncs from block 0?
<ocminer> yes
<ocminer> but not the new one
<MonkeyTooth> im confused
<ocminer> yup
<MonkeyTooth> so its good or its not good
<MonkeyTooth> i have one more idea
<MonkeyTooth> thats easy before i dig more
<MonkeyTooth> if its not good, try pulling again, i took out a lot of i think unneeded brackets
<MonkeyTooth> if this doesnt work, ill hop on linux and build myself so you dont have to keep doing it
<ocminer> i think this would be the best
<ocminer> as the pool is already fucked up badly now
<MonkeyTooth> lol
<MonkeyTooth> ok brb
<ocminer> with all the orphans and stuff
<MonkeyTooth> well the 750
<MonkeyTooth> i dont know what that was
<ocminer> probably my error
<ocminer> with my ode
<MonkeyTooth> ah
<MonkeyTooth> ok
<ocminer> they are all orphaned now
<MonkeyTooth> ok cool
<ocminer> so its all good
<MonkeyTooth> ill switch to linux quick brb
<MonkeyTooth> hey btw do you know how to build windows qts or no
<MonkeyTooth> nm ill just do it later
<MonkeyTooth> brb let me switch
<MonkeyTooth> is your pool still finding ecash blocks
<MonkeyTooth> ive got a few th at it, says alive but i dont see any stats on pool page
<MonkeyTooth> your pool seems to be like 2 blocks ahead of the network (?)
<MonkeyTooth> im gettin all rejects solo
In this log we see your pool mining on its own fork (you were even mining for different rewards and compiled the wrong code), you choosing which blocks to manually orphan, you setting the cutoff to block 6201 and me telling you that is too early, and then finally you ignore me for three days when I tell you your shit code isn't working and your pool is on its own fork
After being ignored for 3 days, I left you behind and swapped it to a working chain (with 0 problems since launch) because your garbage was stuck forever on block 8250-ish
If my log is missing anything, feel free to post to fill in the holes, since I was on two OS's, but I think I got the entire thing