News for hackers. Stuff that matters.
Re:No Bitcoin-based protocol can handle more than 20M users ... by ploggingdev on Sunday October 08, 2017 @11:00AM (#15428454)
OP makes the implicit assumption that all lightning network payment channels are p2p in which case the 20M users per month upper limit is true. From what I understand, the plan is to have a network of supernodes which settle on the blockchain. Users will interact with these nodes instead of true p2p. Lightning network opponents argue that these supernodes will become mini banks in some ways and will need to follow KYC norms. While it's possible to do p2p payment channels without interacting with any third party, the high transaction fees make it impractical. From the Lightning Network paper [0] :

> If all transactions using Bitcoin were conducted inside a network of micropayment channels, to enable 7 billion people to make two channels per year with unlimited transactions inside the channel, it would require 133 MB blocks (presuming 500 bytes per transaction and 52560 locks per year).

Notice the 2 channels per year. These 2 channels will be opened with a supernode (operated by eg- Coinbase, Gemini, Blockstream etc). I glanced through the document but they don't seem to acknowledge the requirement for these supernodes.

It's hard to cut through all the FUD, trolling, memes and propaganda to get to the meat of the debate, so I'm not too sure my understanding is accurate, feel free to correct me.

[0] https://lightning.network/lightning-network-paper.pdf

Re:No Bitcoin-based protocol can handle more than 20M users ... by RoboTeddy on Sunday October 08, 2017 @05:17PM (#15430041)
> I'm not too sure my understanding is accurate, feel free to correct me.

OK! :P

In a layer 2 or lightning network, there may be hubs operated by e.g. Coinbase that handle millions of users, but the hub will need an open payment channel with each of those users in order to minimize the required trust. That means that the scaling bottleneck described in the top post is still an issue.

It's useful to draw a distinction between decentralization of network topology and decentralization of power (the ability to decide who has how much money). If Coinbase runs a lightning network hub with millions of users, the network topology is centralized, but if the system has been designed correctly, Coinbase cannot steal any of the lightning network funds (power is decentralized). They could require KYC and would be able to temporarily block a user's transactions. But if people aren't happy with how a hub is behaving, they can just stop using it, and switch over to a different one.

It's possible to hand complete custody of your coins over to a third party, and let them manage transactions internally. This scales really well, but then it's not really a lightning network anymore (power is centralized; they or people who hack them can run off with everyone's money).

Ethereum (not Bitcoin) has plans to scale their base chain via improvements from proof of stake, and eventually via sharding the base chain. Block size increases factor in as well. These improvements can each multiply with the large factor provided by lightning-network-like things (Ethereum's equivalent is http://raiden.network/). Much of this is still undergoing active research, so it's not all a given. I haven't estimated the numbers, but this all eventually could take us quite a bit beyond 20m users.

Re:No Bitcoin-based protocol can handle more than 20M users ... by AlexCoventry on Sunday October 08, 2017 @11:33AM (#15428570)
> Lightning network opponents argue that these supernodes will become mini banks in some ways and will need to follow KYC norms.

This is an interesting theory. Why don't money transmitter laws apply to standard bitcoin nodes which authenticate more than $10,000 of transactions a year?

Re:No Bitcoin-based protocol can handle more than 20M users ... by jlrubin on Sunday October 08, 2017 @11:46AM (#15428622)
Laws would probably have to be re-written to categorize them as a money transmitter, because there is no fiduciary duty for the Lightning Network Node (they cannot wrongfully claim funds).

These changes shouldn't happen, there are lots of companies who provide services where it doesn't make sense for them to act like money transmitters. For instance, BitGo is a 2-of-3 multisig wallet where they hold one key. They aren't a money transmitter because they can't send funds without your approval nor can they prevent you from sending funds.

Re:No Bitcoin-based protocol can handle more than 20M users ... by JumpCrisscross on Sunday October 08, 2017 @02:18PM (#15429266)
> Laws would probably have to be re-written to categorize them as a money transmitter, because there is no fiduciary duty for the Lightning Network Node

American law draws two circles. One is for entities with know your customer (KYC) requirements. The other is for entities with a fiduciary duty to their clients. The second circle is inside the first. Lots of entities with no client fiduciary requirements are required to know their customers.

TL; DR If you’re handling others’ money, or helping others transmit money, directly or indirectly, you have a KYC liability under current law.

Disclaimer: I am not a lawyer. This is not legal advice.

Re:No Bitcoin-based protocol can handle more than 20M users ... by bitxbitxbitcoin on Sunday October 08, 2017 @03:20PM (#15429511)
Laws take time to be rewritten. And as we've seen with the BitLicense - there are many, many jurisdictions that are content to take a wait-and-see approach. Essentially, let one state take the charge, see if businesses all of a sudden stop servicing customers from said state, and learn from their mistakes :).
Re:No Bitcoin-based protocol can handle more than 20M users ... by AlexCoventry on Sunday October 08, 2017 @12:22PM (#15428780)
Thanks. Do you know of any other existing legal frameworks which would require super-nodes to follow KYC protocols?

Maybe it was just a general concern about centralization resulting in easy targets for regulation.

Re:No Bitcoin-based protocol can handle more than 20M users ... by nickodell on Sunday October 08, 2017 @07:02PM (#15430517)
There are several reasons why that wouldn't make sense.

1. Bitcoin nodes have no special knowledge of transactions. There is nothing that you can get from a subpoena of my Bitcoin node that you cannot get from blockchain.info.

2. Bitcoin nodes can't meaningfully object to transactions that they're not party to. You could refuse to validate a block that contained an illegal transaction, but that would have no effect unless pretty much everybody did the same thing.

3. These laws don't make sense applied to Bitcoin nodes. For example, there's a law saying that transactions over $10,000 must be reported to the government. There are several thousand Bitcoin nodes. Does that mean that FinCEN wants to receive 5000 copies of a report saying that a high-value transaction just appeared? No, of course not.

In contrast, lightning nodes do have meaningful non-public information about transactions, and they can refuse to relay a transaction.

Re:No Bitcoin-based protocol can handle more than 20M users ... by xasos on Sunday October 08, 2017 @12:35PM (#15428829)
I feel like this could be useful for Lightning Network though. Banks that incentive which supernode to route payments through, inherently creates a competitive marketplace
Re:No Bitcoin-based protocol can handle more than 20M users ... by bitxbitxbitcoin on Sunday October 08, 2017 @03:18PM (#15429503)
They're essentially arguing that governments will view them in that way. If they will or will not really remains to be seen.
Re:No Bitcoin-based protocol can handle more than 20M users ... by toomim on Sunday October 08, 2017 @05:03PM (#15429985)
Only a business must do KYC.

KYC is regulated by FinCEN. FinCEN requires every “Money Services Business” to register with them and do KYC.

If maintaining a supernode is so costly that only businesses will do so, to make a profit, then supernodes might require KYC. If supernodes run non-profit, they don’t need to.

Re:No Bitcoin-based protocol can handle more than 20M users ... by AlexCoventry on Sunday October 08, 2017 @07:33PM (#15430621)
> Only a business must do KYC.

If you're skirting KYC requirements on the basis of this belief, you should seek legal counsel.

Re:No Bitcoin-based protocol can handle more than 20M users ... by AdamSC1 on Sunday October 08, 2017 @08:22PM (#15430767)
A non-profit is legal considered to be a type of business that simply gets a different tax treatment.

A business is considered to be a type of entity (just like a person) that gets different tax treatment.

Anyone who transfers money, by any manner including, but not limited to, electronic, financial, debt ledger, cash or traditional methods like hawala, hundi, fei ch'ien, and chit is considered to be a "Money Transmitter."

Money Transmission classification and registration varies by state, to receive money from, or transfer money to someone in said state (regardless of your jurisdiction) you must register with the state and usually put up an insurance bond.

Then you must also register with FinCEN and enact an appropriate AML policy that would include KYC.

Re:No Bitcoin-based protocol can handle more than 20M users ... by k_sh on Sunday October 08, 2017 @11:37PM (#15431425)
A non-profit is still legally structured as a business entity (be it a corporation, LLC, whatever).

Non-profit status is given by the IRS, allowing the entity to avoid taxes. It doesn't change the underlying entity's structure.

NB: I'm not a lawyer.

Re:No Bitcoin-based protocol can handle more than 20M users ... by jcfrei on Sunday October 08, 2017 @01:52PM (#15429159)
What's the point of storing your bitcoin with a super node? Kind of runs against the idea of decentralization - or am I missing something?
Re:No Bitcoin-based protocol can handle more than 20M users ... by MertsA on Sunday October 08, 2017 @02:35PM (#15429348)
It's not as simple as that, with lightning network you basically lock your Bitcoins for a month or whatever time period and within that delay where they're locked you can still move them if you and the supernode both agree to it. What this allows for is to just keep a running total of how much you've spent with that channel and when you spend 0.1btc you give the supernode the transaction to send 0.1btc to them and 0.9 btc to you. As you add payments over the course of a month you resend transactions for your current highest amount spent.

At this point all of those transactions haven't been broadcasted to the network, it's private between you and the lighting node. Normally you need both parties to agree to send a transaction but even if the lightning node is malicious they can't spend any Bitcoins and if they don't broadcast the highest transaction they got from you then at the end of the lock period you can take all of your Bitcoins back.

Basically neither party has to trust each other, the worst that a malicious lightning node could do is make you wait until the channel closes to get your remaining balance back.

Re:No Bitcoin-based protocol can handle more than 20M users ... by wmf on Sunday October 08, 2017 @02:34PM (#15429338)
Mining pools are also a kind of super node; do they run against the idea of decentralization? Some people say no since mining pools cannot cause much harm and some people say yes but offer no alternative.
Re:No Bitcoin-based protocol can handle more than 20M users ... by Fjolsvith on Monday October 09, 2017 @09:41AM (#15433669)
If a mining pool doesn't pay out the earnings, it quickly gets abandoned by miners, and stops being a 'super node'.
Re:No Bitcoin-based protocol can handle more than 20M users ... by vkou on Sunday October 08, 2017 @02:04PM (#15429207)
Yes. You're missing that it increases the value of my BTC investment. I don't really care about centralization - what I care about is making money.
Re:No Bitcoin-based protocol can handle more than 20M users ... by polyomino on Sunday October 08, 2017 @03:28PM (#15429555)
Lightning is permissionless, anyone can run a node. The reason that you have two channels is so that transactions can be routed through you. You can think of the lightning network like the tor network for payments.

Lightning is also not meant to replace all bitcoin payments, for now channels are limited to something like .1 btc to promote decentralization.

Re:No Bitcoin-based protocol can handle more than 20M users ... by ForHackernews on Monday October 09, 2017 @10:18AM (#15433968)
Does "lightning network" even exist, or is it still vapourware? I can remember reading about it for years now, and last I heard it still wasn't actually implemented and deployed anywhere.
Re:No Bitcoin-based protocol can handle more than 20M users ... by crb002 on Sunday October 08, 2017 @04:04PM (#15429726)
Exactly. Most will hold accounts with insured exchanges. Settlements will be infrequent between large exchanges; daily at most.
Re:No Bitcoin-based protocol can handle more than 20M users ... by cgb223 on Sunday October 08, 2017 @03:58PM (#15429693)
How many transactions per second can Bitcoin cash clear with a block size of 8 mb then?
Re:No Bitcoin-based protocol can handle more than 20M users ... by FabHK on Sunday October 08, 2017 @05:00PM (#15429973)
BTC can do about 7 (small) transactions per second (more with SegWit), and BCC then presumably around 50 per second.

(By comparison, Visa does close to 2000 transactions per second on average, and can handle 20000 peak.)

Re:No Bitcoin-based protocol can handle more than 20M users ... by rothbardrand on Sunday October 08, 2017 @06:37PM (#15430418)
That's impossible when bcash doesn't make blocks for 12 hours at a time.
Re:No Bitcoin-based protocol can handle more than 20M users ... by FabHK on Sunday October 08, 2017 @07:07PM (#15430543)
True, though difficulty will adjust in the long run.
Re:No Bitcoin-based protocol can handle more than 20M users ... by cgb223 on Sunday October 08, 2017 @05:56PM (#15430215)
How many users does Visa have compared to BTC and BCC?
Re:No Bitcoin-based protocol can handle more than 20M users ... by curyous on Sunday October 08, 2017 @05:11PM (#15430020)
Over time as tech gets better, Bitcoin can handle more than 20M users without layer 2 services.
Re:No Bitcoin-based protocol can handle more than 20M users ... by cgb223 on Sunday October 08, 2017 @05:56PM (#15430212)
Can you expand on this a bit?

What tech has to get better exactly?

Re:No Bitcoin-based protocol can handle more than 20M users ... by rothbardrand on Sunday October 08, 2017 @06:38PM (#15430424)
I would really suggest reading the release notes from the past two years of core development. Every release has included an optimization of one kind or another. They have been scaling all along, and Segwit is really a bundling of dozens, maybe hundreds of optimizations that needed a softfork, plus segwit itself.
Re:No Bitcoin-based protocol can handle more than 20M users ... by curyous on Sunday October 08, 2017 @05:09PM (#15430014)
Layer 2 services are not needed at all.
Re:No Bitcoin-based protocol can handle more than 20M users ... by xiphias on Sunday October 08, 2017 @11:19AM (#15428514)
There are many things the author didn't think about. With Segregated Witness, the signatures don't need to be part of the 1MB block. Also for multi-sig we will be using aggregatable Schnorr signatures, so multi-sig won't take that much space. Still, the cost of an on-blockchain transaction will probably go up to $1000-10000 in current US dollars, so I believe even having an on-chain transaction will get too expensive for most people. For the short term lightning should be a relief though until the community can come up with the next scaling solutions (after implementing Mimblewimble as well)
Re:No Bitcoin-based protocol can handle more than 20M users ... by sordidasset on Sunday October 08, 2017 @02:14PM (#15429246)
>Still, the cost of an on-blockchain transaction will probably go up to $1000-10000 in current US dollars

I have a btc holding in cold storage of ~$350. I value the security and control of controlling my private keys+being on the main, trustless, chain. I suspect many people have a similar situation. What are we to do when txn costs rise as you describe?

I know plenty about the Bitcoin protocol, but I havent had time to do DD on Segwit or LN.

Re:No Bitcoin-based protocol can handle more than 20M users ... by wereHamster on Sunday October 08, 2017 @03:24PM (#15429541)
The tx cost will rise in proportion to the value of BTC. By the time the tx cost is 10k USD, your roughly 0.08BTC will have a value of hundreds of thousands USD.
Re:No Bitcoin-based protocol can handle more than 20M users ... by sp527 on Sunday October 08, 2017 @03:54PM (#15429672)
Umm what? Did you stop and read over what you just wrote? If transaction costs hit $10K, 0.08 BTC will be worth the same as 21M BTC: $0.
Re:No Bitcoin-based protocol can handle more than 20M users ... by rothbardrand on Sunday October 08, 2017 @06:34PM (#15430398)
Don't worry. Transaction costs will not rise. If you aren't in a hurry, even old style transactions are free today... and 100sat/byte for next couple of blocks clearing.

The entire "transaction fees are high" narrative is a combination of profitable miner spamming the system (to support the big blocker takeover narrative) and wallets having terrible fee estimation programs so that the wallet makers don't have to deal with the tech support when a transaction isn't in the very next block.

Re:No Bitcoin-based protocol can handle more than 20M users ... by Steko on Sunday October 08, 2017 @07:33PM (#15430620)
> Transaction costs will not rise.

History does not support this claim.

> If you aren't in a hurry

Unfortunately almost all commerce is in a hurry.

Re:No Bitcoin-based protocol can handle more than 20M users ... by rothbardrand on Sunday October 08, 2017 @06:35PM (#15430409)
It's completely absurd to say that transactions will be $10,000 when they are currently free, and we are nowhere near capacity, and Segwit hasn't even fully been adopted yet.

The entire "high transaction fee" narrative is due to miners profitably spamming the network to drive up transaction fees -- which they could only do with ASICBOOST and pre-segwit.

Re:No Bitcoin-based protocol can handle more than 20M users ... by the_stc on Sunday October 08, 2017 @11:36AM (#15428580)
>short term lightning

Can you clarify what this means? Last I read, Lightning was 18 months out. But not really, that's just a number tossed to a crowd. The preview tech published a month ago is nowhere near being ready for use.

Re:No Bitcoin-based protocol can handle more than 20M users ... by xiphias on Sunday October 08, 2017 @12:34PM (#15428821)
As far as I see from the github activity, now that SegWit is activated, the developers are putting much more effort to finishing.

Anyways you're right that maybe I was a bit too optimistic. Bitcoin is getting popular as a store of value faster than it can handle the scale of being an easy-to-use currency. The blocksize drama will probably keep on going :(

Re:No Bitcoin-based protocol can handle more than 20M users ... by the_stc on Sunday October 08, 2017 @01:03PM (#15428971)
What does SW activation have to do with it? Why not have it ready to go, wait for the flip, enable. Or deploy it on a testnet. Or on LTC?
Re:No Bitcoin-based protocol can handle more than 20M users ... by AgentME on Sunday October 08, 2017 @01:39PM (#15429106)
People weren't even sure if SW was going to activate. Who wants to do a lot of work on a system (LN) that might not ever be usable?
Re:No Bitcoin-based protocol can handle more than 20M users ... by rothbardrand on Sunday October 08, 2017 @06:36PM (#15430413)
LN is actively being worked on, looking pretty good, and is estimated to be about a year from production. And that's just simple LN.

Over the next 5 years LN has the potential to really explode in capability and capacity.

Re:No Bitcoin-based protocol can handle more than 20M users ... by shazow on Sunday October 08, 2017 @12:39PM (#15428857)
Indeed. The "18 months out" timeline has been around since the first draft of the Lightning Network paper, well over two years ago.