Skip to content

Mining Pool Proposal #3146

@gzelda

Description

@gzelda

Is your feature request related to a problem? Please describe.
Mining Pool aims to solve the following problems of current mining pool and individual miner #1969:

  1. Users do not need to trust the Mining Pool. If the user subsidizes the Mining Pool to participate in the mining of block N, the income will be automatically distributed in the stacks network without the permission of the Mining Pool.
  2. Users can go online or offline at will
  3. More flexible mining pool logic can be implemented through the clarity smart contract

This issue will discuss in detail the process of subsequent bitcoin transactions and the specific implementation of the contract

Describe the solution you'd like
From the previous conversation with @jcnelson in monthly mining conference. The implementation of the mining pool scheme is through:

  1. Use bitcoin multi-signature script to fund block commit
  2. stacks 2.1 upgrade will support taproot / segwit PoX outputs, and support stacks coinbase payments to smart contracts.

The above two points can confirm the sponsor of the block commit in the contract, so the mining pool rewards can be issued without permission.

The inputs to the block commit would be as follows:

  1. The mining pool operator's spent TXO
  2. The scriptsig that actually funds the block commit

The outputs would be as follows:

  1. The OP_RETURN encoding the block commit
  2. The first PoX output
  3. The second PoX output
  4. The pool operator's dust UTXO
  5. The pool's new taproot UTXO

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Status: 🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions