Sunny King



Offline



Activity: 1205

Merit: 1003









LegendaryActivity: 1205Merit: 1003 [PPC] [PROPOSAL] PPCoin Online Stake Safety May 03, 2013, 05:07:00 AM

Last edit: May 03, 2013, 05:17:58 AM by Sunny King #1



Description: This proposal is simpler than the previous dual-key proposal [1]. A special transaction type called cold-locked transaction is introduced so that a designated spending address is specified in its first output. Protocol enforces that, spending of any of the outputs in the transaction must be sent to this designated address, or to itself (for stake generation purpose). When stake is generated, the stake transaction is also cold-locked and the designated key in stake must match all designated keys where all the inputs come from.



How hot wallet is protected:



By providing a cold-wallet address as the designated spending address in cold-locked transactions, stake minter can now run their entire balance online in a hot wallet to earn 1% annual interest with minimum risk, while providing maximum security to the entire network. This would allow even the exchanges, pools, and other online wallet providers to participate in network protection without risking public assets, and reduce fees or even pay interest to its users.



For public review and discussion.



References:

[1]



Abstract: A proposal to relieve stake minter the risk of running online hot wallet.Description: This proposal is simpler than the previous dual-key proposal [1]. A special transaction type calledis introduced so that a designated spending address is specified in its first output. Protocol enforces that, spending of any of the outputs in the transaction must be sent to this designated address, or to itself (for stake generation purpose). When stake is generated, the stake transaction is also cold-locked and the designated key in stake must match all designated keys where all the inputs come from.How hot wallet is protected:By providing a cold-wallet address as the designated spending address in cold-locked transactions, stake minter can now run their entire balance online in a hot wallet to earn 1% annual interest with minimum risk, while providing maximum security to the entire network. This would allow even the exchanges, pools, and other online wallet providers to participate in network protection without risking public assets, and reduce fees or even pay interest to its users.For public review and discussion.References:[1] https://bitcointalk.org/index.php?topic=115608.0

AWARD-WINNING

CASINO CRYPTO EXCLUSIVE

CLUBHOUSE 1500+

GAMES 2 MIN

CASH-OUTS 24/7

SUPPORT 100s OF

FREE SPINS PLAY NOW tised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertised sitesare not endorsed by theBitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.

calian



Offline



Activity: 354

Merit: 250









Sr. MemberActivity: 354Merit: 250 Re: [PPC] [PROPOSAL] PPCoin Online Stake Safety May 03, 2013, 06:37:18 AM #3 This is a key piece of the puzzle. There needs to be provision for the outsourcing of this to third-party "stake miners" who will pay you a certain portion of your stake rewards in exchange for being custodians of your stake generation capability without actually having access to your offline cold storage keys. Obviously if you transfer your coins they wouldn't be able to generate stake with them anymore. The fact is that while plenty of geeks don't mind keeping a computer online all the time some of us aren't into running server farms.

TheSeven



Offline



Activity: 504

Merit: 500





FPGA Mining LLC







Hero MemberActivity: 504Merit: 500FPGA Mining LLC Re: [PPC] [PROPOSAL] PPCoin Online Stake Safety May 05, 2013, 06:56:05 AM #6 Interesting approach. Seems like a clever solution for the PoS mining problem.

However, while we're at it, we should also somehow get rid of the (IMHO totally useless) block signing for PoW blocks.



IIUC implementing your proposal requires a chain fork? If so, can you, at the same time, stop requiring PoW blocks to be signed, and instead only require that for PoS blocks? And of course also allow all output script types in the coinbase. That would finally allow for p2pool to be used with ppcoin... My tip jar: 13kwqR7B4WcSAJCYJH1eXQcxG5vVUwKAqY

TheSeven



Offline



Activity: 504

Merit: 500





FPGA Mining LLC







Hero MemberActivity: 504Merit: 500FPGA Mining LLC Re: [PPC] [PROPOSAL] PPCoin Online Stake Safety May 05, 2013, 12:42:04 PM #7 Quote from: calian on May 03, 2013, 06:37:18 AM This is a key piece of the puzzle. There needs to be provision for the outsourcing of this to third-party "stake miners" who will pay you a certain portion of your stake rewards in exchange for being custodians of your stake generation capability without actually having access to your offline cold storage keys. Obviously if you transfer your coins they wouldn't be able to generate stake with them anymore. The fact is that while plenty of geeks don't mind keeping a computer online all the time some of us aren't into running server farms.



That wouldn't be a good idea, because it would allow that third party to have a huge amount of control over the network. They could basically do a 51% proof of stake mining attack. The key point of all of this is to keep things decentralized. That wouldn't be a good idea, because it would allow that third party to have a huge amount of control over the network. They could basically do a 51% proof of stake mining attack. The key point of all of this is to keep things decentralized. My tip jar: 13kwqR7B4WcSAJCYJH1eXQcxG5vVUwKAqY

H@ml3t



Offline



Activity: 20

Merit: 0







NewbieActivity: 20Merit: 0 Re: [PPC] [PROPOSAL] PPCoin Online Stake Safety May 07, 2013, 12:17:00 PM #8 Sounds nice so far for me.



As a solution for the staying online problem I would simply propose an Android Client with PoS Mining feature. I mean smartphones are running all day and are connected to the Internet most of the time, and modern smartphone hardware can handle PoS mining without problems and without quick battery drainage.

Sunny King



Offline



Activity: 1205

Merit: 1003









LegendaryActivity: 1205Merit: 1003 Re: [PPC] [PROPOSAL] PPCoin Online Stake Safety May 07, 2013, 11:38:56 PM #10 Quote from: calian on May 03, 2013, 06:37:18 AM This is a key piece of the puzzle. There needs to be provision for the outsourcing of this to third-party "stake miners" who will pay you a certain portion of your stake rewards in exchange for being custodians of your stake generation capability without actually having access to your offline cold storage keys. Obviously if you transfer your coins they wouldn't be able to generate stake with them anymore. The fact is that while plenty of geeks don't mind keeping a computer online all the time some of us aren't into running server farms.



There is probably some misunderstanding here. Minting stake is not supposed to be computing intensive and all you need is a typical computer online, no server farm required. There is probably some misunderstanding here. Minting stake is not supposed to be computing intensive and all you need is a typical computer online, no server farm required.

Jutarul

Legendary



Offline



Activity: 994

Merit: 1000









DonatorLegendaryActivity: 994Merit: 1000 Re: [PPC] [PROPOSAL] PPCoin Online Stake Safety May 07, 2013, 11:52:54 PM #11 Quote from: Sunny King on May 07, 2013, 11:38:56 PM Quote from: calian on May 03, 2013, 06:37:18 AM This is a key piece of the puzzle. There needs to be provision for the outsourcing of this to third-party "stake miners" who will pay you a certain portion of your stake rewards in exchange for being custodians of your stake generation capability without actually having access to your offline cold storage keys. Obviously if you transfer your coins they wouldn't be able to generate stake with them anymore. The fact is that while plenty of geeks don't mind keeping a computer online all the time some of us aren't into running server farms.



There is probably some misunderstanding here. Minting stake is not supposed to be computing intensive and all you need is a typical computer online, no server farm required.

There is probably some misunderstanding here. Minting stake is not supposed to be computing intensive and all you need is a typical computer online, no server farm required. The question is whether the underlying incentive structure promotes the formation of stake mining pools. Is there a formula for how much % of the money supply has to be stake and what the minimum ppc amount of a stake has to be, in order for it to be executed within e.g. 3 months? Dependent on that equation there may or may not be a need for stake mining pools.... The ASICMINER Project https://bitcointalk.org/index.php?topic=99497.0

"The way you solve things is by making it politically profitable for the wrong people to do the right thing.", Milton Friedman "The way you solve things is by making it politically profitable for the wrong people to do the right thing.", Milton Friedman

Sunny King



Offline



Activity: 1205

Merit: 1003









LegendaryActivity: 1205Merit: 1003 Re: [PPC] [PROPOSAL] PPCoin Online Stake Safety May 08, 2013, 12:13:08 AM #12 Quote from: Jutarul on May 07, 2013, 11:52:54 PM The question is whether the underlying incentive structure promotes the formation of stake mining pools. Is there a formula for how much % of the money supply has to be stake and what the minimum ppc amount of a stake has to be, in order for it to be executed within e.g. 3 months? Dependent on that equation there may or may not be a need for stake mining pools....



I think some incentive is there if people don't want to run computer 24x7 and would like to earn stake as fast as possible. It doesn't matter whether you mint yourself 24x7 or with a service provider, the rate of generation would stay the same. The size of such service provider needs to be under control otherwise it does pose risk to the network, albeit not permanently as users can withdraw from it once the attack is understood.



On the other hand, since there is no risk of losing your balance with the service provider in the cold-locked scenario (providing you can easily verify that your balance is cold-locked properly) then maybe there will be lower barrier of entry to compete as a service provider as it doesn't need to earn users trust at first. I think some incentive is there if people don't want to run computer 24x7 and would like to earn stake as fast as possible. It doesn't matter whether you mint yourself 24x7 or with a service provider, the rate of generation would stay the same. The size of such service provider needs to be under control otherwise it does pose risk to the network, albeit not permanently as users can withdraw from it once the attack is understood.On the other hand, since there is no risk of losing your balance with the service provider in the cold-locked scenario (providing you can easily verify that your balance is cold-locked properly) then maybe there will be lower barrier of entry to compete as a service provider as it doesn't need to earn users trust at first.

Jutarul

Legendary



Offline



Activity: 994

Merit: 1000









DonatorLegendaryActivity: 994Merit: 1000 Re: [PPC] [PROPOSAL] PPCoin Online Stake Safety May 08, 2013, 12:35:03 AM #14 Quote from: Sunny King on May 08, 2013, 12:13:08 AM On the other hand, since there is no risk of losing your balance with the service provider in the cold-locked scenario (providing you can easily verify that your balance is cold-locked properly) then maybe there will be lower barrier of entry to compete as a service provider as it doesn't need to earn users trust at first.

I think this is the main innovation point. This allows you to monetize stake generation power, since you don't need to sell the coins in order to transfer stake generation power. However, you may want to elaborate on how to determine the maturity of stake. Logic would suggest that it should be the time at which the original stake was created - not the cold-locked transaction.



For the purpose of clarity let me define:

1) cold key: gives access to the actual coins, for arbitrary usage

2) mining/spending key: used to spend the cold-locked transaction



If I understood it correctly, the current proposal assumes that the holder of the cold-locked transaction and the owner of the cold wallet are the same entity. In that case the cold key resides within a cold wallet and the mining key resides on the validation node. What happens when people lose access to the mining key, but not the cold key? Should there be a time-out, after which the cold key can be used as mining/spending key?



Also, the issue is more pronounced if the holder of the cold-locked transaction and the cold key are not the same entity. What happens if the holder of the cold-locked transaction decides not to spend the transaction? I think this is the main innovation point. This allows you to monetize stake generation power, since you don't need to sell the coins in order to transfer stake generation power. However, you may want to elaborate on how to determine the maturity of stake. Logic would suggest that it should be the time at which the original stake was created - not the cold-locked transaction.For the purpose of clarity let me define:1) cold key: gives access to the actual coins, for arbitrary usage2) mining/spending key: used to spend the cold-locked transactionIf I understood it correctly, the current proposal assumes that the holder of the cold-locked transaction and the owner of the cold wallet are the same entity. In that case the cold key resides within a cold wallet and the mining key resides on the validation node. What happens when people lose access to the mining key, but not the cold key? Should there be a time-out, after which the cold key can be used as mining/spending key?Also, the issue is more pronounced if the holder of the cold-locked transaction and the cold key are not the same entity. What happens if the holder of the cold-locked transaction decides not to spend the transaction? The ASICMINER Project https://bitcointalk.org/index.php?topic=99497.0

"The way you solve things is by making it politically profitable for the wrong people to do the right thing.", Milton Friedman "The way you solve things is by making it politically profitable for the wrong people to do the right thing.", Milton Friedman

Sunny King



Offline



Activity: 1205

Merit: 1003









LegendaryActivity: 1205Merit: 1003 Re: [PPC] [PROPOSAL] PPCoin Online Stake Safety May 08, 2013, 12:56:15 AM #16 Quote from: Jutarul on May 08, 2013, 12:35:03 AM

If I understood it correctly, the current proposal assumes that the holder of the cold-locked transaction and the owner of the cold wallet are the same entity. In that case the cold key resides within a cold wallet and the mining key resides on the validation node. What happens when people lose access to the mining key, but not the cold key? Should there be a time-out, after which the cold key can be used as mining/spending key?





You shouldn't lose either the cold wallet or the minting wallet, otherwise the balance is lost, as you need the minting key to move the balance to your cold address for spending. But you can share the minting private key with the service provider.



Yes a cold-locked transaction is assumed to be solely controlled by one cold address, which is specified in its first output. You can think of the cold key as a savings account, when you receive coins you can move some of your balance to the savings account, this transaction (moving coins to your savings account) would be a cold-locked transaction. If the cold key directly receive some balance from other people that is not via cold-locked transaction, then those coins are not cold-locked despite of belonging to the cold key, and cannot participate in online stake generation if the key stays in cold wallet. You shouldn't lose either the cold wallet or the minting wallet, otherwise the balance is lost, as you need the minting key to move the balance to your cold address for spending. But you can share the minting private key with the service provider.Yes a cold-locked transaction is assumed to be solely controlled by one cold address, which is specified in its first output. You can think of the cold key as a savings account, when you receive coins you can move some of your balance to the savings account, this transaction (moving coins to your savings account) would be a cold-locked transaction. If the cold key directly receive some balance from other people that is not via cold-locked transaction, then those coins are not cold-locked despite of belonging to the cold key, and cannot participate in online stake generation if the key stays in cold wallet.