Job Negotiation Mechanics: Giving Miners Real Control Over Block Construction
Job Negotiation is one of the most powerful and forward-looking features introduced with Stratum V2. It shifts mining from a purely mechanical “hashing-only” activity to a more intelligent, participatory process where individual miners (or their local proxies) can actively influence which transactions are included in the next block. This mechanic directly addresses one of the biggest centralization concerns of older Stratum V1 pools: the pool operator having sole control over block template content.
How Job Negotiation Actually Works (Step-by-Step)
-
Pool Sends Base Template
The mining pool continuously feeds participating miners a lightweight “base job” or partial block template. This includes:- The hash of the previous block
- The current difficulty target
- A version number
- A list of candidate transactions from the pool’s mempool, along with their fee rates
- Space for the miner to insert their own coinbase transaction (which contains the block reward payout to the miner’s address)
-
Miner (or Proxy) Receives and Evaluates
The miner’s software or a local Stratum V2 proxy receives the base template and can:- Pull additional real-time transaction data from public mempool nodes (e.g., via Bitcoin Core’s RPC or third-party services).
- Rank transactions by fee-per-byte (or sat/vB) to maximize total fees.
- Decide which transactions to include, exclude, or prioritize.
- Construct its own coinbase transaction — the special first transaction in every block that pays the block subsidy + fees to the miner (or pool participants).
-
Negotiation Phase
The miner sends a Job Negotiation message back to the pool proposing its customized template. The pool validates that the proposal follows consensus rules (no invalid transactions, correct size limits, etc.) and either:- Accepts the customized job and issues a formal “new job” with the miner’s modifications incorporated, or
- Rejects it and falls back to the pool’s default template.
-
Nonce Hunt on the Customized Job
The miner then begins the nonce hunt using the negotiated template. If it finds a valid block, it submits the full solution (header + coinbase + selected transactions) through the Stratum V2 channel. The pool propagates the block using Compact Block Relay.
This entire negotiation loop can happen in milliseconds to seconds, allowing sophisticated miners to continuously optimize every new job.
Analogy: Traditional Stratum V1 mining is like being a factory worker on an assembly line — the boss hands you a fully assembled product and says “just hammer it as fast as you can.” Job Negotiation turns you into a master craftsman: the boss provides raw materials and basic specifications, but you get to choose the best ingredients, arrange them optimally for maximum value, and only then start hammering. You still get paid based on how much hammering you do, but the final product (the block) can be worth more because of your choices.
Benefits and Real-World Impact
-
Higher Revenue Through Better Fee Capture
After the 2024 halving, transaction fees and Layer-2 settlement actions often account for 15–20 % (and sometimes more) of total miner revenue. Miners or pools using full Job Negotiation can consistently select the highest-fee transactions, increasing effective earnings by 5–15 % compared to pools that use rigid templates. In today’s volatile markets, this edge matters significantly. -
Reduced Pool Centralization
When many miners run their own proxies and negotiate jobs independently, the pool operator loses the ability to unilaterally decide block content. This moves the network closer to true decentralization and makes large-scale transaction censorship much harder. -
Flexibility for Different Miner Types
- Large industrial farms: Run dedicated Stratum V2 proxies with custom transaction selection algorithms, often integrated with fee-estimation services.
- Residential miners (e.g., Apple M4 running Verus or small ASICs): Most use simplified “light” negotiation modes provided by the pool. Even basic support still gives them better fee performance than older V1 pools.
- GPU/DePIN operators: Can pause negotiation during high AI demand and resume mining with optimized templates when electricity is cheap.
-
Merged Mining Compatibility
Job Negotiation works seamlessly with merged mining. A miner can optimize the parent chain (Litecoin) template while the auxiliary proof for the child chain (Dogecoin) is automatically generated from the same work.
Security and Practical Considerations
Job Negotiation is fully encrypted under Stratum V2’s TLS/Noise layers, preventing eavesdropping or tampering. Pools implement strict validation rules to prevent miners from proposing invalid or malicious blocks. If a negotiation fails, the system gracefully falls back to a safe default template, ensuring the miner never stops hashing.
In high-cost environments like New York City (electricity ~$0.36/kWh), even small efficiency gains from Job Negotiation can determine whether a residential setup remains profitable. Sophisticated users often run a lightweight Stratum V2 proxy on a separate low-power device (e.g., a Raspberry Pi or the same Mac Mini) that handles negotiation while the main mining hardware focuses purely on hashing.
Currently, pools that fully support Job Negotiation (such as certain ViaBTC and Foundry configurations) are preferred by professional miners, while legacy V1-only pools are increasingly seen as outdated. This feature represents one of the quiet but meaningful steps toward returning more sovereignty to individual miners without sacrificing the convenience and predictability of pooled mining.