Thirtybird
|
|
March 19, 2014, 05:51:32 PM |
|
Has anyone been able to try this out? Are you all waiting for a compiled version? I've already minted a few blocks If I could compile it I would - I used to fail when trying to compile for windows under MingGW - the whole QT thing never worked for me.
|
|
|
|
Beave162
|
|
March 19, 2014, 05:58:48 PM |
|
. Has anyone been able to try this out? Are you all waiting for a compiled version? I've already minted a few blocks I'm waiting anxiously for the compiled version! Thanks so much, Joe. Nothing has changed the way coins are minted right? Just the interface? if someone is still interested in my case ....the coins arrived at last. i opened the third ticket, and i was a little bit rude and sarcastic, maybe that helped, but, agent Leah, again excalated ticket to tier 2agent, Mullick. He said that these problematic transactions have gotten stuck in their wallet due to being to large to fit into a block (too many inputs). he resent them and now, after two months, YACs are my wallet. That is great news! And thank you for the update. The name of the game is finding the least corrupt exchange. Keep voting on cryptorush.in. I'm voting everyday.
|
YaCoin: YL5kf54wPPXKsXd5T18xCaNkyUsS1DgY7z BitCoin: 14PFbLyUdTyxZg3V8hnvj5VXkx3dhthmDj
|
|
|
Joe_Bauers
|
|
March 19, 2014, 06:11:48 PM |
|
OK thanks. I will work to get a Windows build up soon. Nothing has changed in the way coins are minted except it now just takes a check mark (and password if wallet is encrypted to unlock for stake minting only) to enable
|
|
|
|
Groko
Newbie
Offline
Activity: 25
Merit: 0
|
|
March 20, 2014, 02:19:20 AM |
|
I am not familiar with YAC POS calculation. I see this line here Each chunk of eligible coins has it's interest calculated based on the chunk's age in the range between 30 and 90 days.
Does it mean for POS generation if I have 100 YACs in the wallet for 1000 days I can only expect 100 * 90* 5% / 365 reward if a POS block is found? In PPC POS calculation the probability of finding a POS block is based on coin age capped by 90 days but the reward value itself is not capped. In the above example I would expect 100 * (1000 - 30) * 1% / 365 reward. I think you are right. I will update the post. Groko - that is a great post on yacointalk. I've been mining YAC since the launch, and I learned a few things from your overview. Thanks! And I believe mhps is right - I think YAC caps POS at 90 days. So a 100 YAC transaction at 1000 days would produce the same interest as at 90 days (100 * 90 / 365 * 0.05 YAC = 24.65 coin years * 0.05 YAC => 24 years * 0.05 = 1.20 YAC gained). Again the guide is very well written, but it maybe helpful to add an example, or two, of how the 5% interest is calculated. Things like the coin-year rounding down to the nearest whole year weren't initiative to me when I originally started. From the example above, I would have expected 1.23 YAC instead of 1.20 - it boggled my mind why all POS were 'rounded' to the lowest 0.05. I figure if we can save someone an hour of sifting through the forums, it will benefit the community. Thanks aso118. I had lots of trouble figuring out what POS was all about, especially with the confusing way the YACoin client has been reporting earnings from POS blocks. I've been working hard to fix how the client reports POS earning. It sounds like a new release of the YACoin client is coming soon. If all goes as planned, the new client will have a transaction record that matches to the last decimal point how much YACoin is actually in your wallet. After mhps's comment I dug down into the code and came to the conclusion mhps was right. That is, a 1000 day old chunk of 100 coins will get get 1000 days worth of interest. And there is no limit to the number of days. If you don't open your client for 10 years, and YACoin is still around in 10 years, then you will get 10 years worth of interest. However, the probability of finding a POS block for those 100 coins started at a low point at 30 days, and increased gradually until the coins got 90 days old. After 90 days the coin's continue to accrue interest, but the probability of finding a POS block for those coins stays at a constant maximum probability from day 90 until day 1000. If a POS block were found on day 1000, I would expect the interest to be (100)*(0.05)*(1000)/(365) or 13.698.
|
|
|
|
old c coder
|
|
March 20, 2014, 04:06:20 AM |
|
Is it possible to run the wallet in a debugger and watch how it works? Yes. Sure there is. Follow the instructions at https://github.com/yacoin/yacoin/blob/master/doc/build-msw.txt. At step 26 use Makefile.Debug instead of Makefile.Release ... 1381 static unsigned int nStakeSplitAge = (60 * 60 * 24 * 90); ...
This will take longer then usual because we are running in debug mode. When it finally fires up you will get: Breakpoint 1,CWallet::CreateCoinstake...... (gdb) list ...... (gdb) n 1384 CBigNum +; (gdb) print + $1 = 7776000 (gdb)
Note that 7,760,000 is = 60 * 60 * 24 * 90 seconds I presume??? And further, if one searches the sources one finds that CBigNum bnTargetPerCoinDay is instantiated locally in CheckStakeKernelHash() in kernel.cpp and in CWallet::CreateCoinStake() in wallet.cpp. Though interestingly, the latter doesn't seem to be used!? Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
mhps
|
|
March 20, 2014, 05:17:51 AM |
|
After mhps's comment I dug down into the code and came to the conclusion mhps was right. That is, a 1000 day old chunk of 100 coins will get get 1000 days worth of interest. And there is no limit to the number of days. If you don't open your client for 10 years, and YACoin is still around in 10 years, then you will get 10 years worth of interest.
Thanks for taking time to confirm. Just a comment -- the good thing about giving you 10 years' worth of interest if you open your wallet once in 10 years is that people are attracted by the easy interest and become a long term user of the coin; the bad thing about it is that the savers would tend to open wallet once in a long while hence lending little support to the network through being a POS minting node. There are some relevant discussions here in the contect of PPC https://bitcointalk.org/index.php?topic=127954.msg1360154#msg1360154
|
|
|
|
Groko
Newbie
Offline
Activity: 25
Merit: 0
|
|
March 21, 2014, 02:49:33 AM |
|
After mhps's comment I dug down into the code and came to the conclusion mhps was right. That is, a 1000 day old chunk of 100 coins will get get 1000 days worth of interest. And there is no limit to the number of days. If you don't open your client for 10 years, and YACoin is still around in 10 years, then you will get 10 years worth of interest.
Thanks for taking time to confirm. Just a comment -- the good thing about giving you 10 years' worth of interest if you open your wallet once in 10 years is that people are attracted by the easy interest and become a long term user of the coin; the bad thing about it is that the savers would tend to open wallet once in a long while hence lending little support to the network through being a POS minting node. There are some relevant discussions here in the contect of PPC https://bitcointalk.org/index.php?topic=127954.msg1360154#msg1360154That is interesting reading. I personally don't think we (YACoin) should force people to keep their clients open all the time. And I am at a complete loss how POS is supposed to be some kind of security utopia, especially when POS it nearly killed us. We neutered POS at block 420000, so It's behaving itself nicely now. What I have to say about security goes for every crypto currency. If you want security, then wait for more confirmations. Job done. If someone was buying your house with YAC, you should probably wait for at least an hour's worth of confirmations before you sign your title over. Selling someone a cup of coffee? An instant unconfirmed transaction will do.
|
|
|
|
igysa
|
|
March 22, 2014, 08:00:10 AM |
|
Hi all, I was longer time absent from YAC mining (last time done with Mikaelh miners for GPU last September) but even thou it did bring me the best overall profit so far (I really like the coin , I was forced to abandon as I moved to different town, and Rig left on old location becoming remote-one... so after some experiments with TC after N changes - Rig would pretty much Crash.. very hard to administer it remotely via Teamviewer - so I left GPU part on multipool. I hope you guys will forgive me and now I would like to mine some YAC with A10 CPU, POS mining. Can you please tell me first is it worth it ? I mean i would just leave it mining on the CPU of this GPU rig , not expecting any major result, just to have it running as the rig spends electricity anyway. Which miner should I use to try for AVX or AVX2 ? and which version of wallet ? which settings ? as I tried with this bat and conf and there was no connection between miner (123 miner) and the wallet: minerd -a scrypt-jane -o http://127.0.0.1:7689 -u igy -p sa rpcuser=igy rpcpassword=sa rpcallowip=127.0.0.1 rpcport=7689 port=7688 daemon=1 server=1 and no connection ? what am I doing wrong ? an if i understood, if I want POS, i just need wallet to be left not-encrypted ? some hints for POS ? thank you very much in advance !
|
BTC 1Hm2qSb1XZ8iAuogEqCBod17KQPHepjwF LTC LWu3fAQuw36UVm6vASQgk6yQjgLgKmeWPD YAC YKVQi33Jv7UaBtStgTDiCB2uL6vsYdX7be
|
|
|
Groko
Newbie
Offline
Activity: 25
Merit: 0
|
|
March 22, 2014, 05:29:29 PM |
|
which settings ? as I tried with this bat and conf and there was no connection between miner (123 miner) and the wallet: minerd -a scrypt-jane -o http://127.0.0.1:7689 -u igy -p sa rpcuser=igy rpcpassword=sa rpcallowip=127.0.0.1 rpcport=7689 port=7688 daemon=1 server=1 Your config looks perfect. I don't know what 123 miner is, so perhaps that is the issue. Downloading executables from forum posts is a no no. Learn to build from source. Have you tried Thirtybird's version of minerd? It's the most up to date for YACoin. It's at https://github.com/Thirtybird/cpuminer. You can read my explanation how POS works at http://yacointalk.grokonet.com/t/calculate-your-staked-coins-with-coin-control/41
|
|
|
|
|
igysa
|
|
March 22, 2014, 06:13:57 PM |
|
Thanks Groko for your replay, I`ll give it a try.. I have had downloaded win wallet from the link on the first page of this thread, and it looks different then the one you use for POS mining explanation. do you have the link for that one ?
|
BTC 1Hm2qSb1XZ8iAuogEqCBod17KQPHepjwF LTC LWu3fAQuw36UVm6vASQgk6yQjgLgKmeWPD YAC YKVQi33Jv7UaBtStgTDiCB2uL6vsYdX7be
|
|
|
Joe_Bauers
|
|
March 22, 2014, 09:45:37 PM |
|
Thanks Groko for your replay, I`ll give it a try.. I have had downloaded win wallet from the link on the first page of this thread, and it looks different then the one you use for POS mining explanation. do you have the link for that one ? You'll want to download the wallet here https://github.com/yacoin/yacoin/releases/download/stable_0.4.2/YACoin-0.4.2.zipMake sure you back up the folder that contains your wallet firstOnce that is done, delete everything in that folder except for your wallet and install 0.4.2. You'll then need to wait for the blockchain to download. If you are upgrading from 0.4.1 you will not need to do this, but it sounds like you have a very old version. As for minting Proof of Stake blocks, the only thing you have to do is: First wait for the blockchain to sync fully - Then, Go to Help -> Debug Window -> Console. At the blinking cursor type: walletpassphrase YOURPASSWORD 99999 true Replace YOURPASSWORD with whatever your password is You do no need to run a miner or anything else to mine Stake blocks. I will be releasing an update soon that will allow you to do all of the following above by just checking a box. It will also not have a timer "99999" so if you want to leave it open for 100 years, it will continue to mine stake blocks
|
|
|
|
igysa
|
|
March 22, 2014, 11:25:44 PM |
|
you sirs are great returning with the results soon.
|
BTC 1Hm2qSb1XZ8iAuogEqCBod17KQPHepjwF LTC LWu3fAQuw36UVm6vASQgk6yQjgLgKmeWPD YAC YKVQi33Jv7UaBtStgTDiCB2uL6vsYdX7be
|
|
|
mhps
|
|
March 23, 2014, 12:35:22 PM |
|
I personally don't think we (YACoin) should force people to keep their clients open all the time. And I am at a complete loss how POS is supposed to be some kind of security utopia, especially when POS it nearly killed us. We neutered POS at block 420000, so It's behaving itself nicely now.
From what I have read, the problem YAC had with POS is YAC (and its offsprings) specific. POS promises to offer solutions to problems with POW that will probably have pure POW coins killed. POS is very complex, however.
|
|
|
|
ilostcoins
|
|
March 24, 2014, 03:43:55 PM |
|
I personally don't think we (YACoin) should force people to keep their clients open all the time. And I am at a complete loss how POS is supposed to be some kind of security utopia, especially when POS it nearly killed us. We neutered POS at block 420000, so It's behaving itself nicely now.
From what I have read, the problem YAC had with POS is YAC (and its offsprings) specific. POS promises to offer solutions to problems with POW that will probably have pure POW coins killed. POS is very complex, however. I think the problem is actually inherited from PPCoin. I seem to remember the code that calculate trust score in YAC was the same as what I saw in PPC (I'm not familiar with programming though ). The trust score issue just shows itself more clearly in YACoin because of wallet performance problems and having longer POW chains for POS block to orphan. ...
After mhps's comment I dug down into the code and came to the conclusion mhps was right. That is, a 1000 day old chunk of 100 coins will get get 1000 days worth of interest. And there is no limit to the number of days. If you don't open your client for 10 years, and YACoin is still around in 10 years, then you will get 10 years worth of interest.
However, the probability of finding a POS block for those 100 coins started at a low point at 30 days, and increased gradually until the coins got 90 days old. After 90 days the coin's continue to accrue interest, but the probability of finding a POS block for those coins stays at a constant maximum probability from day 90 until day 1000. If a POS block were found on day 1000, I would expect the interest to be (100)*(0.05)*(1000)/(365) or 13.698.
I've always assumed interest paid is capped at 90 days because that's what I heard about PPCoin. Thank you for going through the code to find out. Does the probability of finding POS block increase linearly with days between 30 and 90 but is independent of the quantity of coins in the chunk?
|
LTC: LSyqwk4YbhBRtkrUy8NRdKXFoUcgVpu8Qb NVC: 4HtynfYVyRYo6yM8BTAqyNYwqiucfoPqFW TAG id: 4313 CMC: CAHrzqveVm9UxGm7PZtT4uj6su4suxKzZv YAC: Y9m5S7M24sdkjdwxnA9GZpPez6k6EqUjUt
|
|
|
Gorgoy
Member
Offline
Activity: 115
Merit: 10
|
|
March 25, 2014, 12:58:07 AM |
|
Hi all,
I have a question. How can I do POS that is not split into two. Meaning if I have 1,000 YAC it is not split in two 500 YAC with the Stake added to each I see these POS all the time on the blockchain were the address is kept whole and the stake is added to the one address.
I would love to be able to do this, but have no idea if it is a special wallet or what. Help!!!
You are all awesome, I love YAC!!!!
|
Ɏ : YEojPD2QxFVaSUypTLYhwJgmVekqoAtdE3 ฿ : 1946hwLbBdLNSA1FFUY3ZvRx6j6dqvbzcE Ł : LczTrStBZ8b1Y4DJU59CjtYRtjKufbTXPE Ғ : 6i4S4BfHfC9LLmTBhjYDVKe7g8XfPz9uj8 Ψ : AGpoWwc6N59PPqKbzRTAiFG5WmDEQU7Ydp ζ : ZLYFK2KNrFDDGVbEJPKnTdWuGk3iA3CNY2 G : GQbjHcGPgUwRBKZcdoMCpuf24QSXY5t5bf
|
|
|
mhps
|
|
March 25, 2014, 05:12:43 AM |
|
I personally don't think we (YACoin) should force people to keep their clients open all the time. And I am at a complete loss how POS is supposed to be some kind of security utopia, especially when POS it nearly killed us. We neutered POS at block 420000, so It's behaving itself nicely now.
From what I have read, the problem YAC had with POS is YAC (and its offsprings) specific. POS promises to offer solutions to problems with POW that will probably have pure POW coins killed. POS is very complex, however. I think the problem is actually inherited from PPCoin. I seem to remember the code that calculate trust score in YAC was the same as what I saw in PPC (I'm not familiar with programming though ). The trust score issue just shows itself more clearly in YACoin because of wallet performance problems and having longer POW chains for POS block to orphan. If PPC had this problem it would have been well known. Killerstorm said PPC didn't have the problem because PPC used the checkpoint. My impression is that checkpoint in PPC is seldom if ever used. So I guess I don't know well enough to tell. I've always assumed interest paid is capped at 90 days because that's what I heard about PPCoin. Thank you for going through the code to find out. Does the probability of finding POS block increase linearly with days between 30 and 90 but is independent of the quantity of coins in the chunk? In PPC it is proportional to coin days, the number of coins in the stake multiplied by the number of days. Since there are only 60 POS blocks available at maximum every hour, if you only have small stakes your chance of getting one block is small. This discourage small stake holders from supporting the network by trying to find POS blocks.
|
|
|
|
mhps
|
|
March 25, 2014, 05:15:39 AM |
|
Hi all,
I have a question. How can I do POS that is not split into two. Meaning if I have 1,000 YAC it is not split in two 500 YAC with the Stake added to each I see these POS all the time on the blockchain were the address is kept whole and the stake is added to the one address.
I would love to be able to do this, but have no idea if it is a special wallet or what. Help!!!
The idea is to have a lot of stakes competing for new POS blocks. If finding POS blocks doesn't happen often, you can just manually send the outputs to one address after they become spendable again.
|
|
|
|
alenevaa
|
|
March 25, 2014, 06:57:11 AM |
|
Hi all,
I have a question. How can I do POS that is not split into two. Meaning if I have 1,000 YAC it is not split in two 500 YAC with the Stake added to each I see these POS all the time on the blockchain were the address is kept whole and the stake is added to the one address.
I would love to be able to do this, but have no idea if it is a special wallet or what. Help!!!
The idea is to have a lot of stakes competing for new POS blocks. If finding POS blocks doesn't happen often, you can just manually send the outputs to one address after they become spendable again. Yes, you can! But I want "to choose" too. I'd like to have an option in wallet. You set the manual "threshold". After that splitted amount will never be less than "threshold". In another words, output will be splitted only if amount in PoS block greater than 2x"threshold". It does make sense because if you have too many transaction in wallet for PoS you need more powerful CPU.
|
|
|
|
sairon
Sr. Member
Offline
Activity: 406
Merit: 250
One does not simply mine Bitcoins
|
|
March 26, 2014, 09:49:09 PM |
|
Hi all,
I have a question. How can I do POS that is not split into two. Meaning if I have 1,000 YAC it is not split in two 500 YAC with the Stake added to each I see these POS all the time on the blockchain were the address is kept whole and the stake is added to the one address.
I would love to be able to do this, but have no idea if it is a special wallet or what. Help!!!
The idea is to have a lot of stakes competing for new POS blocks. If finding POS blocks doesn't happen often, you can just manually send the outputs to one address after they become spendable again. Yes, you can! But I want "to choose" too. I'd like to have an option in wallet. You set the manual "threshold". After that splitted amount will never be less than "threshold". In another words, output will be splitted only if amount in PoS block greater than 2x"threshold". It does make sense because if you have too many transaction in wallet for PoS you need more powerful CPU. you can find the relevant stake generation code here: https://github.com/yacoin/yacoin/blob/master/src/wallet.cpp#L1376the nStakeSplitAge variable is set to 90 days and it seems like it's pretty important for some reason... (no idea why) next at line #1475 the pos reward gets split into 2 outputs if the stake was younger than nStakeSplitAge (90 days) 0/10 would not recommend fiddling with the nStakeSplitAge variable without knowing exactly WHY that particular value was chosen in the first place (could be just a troll and/or a cool backdoor lol)
|
GPG key ID: 5E4F108A || BTC: 1hoardyponb9AMWhyA28DZb5n5g2bRY8v
|
|
|
|