summaryrefslogtreecommitdiff
path: root/2f/1c13b45b0e9ca36bcc7be6d5edbf70900f3e57
blob: da24dcf4f3350763e80bbeaa1f8f246d869a7312 (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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192]
	helo=mx.sourceforge.net)
	by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <me@ricmoo.com>) id 1X6Ti9-0000BZ-9m
	for bitcoin-development@lists.sourceforge.net;
	Mon, 14 Jul 2014 00:01:41 +0000
X-ACL-Warn: 
Received: from mail-qg0-f54.google.com ([209.85.192.54])
	by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1X6Ti7-0005kE-Bl
	for bitcoin-development@lists.sourceforge.net;
	Mon, 14 Jul 2014 00:01:41 +0000
Received: by mail-qg0-f54.google.com with SMTP id z60so1366847qgd.27
	for <bitcoin-development@lists.sourceforge.net>;
	Sun, 13 Jul 2014 17:01:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:from:content-type:subject:message-id:date:to
	:mime-version;
	bh=PfLHWsl7s3l8IoeeO12tXSy2NYGhDKfq/kgXw/spBrk=;
	b=MJCJAqrZQHq3hXu0pYmxe9KbkArtPK/XeAy2fw3tTbRtOMN0KKBrhPwjUFSdfOkW0b
	Z/I5J2QfCxm0qIAfX8Ugbe6IEujn4vcAd/c5zTLbUCcCNFprjmZRS1qu8PKWL5L/STDV
	0sqkLnHcW2zlglGjeawksai4UGcnILX0YjCc9nKgrbZJej08+xFbSUZTl9CtwtOL4E+o
	LNtJNCA5eFN/147v89UsDTbB8H9pPBsARltZdC2VIkhZl48M5z9glHz6QUyqKtGnvkbz
	eG4UaPrcwUBIE+qKtJBLzFxbH0CehnCR6kln/vkkM+d2qmxtSJYIXntj+YoJBXswVloG
	UmLA==
X-Gm-Message-State: ALoCoQn+9fCkHRG1Dw+TaWu22SdOeUUwMa+19a6LKgJmPJzZhClm1SLMcH3IdD6/HczzTWRH0AwF
X-Received: by 10.224.134.201 with SMTP id k9mr17402608qat.59.1405294373332;
	Sun, 13 Jul 2014 16:32:53 -0700 (PDT)
Received: from [192.168.2.22] (bas5-toronto47-845522244.dsl.bell.ca.
	[50.101.165.68])
	by mx.google.com with ESMTPSA id y4sm17318243qad.14.2014.07.13.16.32.52
	for <bitcoin-development@lists.sourceforge.net>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sun, 13 Jul 2014 16:32:52 -0700 (PDT)
From: Richard Moore <me@ricmoo.com>
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_7E7D33C0-54FE-45F8-84F8-8E3E52AEF13B"
Message-Id: <35E6FF51-F9C4-4973-8489-B364E7C27C14@ricmoo.com>
Date: Sun, 13 Jul 2014 19:32:51 -0400
To: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
X-Spam-Score: 0.9 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,
	no trust [209.85.192.54 listed in list.dnswl.org]
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
	author's domain
	0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
	not necessarily valid
	-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Headers-End: 1X6Ti7-0005kE-Bl
Subject: [Bitcoin-development] Self-dependency transaction question...
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: Mon, 14 Jul 2014 00:01:41 -0000


--Apple-Mail=_7E7D33C0-54FE-45F8-84F8-8E3E52AEF13B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

Hey all,

I'm working on the UTXO database for my Python implementation of =
bitcoind and have found a situation I did not realize was valid, but =
since it seems to be, had a quick question.

If you look at block #546 the 4th transaction's first input uses its own =
block's 3rd transaction as an input.
=
https://blockchain.info/block/000000005a4ded781e667e06ceefafb71410b511fe0d=
5adc3e5a27ecbec34ae6

My question is, would the other way be valid, that is, could the 3rd =
transaction of a block, use the 4th transaction from the same block as =
an input? Or are transactions processed strictly top to bottom?

Thanks,
RicMoo

P.S. If it is valid, another question; what would happen if a =
transaction was self-referencing? I realize it would be very difficult =
to find one, but if I could find a transaction X whose input was X and =
had an output Y, would Y be a new valid utxo, without being a generation =
transaction input?

.=B7=B4=AF`=B7.=B8=B8.=B7=B4=AF`=B7.=B8=B8.=B7=B4=AF`=B7.=B8=B8.=B7=B4=AF`=
=B7.=B8=B8.=B7=B4=AF`=B7.=B8><(((=BA>

Richard Moore ~ Founder
Genetic Mistakes Software inc.
phone: (778) 882-6125
email: ricmoo@geneticmistakes.com
www: http://GeneticMistakes.com


--Apple-Mail=_7E7D33C0-54FE-45F8-84F8-8E3E52AEF13B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=iso-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Diso-8859-1"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hey =
all,<div><br></div><div>I'm working on the UTXO database for my Python =
implementation of bitcoind and have found a situation I did not realize =
was valid, but since it seems to be, had a quick =
question.</div><div><br></div><div>If you look at block #546 the 4th =
transaction's first input uses its own block's 3rd transaction as an =
input.</div><div><a =
href=3D"https://blockchain.info/block/000000005a4ded781e667e06ceefafb71410=
b511fe0d5adc3e5a27ecbec34ae6">https://blockchain.info/block/000000005a4ded=
781e667e06ceefafb71410b511fe0d5adc3e5a27ecbec34ae6</a></div><div><br></div=
><div>My question is, would the other way be valid, that is, could the =
3rd transaction of a block, use the 4th transaction from the same block =
as an input? Or are transactions processed strictly top to =
bottom?</div><div><br></div><div>Thanks,</div><div>RicMoo</div><div><br></=
div><div>P.S. If it is valid, another question; what would happen if a =
transaction was self-referencing? I realize it would be very difficult =
to find one, but if I could find a transaction X whose input was X and =
had an output Y, would Y be a new valid utxo, without being a generation =
transaction input?</div><div><br><div apple-content-edited=3D"true">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: =
0px;">.=B7=B4=AF`=B7.=B8=B8.=B7=B4=AF`=B7.=B8=B8.=B7=B4=AF`=B7.=B8=B8.=B7=B4=
=AF`=B7.=B8=B8.=B7=B4=AF`=B7.=B8&gt;&lt;(((=BA&gt;<br><br>Richard Moore =
~ Founder<br>Genetic Mistakes Software inc.<br>phone: (778) =
882-6125<br>email:&nbsp;<a =
href=3D"mailto:ricmoo@geneticmistakes.com">ricmoo@geneticmistakes.com</a><=
br>www:&nbsp;<a =
href=3D"http://GeneticMistakes.com/">http://GeneticMistakes.com</a></span>=

</div>
<br></div></body></html>=

--Apple-Mail=_7E7D33C0-54FE-45F8-84F8-8E3E52AEF13B--