Connect with us

Crypto

Beyond The kWh: Factors That Bitcoin Miners Need To Consider

Avatar photo

Published

on

Beyond The kWh: Factors That Bitcoin Miners Need To Consider

A Decision-Making Framework For Bitcoin Miners — What Various Whatsminer Models Tell Us

The bitcoin mining space is rife with anecdotes, best practices and old wive’s tales about ideal operating conditions for ASIC computers. Beyond this, the market is only beginning to discuss environmental factors, contracting and alternative cooling mechanisms. For example, newer market entrants like MicroBT Whatsminers and their various M30S ASIC models are often seen as excellent hardware, but are comparatively under-studied relative to market competitors. In this paper we review empirical data generated via API query across multiple models of Whatsminer M30S to begin answering the broader ASIC question, “How do I make intelligent decisions around self-mining and/or hosting my machines?”

This data should be viewed as the beginning of a conversation around ASIC optimization and not a series of hard and fast rules for operating machines or facilities.

Distributed hash research is dedicated to studying the mining ecosystem and producing content that empowers miners of all sizes and experience levels. For project consultation, hosting, or general inquiries, please email [email protected]

Notes On Miner Data

The following data was collected in a dry, Western environment at an altitude of over 4,000 feet, but below the manufacturer recommended maximum operating altitude of 6,561 feet (2000 meters) for most new generation miners. Data was collected via API query in a single air-cooled datacenter across multiple weeks. Temperature conditions varied between a high of 94.3 F (34.62 C) midday and 41.2 F (5.1 C) in the evenings. Precipitation was 0.22 inches over the period of data collection with humidity between 93% and 15% (average 49%).

Miner Decision-Making: Rates, Hosting And Contracting

Bitcoin miners are taught to consider kWh as the golden number. The sacred kWh is often the single vector of decision-making when deciding when and where to mine. However, as experienced miners will attest, cheap energy is only meaningful when 100% machine uptime is assumed. Additionally, for miners who host their machines with third parties or have signed power purchasing agreements with mandatory minimums or fixed consumption agreements, these contracts are only cost-optimized when uptime is near maximized.

Considering only kWh when mining or hosting is both naive and financially reckless.

Imagine hosting a new generation miner for an agreed upon 6.5c/kW. Your bill starts at $154 per month, plus most companies have additional fees that can push your bill closer to $200 per month per miner (so you’re already at an effective rate of 8.6c/kW before you power up). However, that’s not all that influences your effective kWh rate. The overall uptime of your machine or facility and the way those terms are contracted is, especially these days, becoming a large factor in profitability.

If you’re contracted to pay a fixed $200 per month on your machine (we assume a hosting provider has a cheaper rate per kWh than 6.5c and makes money on the spread). What happens when a heatwave rolls through your state? A provider, or you, powering down your machines 50% of the time while you pay a fixed $200/mo to generate sats via your chosen pool effectively doubles your cost of sats production to over 17c/kW.

Outside of contract issues, uncontrollable factors such as environmental conditions, grid level supply issues (not to mention unexpected geopolitical upheaval) can invert even the most optimal contract for cheap kWh and leave operators hemorrhaging money with no recourse. What’s more, these factors come before consideration of macro bitcoin market conditions such as difficulty and price.

Advertisement
Submit your 2022 Austin Neighborhood Feedback

In the future, we hope to provide additional tools for miners to better navigate their hosting agreements, facility operations and external environmental conditions to maximize their sats production and minimize their risks.

Heat, Modes, And Downtime In Whatsminer M30s Models

Ambient heat poses a significant challenge to current air-cooled ASICs.

All miners should consider geography, altitude, humidity, and temperature when choosing which machines to purchase and operate. We look particularly in the following data at various Whatsminer M30S ASICs (M30S 86T, M30S 92T, M30S+ 102T, and M30S++ 106T) and have a few broad suggestions regarding which machines are optimal in environments that are subject to high summer heat.

Consider the above capture of machine-reported environmental temperatures over a five-and-one-half-day period. You will notice a general sine wave pattern reflecting the heat of the midday and the cool of the night. There is a more general cooling effect for the first three days, followed by a number of hot days in quick succession. Additionally, notice how machine-reported environmental temperature towards the right-hand side of the chart becomes more chaotic as ambient temperature increases overall.

A series of hot days are what pose the most serious risk to miner operation. During peak heat hours miners will automatically reset or switch to idle until the ambient temperature cools sufficiently to resume regular hashing. Consider the capture on the following page of four days of miner data with terahash reported on the upper lines and temperature reported on the lower lines. At roughly the same ambient temperature each day a series of machines in this subgroup will overheat and drop hash power until the ambient temperature decreases sufficiently. In the aggregate this is a substantial amount of downtime with negative outcomes for miners on fixed contracts.

Note: This is why distributed hash chooses to bill our hosting clients only on power consumed. This protects the miner from predatory contracting and becoming massively unprofitable during tighter market conditions.

So how can a miner maximize uptime in the most punishing midsummer environments?

Whatsminer machines have the option to toggle between “low,” “normal,” and “high” power modes. The vast majority of the time miners will choose to run their machines in

normal mode, which most closely delivers the TH listed on the machine at the stated wattage. However, during times of high heat it becomes preferable to run your machines in low mode, which, by decreasing the effective wattage of the machine, gives an additional ambient temperature buffer to the hash boards. Consider the below capture over five days showing a series of miners switching from normal to low mode on June 18 and the subsequent elimination of machine overheating.

The effect of switching the M30S ASICs into low mode from normal mode is obvious. No machines overheat during peak temperature days as the lower wattage draw has added an ambient temperature operating buffer. This switch to low mode has proven to be an effective remedy to midday overheating, but miners wonder how much hash they are losing by doing so. The answer is a discussion around chip manufacturing and PSU efficiency that is outside of the scope of this current paper; however, we submit the below data to open the conversation around various models of Whatsminer M30S ASIC:

Advertisement
Submit your 2022 Austin Neighborhood Feedback

As you can see in the above chart, when machines are switched from normal to low mode there is a general trend that goes: drop in hash power, larger drop in wattage, increase in watts per terahash. This is intuitive, as the less energy is consumed by a miner the efficiency of the miner increases. Increasing heat int a system will introduce some inefficiency.

What is most intriguing is how a drop in hash on low mode does not correlate directly with wattage across all variations of machine. Note that the highest powered new generation machines, the M30S++ series, remain largely stable in both normal and low mode. This suggests that you can run your top end machine in low mode, gain a temperature buffer for ambient conditions, and still hash within 2Th of the rating of the machine (104.27 actual versus 106 rated). On the other end of the spectrum, the M30S machines, specifically the 92T rated M30S machines, display a substantial non-linear variation in hash and wattage when switched from normal to low mode. For the miner using these machines, it suggests that mode switching should be considered during competitive markets or high ambient temperatures when the efficiency gain is meaningful to sat generation. We speculate that the differences between efficiency in the M30S 86T and M30S 92T ASICs are a consequence of the chip manufacturing process (an assertion outside of the scope of this discussion but interesting nonetheless and worth future study). Finally, the middle of the pack, the M30S+ machines, show efficiency gains that fall directly in the middle of the lower end M30S machines and the top end M30S++ machines.

The final question miners must have is when to switch between modes given certain prices and operating kWh conditions to maximize efficiency of their machines. We have prepared the larger model below, which takes into account various bitcoin price points at various electrical prices for you to determine how to run your personal machines.

Consider the below as rough data aggregation with the intention of optimizing the amount of bitcoin you’re able to generate during tight markets. During clear bull markets the best option is generally to operate at the highest recommended wattage draw of your machine.

If you would like a higher resolution version of this image, please contact us at [email protected].

Conclusions

In summary, we began by considering the risks associated with using kWh as a single determining metric when operating ASICs. It is important to look into not only the terms of your contract with either your utility or hosting entity, but to also consider the political and geographical risks associated with hosting in certain jurisdictions or climates. There are no hard and fast rules for how to run X miners in Y location, but introducing these factors into the conversation will serve miners in making better decisions.

We continued by reviewing datacenter level figures around ambient variations in temperature and how midday heat can drastically increase miner downtime. We assert that running machines in low mode is the best option to mitigate this threat and continue with an in-depth analysis on a per-machine level to better understand what the nominal terahash losses are, versus efficiency gains measured in watts per terahash.

We found that the highest tier Whatsminer M30S++ machines demonstrate incredibly stable operation across various modes, while the higher terahash M30S machines (92T) demonstrate the highest watt per terahash efficiency gain when switched to low mode. We end our discussion by sharing a more comprehensive table of efficiency per machine across various prices per kWh and bitcoin prices to better educate miners around when to change operating modes.

We hope that you have found this data and the surrounding discussion informative and are better able to strategize around your particular mining operation. Whether you are a backyard miner or a client of a hosting facility, the more information you have around your particular operating situation, the better able you will be to navigate market conditions and advocate for yourself.

Advertisement
Submit your 2022 Austin Neighborhood Feedback

Knowledge is power.

-distributed hash team

This is a guest post by Colin Crossman and Robert Warren. Opinions expressed are entirely their own and do not necessarily reflect those of BTC Inc. or Bitcoin Magazine.

Read More

Continue Reading
Advertisement
Click to comment

Crypto

El Salvador Takes First Step To Issue Bitcoin Volcano Bonds

Avatar photo

Published

on

El Salvador Takes First Step To Issue Bitcoin Volcano Bonds

El Salvador’s Minister of the Economy Maria Luisa Hayem Brevé submitted a digital assets issuance bill to the country’s legislative assembly, paving the way for the launch of its bitcoin-backed “volcano” bonds.

First announced one year ago today, the pioneering initiative seeks to attract capital and investors to El Salvador. It was revealed at the time the plans to issue $1 billion in bonds on the Liquid Network, a federated Bitcoin sidechain, with the proceedings of the bonds being split between a $500 million direct allocation to bitcoin and an investment of the same amount in building out energy and bitcoin mining infrastructure in the region.

A sidechain is an independent blockchain that runs parallel to another blockchain, allowing for tokens from that blockchain to be used securely in the sidechain while abiding by a different set of rules, performance requirements, and security mechanisms. Liquid is a sidechain of Bitcoin that allows bitcoin to flow between the Liquid and Bitcoin networks with a two-way peg. A representation of bitcoin used in the Liquid network is referred to as L-BTC. Its verifiably equivalent amount of BTC is managed and secured by the network’s members, called functionaries.

“Digital securities law will enable El Salvador to be the financial center of central and south America,” wrote Paolo Ardoino, CTO of cryptocurrency exchange Bitfinex, on Twitter.

Bitfinex is set to be granted a license in order to be able to process and list the bond issuance in El Salvador.

The bonds will pay a 6.5% yield and enable fast-tracked citizenship for investors. The government will share half the additional gains with investors as a Bitcoin Dividend once the original $500 million has been monetized. These dividends will be dispersed annually using Blockstream’s asset management platform.

The act of submitting the bill, which was hinted at earlier this year, kickstarts the first major milestone before the bonds can see the light of day. The next is getting it approved, which is expected to happen before Christmas, a source close to President Nayib Bukele told Bitcoin Magazine. The bill was submitted on November 17 and presented to the country’s Congress today. It is embedded in full below.

Read More

Advertisement
Submit your 2022 Austin Neighborhood Feedback

Continue Reading

Crypto

How I’ll Talk To Family Members About Bitcoin This Thanksgiving

Avatar photo

Published

on

How I’ll Talk To Family Members About Bitcoin This Thanksgiving

This is an opinion editorial by Joakim Book, a Research Fellow at the American Institute for Economic Research, contributor and copy editor for Bitcoin Magazine and a writer on all things money and financial history.

I don’t.

That’s it. That’s the article.


In all sincerity, that is the full message: Just don’t do it. It’s not worth it.

You’re not an excited teenager anymore, in desperate need of bragging credits or trying out your newfound wisdom. You’re not a preaching priestess with lost souls to save right before some imminent arrival of the day of reckoning. We have time.

Instead: just leave people alone. Seriously. They came to Thanksgiving dinner to relax and rejoice with family, laugh, tell stories and zone out for a day — not to be ambushed with what to them will sound like a deranged rant in some obscure topic they couldn’t care less about. Even if it’s the monetary system, which nobody understands anyway.

Get real.

If you’re not convinced of this Dale Carnegie-esque social approach, and you still naively think that your meager words in between bites can change anybody’s view on anything, here are some more serious reasons for why you don’t talk to friends and family about Bitcoin the protocol — but most certainly not bitcoin, the asset:

Advertisement
Submit your 2022 Austin Neighborhood Feedback
  • Your family and friends don’t want to hear it. Move on.
  • For op-sec reasons, you don’t want to draw unnecessary attention to the fact that you probably have a decent bitcoin stack. Hopefully, family and close friends should be safe enough to confide in, but people talk and that gossip can only hurt you.
  • People find bitcoin interesting only when they’re ready to; everyone gets the price they deserve. Like Gigi says in “21 Lessons:”

“Bitcoin will be understood by you as soon as you are ready, and I also believe that the first fractions of a bitcoin will find you as soon as you are ready to receive them. In essence, everyone will get ₿itcoin at exactly the right time.”

It’s highly unlikely that your uncle or mother-in-law just happens to be at that stage, just when you’re about to sit down for dinner.

  • Unless you can claim youth, old age or extreme poverty, there are very few people who genuinely haven’t heard of bitcoin. That means your evangelizing wouldn’t be preaching to lost, ignorant souls ready to be saved but the tired, huddled and jaded masses who could care less about the discovery that will change their societies more than the internal combustion engine, internet and Big Government combined. Big deal.
  • What is the case, however, is that everyone in your prospective audience has already had a couple of touchpoints and rejected bitcoin for this or that standard FUD. It’s a scam; seems weird; it’s dead; let’s trust the central bankers, who have our best interest at heart.
    No amount of FUD busting changes that impression, because nobody holds uninformed and fringe convictions for rational reasons, reasons that can be flipped by your enthusiastic arguments in-between wiping off cranberry sauce and grabbing another turkey slice.
  • It really is bad form to talk about money — and bitcoin is the best money there is. Be classy.

Now, I’m not saying to never ever talk about Bitcoin. We love to talk Bitcoin — that’s why we go to meetups, join Twitter Spaces, write, code, run nodes, listen to podcasts, attend conferences. People there get something about this monetary rebellion and have opted in to be part of it. Your unsuspecting family members have not; ambushing them with the wonders of multisig, the magically fast Lightning transactions or how they too really need to get on this hype train, like, yesterday, is unlikely to go down well.

However, if in the post-dinner lull on the porch someone comes to you one-on-one, whisky in hand and of an inquisitive mind, that’s a very different story. That’s personal rather than public, and it’s without the time constraints that so usually trouble us. It involves clarifying questions or doubts for somebody who is both expressively curious about the topic and available for the talk. That’s rare — cherish it, and nurture it.

Last year I wrote something about the proper role of political conversations in social settings. Since November was also election month, it’s appropriate to cite here:

“Politics, I’m starting to believe, best belongs in the closet — rebranded and brought out for the specific occasion. Or perhaps the bedroom, with those you most trust, love, and respect. Not in public, not with strangers, not with friends, and most certainly not with other people in your community. Purge it from your being as much as you possibly could, and refuse to let political issues invade the areas of our lives that we cherish; politics and political disagreements don’t belong there, and our lives are too important to let them be ruled by (mostly contrived) political disagreements.”

If anything, those words seem more true today than they even did then. And I posit to you that the same applies for bitcoin.

Everyone has some sort of impression or opinion of bitcoin — and most of them are plain wrong. But there’s nothing people love more than a savior in white armor, riding in to dispel their errors about some thing they are freshly out of fucks for. Just like politics, nobody really cares.

Leave them alone. They will find bitcoin in their own time, just like all of us did.

This is a guest post by Joakim Book. Opinions expressed are entirely their own and do not necessarily reflect those of BTC Inc or Bitcoin Magazine.

Read More

Advertisement
Submit your 2022 Austin Neighborhood Feedback
Continue Reading

Crypto

RGB Magic: Client-Side Contracts On Bitcoin

Avatar photo

Published

on

RGB Magic: Client-Side Contracts On Bitcoin

This is an opinion editorial by Federico Tenga, a long time contributor to Bitcoin projects with experience as start-up founder, consultant and educator.

The term “smart contracts” predates the invention of the blockchain and Bitcoin itself. Its first mention is in a 1994 article by Nick Szabo, who defined smart contracts as a “computerized transaction protocol that executes the terms of a contract.” While by this definition Bitcoin, thanks to its scripting language, supported smart contracts from the very first block, the term was popularized only later by Ethereum promoters, who twisted the original definition as “code that is redundantly executed by all nodes in a global consensus network”

While delegating code execution to a global consensus network has advantages (e.g. it is easy to deploy unowed contracts, such as the popularly automated market makers), this design has one major flaw: lack of scalability (and privacy). If every node in a network must redundantly run the same code, the amount of code that can actually be executed without excessively increasing the cost of running a node (and thus preserving decentralization) remains scarce, meaning that only a small number of contracts can be executed.

But what if we could design a system where the terms of the contract are executed and validated only by the parties involved, rather than by all members of the network? Let us imagine the example of a company that wants to issue shares. Instead of publishing the issuance contract publicly on a global ledger and using that ledger to track all future transfers of ownership, it could simply issue the shares privately and pass to the buyers the right to further transfer them. Then, the right to transfer ownership can be passed on to each new owner as if it were an amendment to the original issuance contract. In this way, each owner can independently verify that the shares he or she received are genuine by reading the original contract and validating that all the history of amendments that moved the shares conform to the rules set forth in the original contract.

This is actually nothing new, it is indeed the same mechanism that was used to transfer property before public registers became popular. In the U.K., for example, it was not compulsory to register a property when its ownership was transferred until the ‘90s. This means that still today over 15% of land in England and Wales is unregistered. If you are buying an unregistered property, instead of checking on a registry if the seller is the true owner, you would have to verify an unbroken chain of ownership going back at least 15 years (a period considered long enough to assume that the seller has sufficient title to the property). In doing so, you must ensure that any transfer of ownership has been carried out correctly and that any mortgages used for previous transactions have been paid off in full. This model has the advantage of improved privacy over ownership, and you do not have to rely on the maintainer of the public land register. On the other hand, it makes the verification of the seller’s ownership much more complicated for the buyer.

Title deed of unregistered real estate propriety

Source: Title deed of unregistered real estate propriety

How can the transfer of unregistered properties be improved? First of all, by making it a digitized process. If there is code that can be run by a computer to verify that all the history of ownership transfers is in compliance with the original contract rules, buying and selling becomes much faster and cheaper.

Secondly, to avoid the risk of the seller double-spending their asset, a system of proof of publication must be implemented. For example, we could implement a rule that every transfer of ownership must be committed on a predefined spot of a well-known newspaper (e.g. put the hash of the transfer of ownership in the upper-right corner of the first page of the New York Times). Since you cannot place the hash of a transfer in the same place twice, this prevents double-spending attempts. However, using a famous newspaper for this purpose has some disadvantages:

  1. You have to buy a lot of newspapers for the verification process. Not very practical.
  2. Each contract needs its own space in the newspaper. Not very scalable.
  3. The newspaper editor can easily censor or, even worse, simulate double-spending by putting a random hash in your slot, making any potential buyer of your asset think it has been sold before, and discouraging them from buying it. Not very trustless.

For these reasons, a better place to post proof of ownership transfers needs to be found. And what better option than the Bitcoin blockchain, an already established trusted public ledger with strong incentives to keep it censorship-resistant and decentralized?

If we use Bitcoin, we should not specify a fixed place in the block where the commitment to transfer ownership must occur (e.g. in the first transaction) because, just like with the editor of the New York Times, the miner could mess with it. A better approach is to place the commitment in a predefined Bitcoin transaction, more specifically in a transaction that originates from an unspent transaction output (UTXO) to which the ownership of the asset to be issued is linked. The link between an asset and a bitcoin UTXO can occur either in the contract that issues the asset or in a subsequent transfer of ownership, each time making the target UTXO the controller of the transferred asset. In this way, we have clearly defined where the obligation to transfer ownership should be (i.e in the Bitcoin transaction originating from a particular UTXO). Anyone running a Bitcoin node can independently verify the commitments and neither the miners nor any other entity are able to censor or interfere with the asset transfer in any way.

Advertisement
Submit your 2022 Austin Neighborhood Feedback
transfer of ownership of utxo

Since on the Bitcoin blockchain we only publish a commitment of an ownership transfer, not the content of the transfer itself, the seller needs a dedicated communication channel to provide the buyer with all the proofs that the ownership transfer is valid. This could be done in a number of ways, potentially even by printing out the proofs and shipping them with a carrier pigeon, which, while a bit impractical, would still do the job. But the best option to avoid the censorship and privacy violations is establish a direct peer-to-peer encrypted communication, which compared to the pigeons also has the advantage of being easy to integrate with a software to verify the proofs received from the counterparty.

This model just described for client-side validated contracts and ownership transfers is exactly what has been implemented with the RGB protocol. With RGB, it is possible to create a contract that defines rights, assigns them to one or more existing bitcoin UTXO and specifies how their ownership can be transferred. The contract can be created starting from a template, called a “schema,” in which the creator of the contract only adjusts the parameters and ownership rights, as is done with traditional legal contracts. Currently, there are two types of schemas in RGB: one for issuing fungible tokens (RGB20) and a second for issuing collectibles (RGB21), but in the future, more schemas can be developed by anyone in a permissionless fashion without requiring changes at the protocol level.

To use a more practical example, an issuer of fungible assets (e.g. company shares, stablecoins, etc.) can use the RGB20 schema template and create a contract defining how many tokens it will issue, the name of the asset and some additional metadata associated with it. It can then define which bitcoin UTXO has the right to transfer ownership of the created tokens and assign other rights to other UTXOs, such as the right to make a secondary issuance or to renominate the asset. Each client receiving tokens created by this contract will be able to verify the content of the Genesis contract and validate that any transfer of ownership in the history of the token received has complied with the rules set out therein.

So what can we do with RGB in practice today? First and foremost, it enables the issuance and the transfer of tokenized assets with better scalability and privacy compared to any existing alternative. On the privacy side, RGB benefits from the fact that all transfer-related data is kept client-side, so a blockchain observer cannot extract any information about the user’s financial activities (it is not even possible to distinguish a bitcoin transaction containing an RGB commitment from a regular one), moreover, the receiver shares with the sender only blinded UTXO (i. e. the hash of the concatenation between the UTXO in which she wish to receive the assets and a random number) instead of the UTXO itself, so it is not possible for the payer to monitor future activities of the receiver. To further increase the privacy of users, RGB also adopts the bulletproof cryptographic mechanism to hide the amounts in the history of asset transfers, so that even future owners of assets have an obfuscated view of the financial behavior of previous holders.

In terms of scalability, RGB offers some advantages as well. First of all, most of the data is kept off-chain, as the blockchain is only used as a commitment layer, reducing the fees that need to be paid and meaning that each client only validates the transfers it is interested in instead of all the activity of a global network. Since an RGB transfer still requires a Bitcoin transaction, the fee saving may seem minimal, but when you start introducing transaction batching they can quickly become massive. Indeed, it is possible to transfer all the tokens (or, more generally, “rights”) associated with a UTXO towards an arbitrary amount of recipients with a single commitment in a single bitcoin transaction. Let’s assume you are a service provider making payouts to several users at once. With RGB, you can commit in a single Bitcoin transaction thousands of transfers to thousands of users requesting different types of assets, making the marginal cost of each single payout absolutely negligible.

Another fee-saving mechanism for issuers of low value assets is that in RGB the issuance of an asset does not require paying fees. This happens because the creation of an issuance contract does not need to be committed on the blockchain. A contract simply defines to which already existing UTXO the newly issued assets will be allocated to. So if you are an artist interested in creating collectible tokens, you can issue as many as you want for free and then only pay the bitcoin transaction fee when a buyer shows up and requests the token to be assigned to their UTXO.

Furthermore, because RGB is built on top of bitcoin transactions, it is also compatible with the Lightning Network. While it is not yet implemented at the time of writing, it will be possible to create asset-specific Lightning channels and route payments through them, similar to how it works with normal Lightning transactions.

Conclusion

RGB is a groundbreaking innovation that opens up to new use cases using a completely new paradigm, but which tools are available to use it? If you want to experiment with the core of the technology itself, you should directly try out the RGB node. If you want to build applications on top of RGB without having to deep dive into the complexity of the protocol, you can use the rgb-lib library, which provides a simple interface for developers. If you just want to try to issue and transfer assets, you can play with Iris Wallet for Android, whose code is also open source on GitHub. If you just want to learn more about RGB you can check out this list of resources.

This is a guest post by Federico Tenga. Opinions expressed are entirely their own and do not necessarily reflect those of BTC Inc or Bitcoin Magazine.

Read More

Advertisement
Submit your 2022 Austin Neighborhood Feedback

Continue Reading