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
|
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 <gmaxwell@gmail.com>) id 1TmU5D-0003oh-4P
for bitcoin-development@lists.sourceforge.net;
Sat, 22 Dec 2012 18:46:03 +0000
Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com
designates 209.85.210.169 as permitted sender)
client-ip=209.85.210.169; envelope-from=gmaxwell@gmail.com;
helo=mail-ia0-f169.google.com;
Received: from mail-ia0-f169.google.com ([209.85.210.169])
by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
(Exim 4.76) id 1TmU57-0006fx-KD
for bitcoin-development@lists.sourceforge.net;
Sat, 22 Dec 2012 18:46:03 +0000
Received: by mail-ia0-f169.google.com with SMTP id r4so4996795iaj.28
for <bitcoin-development@lists.sourceforge.net>;
Sat, 22 Dec 2012 10:45:52 -0800 (PST)
MIME-Version: 1.0
Received: by 10.50.106.199 with SMTP id gw7mr16167533igb.26.1356201952361;
Sat, 22 Dec 2012 10:45:52 -0800 (PST)
Received: by 10.64.171.73 with HTTP; Sat, 22 Dec 2012 10:45:52 -0800 (PST)
In-Reply-To: <CAAS2fgQKidxKmJ47oDi80YZrTW_MrVYf_u_tcZtO+xv2o+8S+w@mail.gmail.com>
References: <kb4upt$9vo$1@ger.gmane.org>
<CAAS2fgQKidxKmJ47oDi80YZrTW_MrVYf_u_tcZtO+xv2o+8S+w@mail.gmail.com>
Date: Sat, 22 Dec 2012 13:45:52 -0500
Message-ID: <CAAS2fgTM6n17x+3Oen78LHeAVuyOaXLCy285NKqqCLN74VB_=Q@mail.gmail.com>
From: Gregory Maxwell <gmaxwell@gmail.com>
To: Bitcoin Development <bitcoin-development@lists.sourceforge.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -1.6 (-)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
See http://spamassassin.org/tag/ for more details.
-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
sender-domain
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
(gmaxwell[at]gmail.com)
-0.0 SPF_PASS SPF: sender matches SPF record
-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: 1TmU57-0006fx-KD
Subject: [Bitcoin-development] Testnet3 difficulty transition problem?
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, 22 Dec 2012 18:46:03 -0000
On Sat, Dec 22, 2012 at 1:39 PM, Andreas Schildbach
<andreas@schildbach.de> wrote:
> Both blocks
>
> 38304 00000000015bb4069249fa1f41ae61d8a7447aaacc33c50dacd3c3654377fa43
>
> and
>
> 40320 000000008011f56b8c92ff27fb502df5723171c5374673670ef0eee3696aee6d
>
> are difficulty transition blocks. However, block 40320 has a difficulty
> of 1. I know there is this special testnet rule that allows mining a
> block at difficulty 1,
Yes.
> but I always thought you can't use this exception
> on difficulty transition blocks.
Not so=E2=80=94 but what you're actually seeing is that difficult change is
relative to the prior block's difficulty. E.g. if the penultimate
block in the difficulty cycle is under the special rule the difficulty
change will be relative to 1.
(I had intentionally avoided triggering that test case when adding the
timewarp attack to the testnet chain in case we had wanted to fix it
prior to testnet3's release=E2=80=94 I guess I should have added it sooner =
in
order to catch the bitcoinj misbehavior!)
|