summaryrefslogtreecommitdiff
path: root/14/b2992faaee7414f1e2a88bdc3e8fdcbacc4255
blob: f58b7a3f40fc013a0f128ff5ee00c2a71f6ce90f (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
Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
	helo=mx.sourceforge.net)
	by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <kalle@rosenbaum.se>) id 1Z1LaX-0001Dq-QH
	for bitcoin-development@lists.sourceforge.net;
	Sat, 06 Jun 2015 21:25:09 +0000
X-ACL-Warn: 
Received: from mail-qg0-f51.google.com ([209.85.192.51])
	by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1Z1LaW-0001CK-OE
	for bitcoin-development@lists.sourceforge.net;
	Sat, 06 Jun 2015 21:25:09 +0000
Received: by qgg3 with SMTP id 3so15245303qgg.2
	for <bitcoin-development@lists.sourceforge.net>;
	Sat, 06 Jun 2015 14:25:03 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type;
	bh=yRJjXt/2IYw7EbfK/TMaHp8dLtuT37tO8U2YcFrpLJQ=;
	b=elUZcquc0uiOVltbYOJkKh86TY+Yc6+anXLFicPPNu87WxNXIdnX+Nh+RPPd4JYw+5
	dvbSROqfjhdj2Px9FNHfoRKYgGb0ygWjWvmu7BxQ2lRGFvGlmPeFMp385pW335q8k9KK
	1P/uylhJdCuJiBr4sgGb9YUI8VeJxL18/FTrf4UTMD1jV4jT05uIvNPR5ETSkWBg6kUO
	upmIjBxhOlHZSq9poRghac4joJCTj2/1EihZmwgh7WMKkCy/OQxwYHVki5p6brh3FulD
	CxFOXZq1Jvvxpg9tld4H/KUKnvlzXazK6Vx08BI+EpLu/0/F4JuXyTrCtmDDtcsmI9ht
	/IgA==
X-Gm-Message-State: ALoCoQkHO9r7PslgZXvZfXek+z0/FSenMnvrJgl0n2BVrHJ+EYPlt/JAQK8oPYyyoQWc1Gi/d/wb
MIME-Version: 1.0
X-Received: by 10.140.47.71 with SMTP id l65mr11517195qga.5.1433625903286;
	Sat, 06 Jun 2015 14:25:03 -0700 (PDT)
Received: by 10.96.145.9 with HTTP; Sat, 6 Jun 2015 14:25:02 -0700 (PDT)
In-Reply-To: <CAPswA9wqdbU0z8ydBt+9M0iQX0VSi1ce=dg3fR2_2bx3-vEqzA@mail.gmail.com>
References: <CAPswA9w5Sgg6AV=9Pqx5sqbkdrwv9LmwoxmMu7xZsQSNXtmZnQ@mail.gmail.com>
	<CAPg+sBjtovFpLoibpVGLsNJXexBcoiYzjrvctraXntCUZBJsGg@mail.gmail.com>
	<CAPswA9zhB4GV=JJ28RRLFNrkVwExUv36zujmuAjwPd6rG6rvzQ@mail.gmail.com>
	<CALJP9GCBJiofY7k2RJ460CuLuWQunHcx7EcLi1-d07v76Y-E2g@mail.gmail.com>
	<CAPswA9wqdbU0z8ydBt+9M0iQX0VSi1ce=dg3fR2_2bx3-vEqzA@mail.gmail.com>
Date: Sat, 6 Jun 2015 23:25:02 +0200
Message-ID: <CAPswA9z_xKY6v9=Ejh=01mZN0QCVo1e0RY1FTzXzS39i3tjgAw@mail.gmail.com>
From: Kalle Rosenbaum <kalle@rosenbaum.se>
To: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: 0.2 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	0.2 AWL AWL: Adjusted score from AWL reputation of From: address
X-Headers-End: 1Z1LaW-0001CK-OE
Subject: Re: [Bitcoin-development] BIP for Proof of Payment
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Sat, 06 Jun 2015 21:25:09 -0000

Thank you all for the feedback.

I will change the data structure as follows:

* There will be only one output, the "pop output", and no outputs from
T will be copied to the PoP.
* The pop output will have value 0.
* The sequence number of all inputs of the PoP will be set to 0. I
chose to set it to 0 for all inputs for simplicity.
* The lock_time of the PoP is always set to 499999999.

Any comments on this?

/Kalle

2015-06-06 19:00 GMT+02:00 Kalle Rosenbaum <kalle@rosenbaum.se>:
> 2015-06-06 18:10 GMT+02:00 Tom Harding <tomh@thinlink.com>:
>> On Jun 6, 2015 8:05 AM, "Kalle Rosenbaum" <kalle@rosenbaum.se> wrote:
>>
>>> I'm open to changes here.
>>
>> I suggest:
>>
>> - Don't include any real outputs.   They are redundant because the txid is
>> already referenced.
>
> with the nLocktime solution, the copied outputs are not needed.
>
>>
>> - Start the proof script, which should be invalid, with a magic constant and
>> include space for future expansion.  This makes PoP's easy to identify and
>> extend.
>
> I did remore the constant (a "PoP" literal ascii encoded string)
> because it didn't add much. The recipient will expect a pop, so it
> will simply treat it as one. I did add a 2 byte version field to make
> it extendable.
>
>>
>> - "Proof of Potential"
>
> Noted :-)
>
> Thank you
> /Kalle