summaryrefslogtreecommitdiff
path: root/08/306a9c880615cc23e41b3b6172a29ba0580660
blob: 35a62cff7105bcf27e3518399d1122a054a716e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
Return-Path: <joseph@lightning.network>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 36251826
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 10 Aug 2015 04:39:29 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com
	[209.85.220.45])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id B999E107
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 10 Aug 2015 04:39:28 +0000 (UTC)
Received: by pacrr5 with SMTP id rr5so94679302pac.3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 09 Aug 2015 21:39:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=lightning.network; s=google;
	h=date:from:to:cc:subject:message-id:references:mime-version
	:content-type:content-disposition:in-reply-to;
	bh=6MuSyIWDFTbey2Zd0r9h7nuMj/vlL+nzPaF+mJQ+Hcg=;
	b=E2/YuYhzkC2nAg3xtZ4KU0Q3tYMqutvs4UcQgv9PmYoXjTa36g7E2/vVbo7TAnl6CR
	g6VAkDPqYFFwVgPc0Iov0t06qT0i7sTIiY+B5AO+6SMRHsuxHmH2tfkddDGQP+fDOeC/
	p1P9DR6QXHhSTQfa7GqbEwb6qgLAUYHHCV380=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:date:from:to:cc:subject:message-id:references
	:mime-version:content-type:content-disposition:in-reply-to;
	bh=6MuSyIWDFTbey2Zd0r9h7nuMj/vlL+nzPaF+mJQ+Hcg=;
	b=gYaQ6vFxY5t7Eks6IuW3hRFPWg5PW1jAHVzczu+jAiw4F3za9n0DSwTg87NzJOBr42
	UXbUuh1NnDAc88ODqPVYpuj4Iw+RtzHLRgu/onqvemhR3bcH7KwG69cJYFEofA1NYUF0
	8Cf4N/AzUM0xzdjEFlWTH72Gs/9MVOFFLS3vp8EdVBxpeFoMvlc46oQsZIo0KRmj1PtM
	TVCwt7V+qvD2oJgAQYL+2U/13CjD7CTkZglVvMKWqWrF/EfCQwEmXd/uG138Eqn79oE5
	tun1tUo5sR6CYRfSI7jRhjVqqRy7fARTpRN6+XmuBe6k9e2vp4cJKkJI9+oxklEI1Vs8
	4NLw==
X-Gm-Message-State: ALoCoQmIj/V2Ze4MIboo/Z5VHLWRk/hsfcEyST48wNmas2ul8aC0b3gxwyVmpGJhkcGNV28h8a4l
X-Received: by 10.66.66.163 with SMTP id g3mr40991348pat.85.1439181568440;
	Sun, 09 Aug 2015 21:39:28 -0700 (PDT)
Received: from localhost ([209.141.33.28]) by smtp.gmail.com with ESMTPSA id
	j4sm18153561pdo.62.2015.08.09.21.39.27
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Sun, 09 Aug 2015 21:39:27 -0700 (PDT)
Date: Sun, 9 Aug 2015 21:39:13 -0700
From: Joseph Poon <joseph@lightning.network>
To: Gavin Andresen <gavinandresen@gmail.com>
Message-ID: <20150810043913.GB1758@lightning.network>
References: <CABm2gDqV1NdHJZBmUWX3AxVYy6ErU7AB-wsWgGzbiTL1twdq6g@mail.gmail.com>
	<CA+w+GKTLBWj6b4ppwrmnXb_gybYFcrX7haLBSdCnMaijy2An4w@mail.gmail.com>
	<CABm2gDpWPhYNh=g-ZXCsfe-aPq=N6NKSWKP9kr-KtPVrWAxB7Q@mail.gmail.com>
	<CAAO2FKHsczkwwqO87cJFtxBp9JE=vf=GcxLx37GpRUkPq8VGHQ@mail.gmail.com>
	<55C79FF0.8040100@thinlink.com>
	<CAOG=w-skYq84=PtN45FB-dGoY1783Jz7K1T16e2JVGjLazWuyA@mail.gmail.com>
	<CALJP9GDMgqn2VeR4y4RVxqJ_iW57hExwXBHNSkxo+-AK+7Zb6g@mail.gmail.com>
	<55C7CECB.7050905@gmail.com>
	<CAAO2FKFBC46rFe7FV+F_H0gPiVfY8S7g09O2RNxMoZMCwywp6A@mail.gmail.com>
	<CABsx9T03BXULmu_mNq+3Qd-68CYpYy67+CpMV9hCYaYb1Bc+1A@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABsx9T03BXULmu_mNq+3Qd-68CYpYy67+CpMV9hCYaYb1Bc+1A@mail.gmail.com>
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] What Lightning Is
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Aug 2015 04:39:29 -0000

Hi Gavin,

On Sun, Aug 09, 2015 at 06:44:08PM -0400, Gavin Andresen via bitcoin-dev wrote:
> I'd love to see somebody write up a higher-level description of what the
> user experience is like, what communication happens underneath, and what
> new pieces of infrastructure need to get built to make it all work.

I'm writing a (hopefully more accessible) summary on Lightning
currently. It might not go into too much detail with infrastructure, but
is a bit more UX focused.

> A customer starts with eleven on-chain bitcoin. They want to pay for a nice
> cup of tea. Walk me through what happens before/during/after the
> transaction, assuming I have a  lightning-enabled wallet on my iPhone and
> the tea shop has a lightning-enabled cash register.
> 
> Assume neither the customer nor the tea shop are technically sophisticated
> -- assume the customer is using an SPV wallet and the tea shop is using a
> service similar to Bitpay.

It's a bit of a tangent, but I see it as necessary that all Lightning
services/wallets support on-chain payments for a multitude of reasons,
including usability and long-term security/fungibility. For that reason,
the UX flow for payment after channels are established should not be
significantly different than Payment Protocol based payment flows (with
the only exception being a possible additional fee dialog box/alert when
the fees will be higher than expected/on-chain).

-- 
Joseph Poon