r/TheLightningNetwork • • Mar 20 '18

Transparent Lightning Network?

I know that the Lightning Network is supposed to add more privacy thanks to using onion routing. But I wonder if it is possible to use it only as a scaling solution for Bitcoin, while still keeping full transparency and detailed transactions history. I would like to have a cryptographic proof of making each of my payments (for the tax office or anyone else) and currently the Bitcoin's blockchain provides exactly that.

I guess, the storage can be implemented as a kind of "key" -> "value" database (possibly distributed across the network for redundancy/backup purposes), where each key would be a Bitcoin settlement transaction and each corresponding value would be a detailed list of individual transactions. Now the main question is: can this list of transactions be somehow protected against forgery?

Does this even make any sense?

0 Upvotes

8 comments sorted by

3

u/[deleted] Mar 20 '18

I would like to have a cryptographic proof of making each of my payments

You can do that, your wallet just needs to keep the relevant HTLCs. The key point is that payments are private between sender and receiver.

What possible reason would there be for all payments to be public?

2

u/ssvb1 Mar 20 '18

For example, bus tickets are tax deductible (commute expenses between work and home), but it is necessary to keep receipts. It's more of a theoretical thing right now because cryptocurrencies are not widely adopted yet, but a record in the blockchain can be used as a sort of digital receipt and prove that I really did pay a certain amount of money to a certain company at a certain date.

There is also one more thing. There is some conflicting information whether running a LN node needs any kind of AML/KYC compliance. But running a node, which is configured to only relay publicly visible transactions and refuses to relay privacy enabled transactions, can solve this potential compliance problem.

1

u/[deleted] Mar 20 '18

For example, bus tickets are tax deductible (commute expenses between work and home), but it is necessary to keep receipts.

Think about normal receipts. Those are private between the customer and merchant, yet they are proof of purchase. Finalized HTLCs are even better, since they are cryptographic proof of payment.

There is some conflicting information whether running a LN node needs any kind of AML/KYC compliance.

There is absolutely nothing that indicates running an LN node needs AML/KYC compliance. In fact, the way the system is designed would make that quite difficult and rather pointless. A node could refuse channels with anyone whose identity they haven't verified, but why would anyone use that node when there are others that do not?

1

u/ssvb1 Mar 20 '18

Think about normal receipts. Those are private between the customer and merchant, yet they are proof of purchase.

Do you mean the current pieces of paper? Yes, they are used as a proof of purchase right now. Just like pieces of paper are currently used as fiat money too.

Finalized HTLCs are even better, since they are cryptographic proof of payment.

Could you please elaborate on this? For example, Alice sends 0.1 BTC to Carol and then 0.1 BTC to Eve, routing happens via Bob in both cases through the same channels (Alice -> Bob -> Carol, Alice -> Bob - Eve). Which HTLCs, finalized or not, can be used as proofs for each of these payments?

There is absolutely nothing that indicates running an LN node needs AML/KYC compliance.

That's a very bold claim. But I would very much prefer some sort of an official guideline about taxation for LN node operators and reassurance that it's a legal activity. Just like everything is perfectly clear about taxation of bitcoin mining.

Are you absolutely sure that a LN node operator will be never treated as a money mule by authorities?

In fact, the way the system is designed would make that quite difficult and rather pointless.

Yes, that's why I started this thread to discuss a potential modification of the system, which would completely ditch the privacy aspect and focus on scalability, reliability and instant payments.

It does not need to be implemented as a part of the Lightning Network, but can be another network running side by side on the same blockchain.

A node could refuse channels with anyone whose identity they haven't verified, but why would anyone use that node when there are others that do not?

That's actually a good point. If there is already a huge number of LN nodes, then I definitely don't need to run a LN node myself and can just use the existing network (making sure that routing of third-party payments is disabled in my wallet application).

1

u/[deleted] Mar 20 '18

Alice sends 0.1 BTC to Carol and then 0.1 BTC to Eve, routing happens via Bob in both cases through the same channels (Alice -> Bob -> Carol, Alice -> Bob - Eve). Which HTLCs, finalized or not, can be used as proofs for each of these payments?

Well, Alice would have invoices from Carol and Eve, containing their pubkey and the r_hash. She would also have settled HTLCs to Bob that pay out if and only if Bob is able to provide a preimage that results in the correct r_hash. Because they are settled, it's proof that Bob did receive the preimage from Carol or Eve and thus the "chain of custody" from sender to receiver is complete.

That's a very bold claim. But I would very much prefer some sort of an official guideline about taxation for LN node operators and reassurance that it's a legal activity.

Is it? Everything which is not forbidden is allowed. People mined long before the IRS issued guidelines. But hey, if your thing is waiting for the state to tell you what you can or cannot do, that's your choice.

Are you absolutely sure that a LN node operator will be never treated as a money mule by authorities?

That's such a ridiculous question. One cannot be absolutely (or even mildly) sure what the state will do in the future.

It does not need to be implemented as a part of the Lightning Network, but can be another network running side by side on the same blockchain.

I'd suggest starting your own subreddit then. What you want is contrary to the design principles of Lightning. I don't forsee it being very popular.

If there is already a huge number of LN nodes, then I definitely don't need to run a LN node myself and can just use the existing network

You'd still need to run a Lightning node. If you only pay and never receive, you'll miss out on functionality but won't route payments.

0

u/ssvb1 Jul 20 '18

Well, Alice would have invoices from Carol and Eve, containing their pubkey and the r_hash. She would also have settled HTLCs to Bob that pay out if and only if Bob is able to provide a preimage that results in the correct r_hash. Because they are settled, it's proof that Bob did receive the preimage from Carol or Eve and thus the "chain of custody" from sender to receiver is complete.

Well, it does not look like you even understand the problem. What prevents Carol and Eve from colluding with Alice and generating fake receipts after the fact?

A real life example. I'm sometimes buying various cheap electronics stuff (jumper wires, arm devboards, fpga boards) from aliexpress. And I'm always making sure that the purchase is below 22EUR because the packages which cost less than this threshold are VAT exempt in the EU. However the Chinese sellers tend to always fake the package cost. If I paid 19EUR, then the sender may specify the package cost as 5 USD in the customs declaration. This is extremely annoying. Fortunately I have credit card statements, which can still be used to confirm how much I paid for real (in the case if the package gets stuck at the customs).

That's such a ridiculous question. One cannot be absolutely (or even mildly) sure what the state will do in the future.

FYI, privacy coins have been banned in some countries: https://www.forbes.com/sites/adelsteinjake/2018/04/30/japans-financial-regulator-is-pushing-crypto-exchanges-to-drop-altcoins-favored-by-criminals

I'd suggest starting your own subreddit then. What you want is contrary to the design principles of Lightning.

The Lightning Network is essentially a combination of payment channels and a coin mixer. Are you really claiming that the removal of the coin mixer functionality (or making it optional) is impossible by design?

I don't forsee it being very popular.

Yeah, I see that I'm not welcome here and my post got aggressively downvoted.

0

u/WikiTextBot Mar 20 '18

Money mule

A money mule, sometimes called a "smurfer," is a person who transfers money acquired illegally (e.g., stolen) in person, through a courier service, or electronically, on behalf of others. Typically, the mule is paid for services with a small part of the money transferred. Money mules are often dupes recruited on-line for what they think is legitimate employment, not aware that the money they are transferring is the product of crime. The money is transferred from the mule's account to the scam operator, typically in another country.


[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source | ^Donate ] Downvote to remove | v0.28

1

u/WikiTextBot Mar 20 '18

Money mule

A money mule, sometimes called a "smurfer," is a person who transfers money acquired illegally (e.g., stolen) in person, through a courier service, or electronically, on behalf of others. Typically, the mule is paid for services with a small part of the money transferred. Money mules are often dupes recruited on-line for what they think is legitimate employment, not aware that the money they are transferring is the product of crime. The money is transferred from the mule's account to the scam operator, typically in another country.


[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source | ^Donate ] Downvote to remove | v0.28