Decentralized Mining Pools
  • Main Page
  • Flow diagrams
  • Sandbox BTCDEB
  • Bitcoin version, RPC, explorer
    • Run clarinet integrate with bitcoin regtest v24.0
    • Custom docker image regtest 24.0.1
    • RPC Browser and transactions legacy
  • Block commit
  • Multiple miners interacting in the same network
  • Rust Taproot Transactions
    • Dependencies
  • Smart Contract
    • Overall explanations
    • Election System
      • Add new miner
      • Remove Miner
      • Update Notifier
    • Funds System
  • Front End
    • Overall
    • UI display usecases
    • How to link it to the sc
    • Github Repository
Powered by GitBook
On this page
  • Diagram with the flow of the miners and transactions
  • The script miners are sending funds to

Flow diagrams

PreviousMain PageNextSandbox BTCDEB

Last updated 10 months ago

Diagram with the flow of the miners and transactions

As displayed there are a few bitcoin transactions

To participate in the mining process:

  1. sending funds from each miner to the taproot FROST multisig script address

  2. unlocking the funds by signing with at least K miners (the threshold picked) and sending them to the Stacks address

To commit the Stacks block on Bitcoin when winning:

  1. miners again send funds to the taproot FROST multisig script address

  2. the script spends path is unlocked, the block is committed and the rewards will get on the Stacks' address of the Smart Contract.

The script miners are sending funds to

The script is thought out so that funds are never lost. If the transaction is not signed by at least K miners, each miner can reclaim his funds from the script after a picked number of blocks, 10 in this case.