sairon
Sr. Member
Offline
Activity: 406
Merit: 250
One does not simply mine Bitcoins
|
|
August 18, 2013, 12:26:01 PM |
|
A thread dedicated to yacoin client with coin control: https://bitcointalk.org/index.php?topic=276948
|
GPG key ID: 5E4F108A || BTC: 1hoardyponb9AMWhyA28DZb5n5g2bRY8v
|
|
|
ivanlabrie
|
|
August 19, 2013, 03:26:38 PM |
|
Great work!
Waiting for x64 windows version...
|
|
|
|
sairon
Sr. Member
Offline
Activity: 406
Merit: 250
One does not simply mine Bitcoins
|
|
August 19, 2013, 05:32:07 PM |
|
Nice find! This should definitely be added to the wiki.
|
GPG key ID: 5E4F108A || BTC: 1hoardyponb9AMWhyA28DZb5n5g2bRY8v
|
|
|
sairon
Sr. Member
Offline
Activity: 406
Merit: 250
One does not simply mine Bitcoins
|
|
August 20, 2013, 08:48:40 AM |
|
Great work!
Waiting for x64 windows version...
Well, you know, you can run 32-bit version on a 64-bit Windows just fine.
|
GPG key ID: 5E4F108A || BTC: 1hoardyponb9AMWhyA28DZb5n5g2bRY8v
|
|
|
loucy
Member
Offline
Activity: 77
Merit: 10
|
|
August 20, 2013, 09:51:57 AM |
|
Nice find! This should definitely be added to the wiki.
No. It should be fixed.
|
|
|
|
cryptrol
|
|
August 20, 2013, 10:35:22 AM |
|
Put differently, all those individual 1 YAC or similary small payouts you received will never ever return any PoS rewards!
Great news for people with p2pool inputs then. Also, is this also an issue for every other PoS coin (including the original PPC) ? Nice find! This should definitely be added to the wiki.
No. It should be fixed. AFAIK, No one but @sairon is working on the YAC wallet (awesome work with the coin control feature btw). Behind adding checkpoints (on the @Windmaster fork), nothing else has been done on the client since the official release.
|
|
|
|
loucy
Member
Offline
Activity: 77
Merit: 10
|
|
August 20, 2013, 10:51:43 AM |
|
Also, is this also an issue for every other PoS coin (including the original PPC) ?
I have PoS-mined NVC with a total balance of 0.99 NVC.
|
|
|
|
St.Bit
|
|
August 20, 2013, 01:12:55 PM |
|
Nice find! This should definitely be added to the wiki.
No. It should be fixed. Actually I like the minimum PoS reward. 0.05YAC are currently less than a tenth of a cent so it wouldn't change anything. Could someone troll the network by making a lot of small adresses and a good network connection?
|
|
|
|
ivanlabrie
|
|
August 20, 2013, 01:31:30 PM |
|
Great work!
Waiting for x64 windows version...
Well, you know, you can run 32-bit version on a 64-bit Windows just fine. of course! Just messin with ya...appreciate the work man. I'll fire it up now.
|
|
|
|
sairon
Sr. Member
Offline
Activity: 406
Merit: 250
One does not simply mine Bitcoins
|
|
August 20, 2013, 03:49:43 PM |
|
Nice find! This should definitely be added to the wiki.
No. It should be fixed. Actually I like the minimum PoS reward. 0.05YAC are currently less than a tenth of a cent so it wouldn't change anything. Could someone troll the network by making a lot of small adresses and a good network connection? I personally don't feel the need to "fix" this, IMHO it's a non issue as you'll only be generating satoshis anyway (and YAC isn't worth THAT much for this to be any significant amount). Also, AFAIK if you are p2pool minig and have a LOT of sub-YAC unspent inputs in your wallet (presumably at one address), they'll be grouped into one PoS transaction when you have enough of them older than 30 days AND they cummulatively exceed the 10 YAC minimum (please correct me if I'm wrong, haven't looked at the actual code for this yet). As for the PoS blocks not meeting the 10 YAC minimum input: I think those were actually older than 30 days and thus eligible for a higher percentual PoS reward (5% per year, remember?), and those few extra days made a difference. There's a hardcoded maximum of 90 days, however, so be sure not to wait more before staking or you'll be losing out on that (that means if you have a stake-eligible pile of coins that's, say, half a year old; you'll still be getting a reward corresponding to only 90 days old coins).
|
GPG key ID: 5E4F108A || BTC: 1hoardyponb9AMWhyA28DZb5n5g2bRY8v
|
|
|
WindMaster (OP)
|
|
August 20, 2013, 08:41:25 PM |
|
AFAIK, No one but @sairon is working on the YAC wallet (awesome work with the coin control feature btw). Behind adding checkpoints (on the @Windmaster fork), nothing else has been done on the client since the official release.
Umm, I think there are somewhat more changes in my fork than just adding checkpoints.. See if you can get the original official release to compile on Windows, and if you succeed (without replacing all the scrypt-jane library source with a newer version altogether), also keep score on how many times you see unchanged "Novacoin" and "NVC" text plastered all over the original client. Or try to get an estimate of the network hash rate out of the original client, or find out the current N or Nfactor without looking up the time-vs-N table I generated (and everyone else reposted in various places). Hey sairon or Joe_Bauers (with Joe being the only one who has ever contributed code to my version of the client), want to take over my Github repository (github.com/yacoin)? My enthusiasm for continuing development is decreasing, given the number of people that constantly send me private messages that the sky is falling if we don't immediately hard fork to change {insert random non-critical thing here that is different in YACoin than any other coin and/or doesn't work exactly how someone wants it to, or that we need to protect against hypothetical attacks that only exist in the sender's imagination due to misunderstandings of how the code works}. My favorite is all the PM's I get demanding we hard fork to change the difficulty calculation so after Nfactor++ events, average block time won't temporarily rise from 1 minute to 2 minutes for a few days while difficulty adjusts (oh no!). I no longer hold any appreciable amount of YAC (well, other than a few thousand laying around somewhere) and haven't for quite a while.
|
|
|
|
St.Bit
|
|
August 20, 2013, 10:35:39 PM |
|
I no longer hold any appreciable amount of YAC (well, other than a few thousand laying around somewhere) and haven't for quite a while.
That's definitely something I don't like to hear. Why did you decide to sell your coins? As far as I recall you missed the lauch but bought significant ammounts later on. I understand that people can be anoying, but that'd be no reason for me to be not invested yourself. Maybe I'm overvaluing YACs features, but I still see them far better than some altcoins with a far higher marketcap. A nicer GUI, some minor fixes and Yac is good to go, or am I missing something important here? Nevertheless loosing the main developer (again) will be a big hit to it.
|
|
|
|
Joe_Bauers
|
|
August 21, 2013, 01:59:20 AM |
|
Hey sairon or Joe_Bauers (with Joe being the only one who has ever contributed code to my version of the client), want to take over my Github repository (github.com/yacoin)?
WM - I will take it over if you can't do it anymore. Either in conjunction with sairon, or solo if they are not interested. Either way, I appreciate all of the work you've done on YACoin so far and am looking forward to seeing where we can bring YAC to in the future. Let me know.
|
|
|
|
cryptrol
|
|
August 21, 2013, 06:26:50 AM |
|
AFAIK, No one but @sairon is working on the YAC wallet (awesome work with the coin control feature btw). Behind adding checkpoints (on the @Windmaster fork), nothing else has been done on the client since the official release.
Umm, I think there are somewhat more changes in my fork than just adding checkpoints.. See if you can get the original official release to compile on Windows, and if you succeed (without replacing all the scrypt-jane library source with a newer version altogether), also keep score on how many times you see unchanged "Novacoin" and "NVC" text plastered all over the original client. Or try to get an estimate of the network hash rate out of the original client, or find out the current N or Nfactor without looking up the time-vs-N table I generated (and everyone else reposted in various places). I forgot about all the new API calls, you put a nice amount of work on the original client. My apologies.
|
|
|
|
sairon
Sr. Member
Offline
Activity: 406
Merit: 250
One does not simply mine Bitcoins
|
|
August 21, 2013, 10:26:58 AM Last edit: August 21, 2013, 11:43:00 AM by sairon |
|
Also, AFAIK if you are p2pool minig and have a LOT of sub-YAC unspent inputs in your wallet (presumably at one address), they'll be grouped into one PoS transaction when you have enough of them older than 30 days AND they cummulatively exceed the 10 YAC minimum (please correct me if I'm wrong, haven't looked at the actual code for this yet).
PoS does not group anything. I believe it does, or at least it should try to (but only coins that belong to the same address). The number of stake inputs is limited to 100, constrained by the nCombineThreshold variable (dunno what exactly this does, but it says in the comment that it's important for security reasons - however, I didn't find anything about this in PPCoin's paper). EDIT: It tries to combine inputs up to slightly over 11 YAC. From wallet.cpp, line 1470: BOOST_FOREACH(PAIRTYPE(const CWalletTx*, unsigned int) pcoin, setCoins) { // Attempt to add more inputs // Only add coins of the same key/address as kernel if (txNew.vout.size() == 2 && ((pcoin.first->vout[pcoin.second].scriptPubKey == scriptPubKeyKernel || pcoin.first->vout[pcoin.second].scriptPubKey == txNew.vout[1].scriptPubKey)) && pcoin.first->GetHash() != txNew.vin[0].prevout.hash) { // Stop adding more inputs if already too many inputs if (txNew.vin.size() >= 100) break; // Stop adding more inputs if value is already pretty significant if (nCredit > nCombineThreshold) break; // Stop adding inputs if reached reserve limit if (nCredit + pcoin.first->vout[pcoin.second].nValue > nBalance - nReserveBalance) break; // Do not add additional significant input if (pcoin.first->vout[pcoin.second].nValue > nCombineThreshold) continue; // Do not add input that is still too young if (pcoin.first->nTime + nStakeMaxAge > txNew.nTime) continue; txNew.vin.push_back(CTxIn(pcoin.first->GetHash(), pcoin.second)); nCredit += pcoin.first->vout[pcoin.second].nValue; vwtxPrev.push_back(pcoin.first); } }
1. Why is reward distributed on two outputs? 2. Why there is additional, empty output?
1. For security reasons, apparently. https://github.com/EskimoBob/ppcoin/commit/720f007714e9f24d10a1f46726fe9f8f56163fbf2. PoS blocks/transactions are identified by this empty coinbase output. From main.cpp, line 2052: // ppcoin: only the second transaction can be the optional coinstake for (unsigned int i = 2; i < vtx.size(); i++) if (vtx[i].IsCoinStake()) return DoS(100, error("CheckBlock() : coinstake in wrong position"));
// ppcoin: coinbase output should be empty if proof-of-stake block if (IsProofOfStake() && (vtx[0].vout.size() != 1 || !vtx[0].vout[0].IsEmpty())) return error("CheckBlock() : coinbase output not empty for proof-of-stake block");
This code also explains why there is a completely empty coinbase transaction in each PoS block, eg. http://yacexplorer.tk/tx/b358e9983a3387ce7993d8757e6be6c4a10613cf69de039194f7237307a92d96 in block http://yacexplorer.tk/block/a781207353e5a8b30c3a271ad135361ecdeb3bc9e7a5b5c5319b4242d32d0f06Looks like this still has not been fixed in PPC: https://github.com/ppcoin/ppcoin/issues/16 Hey sairon or Joe_Bauers (with Joe being the only one who has ever contributed code to my version of the client), want to take over my Github repository (github.com/yacoin)?
WM - I will take it over if you can't do it anymore. Either in conjunction with sairon, or solo if they are not interested. Either way, I appreciate all of the work you've done on YACoin so far and am looking forward to seeing where we can bring YAC to in the future. Let me know. @WM: Too bad you're leaving us. Thanks for all you've done for this coin. @Joe: You've commited better code to the project, so you should keep that repo (it's better security-wise IMHO). I'm comfortable working in my own dev tree and sending pull requests when I finally manage to fix something.
|
GPG key ID: 5E4F108A || BTC: 1hoardyponb9AMWhyA28DZb5n5g2bRY8v
|
|
|
sairon
Sr. Member
Offline
Activity: 406
Merit: 250
One does not simply mine Bitcoins
|
|
August 21, 2013, 01:47:40 PM |
|
IMPORTANT! Stop using the published versions of Yacoin with Coin Control - there's a critical bug when NOT selecting a custom change address (the new change address is not reserved from keypool and thus your coins disappear forever). Fixed in recent git commit, updated binaries coming soon.
|
GPG key ID: 5E4F108A || BTC: 1hoardyponb9AMWhyA28DZb5n5g2bRY8v
|
|
|
Thirtybird
|
|
August 21, 2013, 03:07:51 PM |
|
Hey sairon or Joe_Bauers (with Joe being the only one who has ever contributed code to my version of the client), want to take over my Github repository (github.com/yacoin)? My enthusiasm for continuing development is decreasing, given the number of people that constantly send me private messages that the sky is falling if we don't immediately hard fork to change {insert random non-critical thing here that is different in YACoin than any other coin and/or doesn't work exactly how someone wants it to, or that we need to protect against hypothetical attacks that only exist in the sender's imagination due to misunderstandings of how the code works}. My favorite is all the PM's I get demanding we hard fork to change the difficulty calculation so after Nfactor++ events, average block time won't temporarily rise from 1 minute to 2 minutes for a few days while difficulty adjusts (oh no!).
I no longer hold any appreciable amount of YAC (well, other than a few thousand laying around somewhere) and haven't for quite a while.
I'm sorry to hear this, and obviously this explains why you have been fairly quiet of late. I thought I was helping by suggesting the difficulty adjustment in the thread - it appears to have had the opposite effect (though I still maintain it's not a horrible idea when you think about more real-time transactions)
|
|
|
|
sairon
Sr. Member
Offline
Activity: 406
Merit: 250
One does not simply mine Bitcoins
|
|
August 21, 2013, 09:46:01 PM |
|
Fixed windows binary up, grab it at https://bitcointalk.org/index.php?topic=276948 (in the OP).
|
GPG key ID: 5E4F108A || BTC: 1hoardyponb9AMWhyA28DZb5n5g2bRY8v
|
|
|
|
WindMaster (OP)
|
|
August 22, 2013, 12:59:13 AM |
|
WM - I will take it over if you can't do it anymore. Either in conjunction with sairon, or solo if they are not interested. Either way, I appreciate all of the work you've done on YACoin so far and am looking forward to seeing where we can bring YAC to in the future. Let me know.
I think that'll be the best. So, everyone, I'm going to go ahead and turn the Github repository over to Joe_Bauers. Joe has already demonstrated an understanding of the code (just look at the commit history on the repository, he's the only one who was contributed) and I consider him trustworthy, so I'm comfortable passing the torch on to him. At this point the YACoin client needs some good UI improvements, and Joe is a lot stronger with QT, so the future of the coin will be better in his hands. Part of the job of being the developer on an open-source project is knowing when to get out of the way of progress. Hey Joe, I'll catch up with you to hand off the repository password. Some kind words from someone on yacointalk wishing me well on my departure: If you take on a public project and announce it like he did, then Dont whine that you get attention and PM and feature requests. I was not impressed with his presentation from the beginning. He mentioned his coding skills as moderate. .So now im just very disapointed by the additude thath he gets discouraged with the stupid feature request. Which is,imho,only showing the coin still gets attention from the less educated, a positive thing. One of his main reason was to keep the project development alive becouse he had some coins (from the FPGA instamine). So now that he aperantly sold those he looses interest. Very Very weak, he got no vision. let him leave, he is negatively affecting the project with this additude. Or hopefully he is just having a blue monday. ... founder and contributor of yacoinwiki http://www.yacoinwiki.tkplease donate @ BTC 1MerynXhXJ2nBFXW9FBc6GZszfP4hU63LH YAC YLJHSjvKLai7xGAa4a9FVpswTYYNwfFWpYThanks for the kind words merijnk, the feeling is mutual! Your contributions were invaluable (especially all those git pull requests you sent!), which is why I almost added your name alongside Joe_Bauers and sairon as candidates who I would trust to protect the integrity of YACoin as they take over development and work to bring the coin to the next level. I look on with admiration each time I see the high quality work and apparently above-moderate coding skills that went into yacoinwiki.tk! Well, I'll be on my way now so I stop "negatively affecting" the project. So long and thanks for all the fish!
|
|
|
|
|