Better HN
topnewbestaskshowjobs
Log inSign up

flashmob

277 karma · joined Jul 9, 2011 (15y ago) · 152 submissions

Submissions

comment 8y ago · link · parent

If you wait long enough, say, for 144 confirmations (or 24 hours, whichever is greater) then a double spend may as well be the least of your worries, for bitcoin, or any of the top mined crypto-currencies.

These double-spend attacks are only successful if the receiving party doesn't wait long enough.

Also, could't find any sources from exchanges if they were actually successful? The article didn't mention which exchanges.

Quote:

"Blockchain data indicates that the attacker successfully reversed transactions as far back as 22 blocks, leading developers to advise raising confirmation requirements to 50 blocks."

So as long as exchanges wait 50 blocks before crediting, they should be all right.

comment 8y ago · link · parent

Noticed this also, no need to monitor and adjust the speed which is a mundane task (in cruise control traffic conditions). Eyes can be on the road instead.

This is similar to the problem for pilots, who can be distracted by mundane tasks due the complexity of controls in modern aircraft. If these tasks are removed, the pilot can focus on what's more important.

According to NASA " For the most part, crews handle concurrent task demands efficiently, yet crew preoccupation with one task to the detriment of other tasks is one of the more common forms of error in the cockpit."

https://asrs.arc.nasa.gov/publications/directline/dl10_distr...

comment 8y ago · link · parent

These coin/porfolio trackers are a privacy nightmare. You're basically telling some stranger your detailed crypto finances, and it's unknown how your data may be used.

One of the golden rules in crypto is to never disclose your holdings to anyone on the internet, yet people are using these apps without a second thought!

comment 8y ago · link · parent

These are the allegations. The prosecutor's motive is to throw up all possible allegations without necessarily being proven, accurate or true. It is up to the courts to decide whenever guilty or not. I wouldn't use that document as proof of what they actually did. Anyhow, thanks for the link.

comment 8y ago · link · parent

This is the fault of the bitcoin project, not coinbase. Bitcoin transactions should just work without the end user not having to worry about what's under the hood. Why the bitcoin client cannot just use segwit / schnorr automatically? Why it doesn't provide a simple API for batching? All that stuff is up to the end user to develop.

comment 8y ago · link · parent

I have some possible evidence to this theory.

At around x-mass / new year, Facebook flashed a message on my wall which said "in 2017, you received 0 birthday wishes". (Screenshot reported by others https://goo.gl/images/YWfsqb).

I thought it was amusing since it sounded like a bug, it looked like the engineer forgot to account for the special case where wishes == 0. However, putting your comment into perspective, I now think it was most likely a well-calculated tactic, perhaps generated by an AI as you suggested and I guess it wouldn't be shown unless it was A/B tested.

Interestingly, the message was shown around xmass / new year, where people tend to be more vulnerable to suicide / self harm.

comment 8y ago · link · parent

Perhaps you could try creating a struct with just the common properties, then embed the common struct in all your 'extended' structs. Eg. http://www.hydrogen18.com/blog/golang-embedding.html

comment 8y ago · link · parent

There you go if you want a list of concrete examples: https://pineapplefund.org/

comment 8y ago · link · parent

No problem with that indenting here (personal opinion), I guess makes it easier to read if your editor doesn't have soft-wraps. However, generally, if the parameters list overflow to another line like that, it becomes a good candidate for refactoring!

comment 8y ago · link · parent

I wasn't convinced about Stellar in that article. Some arguments given were strawman like, especially when attacking proof of work (PoW) or other things that are irrelevant because Stellar is something completely different. Besides, I found the overall tone to be somewhat condescending, especially due to the Monero snide at the end.

There are plenty of other low-fee, non-PoW coins out there, that the article should have spent more time comparing to instead; So we know that stellar doesn't use PoW - what I want to know is why the Stellar consensus algorithm is better when compared to the other similar alternatives out there, and what makes it faster and more secure. They also leave an elephant in the room - how is Stellar more resistant to censorship? What I'd really be interested in reading is why they chose it based on technical merits, rather than talking down other projects.

comment 8y ago · link · parent

I think the opposite is happening thanks to tainted coins, non-tainted become more valuable as they become scarce. Eg. If you Google 'freshly mined bitcoin' you will see they are quite desirable.

comment 8y ago · link · parent

After reading this, also checked my writing for Absolutist words, and also will try to consciously avoid them, would be very annoying to see someone replying with "Please seek professional help as soon as possible!" ;-)

comment 8y ago · link · parent

Thanks for the explanation. Good point about staking, assuming if the validator is chosen before, then they are certain to get the chance to order the transactions in their favour.

The article, as I understood, the caller predicts the outcome of the 'random' function first, and then calls if the result is favourable. It seems like yours is more efficient, as it relies on using revert() to undo all state changes, if the outcome was unfavourable, so no need to predict anything!

comment 8y ago · link · parent

I guess it would be more responsible to report the bug to the contract author first. Perhaps they will let you take it as a reward, and you'll sleep better at night and won't have a moral dilemma ;-)

Seriously though, nice find. What would be a way to defend against this?

comment 8y ago · link · parent

Have you heard of Facebook's Aquila drone? Sounds like something you are describing. https://en.m.wikipedia.org/wiki/Facebook_Aquila Also, Google's project loon comes to mind.

comment 8y ago · link · parent

Here's an interesting metric which I think is behind all the support troubles at Coinbase:

Take a look at Coinbase's Alexa ranking: https://www.alexa.com/siteinfo/coinbase.com

220 - up from around 3000 12 months ago! That is simply incredible. A site like that would get buried in support tickets fast, especially after such growth.

Another interesting metric, they are beating Citibank:https://www.alexa.com/siteinfo/citi.com

comment 8y ago · link · parent

Yes, that's what I meant by "demand for tethers go up". Although at present, there are only two exchanges that offer Tethers/USD market (Kraken & Bitfinex). Eventually, majority of those holding Tether will probably get back in to crypto. Indeed, holding Tethers could be risky, especially if the peg brakes, there are no guarantees that it will always be stable.

comment 8y ago · link · parent

> Holy Shit, are they just trying to print out tethers out of thin air right now to pump Bitcoin?

That's the line I often see on Twitter / Reddit and usually gets a lot of upvotes, despite being irrational, with no proof to back it up.

As bitcoin falls, the demand for Tethers goes up. To keep Tethers pegged to, say, $1 USD, they need issue more to meet the demand, which would be a more rational explanation why more were issued.

comment 8y ago · link · parent

In the video that you have posted, they do not seem to transfer XRP, but USD. In fact, XRP is not needed to use their products (Assuming the video was about 'Ripple Connect')

Source: https://www.reddit.com/r/Ripple/comments/6jd9w6/this_is_the_...

comment 8y ago · link · parent

Thought experiment: Just say Citibank adds the Mexican pesos to their products, USA & international, side by side to all their USD products. If citibank bought pesos before the announcement, would they be engaging in insider trading? (Pesos are just for illustrative purposes, replace with your local currency)

If so, would every bank need to halt trading in a currency before adding it?

comment 8y ago · link · parent

Relax. Looking across the sea, Japan has been positive on cryptocurrencies. Japan is always Korea's main rival and influencer when it comes to technology and everything else. This rivalry is deeply embedded in the Korean psyche. Most likely they will follow Japan's lead, they would not risk Japan taking any pieces of the crypto-currency pie from them.

comment 9y ago · link · parent

yep, I was just using it as an example to make a general statement that I made in the third paragraph. Do you agree or not? Was wondering what are your thoughts on that

comment 9y ago · link · parent

yes, but that's usually the accepted definition in the crypto-currency world (eg. see the source link I've posted where they use it in that context too).

There are different definitions of inflation/deflation, but the price is always a function of supply-and-demand, therefore it all boils down to the supply, where the issuance rate & eventual supply cap is what gives a crypto-currency its inflationary/deflationary properties.

comment 9y ago · link · parent

Note that at this time, bitcoin is still very much inflationary, with 1800 new bitcoins being generated every day. This puts the annual inflation rate at 4.01%. Source: http://www.bitcoinblockhalf.com/

Perhaps real deflationary effects of bitcoin will probably kick in after 3 halvings (about 10 years?), when the number of bitcoin that is being lost naturally becomes greater than the inflation. However, at that stage, bitcoin fees would need to dramatically increase from what they are now.

This is probably a paradox of deflationary crypto-currencies: They need to raise revenue from fees to pay for validation/security, however if there's more incentive to hold rather than spend them, their revenue raising ability becomes constricted. Whenever this is true, I'm excited that we'll find this out in the future.

comment 9y ago · link · parent

Some very good points. I recall that the mainnet once had a gas per block limit of 4.7 mil before it was increased. The increase is something that is voted on by the miners, and has been fluid over the years. (Btw, it is something very similar to a block size limit in BTC, although it limits the storage + CPU usage, rather than just storage like in BTC)

About the point on using floats, one should never use floats when working with money, this is because floats are not precise and result in rounding errors (eg. 0.1 + 0.2 results 0.30000000000000004, see for details http://0.30000000000000004.com ). One of the simplest approaches to solve it is to work with the smallest units, so if working with dollars then you can use cents and that means you can use integers which give more precision, which is how Solidity currently deals with it, by working with the smallest unit of Ether which is 'wei'. Some of the units listed here https://etherconverter.online

comment 9y ago · link · parent

citing reddit? I'm guessing you'd like to point out the commit history table. Nice.

You might notice that the table (conveniently) starts from 2010, after a good chunk of coins already has been mined. 2011-2012 is when a lot of the new devs came in which is the new generation, but it was getting much more difficult to mine then.

There's also so many problems with git commit history, so let's be honest here, ie. How many commits doesn't tell the whole story.

Hey, btw, my comments are just observations & not meant to criticize, sorry if you think I'm attacking you. I'm pretty positive about bitcoin and I think it's good that it can re-invent itself and find a good niche (the b2b / institutional market could be huge and certainly would see Bitcoin really growing up). The direction that the current team has chosen to lead it to has certainly paid off well. I sincerely wish the project more success in the future!

comment 9y ago · link · parent

Oh, I was referring to bitpay, which probably will not last long unless it pivots into b2b or altcoins.

It's also hard to tell if Bitcoin developers are all in or not. Note that developers can have different interests than holders (eg. The want to get control of the codebase in order to get status and recognition & hopefully future consulting contracts). Note that the current bitcoin devs are mostly a new generation that got later in the game. Source & analysis about this point here http://hackingdistributed.com/2017/08/26/whos-your-crypto-bu...

comment 9y ago · link · parent

Both Brian & Jeff are still both heavily invested in businesses that rely on Bitcoin, they are not just speculators who simply buy and hold.

Their business plans are ruined if Bitcoin fees get too high. Note that 'extremely low fees' was the original selling point of Bitcoin which now has been ruined. So they were simply defending their businesses.

123456