{"id":93899,"date":"2025-04-26T04:59:31","date_gmt":"2025-04-26T04:59:31","guid":{"rendered":"https:\/\/neclink.com\/index.php\/2025\/04\/26\/making-pplns-work-for-demand-response\/"},"modified":"2025-04-26T04:59:31","modified_gmt":"2025-04-26T04:59:31","slug":"making-pplns-work-for-demand-response","status":"publish","type":"post","link":"https:\/\/neclink.com\/index.php\/2025\/04\/26\/making-pplns-work-for-demand-response\/","title":{"rendered":"Making PPLNS Work For Demand Response"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<p class=\"nitro-lazy\"><a href=\"https:\/\/bitcoinmagazine.com\/guides\/bitcoin-mining\">Bitcoin mining<\/a> has come a long way since the days of GPUs and basement set ups. In that time, miners have advanced in countless ways. For example, ASICs are now the standard, not GPUs. Furthermore, enterprise grade players have entered the field, opening new frontiers and bringing with them the size and institutional recognition that opens the doors to otherwise unreachable places for smaller miners. Nowadays, the mining landscape is one where grid services, curtailment strategies, and energy market participation are no longer edge cases but core strategies. As the world around it has moved forward, there\u2019s one question we keep hearing from miners: can PPLNS adapt?<\/p>\n<p>Many miners, particularly those working closely with energy providers or integrating Demand Response mechanisms, have come to view PPLNS with suspicion. They worry that it penalizes downtime and rewards only uninterrupted hashrate\u2014a bad deal for those who routinely curtail machines to support the grid or provide other services.<\/p>\n<p>This fear isn\u2019t baseless. It traces back to a pivotal moment in the mining industry\u2019s recent past, one that apparently sealed the deal for many on PPLNS style payouts: the fallout between RIOT and Braiins Pool.<\/p>\n<p>At the time, Braiins was using the Score payout system. Designed in 2011 by Slush himself, Score was engineered to solve the problem of pool hopping\u2014when miners would jump between <a href=\"https:\/\/bitcoinmagazine.com\/guides\/what-are-bitcoin-mining-pools\">pools<\/a> to exploit reward systems. There\u2019s also been a misconception that Score is a PPLNS style payment system, but as Rosenfeld\u2019s <a href=\"https:\/\/arxiv.org\/pdf\/1112.4980\" target=\"_blank\" rel=\"noopener\">bible on pool payout systems<\/a> describes, Score and PPLNS are distinctly different payout methods. The main difference is how they account for shares, specifically, Score implemented a rolling window with exponential decay function, this effectively made the lookback window very short. On the other hand, PPLNS is a family of payout systems with various types of fixed length lookback windows.<\/p>\n<p>As shown on <a href=\"https:\/\/web.archive.org\/web\/20220406114129\/https:\/\/help.slushpool.com\/en\/support\/solutions\/articles\/77000426280\" target=\"_blank\" rel=\"noopener\">this archived website<\/a> of how Score worked, you can see that after 90 minutes your hashrate had no more presence on the pool. This means that the moment a miner starts mining, their share of rewards fairly quickly reaches the fair value of the hashrate. On the other hand, when a miner stops mining, it drops equally fast, as shown on the gif below.<\/p>\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" width=\"720\" height=\"344\" alt=\"Mining payout analysis\" title=\"SLICE: Making PPLNS Work for Demand Response 1\" src=\"https:\/\/cdn-ilddnad.nitrocdn.com\/XgjmJNBNBbZQEuHAZVzgTqmzytAUTSfp\/assets\/images\/optimized\/rev-d9b18a2\/bitcoinmagazine.com\/wp-content\/uploads\/2025\/04\/image2.gif\" class=\"wp-image-42531 nitro-lazy\" decoding=\"async\" nitro-lazy-empty=\"\" id=\"NzUyOjI4Mg==-1\"\/><\/figure>\n<p>This might have worked well in the era of cowboys and hackers, but it was never designed with today\u2019s complex mining environments in mind. Certainly not with Demand Response, where miners intentionally and profitably take machines offline to stabilize energy grids or bid into ancillary markets. To Score, that kind of behavior looks no different than a pool hopper\u2014someone attempting to cheat the system.<\/p>\n<p>So when RIOT left Braiins, citing concerns about payout mechanics, it sent a shockwave through the mining world. Due to the aforementioned misconception, Score system\u2019s flaws got unfairly projected onto a broader category of payouts, PPLNS got caught in the fray, catching a stray bullet in the process, and the industry collectively threw the baby out with the bathwater.<\/p>\n<p>But the mining world has changed, and it\u2019s time for the phoenix to rise from his ashes.<\/p>\n<h3 class=\"wp-block-heading\"><strong>SLICE: A Payout Mechanism for the 21st Century Grid<\/strong><\/h3>\n<p>Enter <strong>SLICE<\/strong>, a modern, open-source Stratum-V2-ready payout system created by the DMND team. It\u2019s an improvement and evolution of PPLNS, that rethinks how miners get paid, rewards are calculated, and \u2014most importantly\u2014 how downtime is treated respect\u00a0<\/p>\n<p>to Score. All while preserving miner\u2019s right to build their own block templates with SV2.<\/p>\n<p>At its core, SLICE is about fairness and transparency. It preserves the foundational idea of PPLNS\u2014paying miners in proportion to their actual contribution to solving blocks\u2014while modernizing it for today\u2019s decentralized mining landscape.<\/p>\n<p>The key innovation lies in how SLICE structures reward calculation, and on how the lookback window works. Rather than treating the entire pool as a monolith, SLICE breaks time into smaller, dynamic \u201cslices\u201d of work to properly distribute the fee component. These slices represent batches of shares submitted over a specific period, where we control for the amount of fees in the mempool, and compare and score different job templates for the financial value they represent. When a block is found, SLICE distributes the block subsidy and transaction fees separately. The subsidy is allocated proportionally by hashrate, while the fees are distributed based on hashrate and financial value.<\/p>\n<p>This is particularly relevant in a world where miners can choose their own transaction sets. Some miners may prioritize high-fee MEV-style bundles; others may exclude certain types of transactions for ideological, political or technical reasons. SLICE ensures that, within each slice, miners are rewarded according to both the quantity and quality of their work\u2014without punishing them for downtime or strategic energy decisions. For those curious to learn more, <a href=\"https:\/\/blog.dmnd.work\/understanding-slice-pplns-jd\/\" target=\"_blank\" rel=\"noopener\">this article<\/a> can prove helpful.<\/p>\n<h3 class=\"wp-block-heading\"><strong>Demand Response Without Penalty<\/strong><\/h3>\n<p>What makes SLICE especially attractive for miners participating in Demand Response or curtailment programs is that it doesn\u2019t penalize you for being offline.<\/p>\n<p>That\u2019s because SLICE doesn\u2019t decay your payout just because you took a break. Your shares remain in the PPLNS window\u2014the rolling window of recent work that is eligible for payouts\u2014as long as they\u2019re recent enough. In this way, each share is treated independently, and is expected to get 8 payouts, since SLICE uses an 8-block rolling window, each valid share remains eligible for payout across the next 8 blocks on average. This means that regardless of how big or small the pool is, you will never have the abysmal luck of eating up bad luck days without a block, disconnecting, having the pool find a block, and not get paid.<\/p>\n<p>That means miners can power down during peak demand hours, support their regional grid, and still collect their fair cut from blocks found after they resume operations, most importantly, even while they\u2019re offline, if their shares are still in the window. In other words, if the pool has a streak of bad luck, and then the miner is called to perform demand response and shuts off, even if the pool finds a block during their down time, that miner will get paid their fair share for all the time they were online. That\u2019s because each share generated during that time will be active and getting paid for 8 blocks on average.<\/p>\n<p>This is not a workaround. This is the feature. It makes SLICE fully compatible with modern energy strategies that require flexibility, whether you\u2019re participating in frequency regulation markets, ramping down during grid emergencies, or simply optimizing for off-peak pricing.<\/p>\n<p>For example, let\u2019s say that a miner is mining at a pool, and the pool hasn\u2019t found that day\u2019s block yet. This means that the pool hasn\u2019t found the block yet, and thus the miners hasn\u2019t gotten paid for that day yet. Now, the miner shuts off to provide ancillary services during peak summer load for a few hours, during that time, the pool finds the block. In a Score based pool, the miner would not see a single Sat of that after 90 minutes, when the decay has had full effect. But even if the pool found a block 30 minutes later, due to the exponential decay, the miner would barely see anything. On the other hand, the miner would have all of the shares they mined over the day receive a payment, since each share receives on average 8 payments. Thus, the miner would benefit in the good times, and not be penalized in the bad times.<\/p>\n<h3 class=\"wp-block-heading\"><strong>Payment Transparency and Auditability<\/strong><\/h3>\n<p>Furthermore, SLICE doesn\u2019t just modernize payout fairness\u2014it does so in a way that minimizes trust in the pool operator. Every slice is fully auditable. Each share is tracked, indexed, and publicly verifiable by any miner, so miners can independently verify their share of the block reward. There\u2019s no black box, no \u201ctrust me bro.\u201d<\/p>\n<p>And if the pool operator attempts to cheat\u2014say, by injecting fake shares to dilute payouts\u2014miners can challenge the integrity of the slice. The Job Declaration extension to Stratum V2, which SLICE relies on, includes mechanisms for publishing share data, verifying Merkle roots, and ensuring that each share corresponds to real computational work.<\/p>\n<p>For miners who care about decentralization, SLICE isn\u2019t just a payment scheme\u2014it\u2019s an accountability tool.<\/p>\n<h3 class=\"wp-block-heading\"><strong>From Defensive to Strategic<\/strong><\/h3>\n<p>The shift from Score to SLICE represents more than a technical upgrade. It\u2019s a mental shift. Mining pools no longer need to defend against bad actors by penalizing everyone. Instead, they can structure payouts in a way that reflects reality: that miners are sophisticated participants working not only in the Bitcoin blockchain, but also the energy ecosystem.<\/p>\n<p>With SLICE, PPLNS stops being a liability and becomes a strategic advantage. It enables better revenue capture, more transparency and auditability, and smoother integration with grid services.<\/p>\n<p>And in a world where uptime is optional, but fairness is non-negotiable, that\u2019s exactly what enterprise-grade miners need, a strategic pool partner that pushes forward and innovates, bringing the future today and enabling miners to make more money with the same hardware.<\/p>\n<p><em>This is a guest post by General Kenobi. Opinions expressed are entirely their own and do not necessarily reflect those of BTC Inc or Bitcoin Magazine.<\/em><\/p>\n<\/p><\/div>\n<p><br \/>\n<br \/><a href=\"https:\/\/bitcoinmagazine.com\/technical\/slice-making-pplns-work-for-demand-response\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bitcoin mining has come a long way since the days of GPUs and basement set ups. In that time, miners have advanced in countless ways.<\/p>\n","protected":false},"author":1,"featured_media":93900,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[151],"tags":[],"class_list":["post-93899","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-crypto"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/neclink.com\/index.php\/wp-json\/wp\/v2\/posts\/93899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neclink.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neclink.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neclink.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neclink.com\/index.php\/wp-json\/wp\/v2\/comments?post=93899"}],"version-history":[{"count":0,"href":"https:\/\/neclink.com\/index.php\/wp-json\/wp\/v2\/posts\/93899\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/neclink.com\/index.php\/wp-json\/wp\/v2\/media\/93900"}],"wp:attachment":[{"href":"https:\/\/neclink.com\/index.php\/wp-json\/wp\/v2\/media?parent=93899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neclink.com\/index.php\/wp-json\/wp\/v2\/categories?post=93899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neclink.com\/index.php\/wp-json\/wp\/v2\/tags?post=93899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}