Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Sunny King on August 21, 2012, 09:37:10 PM



Title: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 21, 2012, 09:37:10 PM
I think I may have found a solution in response to the various criticisms related to checkpoint and double-spending attacks.

Here is the new proposal for main chain protocol:

The main chain protocol will now score based on proof-of-stake difficulty.
Each proof-of-stake block is scored its proof-of-stake difficulty (proof-of-work block scores 0 or something small like 0.01)
The chain with highest total score is the main chain.

This will work quite similar to Bitcoin's main chain protocol.

Double spending attack will be much much harder.
Checkpoint may be weakened in the future when proof-of-stake protection is strong enough.

I may include this in a 0.2 release. The implementation of this is likely trivial and not affecting current users.

Let me know what you think,

Sunny


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: iddo on August 21, 2012, 10:06:18 PM
The main chain protocol will now score based on proof-of-stake difficulty.

Please elaborate?

Neither your article nor your previous replies were clear enough, and I didn't try to analyse the source code just to understand the protocol specifications.
If I understood correctly, the blockchain can be extended either by proof-of-work or by proof-of-stake as the next block?

My guess is that since the main property that your protocol tries to accomplish is to avoid the energy waste of proof-of-work hashpower, you won't be able to achieve security from double-spending attacks by stakeholders.
It's an interesting experiment, we'll see if I'm wrong...


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: markm on August 21, 2012, 10:19:09 PM
Experts have gone over this proof of stake stuff for what, months for sure maybe a year or more?

Did you read their wiki pages?

They already solved this didn't they?

What you say above still sounds like you are just cementing in place the ability of stakeholders to periodically do a double spend?

-MarkM-


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 21, 2012, 10:21:51 PM
Double spending will be hard exactly the same way as in Bitcoin, because generating one proof-of-stake block on demand is already hard, generating multiple of them to force reorg is way way harder.

Energy-efficiency is still preserved if proof-of-work blocks get scored 0.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: markm on August 21, 2012, 10:36:04 PM
Scored zero what? Work? Why have proof of work blocks if their work is irrelevant?

Are you adding up some kind of weighted sum of work plus stake for the proof of stake blocks?

Why do you even have tow types of blocks if indeed you are implying some blocks are proof of work and others are proof of stake?

Shouldn't each block have both work and stake, each weighted somehow into total of how much that block counts toward being a longer chain?

-MarkM-


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: iddo on August 21, 2012, 10:38:46 PM
Double spending will be hard exactly the same way as in Bitcoin, because generating one proof-of-stake block on demand is already hard, generating multiple of them to force reorg is way way harder.

Energy-efficiency is still preserved if proof-of-work blocks get scored 0.

You're quite economic with providing exact details of how your protocol behaves, I have to make guesses.
If I understand correctly, you now say the proof-of-work will be used just to bring new coins into existence, and protection from double-spending will be done just via proof-of-stake?
What makes you think that large stakeholders couldn't easily prepare a secret forked branch when they wish to double-spend? Isn't it true that generating a proof-of-stake block on demand is easier if you're a large stakeholder?


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 21, 2012, 10:45:43 PM
You're quite economic with providing exact details of how your protocol behaves, I have to make guesses.
If I understand correctly, you now say the proof-of-work will be used just to bring new coins into existence, and protection from double-spending will be done just via proof-of-stake?
What makes you think that large stakeholders couldn't easily prepare a secret forked branch when they wish to double-spend? Isn't it true that generating a proof-of-stake block on demand is easier if you're a large stakeholder?

That's basically comparable to a 51% attack on proof-of-work. They would stand to lose a lot more than they gain.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: markm on August 21, 2012, 10:53:34 PM
Yeah but the weighted sum of both work and stake on each block means to doublespend you need lots of work and lots of stake, having just one or the other is way less likely to succed? Maybe Meni and Cunicula can weigh in on this, though likely they figure it was all thoroughly explained in their wiki entries and all the many many threads that argued it all out back and forth to lead ultimately to the wiki entries?

Where were your weird out of the blue approaches during all those months of deep work on how it can be done right?

-MarkM-


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: galambo on August 22, 2012, 01:54:32 AM
I think associating the block reward to the difficulty target is a bad idea. How did you test this?

Your idea seems to be more sensitive to correct timestamps. How did you test this?

This seems like a pyramid scheme rather than a currency because you center your work on an idea which will paralyze money velocity, "coin age."

I don't understand the problem you claim to be solving "energy efficiency" could you please expand on this idea, since it is so central to your coin?

What algorithm did you use to "continuously adjust" the difficulty? Sounds dangerous.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: VelvetLeaf on August 22, 2012, 02:34:32 AM
Is this mean the blockchain will be restarted ?


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 22, 2012, 02:40:28 AM
Yeah but the weighted sum of both work and stake on each block means to doublespend you need lots of work and lots of stake, having just one or the other is way less likely to succed? Maybe Meni and Cunicula can weigh in on this, though likely they figure it was all thoroughly explained in their wiki entries and all the many many threads that argued it all out back and forth to lead ultimately to the wiki entries?

Where were your weird out of the blue approaches during all those months of deep work on how it can be done right?

-MarkM-


Oh well I think that's fairly enough as far as I am concerned if their competing designs are so nice and thorough why don't they bring out the implementation and prove it to the Market. They could even fork and reuse some of our code if they want and I would be glad of being some help.

I'd like to hear more constructive opinions instead. Please keep in mind our goal is to solve energy efficiency instead of implementing someone else's ideas.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 22, 2012, 02:44:24 AM
Is this mean the blockchain will be restarted ?

No. This change has no effect on block format and only affects the decision of when to do reorganization. So block chain does not need to be restarted.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Bitcoin Oz on August 22, 2012, 02:45:47 AM
Yeah but the weighted sum of both work and stake on each block means to doublespend you need lots of work and lots of stake, having just one or the other is way less likely to succed? Maybe Meni and Cunicula can weigh in on this, though likely they figure it was all thoroughly explained in their wiki entries and all the many many threads that argued it all out back and forth to lead ultimately to the wiki entries?

Where were your weird out of the blue approaches during all those months of deep work on how it can be done right?

-MarkM-


Oh well I think that's fairly enough as far as I am concerned if their competing designs are so nice and thorough why don't they bring out the implementation and prove it to the Market. They could even fork and reuse some of our code if they want and I would be glad of being some help.

I'd like to hear more constructive opinions instead. Please keep in mind our goal is to solve energy efficiency instead of implementing someone else's ideas.

I dont think you can rely on POS or POW alone you need to have them working together. If you only use POW or POS by themselves its no good.

PoW+PoS not PoW OR PoS.

If one needs 50% of mining power + 50% of the entire stake to attack its practically impossible.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: markm on August 22, 2012, 05:13:47 AM
Yeah but the weighted sum of both work and stake on each block means to doublespend you need lots of work and lots of stake, having just one or the other is way less likely to succed? Maybe Meni and Cunicula can weigh in on this, though likely they figure it was all thoroughly explained in their wiki entries and all the many many threads that argued it all out back and forth to lead ultimately to the wiki entries?

Where were your weird out of the blue approaches during all those months of deep work on how it can be done right?

-MarkM-


Oh well I think that's fairly enough as far as I am concerned if their competing designs are so nice and thorough why don't they bring out the implementation and prove it to the Market. They could even fork and reuse some of our code if they want and I would be glad of being some help.

Unlike some people their goal does not seem to be to rush to market to make a quick buck without full peer review of their proposals and maybe some kind of ultimate settling upon exactly which approach to implement (or possibly even to try both, in which case which one being tried first would best move forward the whole matter of whether either are quite right enough yet to be ready to move to implementation.

I'd like to hear more constructive opinions instead. Please keep in mind our goal is to solve energy efficiency instead of implementing someone else's ideas.

Merged mining. The energy is already spent, it is not going to stop being spent, so it makes more sense to do more with it than to come up with more ways to use more energy.

Properly set up proof of stake + proof of work combo should adequately protect it from being victimised by merged miners compared to the way some chains have found enabling merged mining led to their being attacked rather than secured.

I do wonder though how effective proof of stake can be if stake is obtained by using work to mine. Seems like miners maybe can retain superior stake simply by only selling a minority of coins...

-MarkM-


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 22, 2012, 05:36:40 AM
Merged mining. The energy is already spent, it is not going to stop being spent, so it makes more sense to do more with it than to come up with more ways to use more energy.

In our opinion it is by no means clear that energy will not going to stop being spent on Bitcoin. It's a concious choice by us to not support merge mining as it introduces additional long term risks. Let's just settle at that.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: VelvetLeaf on August 22, 2012, 06:25:16 AM
Merged mining.

Merged mining is a joke.
Difficulty will skyrocket and the price will stay the same while mining get harder.
The only advantage of merged mining is that you won't be afraid that late-adopter will crash the market by mining loads of coin and dump it on the market at once.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 22, 2012, 07:03:44 AM
Experts have gone over this proof of stake stuff for what, months for sure maybe a year or more?

Did you read their wiki pages?

They already solved this didn't they?

Existing proposals are not energy-efficient.

I believe that the only way to make it energy-efficient is to make people lose their stakes in case of double-spend or other malicious act.
This will attacks economically unfeasible. Double-spend can be trivially detected.

If people can do attacks without downsides, they WILL do these attacks.

So you need PoS+PoW scheme, then a downside of an attack is money lost on PoW part.

But PoS+PoW is not energy efficient, since it still requires PoW.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: markm on August 22, 2012, 07:15:09 AM
Right, which is why merged mining is still useful. Re-using already-spent energy is about as energy-efficient as it is possible to be.

-MarkM-


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: iddo on August 22, 2012, 12:01:33 PM
You're quite economic with providing exact details of how your protocol behaves, I have to make guesses.
If I understand correctly, you now say the proof-of-work will be used just to bring new coins into existence, and protection from double-spending will be done just via proof-of-stake?
What makes you think that large stakeholders couldn't easily prepare a secret forked branch when they wish to double-spend? Isn't it true that generating a proof-of-stake block on demand is easier if you're a large stakeholder?

That's basically comparable to a 51% attack on proof-of-work. They would stand to lose a lot more than they gain.

Why is it comparable? PoW is costly, PoS is costless.
Are you saying that your protocol is less secure than pure-PoW, and that's the price to pay for energy-efficiency?
I'm still throwing darts randomly, pending detailed description of your protocol.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 22, 2012, 02:02:48 PM
Why is it comparable? PoW is costly, PoS is costless.
Are you saying that your protocol is less secure than pure-PoW, and that's the price to pay for energy-efficiency?
I'm still throwing darts randomly, pending detailed description of your protocol.

PoW is costly in energy and capital investment, but PoS is costly too to the attackers as they will lose the value of their currency holdings as Market loses confidence in the currency.

If someone actually accumulated such vast wealth and be crazy enough to mount the attack, I suspect that he would not be able to remain anonymous, and folks would find out about him and mobs probably would lynch him. So I doubt any reasonably rational rich people would attempt to do that, other than some established institution. Which bring it back to the point, it is comparable to a 51% attack on proof-of-work.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 22, 2012, 02:45:59 PM
PoW is costly in energy and capital investment, but PoS is costly too to the attackers as they will lose the value of their currency holdings as Market loses confidence in the currency.

Have you ever heard about prisoner's dilemma? Nash equilibrium can be bad for everyone.

Quote
If someone actually accumulated such vast wealth and be crazy enough to mount the attack,

You don't really have a security mindset, do you? You shouldn't be operating with categories like 'crazy', you should look at various attack motives, e.g. what would a rational entity do? What if somebody will try to kill your currency if he has a stake in a competing currency?

First of all, accumulating vast wealth isn't necessary. Once you've made a block with double-spending txn, you can bribe stake-holders to build blocks on top of your block to force a reorg. Rational stake holders would do that because that doesn't cost them anything: they will earn their bounty in either case, but in case of reorg they get an extra reward (bribe).

You say that then their currency holdings become less valuable? No, one double-spend won't cause devaluation. The knowledge that such double-spend is possible will make it worthless from the start.

This is just game theory basics.

Quote
I suspect that he would not be able to remain anonymous, and folks would find out about him and mobs probably would lynch him.

If you assume that then your protocol is based on trust, essentially. There is much better protocol based on trust: Ben Laurie's mintettes. http://www.links.org/files/distributed-currency.pdf Please check it.

Besides that, assumption that there is just one wealthy guy is just wrong. You should assume that people can sell their signatures, form alliances and whatnot.

You are thinking in right direction: punishing mis-behaving stakeholders can work. But it should be a part of your crypto protocol, you should not assume availability of a lynching mob.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 22, 2012, 05:25:50 PM
I had a strange dream this morning.

I am a fairly spiritual guy and do meditations sometimes. I don't often have this type of vivid dreams where I can remember some details. And I don't believe in coincidences, so I would love to share with all of you my dream.

I went to the street and there was perhaps some sort of checkpoints. Agents are there maybe to check people's ID's.

I printed out some random guy's photo from the Internet and bring it to the agent, he rejected it and ask me to go back.

I was feeling a bit frustrated and wanted to get out. Then with a bit surprise I received a mail with a passport in it. I tried to remember how I did apply for this passport and what my name should be with this passport. I had a hard time recalling it still before I get to see the agent. Then with a bit relief I finally saw the passport is from Sweden and my new name is Korean. I was filled with joy and my hand almost shook when signing it with a pen.

Then I woke up.

I don't really fully understand the meaning of this dream. But that's not important. I wanted to share this dream with all of you because I think, given our differences, maybe we didn't fully understand our purpose, maybe we were meant to be a bigger team doing something truly great. I used to tell folks that I thought Bitcoin was the single most important event in the entire financial history of humanity, bigger than gold, bigger than fiat. Because I think it changes the foundational fabric of our society known as private property.

So yes I really cherish what I did with the ppcoin project, this is probably the best work I have ever produced. Yes I have limitations, maybe lot's of them. I thought about quitting the project several times. But I persisted. Now here we are, I hope we can understand our differences, and truly help out each other to fulfill our destiny.

Peace and Love


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 22, 2012, 07:26:44 PM
Well, if you want to work further on proof-of-stake approach I strongly recommend reading other proposals and discussing them.

Particularly, check this one: https://en.bitcoin.it/wiki/Proof_of_Stake#Meni.27s_implementation

Note that each particular implementation detail is there for a reason. Particularly, it includes a way to punish malicious stakeholders:

Quote
If an address signs two conflicting blocks, its weight is reset to 0. This is to limit the power of malicious stakeholders.

Quote
Malicious stakeholders

The system is resilient against stakeholders who misuse their signature power, even if they have a majority of the bitcoins. Since their only obligation is to not sign conflicting blocks, the only way they could double-spend is if they first sign one block so it achieves a majority, then sign a different one so that it achieves a bigger majority. Generally this will not work. A short while after a majority is achieved, most of the network will be aware of the relevant signatures. If a different signature is broadcast, the conflict will be detected and both signatures will be ignored.

Also I think that cementing is a great idea, but I'm not sure it can work in 'energy-efficient' variant.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Bitcoin Oz on August 27, 2012, 01:32:20 AM
Well, if you want to work further on proof-of-stake approach I strongly recommend reading other proposals and discussing them.

Particularly, check this one: https://en.bitcoin.it/wiki/Proof_of_Stake#Meni.27s_implementation

Note that each particular implementation detail is there for a reason. Particularly, it includes a way to punish malicious stakeholders:

Quote
If an address signs two conflicting blocks, its weight is reset to 0. This is to limit the power of malicious stakeholders.

Quote
Malicious stakeholders

The system is resilient against stakeholders who misuse their signature power, even if they have a majority of the bitcoins. Since their only obligation is to not sign conflicting blocks, the only way they could double-spend is if they first sign one block so it achieves a majority, then sign a different one so that it achieves a bigger majority. Generally this will not work. A short while after a majority is achieved, most of the network will be aware of the relevant signatures. If a different signature is broadcast, the conflict will be detected and both signatures will be ignored.

Also I think that cementing is a great idea, but I'm not sure it can work in 'energy-efficient' variant.

I like the idea of punishment for misbehaving  :)


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 27, 2012, 06:31:13 AM
Sunny King have provided only a very vague description of an algorithm, but as I understand, his PPCoin 0.2 Proposal is a variation of cunicula's algorithm: https://en.bitcoin.it/wiki/Proof_of_Stake#Cunicula.27s_Implementation_of_Mixed_Proof-of-Work_and_Proof-of-Stake

I.e. your hash target is lowered by your stake. Something like
Code:
hash-target = difficulty-target/f(coin-confirmation)
where f is some monotonic function.

This formula is just as vulnerable as your previous formula. For example, if f is identity, a person with 5% of coins and 5% of hashing power (which he needs to borrow only temporarily, i.e. rent from Amazon) can do a 50-block deep reorg once in 138 days.

So, do not even bother. Check discussion here: https://bitcointalk.org/index.php?topic=102355.msg1133808#msg1133808

I could provide recommendation on how to strengthen it, but I have absolutely no motivation to help Sunny King as he has numerous attitude problems:

  • he does not bother to reveal all algorithm details
  • yet he is very busy promoting his cryptocoin
  • he tends to ignore or dismiss criticism, i.e. "we'll solve this crucial issue some time later"

So at this point I see PPCoin as a get-rich-quick project, and with such attitude it will never be secure. If you stay with PPCoin, there WILL be double-spends.

Finally, I would note that there is an energy-efficient pure PoS system proposal: it is Etlase2's Decrits. Whole proposal seems to be overly complex, but core protocol which secures transactions is incredibly simple and I'm fairly sure it is actually secure.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: cunicula on August 27, 2012, 07:29:15 AM
Sunny King have provided only a very vague description of an algorithm, but as I understand, his PPCoin 0.2 Proposal is a variation of cunicula's algorithm: https://en.bitcoin.it/wiki/Proof_of_Stake#Cunicula.27s_Implementation_of_Mixed_Proof-of-Work_and_Proof-of-Stake

I.e. your hash target is lowered by your stake. Something like
Code:
hash-target = difficulty-target/f(coin-confirmation)
where f is some monotonic function.

This formula is just as vulnerable as your previous formula. For example, if f is identity, a person with 5% of coins and 5% of hashing power (which he needs to borrow only temporarily, i.e. rent from Amazon) can do a 50-block deep reorg once in 138 days.


  • he does not bother to reveal all algorithm details
  • yet he is very busy promoting his cryptocoin
  • he tends to ignore or dismiss criticism, i.e. "we'll solve this crucial issue some time later"

So at this point I see PPCoin as a get-rich-quick project, and with such attitude it will never be secure. If you stay with PPCoin, there WILL be double-spends.

Finally, I would note that there is an energy-efficient pure PoS system proposal: it is Etlase2's Decrits. Whole proposal seems to be overly complex, but core protocol which secures transactions is incredibly simple and I'm fairly sure it is actually secure.
Whether what killerstorm says has validity or not obviously depends on what the monotonic function f() is. Define coin-confirmation=c

If we have f(c)=c for all c, then the system is as killerstorm describes. -> 10% of hashing power and 10*n times as many coin-confirmations as the average miner is sufficient to create a fork of length n

[I don't know where killer-storms 138 day number comes from, but I'm going to assume the number is accurate here. Note that because the formula looks like this if a 50-block reorg can be done once every 138 days, then a six-block reorg can be done once every 16-17 days.  In order to attack and mine 6 consecutive blocks once every 16 days, the attacker is not mining. If he mined, then he would get 115 blocks during this period. Instead he gets 6-7 plus a double spend opportunity. One-off double-spend profit has to be about 20 times the block reward for this to payoff. To be safe, you would need to wait for more than 6 confirms on a txn worth more than 20 times block reward. Even here, I don't see why this is a big concern.]

If we have f(c)=c^(1/4) for all c -> 10% of hashing power and 10^4*n times as many coin-confirmations as the average miner is sufficient to create a fork of length n

[ This modification increases the waiting time from 138 days to 10^4*138 days or 3778 years. Waiting 450 years for a single 6 block double-spend is a good investment if the double-spend profit exceeds the block reward from 1 million mined blocks + interest and you have a strong bequest motive. 6 confirms should be enough for any size of txn.]

If we have f(c)=c^(1/g) for all c -> 10% of hashing power and 10^g*n times as many coin-confirmations as the average miner is sufficient to create a fork of length n

[increasing g makes double-spends more difficult, but makes persistently disrupting the network easier. The optimal choice of g is debatable. ]

If we have f(c)=1 for all c, then the system is identical to bitcoin.  -> 10% of hashing power is never sufficient to double-spend for n blocks

[for bitcoin double-spending and having the power to persistently disrupt the network are equivalent.]

Of course other mixes of hashing power and stake are possible. As g increases and n increase, the waiting time necessary to double spend increases.

Yes, the attacker can spend a lot of amount of money on rented hashing power to double-spend. But by doing this, the attacker sacrifices income from legit mining. Double-spending is unlikely to be highly profitable. A big barrier is not needed.

That is not a major problem. Killerstorm is exaggerating. However, it is 100% essential to think carefully about design and debate design choices. Killerstorm is 100% right about this.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: markm on August 27, 2012, 07:44:37 AM
So basically Sunny King is a reincarnation or emulation of RealSolid, in effect?

-MarkM-



Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 27, 2012, 08:31:31 AM
Definitely not as bad as RealSolid. At least implementation is open source...

But the fact that he's going to change implementation at whim, without much discussion and review should be alarming.

Some quotes from a recent update:

  • PPCoin has sailed through our first week with aplomb. -- this ignores shitload of criticism it got
  • In v0.2 a main chain protocol upgrade is expected as I described ... The code of this has been done, ... Over next week v0.2 code would go through testing and be prepared for release. -- No detailed description of changes, no real discussion, no review process. People will have to accept change blindly, in a short time frame.
  • First week total mintage is 3~4 million coins.  -- I don't really understand mintage formula, but it looks like early adopters (including Sunny King?) get a sizable bonus.

It looks like Sunny King shares some traits with RealSolid, although they are of a milder form...


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 27, 2012, 01:54:32 PM
Definitely not as bad as RealSolid. At least implementation is open source...

But the fact that he's going to change implementation at whim, without much discussion and review should be alarming.

Some quotes from a recent update:

  • PPCoin has sailed through our first week with aplomb. -- this ignores shitload of criticism it got
  • In v0.2 a main chain protocol upgrade is expected as I described ... The code of this has been done, ... Over next week v0.2 code would go through testing and be prepared for release. -- No detailed description of changes, no real discussion, no review process. People will have to accept change blindly, in a short time frame.
  • First week total mintage is 3~4 million coins.  -- I don't really understand mintage formula, but it looks like early adopters (including Sunny King?) get a sizable bonus.

It looks like Sunny King shares some traits with RealSolid, although they are of a milder form...

I offered this thread for discussion, but I didn't get a lot of feedback with merits. I am not going to wait forever to make this important change. People can get a fair assessment of where we are and start participating if previously they didn't because of fear of permanent centralization.

Our formula is very different from cunicula's as we don't involve proof-of-work difficulties in the calculations of proof-of-stake difficulties. We have 2 independent difficulties. So no your hashing power would only help in accumulating coin age first before you can have some say in whether to reorganize.

So far I only see cunicula can offer a civil and friendly discussion among those who claim they have better designs. I hope this situation would change as we progress.

As for your jealousy of early adopters should we succeed, I think I have made it clear. You would have only yourself to blame if you were blinded by your own prejudice.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 27, 2012, 02:34:39 PM
Since killerstorm questioned our review process, so I am making a public statement here:

Scott and I have been reviewing each other's code since the project began. Scott is currently busy with personal matters so he should greet you all on the forum in the near future. We are still a small team so there is no such formal process as Bitcoin. But as we progress and the project matures, more public review would be involved in decision making.

Best Regards,


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: cunicula on August 27, 2012, 03:16:03 PM
Since killerstorm questioned our review process, so I am making a public statement here:

Scott and I have been reviewing each other's code since the project began. Scott is currently busy with personal matters so he should greet you all on the forum in the near future. We are still a small team so there is no such formal process as Bitcoin. But as we progress and the project matures, more public review would be involved in decision making.

Best Regards,

Sunny, it would help if you made discussions between you and Scott completely public rather than secret. You could have the best method. However, to convince others of this, you need to explain:

a) precisely what you are doing
b) the reasons why you are doing it

You have done (a) and (b) to some degree, but you could really do a much better job. If you do so, it will be much easier to have a constructive debate. I think everyone wants this.
Transparency will shut down comparisons between you and Realsolid. I think that differentiating yourself from Realsolid is highly desirable.



Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 27, 2012, 03:45:08 PM
I offered this thread for discussion, but I didn't get a lot of feedback with merits.

How people are supposed to discuss if you give no detailed description of proposed changes?


Quote
I am not going to wait forever to make this important change.

Cryto research usually works like this: Researchers release papers with detailed description of their constructs, then they wait for years while other researchers analyze these constructs and try to find weaknesses. And if after years of research no significant weaknesses are found somebody might consider practical use of those constructs, e.g. hashing algorithms.

I'm not saying that you should wait for years, but you should publish a detailed description and wait at least a month while people analyze it.

Otherwise you should call it your personal experiment rather than some valuable cryptocurrency.

Quote
People can get a fair assessment of where we are and start participating if previously they didn't because of fear of permanent centralization.

So you just want wider a adoption, i.e. ability to sell your coins, right?

I see no other reason why you want wider participation, attention from experts is not proportional to number of users you have.

Quote
Our formula is very different from cunicula's as we don't involve proof-of-work difficulties in the calculations of proof-of-stake difficulties. We have 2 independent difficulties. So no your hashing power would only help in accumulating coin age first before you can have some say in whether to reorganize.

Am I supposed to just imagine some formula here or something?

Here's what I read in paper:

Quote
Thus the more coin age consumed in the kernel, the easier meeting the hash target protocol.

This is exactly how Cunicula's formula works. How many targets you have is irrelevant, important part is that one can compensate for a lack of hashing power with larger coin-age.

So, basically, one can wait till his coins age, and then make a lot of blocks in a short interval of time (using limited hashing power) to achieve a double-spend. Is there anything in your formula which prevents this?

Quote
So far I only see cunicula can offer a civil and friendly discussion among those who claim they have better designs. I hope this situation would change as we progress.

You aren't offering a civil and friendly discussion in the first place: you are not showing your magic formula.

Quote
As for your jealousy of early adopters should we succeed, I think I have made it clear. You would have only yourself to blame if you were blinded by your own prejudice.

lolwut

So, again: early adopters are top priority to you, security is lowest priority. And, well, that "blame yourself" thing makes it even closer to pump&dump.

Quote
Scott and I have been reviewing each other's code since the project began.

So? There should be a public review of an algorithm, not a private review of code.

Your code is already public (which is good), but if people have to decipher algorithms it doesn't encourage analysis at all.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 27, 2012, 03:46:34 PM
Sunny, it would help if you made discussions between you and Scott completely public rather than secret. You could have the best method. However, to convince others of this, you need to explain:

a) precisely what you are doing
b) the reason why you are doing it

Once you do (a) and (b), it will be much easier to have a constructive debate. I think everyone wants this. Transparency will shut down any comparison between you and Realsolid.

I think I have put enough detail into the design paper which is intended for other crypto-currency designers. I am actually quite puzzled why our fellow proof-of-stake designers have so much trouble understanding basic aspects of our design. If you really want to know more details, the code is also your friend.

I apologize here as my time is limited as I have a lot of things to do in the first couple weeks of the release. But I will try to answer more questions when I can have some more free time.

I do encourage our fellow designers to examine our code. In my opinion you have to spend effort to get familiar with Bitcoin code. If you don't, you are not going to be a successful designer no matter how many design proposals you pump out and argue it to death on a forum.

Best Regards,


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 27, 2012, 03:59:09 PM
Quote
Our formula is very different from cunicula's as we don't involve proof-of-work difficulties in the calculations of proof-of-stake difficulties. We have 2 independent difficulties. So no your hashing power would only help in accumulating coin age first before you can have some say in whether to reorganize.

Am I supposed to just imagine some formula here or something?

Here's what I read in paper:

Quote
Thus the more coin age consumed in the kernel, the easier meeting the hash target protocol.

This is exactly how Cunicula's formula works. How many targets you have is irrelevant, important part is that one can compensate for a lack of hashing power with larger coin-age.

So, basically, one can wait till his coins age, and then make a lot of blocks in a short interval of time (using limited hashing power) to achieve a double-spend. Is there anything in your formula which prevents this?


Let me give you an example here. If you have lot's of hashing power, can you pump out a lot of blocks in a short interval of time to compete with main chain? No you'd need more than everyone else combined.

Same with coin age here. You can accumulated a lot of coin age, but in order to beat main chain, you have to beat everyone else combined.

I hope you can spend some serious effort in understanding our design and in the future we can have more enjoyable discussions. You have to realize not everyone share the same ideology as you. In my opinion I have no obligation revealing my design to public before release. If that offends you, then so be it.

Best Regards,


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 27, 2012, 04:14:27 PM
Same with coin age here. You can accumulated a lot of coin age, but in order to beat main chain, you have to beat everyone else combined.

Cunicula also thought it's true, but I've demonstrated that one can easily manipulate things into his favor. Additionally, it turns out that total coin-confirmations is a totally meaningless metric: what matters is average coin-confirmations, and you can beat the average by waiting a bit.

Quote
In my opinion I have no obligation revealing my design to public before release. If that offends you, then so be it.

It doesn't offend me, at all. I just wanted to help. It looks like you don't need my help, that's OK.

I just want to warn people who consider using PPCoin that it is not possible to analyze how insecure next release will be.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: cunicula on August 27, 2012, 04:18:15 PM


Let me give you an example here. If you have lot's of hashing power, can you pump out a lot of blocks in a short interval of time to compete with main chain? No you'd need more than everyone else combined.

Same with coin age here. You can accumulated a lot of coin age, but in order to beat main chain, you have to beat everyone else combined.

You cannot stockpile hashing power. You can stockpile coin age.

Killerstorm's point is that stockpiling coin age allows you to double-spend periodically. (of course you can checkpoint every block to prevent this, but...). Whether periodic double-spending is practically relevant or not depends on how frequently it can occur. Obviously once a decade is not a problem. Once a year should be fine too. Once a day would be cause for concern (and might potentially motivate a revision of your design). I'm fine with once every week, but I suspect Killerstorm has more stringent standards. I have no idea what other people think.

The frequency depends on your protocol design and the attacker's resources. Say a wicked stakeholder owns 5% of all coins and 5% of all computing power. I'd say this is a reasonable benchmark attacker (quite well-endowed, but not ridiculously so). He doesn't ever mine except to execute 6-block long reorgs. Can you give us an estimate of how frequently the he can execute these 6-block reorgs? The arithmetic behind the estimate will be really helpful here becuase it will clarify features of your design.

If you haven't worked this out before you can check out the recent posts by killerstorm and I where we try to 'hash out' this property in the context of my scheme. I'm not sure exactly how your scheme operates, but perhaps the math is similar.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: cunicula on August 27, 2012, 04:21:16 PM

Cunicula also thought it's true, but I've demonstrated that one can easily manipulate things into his favor. Additionally, it turns out that total coin-confirmations is a totally meaningless metric: what matters is average coin-confirmations, and you can beat the average by waiting a bit.


The first part is true. However, "A bit" is misleading. Depending on the design specification, "a bit" could refer to two weeks, two years, or two thousand years.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 27, 2012, 04:37:11 PM
As I understand, here's a formula (with a bit of description): https://github.com/ppcoin/ppcoin/blob/master/src/main.cpp  CTransaction::CheckProofOfStake

This is somewhat different from Cunicula's proposal (particularly, one cannot iterate nonce to find matching hash), but it can be attacked in a similar way: attack should split his coins into many transactions, wait until they are mature enough and try to find a chain of matching blocks.

Numeric analysis is somewhat tricky (i.e. it takes more than 5 minutes), but a general idea is that if people do generate proof-of-stake blocks often, attacker having many aged coins will have an enormous advantage. I'll give you a hint: he can try to build many different chains out of his transactions, like billions of different combinations.

But I have no incentive to do a full analysis before a release.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 27, 2012, 04:43:56 PM
You cannot stockpile hashing power. You can stockpile coin age.

Killerstorm's point is that stockpiling coin age allows you to double-spend periodically. (of course you can checkpoint every block to prevent this, but...). Whether periodic double-spending is practically relevant or not depends on how frequently it can occur. Obviously once a decade is not a problem. Once a year should be fine too. Once a day would be cause for concern (and might potentially motivate a revision of your design). I'm fine with once every week, but I suspect Killerstorm has more stringent standards. I have no idea what other people think.

The frequency depends on your protocol design and the attacker's resources. Say a wicked stakeholder owns 5% of all coins and 5% of all computing power. I'd say this is a reasonable benchmark attacker (quite well-endowed, but not ridiculously so). He doesn't ever mine except to execute 6-block long reorgs. Can you give us an estimate of how frequently the he can execute these 6-block reorgs? The arithmetic behind the estimate will be really helpful here becuase it will clarify features of your design.

If you haven't worked this out before you can check out the recent posts by killerstorm and I where we try to 'hash out' this property in the context of my scheme. I'm not sure exactly how your scheme operates, but perhaps the math is similar.

There is quite a few factor playing here. It depends on how much coin age is actively participating in block generation (i.e. running the stake minter with a hot wallet). If an attacker manages to beat this total coin age then he indeed can force large reorganization. I would say it is still quite a difficult job for a 5% stake owner. Hash power is irrelevant here, as the v0.2 main chain protocol pretty much gives proof-of-work block a zero score. How long it would take him to do it depends on the average age of the coins protecting the network. If it's 6 months, then the 5% attacker probably needs at least a couple years to pull it off.

It's more difficult to do a formal math analysis as in Satoshi's case. So I am in no hurry to offer such an analysis.

I actually think the bitcoin wiki page about proof-of-stake is quite well-written and I generally agree with the opinions expressed there. I am not as paranoid about this supposed large double-spending attack as I classify it on the same level of a 51% attack on proof-of-work. In terms of defense against some powerful institutions, I think it might turn out to be stronger than Bitcoin as it buys time for the stake owners to bail out and they can even use the profit to do some other good cause.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: cunicula on August 28, 2012, 04:37:24 AM
There is quite a few factor playing here. It depends on how much coin age is actively participating in block generation (i.e. running the stake minter with a hot wallet). If an attacker manages to beat this total coin age then he indeed can force large reorganization. I would say it is still quite a difficult job for a 5% stake owner. Hash power is irrelevant here, as the v0.2 main chain protocol pretty much gives proof-of-work block a zero score. How long it would take him to do it depends on the average age of the coins protecting the network. If it's 6 months, then the 5% attacker probably needs at least a couple years to pull it off.

I don't know if this is correct or not because i don't know the details of your system (i.e. you say you are using pure proof-of-stake based on accumulated coin age, but I think you are using mixed proof-of-work/proof-of-stake). Let's assume it is pure proof-of-stake setting where coin age determines stake and hashing power is irrelevant. I'm going to assume you are doing this deterministically rather than via a lottery. [Some form of lottery might greatly improve things].

Let's make some assumptions to deal with the factors you mention. I'm going to assume that a unit of coin age is accumulated with every single block. I'm also going to assume 100% participation. I'm going to assume that coin-age is the only thing that influences mining success (say that stake mining has random elements but they are so small as to be negligible [as we will see this causes problems]). I'm going to ignore the existence of proof of work blocks and assume one stake block every 10 minutes. I'm going to normalize the total coin stock to 1.

Say there are n miners active, identical, legit miners each with a fraction c/n of all coins. They all actively participate. Due to symmetry, each miner mines 1 out of every n stake blocks and this occurs when he accumulates n stake confirmations. The amount of coin age which completes the winning block is  n*(c/n)=c.

[The miners are essentially waiting in a line of length n for there turn to mine a block. Each miner has a different position in line and they go back to the end after they reach the front. ]

There is also an attacker who holds all the remaining coins. His holdings are 1-(c/n)n=1-c. He does not mine, but waits to perform 6 block reorgs. To do this, he divides his coins across six accounts and each account holds (1-c)/6 coins. He waits w blocks between attacks. The interval is long enough to successfully attack if w(1-c)/6>c. Let's ignore discontinuities and approximate this with the equality condition: w=6c/(1-c).

How often can the attacker spring into action as a function of his wealth share, 1-c? See below

1-c        w
0.0005 11994
0.005   1194
0.05     114

So approximately the attacker who owns 0.05% of coins can strike once every 11194 blocks or about 4-5 times a year.
An attacker who owns 0.5% of coins can strike 40-50 times a year.
An attacker who owns 5% of coins can strike 400-500 times a year.

Thus, the concern that PPCoin is in the potentially worrisome daily double-spend category.

Note also that since mixed proof-of-work/proof-of-stake is not involved, there are no meaningful mining output losses for the attacker. He is just as efficient a miner as everyone else. Benefits from theft are in addition to his full legitimate mining income. (This is undesirable. Being sneaky like this should be costly. Introduce mixed proof-of-work/proof-of-stake and there are costs in terms of lost mining output.)


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 28, 2012, 08:50:48 AM
There  is a lottery. Here's a crude approximation:

Suppose attacker owns n identical accounts each having probability p of winning next proof-of-stake block. Attacker wants k-deep reorg.

Chances that k transactions can be used to build a chain of k blocks are p^k. However, there are C(n, k)*k! such different chains, and attacker can try to build them all (don't worry, there is early rejection: if first block does not match, attacker does not need to compute the rest). Moreover, attacker can wait for q blocks to perform his attack, i.e. he is not in a hurry.

Thus to perform this attack successfully we need p^k * C(n, k)*k! > 1/q, thus p > 1/(C(n, k)*k! *q)^(1/k)

For example, q = 1000, n = 5, k = 5: p > 0.096
q = 1000, n = 10, k = 5: p > 0.0319

We can see that having twice more accounts means we need 3x more probability, thus likely attacker needs as many accounts as possible. However, handling many accounts might require a lot of computational resources, at some point it won't be feasible.

Now what's about p, we don't know whether getting to 0.03 is realistic. But we can get a crude estimate. Suppose there are 100 equal shares in work. We can expect that chances that one of shares wins next proof-of-stake block are 1. But shares are not equal in terms of number of confirmations. If bp is chances to win for a smallest share, then we can write:

Code:
1*bp + 2*bp+...+100*bp=1

Thus bp ~= 1/5000. Thus to get to p > 0.03 we need 150 confirmations, to get to  p > 0.1 we need 500 confirmations.

So an attacker with 5% of money can do a 5-deep reorg each week or so. Attacker with 10% of money can do reorg each day.

I should note that this is a very crude estimate, but it demonstrates that problem is real.

This is not same as 51% attack on Bitcoin because: 1) smaller share is required; 2) attacker does not lose anything when he is trying to do a reorg, he can as well do it for shits and giggles. (Or, likely, for small profit.)


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: cunicula on August 28, 2012, 12:03:14 PM

Suppose there are 100 equal shares in work. We can expect that chances that one of shares wins next proof-of-stake block are 1. But shares are not equal in terms of number of confirmations. If bp is chances to win for a smallest share, then we can write:

Code:
1*bp + 2*bp+...+100*bp=1

Thus bp ~= 1/5000. Thus to get to p > 0.03 we need 150 confirmations, to get to  p > 0.1 we need 500 confirmations.

So an attacker with 5% of money can do a 5-deep reorg each week or so. Attacker with 10% of money can do reorg each day.

I should note that this is a very crude estimate, but it demonstrates that problem is real.

This is not same as 51% attack on Bitcoin because: 1) smaller share is required; 2) attacker does not lose anything when he is trying to do a reorg, he can as well do it for shits and giggles. (Or, likely, for small profit.)

I don't understand the part "suppose there are 100 equal shares in work". Is this equivalent to assuming hat the attacker has a work ability equal to 1% of aggregate work?

The reason I ask is that if you write suppose there are n shares in work, you then calculate b=n(n+1)/2p, which would seem to indicate that the answer depends heavily on the choice of n=100.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 28, 2012, 12:27:14 PM
The reason I ask is that if you write suppose there are n shares in work, you then calculate b=n(n+1)/2p, which would seem to indicate that the answer depends heavily on the choice of n=100.

Yep, you are right. I do not fully understand behaviour here, but it looks like higher number of participants make it harder to perform attack. On the other hand, attacker can try splitting his coins into many accounts too.

It would be ironic if large-scale attacks would be infeasible computationally. :)

(Also it's worth noting that with your system top hash-rate equivalent is achieved when all money is in hands of one miner, as he will spend all his hasing power on account which highest coin-confirmations, while many independent miners would also waste their hashes on accounts with low coin-confirmations.)


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 28, 2012, 03:14:07 PM
There  is a lottery. Here's a crude approximation:

Suppose attacker owns n identical accounts each having probability p of winning next proof-of-stake block. Attacker wants k-deep reorg.

Chances that k transactions can be used to build a chain of k blocks are p^k. However, there are C(n, k)*k! such different chains, and attacker can try to build them all (don't worry, there is early rejection: if first block does not match, attacker does not need to compute the rest). Moreover, attacker can wait for q blocks to perform his attack, i.e. he is not in a hurry.

Thus to perform this attack successfully we need p^k * C(n, k)*k! > 1/q, thus p > 1/(C(n, k)*k! *q)^(1/k)


If you take your n (accounts) to infinity, you see it's just (p*n)^k > 1/q. Here p*n = p1 = probability of attacker finding next block first. So I hope you can see now that splitting coins does not give attacker any real advantage.

Pitting p1^k against 1/q does not make sense to me, you could argue the same against Bitcoin. I suggest re-reading Satoshi's analysis on Bitcoin's main chain protocol.

As to cunicula's post #40, I think he already realizes it does not apply. No you don't get to mint a block just because you have more coin age than what's in the last block.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 28, 2012, 05:12:14 PM
If you take your n (accounts) to infinity, you see it's just (p*n)^k > 1/q. Here p*n = p1 = probability of attacker finding next block first.

Awesome! So attacker just needs to collect some portion of total coin-age to bring p1^k into a realistic range. Say, p1=1/4 is enough to do a 6-deep reorg once a month.

Quote
Pitting p1^k against 1/q does not make sense to me, you could argue the same against Bitcoin. I suggest re-reading Satoshi's analysis on Bitcoin's main chain protocol.

You were told many times, that's the fundamental difference between PoS and PoW.

If somebody gets 1/4 of hashing power and runs it for a month, he loses LOTS of money in electricity/equipment costs and in number of coins he haven't got.

If somebody accumulates 1/4 of coin-age to perform double-spend, he loses almost nothing. A single CPU can be used to find matching chains, and all he loses monetarily is interest-on-interest, which is negligible, i.e. 1/10000 per year(?).

So if there is an alternative PPCoin client which tries to do double-spends instead of normal PoS mining, there is no reason why a rational individual won't use it.

Moreover, it's possible to make a separate p2pool which aims to make double-spends using peer's shares and provides some extra reward for it.

One can simply run this p2pool in addition to a normal client. It consumes very little resources and might give some extra reward, so why not?

Running extra p2pool does not make any sense with Bitcoin: you'll likely be losing money.

Got it?



Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: markm on August 28, 2012, 05:29:18 PM
Probably not, because getting it doesn't pay. Remember the old saw about getting things the getting of wihich undermines one's paycheque?

Maybe realsolid started out this way too, the extremism only arises as more and more realities keep getting in the way of the riches being gotten quick?

-MarkM-


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 28, 2012, 06:20:13 PM
You were told many times, that's the fundamental difference between PoS and PoW.

If somebody gets 1/4 of hashing power and runs it for a month, he loses LOTS of money in electricity/equipment costs and in number of coins he haven't got.

If somebody accumulates 1/4 of coin-age to perform double-spend, he loses almost nothing. A single CPU can be used to find matching chains, and all he loses monetarily is interest-on-interest, which is negligible, i.e. 1/10000 per year(?).


I am sorry I don't agree that the main thing protecting the network is the cost of the attack. I think the crucial thing is the exponentially diminishing success rate in the attack as users wait for more confirmations. Even if attacker doesn't pay any cost in the attack, users still may adjust and wait for more confirmations and that would make the attack pointless.

And you forgot another thing, such wealthy attacker has strong incentive to protect the reputation of the network. It appears to me that you are a proof-of-stake critic in general, you don't really agree with much of the opinions expressed in the bitcoin wiki page on proof-of-stake.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 28, 2012, 06:49:52 PM
Ok I think I have got the message so there is no need to keep trying too hard. Let's just be polite and agree to disagree. I feel the critics are disingenuous as their main goal seems to be discrediting the design, rather than to help, as obviously v0.2 protocol is way stronger in the protection against double-spending than v0.1, yet none of them even care to mention this little fact.

v0.2 will be released by this weekend on schedule.

I guess we'll just have to see who is right in the market. You will have plenty of chance to prove it to the market you are right. I will gradually open up the checkpoint policy so you can attempt the attack you believe so much in. Fair enough?

Peace


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: killerstorm on August 28, 2012, 07:24:13 PM
You're again missing the point: this is how crypto research works. People try to find vulnerabilities. I'm sure that a person like Schneier would praise a person who would point at out a flaw in his design.

I'm not arguing with you, I'm just making this information public for people to see. If you don't take it into account it's your own problem.

While we are here, no, I'm not against PoS in general. In fact I'm a fan of Etlase2's Decrits design. (Punishment solves problem I mentioned.) Also I think Meni's design can work (i.e. strengthen Bitcoin's security), but it's rather complex.

I don't think that Cunicula's design is secure enough (although it's more like PoS+PoW so it does not suffer from same problems you have), but I believe it can be tweaked to make it secure. (Although this security will be a tradeoff.)

I can confirm that PPCoin 0.2 design is more secure than PPCoin 0.1: first version of PPCoin was just a brainfart (i.e. obviously insecure), this one actually warranted in-depth analysis. So you're making progress, kind of :)

I don't know whether your design can be strengthened, but keep trying :)

As for your economic argument, I believe it can be like prisoner's dilemma, where everybody knows that doing double-spends sucks, but everybody will still do it. At least, if they are rational in game-theoretic sense. Otherwise people might be bribed with Bitcoins to undermine PPCoin's security, and if they believe that it's serious, it would make sense for them to participate in attacks. Self-fulfilling prophecy.

Love


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 28, 2012, 08:29:29 PM
Fair enough. You sound like genuine now. I will definitely try to improve upon it if your concern proves to be valid.

Peace & Love


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: foggyb on August 29, 2012, 03:48:47 PM

v0.2 will be released by this weekend on schedule.


Excellent. Progress is good.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Icoin on August 31, 2012, 03:56:42 PM
Quote
Quote from: Sunny King on August 28, 2012, 06:49:52 PM

v0.2 will be released by this weekend on schedule.


Excellent. Progress is good.

Is v0.2 merged mining capable ??


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Jutarul on August 31, 2012, 04:20:12 PM
Quote
Quote from: Sunny King on August 28, 2012, 06:49:52 PM

v0.2 will be released by this weekend on schedule.


Excellent. Progress is good.

Is v0.2 merged mining capable ??

Unlikely. The developer makes a point of ppcoin being a competitor, thus not relying on infrastructure for bitcoin.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 31, 2012, 04:56:01 PM

Is v0.2 merged mining capable ??

Unlikely. The developer makes a point of ppcoin being a competitor, thus not relying on infrastructure for bitcoin.

Merge-mining will not be supported. The main benefit of merge-mining is to help a new crypto-currency to withstand 51% attack by leveraging the power of Bitcoin. This function is currently provided via our central checkpoint and will be provided by proof-of-stake protection in the future. So I don't see much benefit in supporting merge-mining.

As to competition to Bitcoin I think it is still far too early to consider that. Our goal is to first validate the correctness of the design in the market, and possibly bring some fresh air of innovation into the community. Personally I have very high regard of Satoshi and the current Bitcoin development team. Even if we do manage to become successful and compete with Bitcoin I still consider we are part of a bigger team in the grand scheme of things and doors are open to all kinds of possible cooperations.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Jutarul on August 31, 2012, 07:15:31 PM

Is v0.2 merged mining capable ??

Unlikely. The developer makes a point of ppcoin being a competitor, thus not relying on infrastructure for bitcoin.

Merge-mining will not be supported. The main benefit of merge-mining is to help a new crypto-currency to withstand 51% attack by leveraging the power of Bitcoin. This function is currently provided via our central checkpoint and will be provided by proof-of-stake protection in the future. So I don't see much benefit in supporting merge-mining.

As to competition to Bitcoin I think it is still far too early to consider that. Our goal is to first validate the correctness of the design in the market, and possibly bring some fresh air of innovation into the community. Personally I have very high regard of Satoshi and the current Bitcoin development team. Even if we do manage to become successful and compete with Bitcoin I still consider we are part of a bigger team in the grand scheme of things and doors are open to all kinds of possible cooperations.

Yes. With competition I didn't want to imply opposition. Competition is good, because it keeps the developers on their toes. If ppcoin and bitcoin are both viable, they surely will coexist.


Title: Re: [PPC] PPCoin 0.2 Proposal
Post by: Sunny King on August 31, 2012, 09:32:25 PM
Yes. With competition I didn't want to imply opposition. Competition is good, because it keeps the developers on their toes. If ppcoin and bitcoin are both viable, they surely will coexist.

Thanks. We also hope that our work on ppcoin could in the future provide healthy competition in the field of crypto-currency and help further advance this new peer-to-peer technology  :)