Better HN
topnewbestaskshowjobs
Log inSign up

RustyRussell

1,432 karma · joined May 20, 2011 (15y ago) · 286 submissions

[ my public key: https://keybase.io/rusty; my proof: https://keybase.io/rusty/sigs/uWS-VceJTes_fyFrtfO5WNTj-smrhHV67zLX0yUDzhI ]
Submissions

comment 9y ago · link · parent

Err... Development is actually just rebasing from bitcoin. I've not seen anything go the other way.

In particular, as coauthor of the lightning spec, I assure you that we're all working on bitcoin. Litecoin happened because it was trivial; interestingly, we've deferred Bitcoin mainnet because it's likely to attract real users, who'll risk real money.

comment 9y ago · link · parent

> The Core developers did agree to a block size increase though in what is commonly referred to as the Hong Kong Agreement.

No, a couple of developers did. I think every core developer not in the room went "wtf, no".

comment 9y ago · link · parent

> My mistake, I was under the impression Segwit2x was approved by Core.

Crap, I just found out about the fake "bcoreproject" twitter account, which of course, claims this as a pinned post. And then the fake "nullc_" twitter account (nullc is the common nick of Greg Maxwell, blockstream CTO and core supporter).

I feel saddened and a little dirty that this is A Thing :(

comment 9y ago · link · parent

> Despite being under no obligation to do so

Most mining pools set that for you, BTW. And there has been some (unverifiable) claims that the main mining manufacturer, Bitmain, is pressuring their customers on this.

> Any claim that miners will fail to do what they continue to explicitly say they will do should be met with skepticism.

On the contrary, it's clear we're going to get a split, and in the past we've seen miners mine pretty much exactly according to exchange range on each side of the fork.

Annoyingly, lite clients won't be able to choose, because the BTC1 dev refuses to use the hardfork bit (the sign bit of nVersion in the block header) to flag their fork. Lite clients, unlike full nodes, follow the most-work chain without checking; since they anticipate hashrate majority, they seem to be trying to leverage that into a user majority.

It's going to get messy :(

comment 9y ago · link · parent

> This upgrade has been agreed to by >90% of Bitcoin miners

90% of hash power, which is an important difference.

The key is that the current bitcoin developers have rejected this and are not supporting it. And yes, some of them founded Blockstream, but the majority are not involved with Blockstream, nor have we taken a company position on this.

comment 9y ago · link · parent

> My mistake, I was under the impression Segwit2x was approved by Core.

:(

comment 9y ago · link · parent

It's not true, sorry. The core developers wanted segwit, and refused to agree to another size doubling as well.

The miners did it anyway. The bitcoin reference client is not supporting this, and claims that 90% of miners will split are completely unverified (and, to be fair, unverifiable).

comment 9y ago · link · parent

Note: this is not supported by the current bitcoin developers. It is a fork promoted by Barry Silbert, supported by the large miners and the many bitcoin companies he has funded.

(I have my opinions, but more important to warn people who may be mislead by the title)

comment 9y ago · link · parent

Yeah, I work at Blockstream and this is as idiotic as it sounds. We don't do it.

comment 9y ago · link · parent

No, the first block in the fork needed to be > 1MB. But it also changed the format, so they dropped all pending transactions from the mempool. ViaBTC did mine the first bcash block, but it was rejected because it was too small!

Someone had to figure out the problem and stuff a block so it could make progress.

comment 9y ago · link · parent

> Larger block size increases computation necessary to solve the block

No, they're merkled, so it doesn't.

> I suppose block size increases the network latency for advertising solved blocks... but going from 100k to 250k every 10 minutes does not strike me as being particularly problematic.

Doesn't matter how often it is, I find a block, I mine the child immediately. You have to wait until you've received and validated the block. It's all about latency.

> Also, I'm trying to verify your claim and I can't see any evidence of it. It appears that different clients were using different block sizes for a long time. The maximum block size on the BTC network has been over 250K since 2013, according to [0]. Also take a look of this graph of orphaned blocks [1]

Yep, this is now ancient history. Mean blocksizes tend to mask what's really happening, but I recall the orphaning problem and ghash.io spike personally.

And blockchain.info's orphan block measurements are completely unreliable :(

More background: https://rusty.ozlabs.org/?p=535 (my blog)

comment 9y ago · link · parent

But segwit did go to 4MB (worst case), except done in a backwards compatible way, and removing the current unfortunate bias that creating new outputs is cheaper for transactions than consuming old outputs, though obviously the latter is better for the network as a whole.

comment 9y ago · link · parent

No, you don't have an orphaning problem on your own blocks, so it drives centralization.

This is exactly what happened when blocksize jumped from 100k to 250k: every small miner jumped to the largest pool (ghash.io) because they were seeing increased orphan rates, driving that pool over 50% of hashing power.

comment 9y ago · link · parent

But the encode-in-address method is limited to 20 bytes.

comment 9y ago · link · parent

Well, it's cheaper to use OP_RETURN, too.

comment 9y ago · link · parent

BTW, please don't use this address-spamming technique! You can simply put data after an OP_RETURN, which, while permanently encoding it in the blockchain, ensures that nodes know it can't be spent.

comment 9y ago · link · parent

There are private brokers who will facilitate trades larger than this, and I know Xapo does (did?) as well. Transferring the money back to you may be the more difficult part, depending on where you are.

comment 9y ago · link · parent

Yep, I had the same unnerving feeling of watching a video game cut scene. Really took me out of the film :(

comment 9y ago · link · parent

Love talloc: just taking the opportunity to plug ccan/tal which I wrote after hacking on talloc for a bit:

http://ccodearchive.net/info/tal.html

comment 10y ago · link · parent

To be fair, the position of Core is more: "we don't know how to scale significantly without further threatening decentralization". The rest is a corollary of that.

comment 10y ago · link · parent

OK, now I want to buy your book!

comment 10y ago · link · parent

Well, those running nodes seem to support it, and we'll see later in the month how many miners choose to signal support.

There is a significant minority of the bitcoin community who want a straight blocksize increase instead, but the extra space already provided by Segregated Witness is hard to argue against, and it's also technically orthogonal.

comment 10y ago · link · parent

For me I won't recommend it because of the horrible lack of options when you replace your phone (let alone lose it). No encrypted migrate. No backup options. Unencrypted loses content (images).

Plus there's no way to search old messages.

comment 10y ago · link · parent

I was delighted with my ASUS UX305UA for 5 months, now it's been in and out of repair for 1 month :(

comment 10y ago · link · parent

> Bitcoin also had a fork due to a bug in 2013.

True, but misleading. That multi-hour outage was due to a subtle db library issue.

This is much more like writing software then trying to secure it later when you discover people are exposing it to the internet :(

comment 10y ago · link · parent

I feel the same was as Linus, which is why I started the Trivial Patch Monkey (and hence my mention in this post). Note that it's still going, as mentioned in MAINTAINERS:

  TRIVIAL PATCHES
  M:	Jiri Kosina <trivial@kernel.org>
  T:	git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git
  S:	Maintained
  K:	^Subject:.*(?i)trivial

comment 10y ago · link · parent

Hmm, for C programs I use https://talloc.samba.org/talloc/doc/html/index.html or the more cut-down ccan/tal http://ccodearchive.net/info/tal.html

There's sometimes a great insight available in viewing your allocation hierarchy on a running program, too.

comment 10y ago · link · parent

Miners can accept free transactions if they want, and some do. That seems unlikely in the long term as fees replace subsidy as the economic driver, though.

comment 10y ago · link · parent

Your comment seems like a cheap poke at Blockstream, who have nothing to do with the lightning paper authors.

(I work for Blockstream, and I am also trying to implement and standardize lightning. But we certainly didn't invent it, and this isn't our page)

comment 10y ago · link · parent

Since we're only talking about a single utxo in either case, the difference seems moot.

And writing and testing the opcodes took less than a day; that's not the hard part! (Though getting the convenient opcodes into bitcoin was definitely non-trivial!)

1
678910