Pages:
Author

Topic: [ANN][YAC] YACoin ongoing development - page 99. (Read 380091 times)

sr. member
Activity: 280
Merit: 250
January 02, 2014, 06:03:18 PM
.)Sairon's rules
I hope I made it clear why I belive that they aren't good without some additional rules. Basically a trading a tecnical for a huge economical problem.

.)Sairon's rules + Doubling PoW reward on blocks after a PoS block AND requireing a far higher minimumbalance for PoS


Actually, I'm not clear on why you think disallowing adjacent POS blocks would be harmful - if a POS block fails, the coin age is not lost and it can be re-attempted after a POW block has been completed - with 1 minute target block intervals, would it even be noticable?

It seems like checking the type of block that occurred and not allowing adjacent POS blocks is significantly less radical of a change than your suggested doubling POW rewards for blocks that follow POS blocks and requiring wallets to be arbitrarily large to even allow them to POS.  I'm failing to see what benefit those changes would have other than it keeps people from attempting malicious activity with small numbers of coins - the POW doubling just seems arbitrary..
I've written like 5 post here about why I belive Sairon's rules alone bring a lot of problems since these new rules could be exploided by a few. The few would then profit from harming the whole community for their own profits.I hope they made it clear why I think this way and won't repeat that unless someone states a question(or critics) about them.



On my additional rules in addition to Sairon's rules.
Well, there' a reason for choosing exactly double rewards* AND higher minimums for PoS.


Doubling PoS rewards woud make PoS-PoW more profitable than PoW-PoW so miner wouldn't benefit from a PoW-only currency. No incentives to fight PoS blocks (regardless if possible/profitable/...). As you noticed it's far more radical, but the real radicalism is in raising the minimum balance for PoS.

This would prevent most people from ever generating their own PoS blocks later on. The current minimum of ~20YAC to mint would be some money if YAC get's widly accepted, but for this to work it would have to be far far higher. I think a minimum of 1000YAC would be nessasary to prevent PoS-pooling and requireing fees on everyone that isn't in a pool.

Again this isn't something I want, it's something I belive is nessasary. Otherwise PoS could be pooled and miners would keep their PoS-blocks secret to exclusively mine on their own PoS-blocks. Chances of finding a block are euqual, but if they get lucky that would be a super-jackpot. Double rewards means magnitudes more profit for them since PoW mining is expensive. There is no cost for not submiting a valid PoS block.

All this wouldn't be very problematic, but since every mining pool would use pooled PoS-adresses (that are only used if a block is found by the pool) stuff get's messy and PoS isn't decentralized anymore. (Among other problems, f.e. fees for confirming a big PoS block)


*) Reducing all PoW-rewards that aren't directly after a PoS-block by 50% would have the same effect, but I doubt we could ever agree on such. I'd actually prefer that, but it's utopical that we could ever agree on such.

EDIT: Edit edits his edit... Don't know whats wrong with me today.
hero member
Activity: 693
Merit: 500
January 02, 2014, 05:02:21 PM
.)Sairon's rules
I hope I made it clear why I belive that they aren't good without some additional rules. Basically a trading a tecnical for a huge economical problem.

.)Sairon's rules + Doubling PoW reward on blocks after a PoS block AND requireing a far higher minimumbalance for PoS


Actually, I'm not clear on why you think disallowing adjacent POS blocks would be harmful - if a POS block fails, the coin age is not lost and it can be re-attempted after a POW block has been completed - with 1 minute target block intervals, would it even be noticable?

It seems like checking the type of block that occurred and not allowing adjacent POS blocks is significantly less radical of a change than your suggested doubling POW rewards for blocks that follow POS blocks and requiring wallets to be arbitrarily large to even allow them to POS.  I'm failing to see what benefit those changes would have other than it keeps people from attempting malicious activity with small numbers of coins - the POW doubling just seems arbitrary..
sr. member
Activity: 280
Merit: 250
January 02, 2014, 04:04:56 PM
I've got a "workaround" for this issue. Still, it requires a hard-fork.
It's quite simple, just disallow two consecutive PoS blocks and lower PoS trust to match PoW (1).
There's no way PoS-only miner can orphan a single block.
As I said in my previous few post I belive those new rules on it's own are exploidable and would harm YAC more than CentralCheckpointing. There is a reason why other PoS coins decided to use that awful solution.
Read my previous posts to undertand why I think so.


I don't think they can be changed at all, I have spend hours thinking about on alternatives that would also prevent double spends. My conclusion was that these can't be changed, but maby we could add something to them.

What I don't know is what how we could solve this, but I had a few ideas:
.)Sairon's rules
I hope I made it clear why I belive that they aren't good without some additional rules. Basically a trading a tecnical for a huge economical problem.

.)Sairon's rules + Doubling PoW reward on blocks after a PoS block AND requireing a far higher minimumbalance for PoS

.)Decentralised CentralCeckpoints
A big wallet (50k+) can be staked for the privilege to checkpoint and gets coins for doing so. If the network realizes that this guy wasn't honest we will never ever allow transaction from that wallet. Everyone with that much YAC should be able to do it.
Opens a box that shouldn't ever be opend, but maby a lottery +big earning for an honest winner could resolve this.
.)CentralCheckpoints from the dev

.)Proof_of_Stake#Cementing
Very very bad idea

.)Suggestions?

As you might notice they all got their drawbacks and frankly I'd prefer the current system to work or CentralCheckpointing if we can't fix the problems with sairon's rules.
sr. member
Activity: 280
Merit: 250
January 02, 2014, 03:21:48 PM
PoW miners will never be able to remove the whole PoS function and every block, but they could make the whole PoS system useless in order to maximize profits. I belive the rules you proposed are they only way besides CentralCheckpoints to solve the current doublespend problem.

PoW miners certainly won't maximize their profits by orphaning PoS. On the contrary - their mining revenue would be much lower if they decided to attempt orphaning PoS.

All they would have to do is make it useless for the purposes it should serve. Centralizes PoS would work but would also be pointless.

Examples:

1)All miners would benefit if most blocks are PoW and the few remaining (big) PoS are paying a fixed fee. Rich adresses would benefit from excluding small wallets from PoS-rewards. The other people don't matter.

2)Even if miners can't agree on a fixed fee, they could agree on a minimum size for a wallet to PoS. (Higher minimum->less PoS blocks ->more PoW->far more new coins generated->more profit). Benefits both miners and rich guys.

3)When several PoS blocks are competeing for one spot miners can decide who will win the spot. Combined with richguys spliting up their wallets they could together require a fixed fee for a PoS-spot. It doesn't matter for the miner on what block they mine ontop of.



All those possibilities would destroy the benefits of PoS and make it useless. That are just 3 obvious ones and it's likely that there is a non obvious but profitable one. The problem with your rules is that they can be easily exploided by a few for just their own benefit. Usually if that's possible it will also be exploided (examples:banks, govermets,... mankind)



Is cementing an option, or would that be really bad with our current distribution of hashpower (mostly centralized)?  https://en.bitcoin.it/wiki/Proof_of_Stake#Cementing

Very very (very) bad idea ... NO.
sr. member
Activity: 406
Merit: 250
One does not simply mine Bitcoins
January 02, 2014, 03:19:38 PM
One question I still have is : what is to prevent a user from forcing the generation of a POS block (which is just a flag when starting the wallet now, correct?), jumping offline before the generation is complete and coming back on 6 hours later.  Does it attach to the end of the blockchain? or does it insert where the blockchain was when the block was generated (not submitted), potentially orphaning 360 blocks?  

He can generate a PoS block wherever in the chain he likes, however with trust reduced to 1 it's useless to do so. And the "no consecutive PoS" rule prevents him from doing any damage even if he has millions of PoS-eligible inputs.

So, it appears that the genesis for the hash on a POS block is based on the coin age of the input.  If POS isn't successful (due to the most recent block being POS), then the coin age is not destroyed, and can be attempted later, which can be as soon as a minute (in an ideal model) as a miner finds a POW block to sit on top of the minter's POS block.

I just wasn't certain if the whole orphaning was being caused by the POS blocks having to be inserted into the blockchain at the point it was generated as opposed to when the minter was connected to the network.

Is cementing an option, or would that be really bad with our current distribution of hashpower (mostly centralized)?  https://en.bitcoin.it/wiki/Proof_of_Stake#Cementing

IMO cementing is a bad idea as it requires us to trust PoS (which we don't as of now).
Also there could be some race-conditions and other nasty issues that could easily result in network fragmentation.
hero member
Activity: 693
Merit: 500
January 02, 2014, 03:14:20 PM
One question I still have is : what is to prevent a user from forcing the generation of a POS block (which is just a flag when starting the wallet now, correct?), jumping offline before the generation is complete and coming back on 6 hours later.  Does it attach to the end of the blockchain? or does it insert where the blockchain was when the block was generated (not submitted), potentially orphaning 360 blocks?  

He can generate a PoS block wherever in the chain he likes, however with trust reduced to 1 it's useless to do so. And the "no consecutive PoS" rule prevents him from doing any damage even if he has millions of PoS-eligible inputs.

So, it appears that the genesis for the hash on a POS block is based on the coin age of the input.  If POS isn't successful (due to the most recent block being POS), then the coin age is not destroyed, and can be attempted later, which can be as soon as a minute (in an ideal model) as a miner finds a POW block to sit on top of the minter's POS block.

I just wasn't certain if the whole orphaning was being caused by the POS blocks having to be inserted into the blockchain at the point it was generated as opposed to when the minter was connected to the network.

Is cementing an option, or would that be really bad with our current distribution of hashpower (mostly centralized)?  https://en.bitcoin.it/wiki/Proof_of_Stake#Cementing
sr. member
Activity: 406
Merit: 250
One does not simply mine Bitcoins
January 02, 2014, 02:58:30 PM
PoW miners will never be able to remove the whole PoS function and every block, but they could make the whole PoS system useless in order to maximize profits. I belive the rules you proposed are they only way besides CentralCheckpoints to solve the current doublespend problem.

PoW miners certainly won't maximize their profits by orphaning PoS. On the contrary - their mining revenue would be much lower if they decided to attempt orphaning PoS.
sr. member
Activity: 280
Merit: 250
January 02, 2014, 02:55:28 PM
Favoring PoW over PoS or vice-versa isn't benefiting one rich group over another.
Only when PoS is fair and the new rules could be abused so that only rich adresses (>10kYAC) can PoS while most other (poor) people can't)
sr. member
Activity: 280
Merit: 250
January 02, 2014, 02:53:29 PM
The new rules make it possible to destroy PoS since they favour PoW so extreme over PoS.
No, it does not favor PoW over PoS - both have the exact same value.
I'm not talking about individual blocks, I'm talking about the whole PoS system vs the whole PoW system.
It favours it since PoW can ophran a PoS but it's not possible the other way round.
That's something we want, but also something that brings new problems.

PoW miners will never be able to remove the whole PoS function and every block, but they could make the whole PoS system useless in order to maximize profits. I belive the rules you proposed are they only way besides CentralCheckpoints to solve the current doublespend problem.

They do come with some enourmous problems that we have to fix befor we implement them, later isn't possible. I don't think we can change your rules, but we have to add something to them to save POS. Doubling rewards for a PoW block after a PoS would strengten PoS but also increase inflation dramatically.

Then we would also have to change the chaintrust on PoS blocks so that always the biggest PoS candidate wins.
This will be a complex problem if we don't want to screw up.
hero member
Activity: 809
Merit: 501
January 02, 2014, 02:43:49 PM
The whole point of PoS was to add security and inflation. Favoring PoW over PoS or vice-versa isn't benefiting one rich group over another.  If anything, PoS favors the 'rich'. I think there is a problem with bitcoin and litecoin when inflation through PoW slows and eventually stops completely. I think a great coin would allow a modest amount of inflation (2% or more) through PoW indefinitely (by percentage, not fixed number of coins).

I'm still wondering what disallowing consecutive PoS blocks will do aside from fixing the PoW orphan issue.  Does that mean coins could be 'staked' for much longer? How long? There seems to be a lot of gamemanship with PoS minting, and I'm not sure that fix would change that aspect... it would just change the rules of the game.  
sr. member
Activity: 406
Merit: 250
One does not simply mine Bitcoins
January 02, 2014, 02:38:40 PM
One question I still have is : what is to prevent a user from forcing the generation of a POS block (which is just a flag when starting the wallet now, correct?), jumping offline before the generation is complete and coming back on 6 hours later.  Does it attach to the end of the blockchain? or does it insert where the blockchain was when the block was generated (not submitted), potentially orphaning 360 blocks?  

He can generate a PoS block wherever in the chain he likes, however with trust reduced to 1 it's useless to do so. And the "no consecutive PoS" rule prevents him from doing any damage even if he has millions of PoS-eligible inputs.
hero member
Activity: 693
Merit: 500
January 02, 2014, 02:34:50 PM
Having read more articles and publications on POS and attacks, and listening to input here, I really can't offer a better solution than no consecutive POS blocks.  

Knowing POS exists as a wey to secure the blockchain with less electricity waste may not be as critical to YACoin as it is to other coins.  With a higher N, the power consumption on my cards is lower (comparing YAC to LTC or any other N=9 Scrypt coin).  This may drop even further i the future.  If disallowing consecutive POS blocks now keeps YAC from imploding, I say we have to do it.  This may be a case of kicking the can down the road, but the only other solution we've seen implemented is centralization of the blockchain.

One question I still have is : what is to prevent a user from forcing the generation of a POS block (which is just a flag when starting the wallet now, correct?), jumping offline before the generation is complete and coming back on 6 hours later.  Does it attach to the end of the blockchain? or does it insert where the blockchain was when the block was generated (not submitted), potentially orphaning 360 blocks?  

If anyone has any good references on the subject, I'd love to read them.  I've read
https://en.bitcoin.it/wiki/Proof_of_Stake
http://bitcoinmagazine.com/6528/
http://www.peercointalk.org/index.php?topic=936.0
http://www.peercointalk.org/index.php?topic=809.0
http://www.peercointalk.org/index.php?topic=979.0
sr. member
Activity: 280
Merit: 250
January 02, 2014, 02:26:58 PM
Has this idea been done?  Built-in POW-POS-POW-POS staggered blocks?  What implications does it have other than fix the POW orphan problem (ie unintended consequences)?
I belive that (if profitable) miners/groups interrested could rape (think of it as a hack) the protocoll and make PoS useless.
You can't ban PoW-PoW-PoW since we don't have that many PoS, we're only talking about banning POS-POS


If significant (<50%) of miners could agree f.e. on not accepting a small PoS block and only working on top of big PoS and PoW blocks. Just because the protocoll says that you should always build on top of the longest chain doesn't mean it can force you to always do.


How miners could profitable ignore small PoS blocks:

1)New unofficial rule: Don't build on small PoS blocks or better ask for a fixedPoS-fee (no fork or official announcement)
2)A new small PoS apears, but miners rather continue their work on a block where a lot of work has been done already.

No PoS-block could be mined on top of the small PoS so they don't matter at all. Only PoW matters and the honest network would have to be stronger than the unethical network that has already done a lot of work. Beeing unethical gives more rewards since rewards on PoW>>>>>PoS.

Big wallests will always be able to protect there PoS-blocks with a fixed fee and most others won't be able to pay such fee.

--> PoS useless.

The argument ("but then they will have to fight against honest PoS and PoW") doesn't work either. (Pooling PoS possible)

EDIT:red stuff
sr. member
Activity: 406
Merit: 250
One does not simply mine Bitcoins
January 02, 2014, 02:09:19 PM
The new rules make it possible to destroy PoS since they favour PoW so extreme over PoS.

No, it does not favor PoW over PoS - both have the exact same value.

Orphaning a single PoS block with PoW is VERY HARD with the new rules (right now even more so).
Orphaning a single PoW block with PoS is IMPOSSIBLE with the new rules (right now you can orphan a SHITLOAD of PoW blocks effortlessly).

EDIT: to clarify - you can create an alternative fork with PoS block under the new rules (assuming that the second to last block was not PoS) - but that's not an issue. To actually orphan the legitimate block you'd have to also PoW mine at least one block after your PoS block.
sr. member
Activity: 280
Merit: 250
January 02, 2014, 02:03:43 PM
Also, the gain from orphaning PoS is ZERO.
It feels like this could be used so game the system.

The new rules make it possible to destroy PoS since they favour PoW so extreme over PoS. Maby there isn't even a profitable exploid for them, but we surely couldn't rule that out. If there is one we couldn't fix without a hardfork and that's something we couldn't agree on.

On the other hand a lot of important groups could egoistically benefit from a non working PoS system. Miners would love to mine all blocks and rich people would like to exclude most other people from PoS. It doesn't matter that 99.99% get screwd in the current banking system as long as those 0.01% can make the rules and profit from them.


We need to find a way that favours a combination of PoW/PoS over a system with just one of those. The "no 2 PoS-blocks touching"-rule prevents PoW to extinct, but how can we protect PoS*?

The current system also protects both, but unfortuneatly it doesn't work. If we want it to be fixed with something that doesn't risk PoS or PoW. (Even if that is CentralCheckpoints, but I really hate that)


*)In a useful form. A fixed fee, f.e 50YAC/PoSbock wouldn't affect me at all, but most others couldn't PoS anymore and so make it useless. I'd even benefit from everyone having to pay such fee.

Sorry that it took me 20replies to write this. I will comment on those once I've read them.
Never took me so long to formulate an idea

sr. member
Activity: 406
Merit: 250
One does not simply mine Bitcoins
January 02, 2014, 01:59:18 PM
You just CAN'T spend freshly minted coins until there's 520 more blocks above the one you minted.

Yes. But exchanges and businesses could still wait until there's 1040, 2080 or 10400 before they take your fresh coins if they don't want the risk of transaction reversal.

We could make the standard wallet freeze coins for that much longer, so they can't be put in outgoing transactions. If someone receives "fresh" coins, they know the other person is going all the way to use a hacked wallet which immediately flags it as fishy.

Well, this hinders the usability of YAC, then... YAC would be absolutely unusable the way you propose.

With the workaround I proposed, you can be certain that only someone with control of 51% or more of the network hashrate can orphan blocks - and that it actually costs him something to attempt that kind of thing.

The way it is now even a McDonald's worker screaming for higher minimum wage can orphan as many YAC blocks as he likes.
sr. member
Activity: 406
Merit: 250
One does not simply mine Bitcoins
January 02, 2014, 01:55:00 PM
sr. member
Activity: 406
Merit: 250
The cryptocoin watcher
January 02, 2014, 01:53:08 PM
You just CAN'T spend freshly minted coins until there's 520 more blocks above the one you minted.

Yes. But exchanges and businesses could still wait until there's 1040, 2080 or 10400 before they take your fresh coins if they don't want the risk of transaction reversal.

We could make the standard wallet freeze coins for that much longer, so they can't be put in outgoing transactions. If someone receives "fresh" coins, they know the other person is going all the way to use a hacked wallet which immediately flags it as fishy.
member
Activity: 118
Merit: 10
January 02, 2014, 01:49:06 PM
Would it be possible to implement automatic calculation of how many PoS blocks can be allowed one after another based on N factor?
This is my idea and let's say for example that we get a new fork on February 1st. Column "Blockchain example" shows what could be allowed ( Nfactor-13 consecutive PoS blocks )

▉  PoW
◔   PoS

NfactorDate timeConsecutive PoS blks allowedBlockchain exampleNMemoryTimestamp
14We are here◔◔◔◔◔◔◔◔◔◔◔327684 MB1384768416
14Sun 1 Feb 2014 00:00:001▉◔▉▉▉◔
15Sat 31 May 2014 14:13:522▉◔◔▉◔◔▉▉▉◔655368 MB1401545632
16Fri 05 Sep 2014 16:24:003▉◔◔◔▉◔◔▉▉◔◔◔13107216 MB1409934240
17Tue 23 Jun 2015 22:54:244▉◔◔◔◔▉◔◔◔◔▉26214432 MB1435100064
18Sat 16 Jul 2016 07:34:565▉◔◔◔◔◔▉◔◔◔◔◔▉52428864 MB1468654496
19Tue 08 Aug 2017 16:15:286 or perhaps release restrictions?1048576128 MB1502208928
20Fri 16 Oct 2020 18:17:04?2097152256 MB1602872224


sr. member
Activity: 406
Merit: 250
One does not simply mine Bitcoins
January 02, 2014, 01:41:20 PM
(eg. you deposit YAC to exchange, wait until the exchange credits you the deposited balance, block gets "magically" orphaned - and you now have both your YACs AND credit at an exchange - that's why Cryptsy has been disabling YAC trading lately).

Why would an exchange give you credit for freshly minted coins, unless they deliberatedly wanted the risk.

NOT freshly minted... -.-"
You just CAN'T spend freshly minted coins until there's 520 more blocks above the one you minted.
I was referring to TRANSACTIONS. The block CONTAINING your transaction gets orphaned. It DOES NOT need to be YOUR block.

And YAC had some chain reorgs deeper than 50 blocks (50 confirmations of transaction!) as the consequence of all this badly-designed PoS bullshit.


Built-in POW-POS-POW-POS staggered blocks?  What implications does it have other than fix the POW orphan problem (ie unintended consequences)?
It's not just pow-pos-pow-pos. It can just as well be pow-pos-pow-pow-pow-pow-pos. There's no limit on how much consecutive PoW blocks are there in the chain - just that 2 PoS blocks can't be directly linked.
Pages:
Jump to: