Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: GamerSg on January 06, 2016, 02:40:55 PM



Title: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 06, 2016, 02:40:55 PM
Interleaved Mining

Proof of Work
Pros:
  • Battle tested with largest market cap coin, is secure and works
  • Requires an expense of resources external to the coin economy, ensuring that miners can only choose to extend one path on the chain at any point of time
  • With the growing role of decentralised electricity generation via Solar/Wind, has potential to be more decentralised in future
  • Miners have serious skin in the game (huge capital investment in hardware, cooling, location, etc..) with potentially low margins. It is in their interest to think long term to be able to recoup their investment.

Cons:
  • Extremely wasteful compared to a centralised solution (aka SQL database)
  • Environmental concern with energy burned
  • Advent of Pooled mining has caused excessive centralisation
  • Large solo miners further threaten decentralisation
  • Maturation of industry has resulted in relatively large barriers to entry (mining hardware purchase, sourcing of cheap electricity)

Proof of Stake
Pros:
  • Far cheaper than POW
  • Low barrier to entry - Allows anyone with coins and running a fullnode to participate
  • Pooled mining not possible without custodial risk?
  • More decentralised because it incentivises currency hodlers to run a full node for mining rewards
Cons:
  • Insecure - All solutions thus far require some form of centralisation (authority/checkpoints) or trust, something which is unacceptable for Bitcoin.
  • Nothing at stake problem allows large stakeholder miners to mine all possible forks, eventually find a fork where they come out on top, allowing them to rewrite history at point in future.
  • Not suitable for coin distribution as the first recipient of coins can always rewrite the entire history at any point in the future due to the fact that he owned 100% stake at one point of time.
  • Unlike POW, cannot objectively determine best/longest chain as there is no real cost to produce a larger chain(Nothing at stake). Resulting in checkpointing by trusted parties



Interleaved mining  
By combining both mining methods, we can resolve or diminish many of the cons of both methods, while retaining all of their benefits.

  The idea is simple, to alternate the mining algorithm between POW and POS every block (ie POW for all odd blocks and POS for all even blocks). POW blocks will retain all inflation subsidies to uphold the social contract promised by the original protocol. Transaction fees will be retained by the respective miners of the blocks, as is the case today. Since POS blocks will not receive new coins, the POW block reward will be doubled to stick to the original coin distribution schedule.

Block intervals will remain at 10 minutes.

To resolve block propagation delays causing POW miner centralisation, POS blocks will have a smaller block size limit to allow smaller miners to compete more equitably. This block size should be low to ensure that smaller POW miners are able to download and validate the block as quickly as possible such that orphan risk is extremely low. On the other hand, POW blocks may be considerably larger as POS miners are much less affected by propagation delays.

https://i.imgur.com/MHV490q.png

The addition of POS blocks in between POW blocks has many advantages, chiefly that having 51% of mining hashpower is no longer sufficient to control the network. For example, even if a miner had 51% of hashing power, he will not have 51% of stake(combination of coin age and coin quantity) to produce a valid POS block, allowing the rest of the network to produce a valid POS block and continue building atop the chain.

The key advantage is that by adding another dimension to mining, we make it much harder for anyone to control 51% of block generation beyond a single block.

Introducing POS blocks will greatly incentivise the running of full nodes and increase the decentralisation of validation of the chain.

In pure POS mining, it is possible for a POS miner to in future come up with a longer valid chain, however with interleaved mining, this is not practically possible as the next POW block will quickly seal the chain with proof of work, thereby rendering the attack unviable.

Motivation
The goal of introducing POS blocks is not for POS’s sake, rather it is to increase decentralisation of mining and fullnodes by allowing smaller alternate blocks (POS blocks) to incentivise running of full nodes which at the same time allow rapid propagation of the blocks to POW miners, thereby preventing implicit selfish mining attacks caused by propagation delays.


Benefits
  • Solves 51% attack problem by adding another dimension of miners (POS)
  • Incentivises full nodes via POS mining, thus increasing decentralisation
  • Maintains Status Quo for POW miners by keeping inflation subsidy rewards solely for POW miners
  • Halves the running cost for POW miners while keeping revenue almost the same, potentially doubling profits for POW miners in the short term.
  • Hardens the Bitcoin blockchain by adding 2 dimensions of mining
  • Nothing at stake problem is solved by interleaving POS blocks with POW blocks, preventing a rewrite of history by any large holder. Any attack on POS or POW for that matter, only has a 1 block window, before the alternate mining method takes over.
  • POS Grinding attack is not possible as POW blocks serve as objective checkpoints
  • Solves large block propagation problem by keeping POS blocks smaller to ensure fast propagation to POW miners, allowing smaller miners to compete more equitably, thereby allowing larger blocks

Cons
Requires a hardfork


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GermanGiant on January 06, 2016, 03:04:20 PM
A hard fork that does not incentivize existing bitcoin miners wont ever survive. You'll always end up creating an Alt coin.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 06, 2016, 03:14:56 PM
A hard fork that does not incentivize existing bitcoin miners wont ever survive. You'll always end up creating an Alt coin.

Did you even read the post?


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GermanGiant on January 06, 2016, 03:23:54 PM
A hard fork that does not incentivize existing bitcoin miners wont ever survive. You'll always end up creating an Alt coin.

Did you even read the post?

Yes I did and clearly understood that you are trying to change the mining protocol that requires a hard fork. This protocol change will push towards decentralization of mining. But, the existing super powers of mining world does not want that. So, they'll continue to mine their favorable longest chain and thereby your hard fork will lose out.

p.s. If you still dont understand, then read my post again.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: TierNolan on January 06, 2016, 09:30:12 PM
You could do it via soft-fork.  You just need to add a rule that the transactions for the first 50% of the block has a POS proof.

POS N:  validated by POS
<References POW N-1>
<POS Proof>
<Transactions>

POW N+1:
<References POW N-1>
<Transactions from POS N>
<Transactions>

POS N+1:  validated by POS
<References POW N + 1>
<POS Proof>
<Transactions>

POW N+1:
<References POW N + 1>
<Transactions from POS N>
<Transactions>

You would need to add a modification to the protocol to propagate the POS proofs, but that isn't a massive deal.

Non-upgraded clients would just track the POW blocks, but each POW block would need a POS block proof to be accepted by other miners.

One characteristic of this system is that hashing power is useless between the time a POW block is found and the next POS block is found. 


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: Mashuri on January 07, 2016, 01:01:26 AM
Proof of Stake
Pros:
  • Far cheaper than POW
  • Low barrier to entry - Allows anyone with coins and running a fullnode to participate
  • Pooled mining not possible without custodial risk?
  • More decentralised because it incentivises currency hodlers to run a full node for mining rewards
Cons:
  • Insecure - All solutions thus far require some form of centralisation (authority/checkpoints) or trust, something which is unacceptable for Bitcoin.
  • Nothing at stake problem allows large stakeholder miners to mine all possible forks, eventually find a fork where they come out on top, allowing them to rewrite history at point in future.
  • Not suitable for coin distribution as the first recipient of coins can always rewrite the entire history at any point in the future due to the fact that he owned 100% stake at one point of time.
  • Unlike POW, cannot objectively determine best/longest chain as there is no real cost to produce a larger chain(Nothing at stake). Resulting in checkpointing by trusted parties

Your economic assumptions regarding POS are incorrect:

http://www.truthcoin.info/blog/pow-cheapest/ (http://www.truthcoin.info/blog/pow-cheapest/)


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 07, 2016, 01:20:59 AM
A hard fork that does not incentivize existing bitcoin miners wont ever survive. You'll always end up creating an Alt coin.

Did you even read the post?

Yes I did and clearly understood that you are trying to change the mining protocol that requires a hard fork. This protocol change will push towards decentralization of mining. But, the existing super powers of mining world does not want that. So, they'll continue to mine their favorable longest chain and thereby your hard fork will lose out.

p.s. If you still dont understand, then read my post again.

I think that would be speculation on your part.

Bitcoin by design was intended to reward you according to your contribution.
Having a larger share of mining should not result in more rewards than your respective hashpower.
However, the Selfish Mining paper has proved that this is not the case in practice and this proposal is an attempt to fix this.

Considering that all the large miners and pools which have 90% of the hashrate are public today, it will be very hard for them to publicly decline a change which improves decentralisation without a valid reason.
Also, this proposal keeps all inflation rewards with POW miners, POS miners are introduced merely to incentivise full nodes and resolve block propagation issues with a very small block, which will not affect revenue of POW miners in any noticable way.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 07, 2016, 07:14:09 AM
You could do it via soft-fork.  You just need to add a rule that the transactions for the first 50% of the block has a POS proof.

POS N:  validated by POS
<References POW N-1>
<POS Proof>
<Transactions>

POW N+1:
<References POW N-1>
<Transactions from POS N>
<Transactions>

POS N+1:  validated by POS
<References POW N + 1>
<POS Proof>
<Transactions>

POW N+1:
<References POW N + 1>
<Transactions from POS N>
<Transactions>

You would need to add a modification to the protocol to propagate the POS proofs, but that isn't a massive deal.

Non-upgraded clients would just track the POW blocks, but each POW block would need a POS block proof to be accepted by other miners.

That is actually an interesting idea. The downside would be that it would effectively be a blocksize decrease as older nodes won't see POS blocks, only to see the relevant txns 20min later in the next POW block.

My personal opinion on the softfork idea is that if we are going increase blocksize sometime in the future, we would need a hardfork anyway. Increasing the blocksize has centralising effects and implementing this proposal together would do much to counteract and even improve decentralisation considerably.

One characteristic of this system is that hashing power is useless between the time a POW block is found and the next POS block is found. 

Yes, this has been brought up, although id like to hear from a miner why this might be an issue if all miners are affected equally by this.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: monsterer on January 07, 2016, 08:30:21 AM
This reduces the security model of the entire chain to that of POS. Any attacker can just wait for a POS block, then use his stake to perform a double spend by minting a block and just keep doing that forever at zero cost every other block.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 07, 2016, 01:39:02 PM
This reduces the security model of the entire chain to that of POS. Any attacker can just wait for a POS block, then use his stake to perform a double spend by minting a block and just keep doing that forever at zero cost every other block.

This is incorrect for several reasons.

1) The scenario you described is only valid for the POS block being currently mined, however this is no different than POW miners attempting to mine blocks and come up with 2 blocks around the same time. The network will eventually go with one fork and the other will be orphaned. In this case, it is the POW miners who decide which POS block is built atop.

2) Yes, you are right that pure POS is insecure because of the grinding problem which pretty much every POS coin tries to resolve via checkpointing by trusted parties.
In Interleaved mining, the checkpointing is instead done by POW miners based on whoever mines the next POW block just as the correct chain history is decided by POW today, POW will decide which POS block is the preceeding block.

To simplify this, think of POS blocks no different than ordinary Bitcoin txns, POW miners decide which is valid and in what order.

3) While i have not described the POS algo in detail yet (wish to get the high level idea across first), my current thinking wrt the "strength" of a POS block would be a combination of coins * age where inclusion of a POS block will consume coin age, thereby greatly reducing the probability that the same party will mine another POS block in the near future.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: monsterer on January 07, 2016, 01:54:21 PM
This is incorrect for several reasons.

1) The scenario you described is only valid for the POS block being currently mined, however this is no different than POW miners attempting to mine blocks and come up with 2 blocks around the same time. The network will eventually go with one fork and the other will be orphaned. In this case, it is the POW miners who decide which POS block is built atop.

In your opinion it isn't a problem to have a double spend produced every other block, forever?

In POW, doing this has a cost; the cost of block production, making this attack quickly become unsustainable. However, by mixing the two consensus models, you allow double spends at no cost at regular intervals (the POS blocks), which brings the entire chain down to the same security model as plain POS.

Quote
To simplify this, think of POS blocks no different than ordinary Bitcoin txns, POW miners decide which is valid and in what order.

Except that POS blocks contain transactions as well, therefore imply a consensus?


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 07, 2016, 02:09:47 PM
This is incorrect for several reasons.

1) The scenario you described is only valid for the POS block being currently mined, however this is no different than POW miners attempting to mine blocks and come up with 2 blocks around the same time. The network will eventually go with one fork and the other will be orphaned. In this case, it is the POW miners who decide which POS block is built atop.

In your opinion it isn't a problem to have a double spend produced every other block, forever?

In POW, doing this has a cost; the cost of block production, making this attack quickly become unsustainable. However, by mixing the two consensus models, you allow double spends at no cost at regular intervals (the POS blocks), which brings the entire chain down to the same security model as plain POS.

So i think you are looking at it from the micro view, where the concern is regarding double spending during the POS block. That is a valid concern.

But firstly, it is incorrect to say that the whole chain becomes as insecure as POS.
Rather, if you think about it, the combination actually makes the chain far more secure than POW alone.
It basically makes it impossible for a 51% miner to take over the chain unless he also happens to have 50% of all BTC.

Regarding the double spending during POS blocks. POS basically works in the following form:

sha256(output hash + timestamp) = HASH
ValidProof(HASH) ~= Coin age * number of coins

So as far as POS is concerned, either you have a valid block or you don't. There is nothing further you can do about it.
Grinding is not possible for the current block.

Quote
Except that POS blocks contain transactions as well, therefore imply a consensus?
Well, txns also have implications on the state of UTXO set and affect validity of future txns as well, so it isn't really different in practice.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: monsterer on January 07, 2016, 02:21:00 PM
So i think you are looking at it from the micro view, where the concern is regarding double spending during the POS block. That is a valid concern.

But firstly, it is incorrect to say that the whole chain becomes as insecure as POS.

A chain is only as strong as the weakest link. Pithy, but true in this instance.

Quote
Rather, if you think about it, the combination actually makes the chain far more secure than POW alone.
It basically makes it impossible for a 51% miner to take over the chain unless he also happens to have 50% of all BTC.

Here is another attack angle for you, which isn't present in plain POW:

* Go slow

A majority stake holder can bring the entire chain to a crawl by withholding their POS blocks forever; so instead of a 10 minute block time, you'll have a 20 minute block time and there would be nothing anyone could do about it.

Quote
Regarding the double spending during POS blocks. POS basically works in the following form:

sha256(output hash + timestamp) = HASH
ValidProof(HASH) ~= Coin age * number of coins

So as far as POS is concerned, either you have a valid block or you don't. There is nothing further you can do about it.
Grinding is not possible for the current block.

Doesn't make any difference; there is still a constant probability of producing a block proportional to your stake, so the more stake you have, the more control you have to double spend.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 07, 2016, 02:44:09 PM
Quote
A chain is only as strong as the weakest link. Pithy, but true in this instance.

This is not true as long as you can link 2 POW blocks together.

Eg:
POW 99 ==> POS 100 ==> POW 101

Even if i came up with a new POS 100A block later, i will need to perform more work than POW101 to attack the chain.

ie:

POW 99 ==> POS 100 ==> POW 101
             ||
            ==> POS100A ==> POW 101A

But if POS100 was already broadcast first, POW miners are not going to sit around to build atop POS100A when they see it later.

This is no different than a POW block race where miners build atop the first block they see.
Ask yourself, Why don't they switch?
Because if i own any hashpower < 50%, by mining atop the later block, i sabotage myself by increasing the chance that my block will be orphaned as the rest of the network is likely to be mining atop the earlier block instead.


Quote
Here is another attack angle for you, which isn't present in plain POW:

* Go slow

A majority stake holder can bring the entire chain to a crawl by withholding their POS blocks forever; so instead of a 10 minute block time, you'll have a 20 minute block time and there would be nothing anyone could do about it.

This is no different than saying that a large Chinese mining pool can withold blocks and slow the network to a crawl.
This is actually far more dangerous with POW because the largest pools have over 20% of hashing power and 66% of hashing power is within China.
If the Chinese gov shutdown all pools in China, blocks would slow to 30 minutes.

Contrast that to BTC distribution where the largest holder has less than 5% stake.

Quote
Doesn't make any difference; there is still a constant probability of producing a block proportional to your stake, so the more stake you have, the more control you have to double spend.
See above reply. POW Miners will still build atop the first POS block they encounter as they have a real cost to mine ontop of a later block.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: monsterer on January 07, 2016, 02:50:12 PM
Eg:
POW 99 ==> POS 100 ==> POW 101

Even if i came up with a new POS 100A block later, i will need to perform more work than POW101 to attack the chain.

But if I am the generator of POS 100, I can also be the generator of POS 102 and the probability that I will be is a constant.

Quote
This is no different than saying that a large Chinese mining pool can withold blocks and slow the network to a crawl.

Not quite, unless you intend to award POS miners with a block reward? POW miners have a lot to lose by doing this, POS miners have nothing to lose.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 07, 2016, 02:59:46 PM
Quote
But if I am the generator of POS 100, I can also be the generator of POS 102 and the probability that I will be is a constant.

Like i said earlier, the current intention is that generating a block would consume the age of the output used to generate the block, so your age is reduced to 0.

But even if the age was not consumed, i don't follow how that would be a problem?
If i was a POW miner with 20% hashrate, i would constantly have a 20% chance to generate a block, no?

Quote
Not quite, unless you intend to award POS miners with a block reward? POW miners have a lot to lose by doing this, POS miners have nothing to lose.

No, rewards stay with POW miners.

It's simple really, if you don't mine a POS block, someone else will when the timestamp increments and their output gets lucky.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: monsterer on January 07, 2016, 03:07:48 PM
Like i said earlier, the current intention is that generating a block would consume the age of the output used to generate the block, so your age is reduced to 0.

But even if the age was not consumed, i don't follow how that would be a problem?
If i was a POW miner with 20% hashrate, i would constantly have a 20% chance to generate a block, no?

Its a problem because it makes producing double spending blocks costless, forever. In POW this is not a sustainable attack.

Quote
It's simple really, if you don't mine a POS block, someone else will when the timestamp increments and their output gets lucky.

So, instead you mine a POS block with no transactions, thereby having the same effect as withholding the block?


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: TierNolan on January 07, 2016, 08:06:34 PM
That is actually an interesting idea. The downside would be that it would effectively be a blocksize decrease as older nodes won't see POS blocks, only to see the relevant txns 20min later in the next POW block.

The POW blocks would still have to be one every 10 mins.  Otherwise, the POW difficulty setting algorithm wouldn't work properly.

You would need a system that hits POS blocks every 10 mins too.

An easier alternative would be that blocks must be "stamped" with a POS proof within 3 blocks of being produced.

Stamped POW <- Stamped POW <- Stamped POW <- POW (working on stamp) <- POW <- POW

Each block would end up with both a POW certification and a POS certification.  This means almost no change.  You just need to come up with a way to do the POS stamps.

POS miners would build on the longest POW chain, but ignore blocks unless at least their great-grandparent (and earlier) blocks are stamped.

Quote
One characteristic of this system is that hashing power is useless between the time a POW block is found and the next POS block is found. 

Yes, this has been brought up, although id like to hear from a miner why this might be an issue if all miners are affected equally by this.

It might not be a big deal if they can direct their resources elsewhere.

It potentially reduces the POW security by 50%.  You can produce a competing (POW) chain with only 50% of the hashing power (ignoring the POS part). 


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 08, 2016, 03:07:30 AM
That is actually an interesting idea. The downside would be that it would effectively be a blocksize decrease as older nodes won't see POS blocks, only to see the relevant txns 20min later in the next POW block.

The POW blocks would still have to be one every 10 mins.  Otherwise, the POW difficulty setting algorithm wouldn't work properly.

You would need a system that hits POS blocks every 10 mins too.

An easier alternative would be that blocks must be "stamped" with a POS proof within 3 blocks of being produced.

Stamped POW <- Stamped POW <- Stamped POW <- POW (working on stamp) <- POW <- POW

Each block would end up with both a POW certification and a POS certification.  This means almost no change.  You just need to come up with a way to do the POS stamps.

POS miners would build on the longest POW chain, but ignore blocks unless at least their great-grandparent (and earlier) blocks are stamped.

I like the idea because it will prevent POW from going idle in between blocks.

But how would you stamp a POW block which has already been mined?
Does POS mine txns in the stamping scheme?
This also removes the block propagation advantages of interleaving.





Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: TierNolan on January 08, 2016, 06:40:38 PM
But how would you stamp a POW block which has already been mined?

50% of the minting & tx fees for block N would have to go to a valid stamp for block (N-3).  If there was more than 2 valid POS stamps (meets difficulty), then the strongest one would be used. 

The exact method would depend on which POS method selected.

Quote
Does POS mine txns in the stamping scheme?

No it is just POS validation of the POW chain.  The purpose is to make it harder to do forks.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 12, 2016, 09:46:20 AM
Quote
50% of the minting & tx fees for block N would have to go to a valid stamp for block (N-3).  If there was more than 2 valid POS stamps (meets difficulty), then the strongest one would be used. 

I highly doubt that will sit well with miners today.
I suppose the way the protocol would work is that 50% of the reward will be locked up, to be awarded 3 blocks later to whoever stamps the block.

Some downsides i see are:
- POS miners will lose the chance to mine transactions, which would have introduced much greater diversity in transaction selection (Increase censorship resistance)
- Block propagation advantage would be lost.

Upside is that POW hashrate is not reduced due to idle time.

Quote
No it is just POS validation of the POW chain.  The purpose is to make it harder to do forks.

That is perhaps the most important goal of this scheme.
Hardening the blockchain would significantly increase the security of the blockchain and in turn greatly increase viability of Bitcoin being a long term Store of Value.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: indstove on January 12, 2016, 12:46:58 PM
Seems existing systems are working well. Why do you need all of these considerations. However, I'm willing to join this discussion later.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 13, 2016, 08:33:02 AM
Seems existing systems are working well. Why do you need all of these considerations. However, I'm willing to join this discussion later.

Please read the first post for details, but in short there are few big goals

- Increase decentralisation of validation by incentivising full nodes
- Solve block propagation issues  by having smaller alternate blocks, allowing POW larger blocks without mining centralisation risk
- Prevent 51% POW mining attack


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: Anduck on January 20, 2016, 02:28:02 AM
This looks brilliant to me. Feels like this would be natural development for Bitcoin.

  • This fixes the 51% attack problem.
  • Increases the general reliability of the system as mining centralization risks would be gone and there would be an incentive to run a node.
  • Normal nodes could also show their opinion about soft forks.
  • Hard forking would be a lot harder, and it would be easy to see what actual nodes (with bitcoins) are "voting" for.

I think the best way to implement this scheme would be to change as little as possible of the current system. PoW blocks interval could be kept at 10 minutes target with same block & tx fee rewards as of today. PoS blocks could be made with with 10 or 20 minutes intervals. It would decrease the block interval slightly. PoS blocks would earn only through fees from the transactions they include. I heard it could be possible to do this without the need of keeping staking coins online, too, which makes this secure too.

With this scheme there could even be a possibility to implement properly working mechanism to adjust the blocksize limit. Nodes, which currently pay the costs of the network, would be able to vote for their preferred blocksize limit, or adjustment.

Please let me know if I fail here. :)


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: Anduck on January 20, 2016, 09:37:46 PM
Could the PoS blocks be used to determine the blocksize limit / capacity limit change? For example, if the system sees that there's too little coins being staked or too little amount of PoS blocks being generated, it decreases the limit. In other words, could this scheme be used to determine the safe capacity zone of Bitcoin?


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 21, 2016, 06:27:28 AM
This looks brilliant to me. Feels like this would be natural development for Bitcoin.

  • This fixes the 51% attack problem.
  • Increases the general reliability of the system as mining centralization risks would be gone and there would be an incentive to run a node.
  • Normal nodes could also show their opinion about soft forks.
  • Hard forking would be a lot harder, and it would be easy to see what actual nodes (with bitcoins) are "voting" for.

I think the best way to implement this scheme would be to change as little as possible of the current system. PoW blocks interval could be kept at 10 minutes target with same block & tx fee rewards as of today. PoS blocks could be made with with 10 or 20 minutes intervals. It would decrease the block interval slightly. PoS blocks would earn only through fees from the transactions they include. I heard it could be possible to do this without the need of keeping staking coins online, too, which makes this secure too.

With this scheme there could even be a possibility to implement properly working mechanism to adjust the blocksize limit. Nodes, which currently pay the costs of the network, would be able to vote for their preferred blocksize limit, or adjustment.

Please let me know if I fail here. :)

Yup, sounds like you fully understand the advantages and how it would work.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 21, 2016, 06:33:40 AM
Could the PoS blocks be used to determine the blocksize limit / capacity limit change? For example, if the system sees that there's too little coins being staked or too little amount of PoS blocks being generated, it decreases the limit. In other words, could this scheme be used to determine the safe capacity zone of Bitcoin?

The issue with such a scheme is that you add yet another magic number into the protocol, potentially causing rifts as to what the right amount should be.

Also as the bitcoin economy grows, we should expect wealth concentration to continue to dilute over to a larger number of people. Many small holders would not be willing to spend resources to run a node if the probability of mining a block is miniscule. So i would expect the number of coins being staked to decrease as Bitcoin grows, kind of the opposite effect you are looking for.

Also, number of coins staked != number of different ppl mining


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: dime2spend on January 21, 2016, 11:01:58 AM
Wouldn't it be sufficient to replace the PoW sheme with something far more complicated than SHA-256 to kick all the big ASIC-farms out? Just replacing SHA2 with something that can't be put onto an ASIC for years to come would be an easy solution to distribute mining again as the mining could be done by those running full nodes again. Mining wouldn't be a business anymore but more a compensation for running a full-node all the time.
If then some ASICs should show up in the future the PoW could be changed again. This also rather helps to secure the network in the long run as I just don't see how huge ASIC-Farms in third world countries providing more then 50% of hashing-power help secure BTC.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: GamerSg on January 22, 2016, 08:34:18 AM
Wouldn't it be sufficient to replace the PoW sheme with something far more complicated than SHA-256 to kick all the big ASIC-farms out? Just replacing SHA2 with something that can't be put onto an ASIC for years to come would be an easy solution to distribute mining again as the mining could be done by those running full nodes again. Mining wouldn't be a business anymore but more a compensation for running a full-node all the time.
If then some ASICs should show up in the future the PoW could be changed again. This also rather helps to secure the network in the long run as I just don't see how huge ASIC-Farms in third world countries providing more then 50% of hashing-power help secure BTC.

The goal is not to replace miners, that would be a violation of the social contract the protocol offered to miners.
Miners have invested large sums of money into protecting Bitcoin and screwing them is just not logical.

Also, as long as the current ASIC mining farms are protecting the chain, they are a great advantage as they greatly increase the barrier to attack the chain. The goal of the proposal is to leave revenue with them but diffuse political power by sharing it with stake holders. Or in other words, to increase diversity in miners so that 2-3 parties cannot hold the currency hostage.


Title: Re: Interleaved Mining - Increase decentralization of full nodes and mining
Post by: dime2spend on January 22, 2016, 08:17:42 PM
Quote
The goal is not to replace miners, that would be a violation of the social contract the protocol offered to miners.
Miners have invested large sums of money into protecting Bitcoin and screwing them is just not logical.

I happen to disagree. The large miners have invested large sums of money in order to earn a lot of BTC.
Quote
Also, as long as the current ASIC mining farms are protecting the chain, they are a great advantage as they greatly increase the barrier to attack the chain. The goal of the proposal is to leave revenue with them but diffuse political power by sharing it with stake holders. Or in other words, to increase diversity in miners so that 2-3 parties cannot hold the currency hostage.

The large ASIC mining farms are theoretically protecting the chain with their enormous hashing power. But the main reason for their very existence is to make money they care only so much for BTC as it concerns their money making industry. In theory this hashing power should be supplied by a lot of decentralized miners but in reality this hashing power comes from a few huge miners. And that's not how it was meant to be in fact it's now almost how it shouldn't be as the big miners have more weight than anybody else.

I don't see how this could be changed more easily than by changing the PoW from SHA2 to something much more complex.