11 ms·
BTC Stolen from Poloniex
- carsonreinke 13y agoI am only so familiar with Bitcoin, but why not have an additional wallet per user of the exchange? That way its not possible to exceed the funds of that wallet.
- wmf 13y agoThen each trade takes 10 minutes. Check out Coinkite if you like this kind of architecture.
- highace 13y agoSeems to be a recurring theme recently. Evidently too many developers inexperienced in proper security are building these things. You would have thought after everything that has happened so far that people would take a long hard look at their security measures.
- stcredzero 13y agoSecurity is hard, especially computer security in the absence of trusted/trustable systems. (Yes, it's a deliberate devil's advocacy, but it should be said.) We should ask ourselves why the existing government banking systems are secure. In part, it's because nothing is simply trusted and everything is double checked. In part it's because criminals have tried all manner of things, giving the system a chance to develop collective experience dealing with all manner of attacks. In part, it's because the law makes it a poor economic choice to engage in many kinds of criminal activity. Then ask, how many of these things are true for bitcoin? Then perhaps ask, could I provide these things, and make money while doing so?
- PeterisP 13y agoMy (completely pulled out of thin air) opinion is that there is no way that startups populated by young, hip developers can build a proper system for handling money. You need to have a baggage of a thousand bizarre things how these systems can be violated, unless you want to repeat the same mistakes - and that comes with time and experience. There are literally at least hundred thousand developers who have worked for 20+ years on financial systems - the industry employs a lot of them. If you're going to be storing money of other people, picking up a random such guy - even completely mediocre, boring one - would at least bring up the many issues that are taken for granted in 'that world' but nonobvious if you're not from the financial industry.
- dragonwriter 13y ago> My (completely pulled out of thin air) opinion is that there is no way that startups populated by young, hip developers can build a proper system for handling money. At least not if they are populted solely by young, hip developers. Those developers can probably build the system, but what they can't do is specify and validate the system. So, those young, hip developers need to at least spend some time talking to some experienced domain experts. Or, you know, keep repeating every failure in the history of finance and banking that has led up to the industry practices and government regulations they are ignoring. Sure, you can likely find better solutions to some of those problems, but it would be better if you at least "anticipated" the well-known, obvious problems and solved them, rather than repeating them first.
- dscrd 13y agoMoreover, these things should be built upon the certainty that somebody smarter than you, the coder, might be interested in free money, and that the software will be broken. Only with that mindset can one build a system that doesn't screw over every legit customer when it happens.
- PeterisP 13y agoAhh, the default finance mindset is a bit different - first, assume that your own employees, managers, sysadmins and developers would be interested in free money. Design the system, processes, checks and audits according to that - and it covers most of the precautions against outside hackers as a natural consequence. If you start a BTC exchange, write half of the initial code yourself, have access to the servers and own the company - then you should ask a simple question: could I myself steal funds undetected? If you're an investor, could the CEO/founder steal funds undetected? If the answer is yes, you have work to do. There are some theft options by privileged people that can't be realistically prevented, but you can make sure that those scenarios would be detected within a day, and thus those privileged people simply wouldn't do it to avoid jail.
- dscrd 13y agoEven better.
- danielweber 13y agoIt's not just "inexperienced in proper security." People very experienced in security would still have problems with this, because the irreversibility means the slightest mistake is doom. Writing bitcoin software should be like writing crypto: you aren't smart enough, so don't try.
- deleted 13y ago[deleted]
- eloff 13y agoSounds like somebody used an eventually consistent nosql database to handle monetary transactions and discovered why that's a bad idea...
- MrBuddyCasino 13y agoTo me it sounded like a pretty stupid race condition. Anyway, at least they reacted better than MtGox.
- nobodysfool 13y agoTheir supposed fix doesn't seem like it would address the problem anyway. They should use optimistic locking. edit: optimistic
- ephemeralgomi 13y agoSounds more like he forgot to wrap multiple mutually dependent queries in a transaction. It doesn't require advanced technology to make a mistake.
- yaur 13y agoAnd also skipped on testing that basic business rules can't be trivially violated.
- al2o3cr 13y ago"We fucked up, so we're deducting the losses from everybody's accounts so that people don't immediately withdraw all their money." If my bank sent me this notice, the FIRST thing I'd do is withdraw all my money - there's every chance it may be "an absolute necessity" to steal more of it at any time...
- mildtrepidation 13y agoWhich I'd imagine would be illegal for more than one reason... but then this is one of the costs of an unregulated currency (not saying that makes it good or bad, just that it's there). It's also why I don't understand maintaining a balance with a service like this. Unless you're doing very small trades, the 0.2% fee plus the network charge for a withdrawal seems like a small price to pay to be mostly safe from this kind of thing.
- stcredzero 13y agoA better way to phrase it would be as a "Bank Holiday" as FDR did, or as a 12.3% "temporary withdrawal floor." It's a lot easier for a government to survive such an event than a small IT company.
- gatehouse 13y agoHappens all the time http://en.wikipedia.org/wiki/2012%E2%80%9313_Cypriot_financial_crisis http://en.wikipedia.org/wiki/2012%E2%80%9313_Cypriot_financi...
- arethuza 13y agoExcept that wasn't "everybody's accounts".
- anigbrowl 13y agoThose things are called crises because they actually happen quite rarely. When such episodes become a regular occurrence people tend to abandon the system in question. I keep seeing this attitude among Bitcoin fans. Of course, there have been many financial crises with regular currencies and banking systems. But that doesn't mean they're the norm. When you look at the number of crisis against the number of different financial systems and years-without-a-crisis it's obvious that they're exceptional. Sadly, the number of Bitcoin shocks seems to be increasing linearly with scale. I don't think this is inherent so much as a problem of overconfidence and magical thinking. Right now Bitcoin service providers (in the aggregate) are like builders whose structures catch fire distressingly frequently, but who excuse this by pointing to famous fires of the past. The fact that fires have historically been a problem doesn't mean fire codes are useless; quite the opposite, in fact.
- NKCSS 13y agoIt's the same kind of exploit that plagued many web games in the past; it's just something most programmers do wrong, because it's not a requirement in most cases.
- ck2 13y agoDang it people. Race conditions. Security. I know it's not easy but it is important to get it right.
- pistle 13y agoIt's not as hard as these hacks make it seem. Not checking for negative balance??? It doesn't get much more freshman CS than this.
- stcredzero 13y agoThis is exactly what Erlang would excel at implementing. Not that one couldn't do it wrong in that language as well. Same goes for Go and Clojure and a number of other languages with advanced concurrency features.
- curveship 13y agoSeriously. I thought this bit of code from the MtGox leak was interesting. Sure looks like a potential double-spend race condition: $out = \DB::DAO('Money_Bitcoin_Block_Tx_Out')->searchOne(array('Hash' => $bean->Hash, 'N' => $bean->N)); if ($out) { if ($out->Claimed == 'Y') { $bean->Available = 'N'; $bean->commit(); continue; } } What if someone else claims $out between the read and commit? Is no one at BTC exchanges really asking these kinds of questions?
- deleted 13y ago[deleted]
- Cless 13y agoX-Powered-By:PHP/5.5.9-1+sury.org~precise+1 Mt. Gox, Flexcoin, and Poloniex. What do they all have in common? It's not what you think. (:
- laumars 13y agoWhat they have in common is a bunch of keen individuals rushing in to cash in on the hype but in the process releasing some of the worst financial systems (if you can call them that) which I've ever seen because they don't follow the same strict regulations and testing processes that the rest of the financial industry have to go through.
- Yver 13y agoWhat they have in common: they deal in Bitcoins, they're not banks, they have a "o" and an "x" in their name. Now if you're trying to bash PHP (or Ubuntu?) for banking software that does not take an exclusive lock on rows it reads then modifies and a daemon that does not check balances on withdrawal, try again.
- Cless 13y agoI'm not bashing PHP. I love PHP. Many PHP developers, on the other hand...
- krapp 13y agoIt's a strawman, though. The problem isn't PHP developers per se, it seems to be a lack of awareness that dealing with money is in any different than dealing with, say, any other CRUD operation (see - Mt.Gox just casting things to floats, it's just numbers, right?.) Just wait until people start announcing their exchanges and business written in Rails or Python, or "anything but PHP" but still turning out to have been written by webapp developers with no idea how to actually deal with currency transactions or basic security.
- pessimizer 13y agoWhat if you're trying to bash the likely competence of people who, when deciding to write a bank, decide that PHP is the best tool for the job. To make that decision requires that you be insane, or don't know any other tools.
- jballanc 13y agoGosh, it would be nice to have some sort of assurance that the group holding on to my monetary reserves met some sort of minimum level of competency in dealing with quantities of currency. Or, lacking competency, some guarantee that any bank screw-up wouldn't result in loss of funds from my account...I wonder why no one has thought of this before? Oh, wait... Seriously, if I was an economics or law professor today, I don't think I could come up with a better classroom to teach financial regulation than the mess that is the Bitcoin economy.
- spindritf 13y agoA percent of every card transaction goes to cover system's losses on fraud. There's value in the costs being predictable, stated up front, etc, but it's not fundamentally different.
- mikeash 13y agoIMO that predictability makes it fundamentally different. I can handle a regular 2% fee, but I can't really handle a sizable chance that I'll be completely wiped out.
- jballanc 13y agoExactly! I know how to fire a gun, tie a tourniquet, extinguish a structure fire, and set aside an emergency fund. I also know that paying someone else to relieve me of having to worry about these things is money well spent. You call it regulation, I call it peace of mind.
- patio11 13y agoI made a comment on an earlier thread about the security properties of hot/cold wallet and the security properties of separating the matching and settlement systems. (https://news.ycombinator.com/item?id=7340505 https://news.ycombinator.com/item?id=7340505) This incident is an example of the Bitcoin community's best practices "working." They lost 12.3% rather than 100%. That's actually a considerable accomplishment in Bitcoin, but not a success condition for most people who deal with money. If they had the settlement processed asynchronously on a different system, likely with human interaction, they'd be able to say "Hmm, it seems like account #944325 has convinced us to schedule a withdraw of $250,000 more money than he has on deposit. Well that would be a really bad idea, now wouldn't it. Denied. Now I think I'll sip a cocoa while leisurely planning my review of our withdraw scheduling code."
- smacktoward 13y agoThis is the most fascinating part of the Bitcoin story: watching a group of people who are philosophically opposed to most elements of the modern economy discover, one by one, why all those elements exist.
- mildtrepidation 13y agoPerhaps "all" is an overstatement. An overhaul starting from zero may not be a very realistic or efficient answer, but it seems a little optimistic to suggest that there is nothing our financial systems do that couldn't be changed or dropped.
- jeremysmyth 13y agoI wish I could upvote this comment more than once. Many complex systems are complex because they solve complex problems, not just because they have evolved over time from different simple conditions. You can't always (if ever) replace a complex system with a simple one. You can't escape complexity by coding around it. This is the attitude that killed Netscape and kills many Enterprise projects.
- kot-behemoth 13y agoI wonder if perhaps a similar thing is going to happen to the meal replacement products, such as Soylent and Ambro and others. Maybe in their attempt to "hack" human nutrition they, too, will rediscover why human nutrition research exists. Except perhaps with more serious consequences involving health issues.
- mildtrepidation 13y agoAs some one who's almost entirely oblivious to the trappings of cryptocurrency... is it not possible to trade on sites like this with a local wallet? Or do you have to keep a balance with them separate from your wallet? It's invalid logic to assume that because some bitcoin sites have been hacked, all of them will be, but at this point it seems pretty clear the entire community needs to be a little more careful. Until that happens I don't think keeping a balance with a service like this makes sense.
- mikeash 13y agoThey need to have your money before they can execute a trade from you, otherwise they're opening themselves up for significant fraud. If it's trade-then-send, I could sell some bitcoin, then wait a few minutes to see whether the price went up or down before I send them. If the price went up, just refuse to send the bitcoin, and execute a new sale at the higher price. You can certainly put money in right before you execute a trade, and pull it back out right after. But that introduces significant lag, up to an hour for bitcoin, depending on how many confirmations you wait for, and several days for USD. That said, I don't understand why people keep significant balances in these places. Keep a small amount to trade with and save the rest yourself!
- mildtrepidation 13y agoThat said, I don't understand why people keep significant balances in these places. Keep a small amount to trade with and save the rest yourself! Yeah, that's what I mean. You can certainly put money in right before you execute a trade, and pull it back out right after. But that introduces significant lag, up to an hour for bitcoin, depending on how many confirmations you wait for, and several days for USD. Thanks, that's definitely something to consider. I can see it being very inconvenient, though I still agree that the idea of keeping a balance larger than your trade volume in a service like this is hard to fathom.
- mikeash 13y agoI can only guess that people have become so used to solid financial institutions that present little risk for deposited money. Even non-FDIC institutions, like stock brokerages, usually have extremely low risk for deposited cash. If you're thinking like that, why not let them hold onto it? It's less effort. Of course, we see the answer to "why not?" here.
- revelation 13y agoLet's not suggest this is just a race condition. Sure, it's a race condition, but whats the maximum damage you can do? c * your current balance, where c is a low number (10 is a very optimistic guess), since at some point the race concludes and you can't exploit it further. But apparently they didn't even check or put a proper constraint into the database that your balance should be positive (and if you do find a negative balance, shut the system and investigate). Now that's not a "pretty stupid race condition", it's reckless.
- fiatmoney 13y ago"the auditing and security features were not explicitly looking for negative balances". WTF, who are these clowns that purport to be running the equivalent of a bank? It's like everyone running a BTC exchange either is corrupt or slept through the part of Databases 101 where they explained "this is why transactions are important, here is banking as an example". Seems likely both.
- deleted 13y ago[deleted]
- rayiner 13y agoI think it's just the rush to be first on the scene and capture the perceived network advantages that arise from being first. These are MVP's.
- bunderbunder 13y agoI think we're seeing now that they're actually just MPs.
- jnbiche 13y agoI don't know...I hesitate to bestow the "product" label on sites that take away value, instead of adding it. In fact, I think they're just M's.
- jamesaguilar 13y agoIf the V stands for "good enough to get people to pay you," then you have to admit that this product had it.
- jonknee 13y agoThe people who typically make and run these things are sitting on the sidelines until the legal issues are worked out. It's not exactly surprising that the people willing to risk jail time for first mover advantages aren't the best at finance/development/risk.
- drakaal 13y agoIf BTC is going to survive there needs to be insurance against loss. An FDIC for Crypto. The exchanges take a cut on every transaction, so Poloniex should have self insured for the first 3% (or what ever their transaction fee is). After all they made that money on the transaction. They should carry insurance for the rest. The 12.3% deducted from everyone's account is "wrong" in my view because Poloniex absorbed none of the loss, and kept its cut of the transaction. The "right" thing in my eyes is for Poloniex to adjust minus their transaction fees. -Brandon Wirtz (Not a Poloniex customer)
- PeterisP 13y agoThis is not something that can realistically happen by itself - just as for 'traditional' banking, it would happen only because government regulation would force it to happen.
- spiralpolitik 13y agoA better solution would be for the Bitcoin Foundation (or some other entity) to certify exchanges and online wallets as being compliant with a well defined code of practice and audit them regularly. Consumers could look for the mark as indicating that the exchange is a well run outfit rather than a bunch of cowboys.
- eropple 13y agoThat doesn't solve the problem, though: how do you trust that they're able to do a good audit? (I don't have to trust that my bank can, because my accounts are insured by something that rhymes with "duvvermint".)
- gnaritas 13y agoThen you end up with what happened with the housing market in 08, ratings agencies rubber stamping things for profit. Why should I trust what they say?
- wmf 13y agoHow much would such insurance cost? More than the money deposited?
- deleted 13y ago[deleted]
- wikwocket 13y ago> If you have 2 BTC, withdraw 10 BTC, and are left with -8 BTC, the software would see that you deposited 2, withdrew 10, and have exactly what you should: -8. Nice, I wish my bank was so chill about having a negative balance. :) This reminds me of the early Amazon bug, where you could add negative numbers of items to your cart, and it would credit your account, and then wait for you to ship them the book. ;)
- viraptor 13y agoMy bank is completely OK with that. Most banks probably are. The problem is that then they charge me even more money for it rather than going bankrupt themselves. Talk about a bad response...
- PleaseBeSerious 13y agoCan some of these exchanges get together and create an open source exchange framework?
- mrcharles 13y agoSomeone's never heard of unit tests.
- cognivore 13y agoWho in the heck is writing this stuff? Are they just hacking together crappy sites in an effort to get things running as soon as possible? Bitcoin isn't going anywhere until the people who trade in it approach competence.
- unclebucknasty 13y agoIt's good that these guys appear to be very transparent and accept full responsibility for their error. But, this is an outlandishly amateurish oversight. Race conditions and atomicity where balance-affecting transactions are concerned would seem to be one of the first considerations that pops to mind. That, along with sanity checks just before final execution of the transaction. It's clear that there are a lot of people building exchanges with little to no experience in the financial/transactional software field. But, I am beginning to wonder how much experience they have building any software.
- brudgers 13y agoThe missing link for bitcoin is coverage under something like the Uniform Commercial Code- a system that specifies general principles governing transactions and the framework for their completion and resolution of conflicting claims. Caveat emptor is not a foundation for a currency.In practice bitcoin's very anonymity makes it a more attractive target for theft- bitcoins come pre-fenced. As Patio points out, the bitcoin community is inclined to build magic bullet software that assumes theft can be prevented and policies whereby the victims of theft are shit out of luck as in this case and Mt Gox. For an ordinary good citizen bitcoin is a bet that the people holding the funds are not only honest but the smartest people in the world or at least smarter than all the criminals. Saying that a company has the most secure bitcoin system in the industry, even after proof it was the case, doesn't change the fundamental design tradeoff in bitcoin. Bitcoin offers anonymous possession in exchange for risk. Because the risk is high relative to normal forms of commercial exchange, bitcoin attracts rational actors for whom the rewards outweigh the risks and the distribution curve of interested parties has a tail that skews criminal. The missing link for bitcoin is coverage under something like the Uniform Commercial Code- a system that specifies general principles governing transactions and the framework for their completion and resolution of conflicting claims. Caveat emptor is not a solid foundation for a banking system..
- corresation 13y agoThe financial system at larger scales is not terribly different -- you electronically transfer money and in the blink of an eye it is gone, and is only recoverable with the cooperation of the counter-party. Of course most banks have identity requirements, but identity proofs in most countries are wholly insecure. If someone with ill intent has the ability to wire money from your account, they can do so with ease. Bitcoin really isn't that unique in that sense. The real story in the bitcoin world is a recurring tale of gross, epic levels of incompetence, largely because a bunch of people who know some PHP have become the ones building financial systems. People who lack even the most rudimentary of knowledge necessary (this particular "exploit" for instance....good God. This is literally usually the very first "learning databases" lesson because it is so obvious of a weakness).
- rmc 13y ago
- asadlionpk 13y ago"not looking for negative balances." If this caused the problem here, this shows that this is just the tip of the iceberg. Someone should start an open source project for BTC Exchange's back-end.
- zwily 13y agoButtercoin did that. Then they decided to go closed source and do a traditional exchange. https://github.com/buttercoin https://github.com/buttercoin
- jnbiche 13y agoI know everyone is gleefully using the failure of three poorly-coded Bitcoin exchanges to crow about the many wonders of regulations. However, has anyone stopped to ask why so many exchanges are poorly-coded? No, it's not because everyone in Bitcoin adores PHP. I've met some of the most capable coders among cryptocurrency enthusiasts. Go check out Conformal's btcd, or any of Jeff Garzik or Warren Togami's projects, or the amazing talents of the Bitcoin core dev team. (If you decide to denigrate the abilities of any of these Bitcoin/cryptocurrency developers in a response, please be sure to include a link to your own github) No, it's not because there's no talent. Rather, it's because nobody who is competent in the Bitcoin world is willing to risk their hides or the welfare of their families on something they know the authorities will eventually crack down on. You see, competent people actually learn about the space, and the relevant regulations before jumping in. And they understand that -- absent several million in start-up funding -- there is no way to legally open an exchange at this point. So by process of elimination, the only ones left to open exchanges are either scammers, or ignorant, incompetent coders who can barely code up a PHP site, or a very few brave, mostly-competent individuals who have the money and lawyers to at least (hopefully!) keep them out of jail when the inevitable crackdown occurs. I know personally of several extremely competent entrepreneur-developers who have abandoned Bitcoin projects out of regulatory concerns. And I'm sure that's just a small sample. So that's the reason for the prevalence of poor coders among Bitcoin exchanges. Your solution to this problem will of course be a function of your worldview.
- bunderbunder 13y agoMy suspicion is that simply removing barriers to entry for more cautious folks would not effectively resolve this sort of problem. Methodical people who take their time in engineering ironclad software systems backed by rock-solid accounting practices don't get first mover advantage, and they might not have bottom lines capable of supporting the kind of fee structures that would allow them to compete effectively with faster, sloppier businesses. An unstated major premise of the "wonders of regulations" argument is that regulations exist because sometimes the hand of government is needed to handle situations where the invisible hand is a demonstrable failure.
- 13y ago
- tptacek 13y agoLook: every startup gets owned up somehow in its first year or so. If you think your company hasn't, I have an adage about the sucker at the poker table for you. I'm not sure how many people on HN really understand this, because every thread I read about Bitcoin companies having security problems features highly-voted comments expressing shock at how bad their security must have been. No: this problem is universal. The difference between Bitcoin companies and cat sharing companies isn't fly-by-night operational practices (although in some cases, sure). The difference is that when a cat sharing company gets owned up, you don't hear about it. Only a small subset of security compromises involve password hashes dumped to pastebin. A quiet security incident at a cat sharing company doesn't end that company; they patch the bug, (hopefully) reimage their servers, and get on with their lives. Even payment companies have incidents. But (perhaps counterintuitively) incidents at payment companies aren't company-ending events. Payment companies don't hold bearer-bonds, for magic cards or anything else, on their servers. Attackers might get a few thousand credit cards out of the rolling transaction feed of a payment company. Why bother? Those attackers can just acquire massive dumps of credit card numbers from major retail compromises. Attackers report flaws to payment companies! They're better off trying to score a $500 payday from a bug bounty than trying to monetize those breakins illegally. Not so at a Bitcoin company. When Bitcoin companies get owned up, whatever "hot" assets they have get taken. Bitcoin companies aren't stepping stones for attackers the way cat sharing companies sometimes are; they're the intended target. It bothers me when people caution that Bitcoin companies are scary because they're "targets", because I think the people saying that only grok 75% of what's happening. It's not that Bitcoin companies get owned up because attackers spend more effort targeting them. No. Attackers expend effort on everyone's companies, and are usually successful. The difference is what happens after the attacker succeeds. People considering starting (or funding) Bitcoin companies need to understand this. I feel like there may be a memetic belief that competent security teams can reliably stave off security flaws if they're just careful with two-factor auth and parameterized SQL queries. That meme is false. When you start a new software service, you need to build it on the assumption that you are going to get owned up, if not by a stupid password compromise than by a memory corruption bug deep in V8 or MRI or CPython or nginx that only a few dozen people in the world know about. It is going to happen. If you give custody of cash-equivalents to a startup, you should be doing it with that in mind.
- rvbvcvn 13y agoI don't understand how so many people in that thread can be OK with this happening. Saying "at least you didn't lie to us" when your money is stolen is hilarious. I'd rather keep my money under my mattress than use bitcoin for anything right now.
- fixermark 13y agoOn the plus side, Bitcoin isn't regulated like a nation-state's currency, and the vast bulk of fiduciary institution law that nations have doesn't apply (or simply isn't applied) to Bitcoin exchanges. So when a mistake like this happens, nobody has to go to jail. On the minus side, $50,000 of innocent people's money just got stolen, and nobody is going to jail.
- minimax 13y agoThe comments on the bitcointalk thread are interesting. Here you have a bunch of people who have just lost 12% of their funds and most of them are totally ok with that. If you are looking for evidence that bitcoin supporters are driven more by ideological reasons than economical ones, here is a pretty good example.
- danielweber 13y agoEh, there's a lot to be suspicious of, but people have gotten locked out of a portion of their funds, with a promise by this guy who they previously trusted to make it up. Apparently it's only $50,000 ("only"), meaning no individual lost tens of thousands of dollars. It's unfortunate that this guy being upfront with everyone puts him above average, but it does, so his business will probably continue, such as it is.
- lcasela 13y ago>bitcoin supporters are driven more by ideological reasons than economical ones and for good reasons.
- pjc50 13y agoThe volatility has been high enough that people are used to losing/gaining that much in a day.
- danielweber 13y agoThe hacker discovered that if you place several withdrawals all in practically the same instant, they will get processed at more or less the same time. This will result in a negative balance, but valid insertions into the database, which then get picked up by the withdrawal daemon. When I was a kid I imagined that banks were incredibly vulnerable to this. Later I discovered transactions and thought my kid-self was just silly. I've learned that my kid-self understood things pretty well, sometimes.
- mathattack 13y agoThe major problem here is that the auditing and security features were not explicitly looking for negative balances. They add deposits and withdrawals and check that accounts are in balance. If you have 2 BTC, withdraw 10 BTC, and are left with -8 BTC, the software would see that you deposited 2, withdrew 10, and have exactly what you should: -8. Another design flaw is that withdrawals should be queued at every step of the way. This could not have happened if withdrawals requests were processed sequentially instead of simultaneously. Oops!
- tlrobinson 13y agoHold on, did anyone read their proposed "solution"? "Right now, all markets and withdrawals are still frozen, and they will remain that way until the negative balance watcher is written and in place and balance deductions are calculated." A "negative balance watcher" sounds like a horrible idea. Isn't this a solved problem? Atomic database transactions. Does not inspire confidence.