การชำระเงิน Lightning เป็นส่วนตัวอีกครั้งด้วย pLN

By Bitcoin นิตยสาร - 1 ปี ที่แล้ว - เวลาอ่าน: 4 นาที

การชำระเงิน Lightning เป็นส่วนตัวอีกครั้งด้วย pLN

pLN is a new wallet project that aims to make it easy for users to follow the “happy path” of making bitcoin payments privately on Lightning.

เวอร์ชันของบทความนี้เผยแพร่ครั้งแรกเมื่อ BC1984.

“Citadel Dispatch” episode 70, "ใช้ Lightning แบบส่วนตัวกับ Tony และ @FuturePaul":

โทนี่:

“There's a fine line between educating and being doom and gloom. People need to be educated that it's not perfect and there's a lot of holes in Lightning privacy and Bitcoin privacy as well. It's not a lost cause. I like to tow the line between breaking privacy and fixing privacy. Breaking privacy to educate people that it is kind of broken and you need to be careful. But then also trying to educate and make it better at the same time. The reason I do this is so we can get privacy to be better.”

แมท:

“ในการแก้ไขปัญหา คุณต้องตระหนักถึงปัญหาก่อน”

plN เป็นโครงการกระเป๋าเงินใหม่ที่โทนี่และ @futurepaul กำลังทำงานโดยมีจุดมุ่งหมายเพื่อให้ผู้ใช้ปฏิบัติตาม "เส้นทางแห่งความสุข" ในการชำระเงินได้ง่ายขึ้น สองต่อสอง บนเครือข่ายสายฟ้า

It is still very early on in the project, but the use case is very clear, considering all the pitfalls in trying to spend bitcoin over Lightning in a privacy-preserving way.

เป้าหมายหลักสำหรับการเปิดตัวผลิตภัณฑ์ขั้นต่ำ (MVP) ของ pLN คือการทำให้ผู้ใช้สามารถ:

Open Lightning channels via an on-chain depositMake payments over Lightning

และที่สำคัญ อย่างน้อยในเวอร์ชันเริ่มต้น:

Receiving Lightning payments will be disabledEach channel will be opened on its own separate node

To understand why receiving payments will be disabled at the outset, it's important to understand some of the major pitfalls in Lightning as it exists currently:

All invoices contain the channel ID of the recipientThe channel ID leaks deterministic information about the node/owner

อย่างไรก็ตาม หากคุณใช้ "รหัสช่องสั้น” แทน สิ่งเหล่านี้ไม่มีลิงก์ไปยัง chainstate เจ้าของโหนด หรือ UTXO ดั้งเดิมที่ใช้เป็นเงินทุนของช่อง

แอป pLN เองคือ เขียนโดยใช้ Flutterซึ่งหมายความว่าเวอร์ชันเดสก์ท็อปและมือถือ (ทั้งสำหรับ Android และ iOS) จะพร้อมใช้งาน

ภายใต้ประทุน

ภายใต้ประทุน แอปใช้ "โหนดรูท" และ "โหนดช่องสัญญาณ" จำนวนหนึ่งสำหรับแต่ละช่อง แอพยืมอย่างมากจาก จอห์น แคนเทรล's อาจารย์ โครงการซึ่งขึ้นอยู่กับ LDK.

โหนดรูทดูแลงานหนัก: การฟังข้อความซุบซิบ การสร้างกราฟเครือข่าย เส้นทางการคำนวณ และอื่นๆ โหนดช่องสัญญาณแต่ละรายการจะติดตามสถานะช่องของตนเองเท่านั้นและไม่มีอะไรอื่น

พื้นที่ Bitcoin backend can be either a connection to bitcoind or a personal Electrum server. For mobile, Electrum would likely be the best choice as it is designed for secure remote connections.

What If I Want To Pay My Friend Who's Also Using pLN?

เนื่องจากการชำระเงินโดยตรงให้กับพันธมิตรช่องทางขายหักล้างข้อมูลเกี่ยวกับโหนดของคุณและทำให้ชัดเจนว่าการชำระเงินมาจากคุณ คุณจึงควรระมัดระวังในการดำเนินการดังกล่าว โดยทำอย่างดีที่สุดเท่าที่จำเป็น

แนวคิดเรื่องการปฏิเสธที่สมเหตุสมผลนั้นมาพร้อมกับการกระโดดระหว่างคุณกับผู้รับคนสุดท้ายมากขึ้น ยิ่งคุณกระโดดมากเท่าไหร่ ความเป็นตัวตนของคุณก็จะยิ่งมากขึ้นเท่านั้น

ในที่สุดแอพจะอนุญาตให้คุณแทนที่การป้องกันในตัวและชำระเงินให้เพื่อน แต่หลังจากคำเตือนที่ชัดเจนและชัดเจนเกี่ยวกับสิ่งนี้ที่เกี่ยวข้องและข้อมูลใดที่คุณอาจรั่วหากคุณเลือกที่จะดำเนินการต่อ

For example, you could choose to make a direct payment to your friend who's also running pLN if you wish. (Imagine you don't care or it doesn't matter if they know what channels you have open, since you're paying them in person and you trust them.)

แต่แอปจะสนับสนุนให้คุณพยายามชำระเงินด้วยการกระโดดหลายครั้งหากเป็นไปได้ (ฉันคิดว่าค่าเริ่มต้นน่าจะเลือกมากกว่าสองสามกระโดดอย่างน้อย)

It would also warn you if you try to open a channel with a major public hub (like in ACINQ’s or Breez's nodes). Ideally, you should open channels with unknown/smaller nodes whenever possible.

สิ่งที่เกี่ยวกับการชำระเงินจำนวนมาก?

การชำระเงินจำนวนมากอาจดูเหมือนเป็นการชำระเงินแบบ atomic multipath (AMP) ที่เสร็จสมบูรณ์บางส่วน (AMP ที่ดำเนินการไปแล้วครึ่งทาง) โดยมีสภาพคล่องไหลออกจากโหนดแชนเนลของคุณจำนวนหนึ่งตามความจำเป็น sats ทั้งหมดมาบรรจบกันที่ปลายทางสุดท้ายในที่สุด สวยเย็น!

แนวคิดในอนาคตสำหรับแอป (TBD)

ทำให้สามารถ ทางที่มืดบอด once this is available in LDKContinual CoinJoin with on-chain UTXOs in the wallet on the root nodeContinual splice out/splice in and CoinJoin with sats in channelsTimeout UX options: If your payment is taking too long to route, the app may prompt you if you wish to try another route with fewer hops

คิดปิด

Privacy is a spectrumWe have to balance usability and user experience against anonymity sets (anonsets) and privacy while trying to help prevent users shooting themselves in the foot

ฉันคิดว่านี่เป็นกระเป๋าเงินและโปรเจ็กต์ใหม่ที่น่าตื่นเต้นซึ่งควรช่วยเหลือทั้งในการให้ความรู้ผู้ใช้เกี่ยวกับความเป็นส่วนตัวและอนุญาตให้พวกเขาใช้ Lightning อย่างตรงไปตรงมา

This is a guest post by Adam Anderson. Opinions expressed are entirely their own and do not necessarily reflect those of BTC Inc or Bitcoin นิตยสาร.

ต้นฉบับ: Bitcoin นิตยสาร