https://da-data.blogspot.com/2014/08/minting-money-with-mone...
The history of people trying to design GPU or ASIC-resistant proof-of-work functions is long and mostly unsuccessful. I haven't looked into RandomX; it's possible they've succeeded here (or possible that with the alt-coin market mining profitability tanking after Ethereum moved to proof-of-stake, it just wasn't worth it).
----
To anybody else that is syncing a fresh monero blockchain copy (i.e. installing the official client), I recommend using the custom node flag ` --db-sync-mode safe ` — which is slower but corruption-avoiding — before node's initial bootup. Without safemode, any halt of the client will [most likely] corrupt the local blockchain (losing days of DL/verification).
Also, if you use an SSD for storing any blockchain (as recommended by monero team... but not by me), know that its lifespan will be greatly reduced from the constant IO/access. Personally, I recommend safemode (see above) on a 7200RPM spinner (HDDs effectively don't wear during IO/access).
----
What are your thoughts on running xmrig vs. the default getmonero.org client? Would you in general agree that monero remains ASIC-resistant?
Particularly on its initial sync, Monero's daemon is flakeyAF.
If you (e.g.) don't allow `sync in background` (why is this not the default behavior?!), the official Monero client is notorious for locking up on wakeup. Once you kill the process, your local blockchain is [most likely] unusable.
Another reason to use safe-sync is (e.g.) if your system (Linux or whatnot) decides to update/restart during the several days it takes to sync-initially.
----
Just out of curiosity, why do you abuse an SSD so (safe-mode, or not)?
For SSD-diehards, I'd recomment getting a very large size because this'll last longer, presuming the drive self-levels.
Totally false. LMDB is perfectly crash-proof in that scenario and killing the process never damages the DB. The only thing that's not guaranteed is turning off syncs, in the face of an OS crash/power outage.
If you don't sync, you're not abusing the SSD. If you run on Windows, the OS is too unstable to use without safe sync mode though.
Thank you for sharing!
(To be clear: We were just optimizing mining; in the process of looking for ways to mine it faster, I found some security bugs and fixed them. We weren't exploiting the bugs, that crosses a line for me.)
The brilliant part of Bitcoin is that it uses very widely known crypto primitives - verification is the same as getting the right seed (you just happen to be told what the right seed is, rather than having to pay for it to be discovered).
Are cryptocurrencies supposed to be a potential replacement for real life cash? This was my understanding of the motivation behind Bitcoin, at least.
If so, why does it make sense that people can "generate" cash by proving some amount of work done? This of course cannot be done with normal cash.
Is the main functionality of these cryptocurrencies supposed to be "people can send currency to each other", or "people generate currency -- a number -- and sell this currency for real life money"?
For a state or central bank the answer is obvious: The state or bank itself prints it.
For a private actor the technical means is perhaps less obvious, but the actor behind the currency obviously gets to decide.
For a decentralized open source project, it is less clear. You could do it so every node in the system gets a piece of every newly printed unit of currency, but if it is free to run a node everyone could just run a billion nodes and take all the currency for themselves.
Bitcoin solved the problem with Proof of Work, which is elegant because both the double spend problem and the minting problem is solved together. Every node has to prove it has run a unit of useless computation and inflation is spread evenly across worker nodes. This led to a split between nodes and miners with the use of specialized hardware, but the basic premise still holds.
Crypocurrencies in general are very different. Ethereum, the second most popular, was created by a private actor and the that actor decided to print 72 M for themselves and promptly sold 80+% before the release of the software which gave rise to the term ICO which was very trendy for several years. After the initial release inflation continued according to the miner model.
They are supposed to be a medium of exchange. “Real life cash” is one of many forms of money; even for any particularly currency, like dollars, a very small fraction of use is “real life cash”. But, yes, in the most extreme visions, cryptocurrencies replace other currencies for all uses. More moderate visions, however, exist. So, as always when you use “supposed”, the answer is undefined without qualifying it as to by whom it is supposed.
> If so, why does it make sense that people can "generate" cash by proving some amount of work done?
Because there needs to be some mechanism to provide the currency supply, and also some incentive for people to provide the infrastructure on which the currency system relies. For fiat money systems the first is typical policy making in a central bank, and the second is government action to control competition in the banking space and to support banks, reinforcing the profitability of banks. Mining serves both of those functions in a cryptocurrency system (both reinforcing the profitability of transaction network participants and providing the mechanism by which currency supply is managed.)
> Is the main functionality of these cryptocurrencies supposed to be "people can send currency to each other", or "people generate currency -- a number -- and sell this currency for real life money"?
Participants in a currency system selling it for other currencies (FOREX) is a feature of every currency system in a world with more than one currency. Again, the degree to which each of those is “supposed” to be the main function depends on exactly whose supposition you are looking at it.
The big flaw of Bitcoin, to my mind, is that it is an inherently deflationary currency. Deflation is one of those things that seems great on the surface: prices go down, not up, but when that happens it ends up creating an economic incentive to avoid spending since why buy something today if it will be cheaper tomorrow, and this ends up causing economic activity to slow down or stop entirely. A small amount of inflation, on the other hand creates an incentive to either spend money or invest it in something that will provide a better than inflation return, whether that’s putting it in a high-yield savings vehicle or making capital or financial investments. With deflation, you can just leave your funds in cash (where they will not provoke any economic growth) and get a return.
The assumption behind the “deflation is bad” argument is that spending itself is the goal. But spending is not automatically good. Productive spending and productive investment are good. Wasteful consumption, speculation, and forced risk-taking are not.
If money holds its value, people become more selective. They still buy food, housing, tools, entertainment, experiences, and things they genuinely want. Humans have needs, preferences, status impulses, advertising pressure, and finite lives. Demand does not disappear just because money is sound. What disappears is some of the artificial urgency to spend before your cash loses value.
The more important point is investment. In an inflationary system, holding money is punished, so everyone is pushed out onto the risk curve. You are not only investing because an opportunity is great; you are investing because the currency is being diluted and you need to escape it. That distorts the real cost of capital and makes mediocre investments look better than they are in nominal terms.
With harder money, investment has to beat the return of simply holding the money. That is a healthy hurdle rate. Capital should have to prove that it creates real value. If an investment only makes sense because the denominator is being debased, or because everyone is forced into assets to avoid inflation, then maybe that investment was not as productive as it looked.
This also matters for inequality. Inflation does not hit everyone equally. People with capital can protect themselves by owning stocks, real estate, ETFs, businesses, and other assets. They can diversify, borrow against assets, and ride asset inflation. Poorer people are more likely to hold wages and cash, so they are the ones whose purchasing power gets diluted first. Then they are told to “just invest,” but they are competing against people who already have capital, better access, better tax treatment, and more room to take risk.
So inflationary money quietly forces the poor to compete with the rich on the rich person’s playing field: asset ownership. A broad ETF may look like a safe wealth-preservation tool for someone with money, but for someone living paycheck to paycheck, the need to buy risk assets just to avoid being diluted is itself a problem.
A deflationary or hard-money system would probably reduce some marginal consumption and speculative investing. But that is not obviously bad. It may mean fewer bad investments, less artificial asset inflation, and more pressure for capital to flow only into things that genuinely outperform money itself. It would also be much more sustainable, not just economically but materially: if money no longer pressures everyone to consume and invest constantly just to outrun debasement, there is less incentive to waste real-world resources on unnecessary production, overconsumption, and short-lived goods.
The fear is that nobody would spend. But people do not stop buying things just because they expect their money to hold value. They stop buying things that are not worth giving up good money for. That sounds like discipline, not economic failure.
Bitcoin might be approaching it.
Spending shouldn't be the goal, but exchange of goods and services should be. Representation of real value should be a goal. If you can receive real goods and services as a consequence of holding numbers on a spreadsheet, instead of a consequence of providing real goods and services yourself, the economy has a problem. Maybe a system with zero inflation or very slight deflation can be stable, but the extreme deflation seen in Bitcoin is destabilising.
This is how money works. If you use a medium of exchange and unit of account for goods and services then that medium must increase at the same rate as the increase in goods and services otherwise you get second and third order effects such as inflation, contraction, rising unemployment, etc., directly impacting its ability to act as a unit of account.
In Bitcoin you don't generate cash, you earn block rewards for acting as a consensus broker which otherwise would require a central banking settlement layer. This activity, tied directly to the transaction layer, acts to maintain the equilibrium between increases in goods and services and expansion of the money supply.
Wall Street got ahold of it and now Bitcoin is primarily acting as a Store of Value for the purpose of speculative investments. Driven primarily by the fear of missing out and market manipulation since Bitcoin is heavily centralized.
Block rewards have no connection to transaction volume or economic activity, the protocol is designed such that bitcoin supply increases at a predictable (and diminishing) rate. Bitcoin is deflationary by design, which is one of the major issues that stopped it from becoming anything other than a speculative store of value.
Well, for now. Obviously it can't reduce forever, and it will eventually slam back up to infinity (bitcoin will collapse) when no normal person feels like it's worth getting any because so much of it is already owned by wealthy people. Until that happens we're surfing the Ponzi wave. Inflationary designs are way more stable.
Insomuch as beanie babies are a store of value. Speculative assets only have value as long as there are more greater fools to buy in. When you've exhausted the supply of greater fools, there is no more reason to buy the speculative asset because its price won't go up, so it will fall to its intrinsic value, which is the worth of a normal stuffie for a beanie baby (roughly $5) or the worth of a number stored on other people's disks for a Bitcoin (roughly $0), which is the value ultimately stored. Wall Street is only involved in Bitcoin to facilitate trade between fools because we have collectively done a poor job of regulating this madness, allowing so many fools to eventually lose their money to a distributed Ponzi scheme and sanctioned countries.
Can't say I like crypto, but I think better arguments can be made against it.
The artificial scarcity and lack of actual use of bitcoin really isn’t the same.
Most cryptocurrencies, if we go only by their number, are designed to make their creators rich and moderately succeed at that. This is your ERC20s, pump dot fun, et cetera.
If we only consider ones that have any serious chance of being usable as actual currencies, these days they're usually designed to run arbitrary money-like programs known as "smart contracts", of which traditional money is just one.
Money can't be sent until it's generated, that's the same whether you're talking bitcoin or dollars. There's always a rule for who gets the new money when it's created, and somehow the rule always ends up being "rich people get the new money". Dollars go to politicians and big bankers, bitcoins go to big compute farms, ethers go to big bankers, monero goes to big compute farms. The aforementioned get-rich-quick currencies go to their creators, if course.
Think of it this way: If you pay with physical cash, there are people somewhere who do the work of digging ore out of the ground, smelting it, shaping it into coins, cutting and printing paper and so on. All these people do that, because they get paid in the same currency that they themselves have minted.
It turns out that nobody has yet found a way to create a digital decentralized currency that that works without incorporating a similar concept of incentivizing the creation of currency.
Cryptocurrencies allow market participants to communicate value to each other without having to trust other market participants or an institution. Mining verifies transactions and commits them to the public record, earning the miner a fee for their work.
Normal cash is just printed out from thin air by those who have the power. In that sense (some) cryptocurrencies are better because at least the process is open.
This was the original stated purpose, yes. But this works poorly in practice. Hypothesized frictionless tooling that would make it easy to make purchases with crypto has not emerged.
Nowadays it's held more like a speculative asset with value that comes from scarcity and demand, much like gold (though gold has some industrial application which Bitcoin does not).
> why does it make sense that people can "generate" cash by proving some amount of work done? This of course cannot be done with normal cash.
People do generate money when they work, in a sense, because money doesn't have value. Money represents value. To really understand that you need to think about what money is and why it was invented in the first place.
Before the invention of money there was only direct exchange; I do/give something for/to you and you do/give something for/to me in return. But what if you want what I have but I don't want what you have? Or what if we want something from each other but are too far apart to make the exchange directly? Well, we find a third participant who can act as a kind of transfer agent. They could, for instance, have something I want that you don't want and also want something from you. They trade with you first so now you have something from them that you don't want that you can then trade to me for the thing you want, and everyone is happy. This extends to arbitrarily many, dozens or hundreds even, of intermediate steps.
Now it should be easy to recognize two things:
1) Everyone needing to store a bunch of stuff they don't actually want just so they can pass it on to the next person can become a huge burden for everyone. And how do you store labor anyway? You can't. You can only store goods.
2) Organizing dozens of intermediate links is an extremely difficult problem to solve just so you can get what I have.
The first one can be solved by exchanging IOU vouchers instead. The holder of the voucher becomes entitled to the thing that hasn't yet been given or done. Storing those vouchers is trivially easy compared to storing the things. And you can just as easily store vouchers for work that hasn't been done yet as you can for goods that haven't been given yet.
The second one can be solved by saying what if people put their vouchers into a central voucher bank instead of passing all their vouchers around to each other directly, and then the central voucher bank organizes all the intermediate steps for people without people needing to figure out who has the vouchers they need to complete the chain.
And then once you're there, why even use specific IOUs at all? Why not have all the vouchers be generic but you get different amounts of them instead of different kinds that you can then use freely for anything? And that's obviously what money is.
And from there a new thing should become obvious: The money itself doesn't have any intrinsic value. The labor/good behind it does. Money is just a way of representing the value of something you did/produced in a form that can be easily traded for other things. It's the medium of exchange, not the product. And when there are fewer vouchers in the system relative to what's being produced, each voucher becomes worth more (deflation), and vice versa (inflation). And then the government literally prints and destroys vouchers as needed to try to keep a balance. That is a thing that happens. And so what if there can be prolonged time delays between you doing your work and you receiving your vouchers under some systems? Time delays are not inherent, just practical for bookkeeping. And when long time delays are not practical for bookkeeping they become shorter.
> Are cryptocurrencies supposed to be a potential replacement for real life cash? This was my understanding of the motivation behind Bitcoin, at least.
Only as an unrealistic pretense in the current climate. The reality is that a currency needs to be both moderately inflationary and also very stable to be useful as a medium of exchange of goods/services. You never want it to be a better financial decision to hold onto currency forever instead of using it, and you also never want people to randomly wake up destitute. And regardless of whether bitcoin is technically inflationary in the near term, it is not practically inflationary, and it's definitely not stable.
Because you need an incentive for 'miners' to participate in transaction processing.
Main functionality is transactions which are not controlled by any single entity (like the government).
Most of it is speculation unfortunately, which gives it a bad name, drowning out real usecases.
Why mine at all?
If you want to scale up to Mastercard levels.
Mining is what generates the coins. And you need mining because otherwise you need some other issuing organism. Without decentralized mining you get a central issuer, and that's untrustworthy and possible to shut down.
PoW miners are rewarded for correctly validating transactions, with newly minted coins.
The whole proof of work thing is that you proved that you validated a transaction by expending energy, and the network pays you for that security service.
Miners then need to sell those coins on the open market in order to pay for their capex/opex, which creates the market.
The open question is that if you have a fixed supply of coins that eventually runs out, what will carry the miners?
It'll be increased fees or the network will switch to another solution.
I would add a different way to make sense of it.
Proof of work allows for what Keynes called "Bancor". BTC is succesful because unlike fiat central banks, the money supply isn't dictated by interest rates (and thus loans) but by the effort of participants. The price of BTC is almost irrelevant, BTC itself is a paradigm shift.
Regarding the fixed supply, it's only fixed because participants agree to the consensus algorithm that fixes it. Many cryptocurrencies have different tokenomics, such as ETH's rules under PoS. BTC miners could vote onchain for a hard fork to change the 21M cap - or another solution.
Correct on the rest, but I just want to say that I was intentionally avoiding discussing specific tokens or the politics due to HN's stance on crypto.
Monero is similar to Bitcoin Cash, a useful replacement for cash in most cases.
https://old.reddit.com/r/Monero/comments/1h6e4nk/randomx_5_y...
Most miners use AMD Ryzens. Couldn't tell you the actual breakdown of CPU types in use. Apple's M series CPUs are quite efficient at it too. Bitmain now sells a "Monero RandomX Mining ASIC" which is just a bunch of RISC-V cores, seemingly based on Sophon SG2042 SOCs. There's nothing special or more cost-effective about their product.
You can mine on old smartphones quite easily. I use a bunch of old Android TVboxes myself. Their hashrates are nothing to crow about, but their hashes/watt are still competitive with faster CPUs.
There is a RandomX V2 that will be deployed soon. Its main improvement is even cheaper verification cost.
It might lead to scenarios where a miner may optimise block generation itself, I guess?
I was more curious about the possibility of generating optimised branchless variants and then running them in parallel on multiple ASICs to ensure you cover every branch and submit all the results and hope you’re fast? Would that be more inefficient than relying on branch prediction and CPUs?
And this also makes it hard to generate favorable programs.
But solving the problem of how to transfer value trustlessly and anonymously, instantly anywhere in the world is one of the biggest breakthroughs since the Internet.
Amazing how in a few short years kids started growing up with Bitcoin and don't understand how it work or why it exists :(
Point is, it's a currency you can use right now independently from the increasingly unstable-looking US dollar.
You could also use euros, yuan, rupees, or Australian dollars but it's really hard to get an account in those currencies if you don't live in those countries. Crypto is much easier to get access to.
We are 15y in and there is still no trace of a meaningful use case outside of the ones I mentioned. I don’t think it’s a failure of bitcoin itself, it’s a neat proof of concept, more of a complete delusion of people pushing cryptocurrencies
Free speech is for all the stuff you personally detest and personally choose to avoid. In a free country you hold your nose and allow others to engage in it.
If money is speech, then having a kind of money that doesn't pass through policy gates is an essential component of a free society.
But it's still mostly about the speculation, it seems.
And who's gonna admit that bitcoin is a ponzi scheme when all of their savings are in it? you can't, it would devalue your own money, so you're trapped, you can only further invest in it.
Also wall street never considered it seriously until a few years ago.
Just as an example, aave lost 295 million last month due to a hack in another protocol, and nothing was posted here.
I can use my compute and energy how I like, whether that’s for AI or crypto or a Minecraft server. You don’t have a right to call one “wasteful” and one not
I was interested in Monero because it actually was what people thought Bitcoin was.
A good example was the truck manifestation in Canada a few years ago, they went after all the donors for what was a legitimate protest. Anyone using bank transfers or any crypto that wasn't Monero was persecuted.
Those who used Monero had their privacy assured and zero issues.
Still a global blockchain though with the associated throughput limits. You can't buy cereal with monero because you do that too often.
It is hilarious.