Post
Topic
Re: [ANN][YAC] YACoin ongoing development
by
Groko
on 12/03/2014, 04:17:10 UTC
Quote

I made a lot of progress on the stake function for Qt today.  I can see why no one did it in the past, it's a real pain  Tongue but will be cool when done.

Also, forum.yacoin.org is now live. Thanks to Sahtor for doing all the work to get it going again!
I know your pain Joe_Bowers. I tried totaling up up all the inputs eligible for staking in CWallet::CreateCoinStake (in wallet.cpp) then printing the result out the log each time it's called. But the total just jumps around randomly. I can't figure out if there is a bug in that function, or I just don't understand how that function goes about finding inputs that should be checked for possible POS block generation. There is supposed to be some unpredictability function so people can't game their POS blocks for some kind of timed attack. Perhaps that's whats making it tricky to understand.