From: Jonas Nick <jnick@student.ethz.ch>
To: <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Mining centralization pressure from non-uniform propagation speed
Date: Sun, 14 Jun 2015 19:45:48 +0200 [thread overview]
Message-ID: <557DBDCC.5040106@student.ethz.ch> (raw)
In-Reply-To: <CAPg+sBi5fYHGLv4wtWbWE7jov8CX=q9UX=vhxDVepG6JfX30+g@mail.gmail.com>
Hi all,
it's a very useful approach to also model fees and you came up with an interesting scenario.
Assuming that you meant that the groups are only connected with a single link,
I've recreated the scenario with Gavin's simulation and got similar results.
The group with the large hashrate does profit overall, but the miners which are not directly
connected to the small group loose:
https://github.com/jonasnick/bitcoin_miningsim/blob/master/analysis/README.md#two-groups-well-connected-internally-but-connected-to-each-other-with-a-single-poor-connection
Moreover, it's important to note that this is not an equilibrium because these miners are better off when they create their own
connections to the small group (see the plot below the other one).
This means that your scenario is not the result of a cartel but the result of a long-term network partition.
When assuming partitions, there are quite a few scenarios where big miners can profit from creating big
blocks. For example, one 40% miner and two groups of three 10% miners, where both groups are connected to the big
miner but they are not connected to each other.
https://github.com/jonasnick/bitcoin_miningsim/blob/master/analysis/README.md#one-big-miner-and-two-partitioned-groups
Best,
Jonas
On 06/12/2015 06:51 PM, Pieter Wuille wrote:
> Hello all,
>
> I've created a simulator for Bitcoin mining which goes a bit further than
> the one Gavin used for his blog post a while ago. The main difference is
> support for links with different latency and bandwidth, because of the
> clustered configuration described below. In addition, it supports different
> block sizes, takes fees into account, does difficulty adjustments, and
> takes processing and mining delays into account. It also simulates longer
> periods of time, and averages the result of many simulations running in
> parallel until the variance on the result is low enough.
>
> The code is here: https://github.com/sipa/bitcoin-net-simul
>
> The configuration used in the code right now simulates two groups of miners
> (one 80%=25%+25%+30%, one 20%=5%+5%+5%+5%), which are well-connected
> internally, but are only connected to each other through a slow 2 Mbit/s
> link.
>
> Here are some results.
>
> This shows how the group of smaller miners loses around 8% of their
> relative income (if they create larger blocks, their loss percentage goes
> up slightly further):
>
> Configuration:
> * Miner group 0: 80.000000% hashrate, blocksize 20000000.000000
> * Miner group 1: 20.000000% hashrate, blocksize 1000000.000000
> * Expected average block size: 16200000.000000
> * Average fee per block: 0.250000
> * Fee per byte: 0.0000000154
> Result:
> * Miner group 0: 81.648985% income (factor 1.020612 with hashrate)
> * Miner group 1: 18.351015% income (factor 0.917551 with hashrate)
>
> When fees become more important however, and half of a block's income is
> due to fees, the effect becomes even stronger (a 15% loss), and the optimal
> way to compete for small miners is to create larger blocks as well (smaller
> blocks for them result in even less income):
>
> Configuration:
> * Miner group 0: 80.000000% hashrate, blocksize 20000000.000000
> * Miner group 1: 20.000000% hashrate, blocksize 20000000.000000
> * Expected average block size: 20000000.000000
> * Average fee per block: 25.000000
> * Fee per byte: 0.0000012500
> Result:
> * Miner group 0: 83.063545% income (factor 1.038294 with hashrate)
> * Miner group 1: 16.936455% income (factor 0.846823 with hashrate)
>
> The simulator is not perfect. It doesn't take into account that multiple
> blocks/relays can compete for the same bandwidth, or that nodes cannot
> process multiple blocks at once.
>
> The numbers used may be unrealistic, and I don't mean this as a prediction
> for real-world events. However, it does very clearly show the effects of
> larger blocks on centralization pressure of the system. Note that this also
> does not make any assumption of destructive behavior on the network - just
> simple profit maximalization.
>
> Lastly, the code may be buggy; I only did some small sanity tests with
> simple networks.
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
next prev parent reply other threads:[~2015-06-14 17:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-12 16:51 [Bitcoin-development] Mining centralization pressure from non-uniform propagation speed Pieter Wuille
2015-06-12 17:21 ` Gavin Andresen
2015-06-12 18:30 ` Peter Todd
2015-06-12 18:39 ` Pieter Wuille
2015-06-12 18:01 ` Peter Todd
2015-06-12 18:24 ` Mike Hearn
2015-06-12 18:26 ` Pieter Wuille
2015-06-12 18:27 ` Mike Hearn
2015-06-14 17:45 ` Jonas Nick [this message]
2015-06-18 22:00 ` Tom Harding
2015-06-19 1:31 ` Yifu Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=557DBDCC.5040106@student.ethz.ch \
--to=jnick@student.ethz.ch \
--cc=bitcoin-development@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox