stacks-network / stacks-network/stacks-core

[Mining] automate RBF and burn fee parameters

Open
#3,565 1 comment 0 reactions 1 assignee View on GitHub

@jcnelson is already working on this.

Since Feb 21, 2023.

icebox L1 Working Group mining
Dominant language
Rust
Stars
3.1k
Forks
762
Avg merge
4d 6h
Merged PRs (30d)
76

Description

With the recent burst of mining activity, it seems that miners don't know (or can't be bothered) to calibrate their Bitcoin transaction fees and RBF thresholds. As a result, we have a lot more orphans than we did last week. Namely:

  • A low RBF threshold means that miners don't mine off of the latest tip per se. They just mine off of the latest tip they know about, and never try again when the tip gets updated.

  • A low transaction fee causes miner block-commits to get bumped to a later block, invalidating them.

I'm opening this issue to discuss the possibility of just requiring miners to set a maximum spend per block, and let the node software figure out what transaction fee and RBF threshold to use based on recent Bitcoin block activity.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.