Bitcoin MEV: Workstream Update Thread

There are two independent topics that have been at the forefront of the Stacks community recently. We want to provide a summary here by delineating these two topics, describing them, and explaining next steps. We’ve gathered some notes from Working Groups calls to begin the discussion here.

Here are the two topics:

  1. Orphan blocks (for information and updates on this topic, please see this thread.)
  2. Bitcoin MEV (read on)

The core developers are aware (and have been aware) of both of these for some time, and are currently taking steps to further explore and gather additional data about each issue.

Bitcoin MEV

The Bitcoin MEV is a known issue with several active proposals being researched.

TLDR:

A Bitcoin miner (F2Pool) is excluding block commit transactions from other Stacks miners in the Bitcoin blocks it produces. It thus has no competition, and is able to mine Stacks blocks for minimal cost.

Current impact on the chain: PoX participants (who receive bitcoin in exchange for supporting chain security) in blocks created by F2Pool’s Bitcoin miner have lower payouts. Maintaining healthy PoX action is important because it incentivizes users to support the overall security of the network via Stacking.

Next steps?: In short, conducting research to determine the best approach to solve this problem. There are three proposals discussed on the forum, two of which are smaller in scope and could be activated by network voting in a shorter time frame. These are outlined in the doc linked in the next section. These proposals, as well as some alternatives, are being analyzed and evaluated by token economics experts hired by the Stacks Foundation. The research is slated to conclude roughly around 4/21, after which engineering work and testing can promptly begin.

Get more information:

:rotating_light: Ongoing updates:

Please follow this thread, updates will be posted as replies!

5 Likes

Thanks for posting! Makes sense to separate the two topics. I’ve noticed the orphan blocks issue for a while, I think it got a bit more pronounced recently – the short-term miner config changes and then further investigation for a patch can help a lot.

1 Like

Do you have more details about the measurements for the entity that creates Orphan blocks?

How does mining taking off bitcoin impacts orphan blocks?

At the moment, we haven’t obtained any novel findings from measurements.

I assume by the second question, you are referring to Jude’s mining pool proposal. In that proposal, since there is no longer active competition in mining blocks, and miners collectively vote on which transactions get included in the next block, we would not expect to see re-orgs like the kind we are seeing today. However, if there is a high amount of miner contention (which is of economically disincentivized, but still possible), then there could be orphan blocks.

Is the “Unified Mining Pool proposal” going forward and how to mitigate centralization concerns in the Unified Mining Pool proposal?

I’d recommend commenting on the RFC (request for comments) thread: RFC: Lift mining off of Bitcoin

That proposal is still just a proposal, and the RFC title is explicitly to solicit feedback, questions, and comments.

1 Like

Inviting everyone to join SIP call with Matty on 14th Apr, he has lots of stats on mining very knowledgeable.

Update on the second issue, Bitcoin MEV.

The external contractor came back with a report on the impact of potential solutions. I’m linking the report here.

We’ll discuss these solutions further in the Community SIP call happening next Friday, on May 5.
MEV Report Draft v2.pdf (1.5 MB)

It’s been a second since the last update, so thought I’d comment on the status of the Bitcoin MEV solution. A number of the core devs have been tied up with a series of urgent network upgrades over the past few weeks. We’ll be meeting within the next two weeks to converge on an investigated solution. This does mean that work on the solution is delayed. Engineering work will most likely commence near the end of May.

1 Like

Update: There will be a meeting this week to discuss part 2 of the solutions report. Stay tuned on the stacks-core-devs for the meeting invite & link.

1 Like

A comprehensive update to the network was posted in this forum thread.

I’m copying the section related to Bitcoin MEV here:

  • Current Status: The community gathered on May 26th to discuss this issue, and we narrowed in on a particular class of solutions after reviewing the report the Stacks Foundation commissioned from a 3rd-party tokenomics firm. If you’d like to read more about the solutions being considered, refer to the section on reward weighting here, and you can look at the RFC in the forum post here.
  • What’s next: Lock in a specific solution from the overall class of solutions, break the work down into issues. This work will be in the next planned hard fork, which is likely to be in a few months from now.
  • How you can help: Attend future discussions for this issue, which will be posted on the Stacks public calendar as they are scheduled.
  • Future updates: I will continue to post regular updates on Bitcoin MEV progress here.
1 Like