1 2016-03-22T00:14:18  *** BCB has joined #bitcoin-core-dev
  2 2016-03-22T00:17:22  *** murch has quit IRC
  3 2016-03-22T00:33:29  <Chris_Stewart_5> I have a question about BIP66 and this test case inside of script_valid.json
  4 2016-03-22T00:33:51  <Chris_Stewart_5> [
  5 2016-03-22T00:33:53  <Chris_Stewart_5>     "1",
  6 2016-03-22T00:33:55  <Chris_Stewart_5>     "0x21 0x038282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508 CHECKSIG NOT",
  7 2016-03-22T00:33:57  <Chris_Stewart_5>     "",
  8 2016-03-22T00:33:59  <Chris_Stewart_5>     "BIP66 example 6, without DERSIG"
  9 2016-03-22T00:34:01  <Chris_Stewart_5> ]
 10 2016-03-22T00:34:21  <Chris_Stewart_5> BIP66 says that "if the signature does not pass the IsValidSignatureEncoding check below, the entire script evaluates to false immediately."
 11 2016-03-22T00:34:41  *** go1111111 has quit IRC
 12 2016-03-22T00:35:32  <Chris_Stewart_5> why would this script evaluate to true? Wouldn't it fail immediately after seeing "1" since it is not DER compliant
 13 2016-03-22T00:35:50  <Chris_Stewart_5> shouldn't it just fail immediately
 14 2016-03-22T00:35:52  <Chris_Stewart_5> ?
 15 2016-03-22T00:37:35  <gmaxwell> Chris_Stewart_5: I assume because it is not run with the DERSIG flag. (as is the case for most of the blocks in the chain)
 16 2016-03-22T00:39:54  *** fengling has joined #bitcoin-core-dev
 17 2016-03-22T00:40:35  <Chris_Stewart_5> gmaxwell: So after BIP66 this would fail, pre BIP66 this would pass, correct?
 18 2016-03-22T00:40:45  <Chris_Stewart_5> and this is indicated with the flags
 19 2016-03-22T00:48:52  *** go1111111 has joined #bitcoin-core-dev
 20 2016-03-22T00:56:50  *** laurentmt has joined #bitcoin-core-dev
 21 2016-03-22T00:57:25  *** laurentmt has quit IRC
 22 2016-03-22T01:18:37  *** belcher has joined #bitcoin-core-dev
 23 2016-03-22T01:21:01  *** Ylbam has quit IRC
 24 2016-03-22T01:29:31  *** mrkent_ has joined #bitcoin-core-dev
 25 2016-03-22T01:45:24  *** belcher has quit IRC
 26 2016-03-22T01:47:44  *** belcher has joined #bitcoin-core-dev
 27 2016-03-22T01:55:01  *** Alopex has quit IRC
 28 2016-03-22T01:56:06  *** Alopex has joined #bitcoin-core-dev
 29 2016-03-22T02:13:51  *** roasbeef_ is now known as roasbeef
 30 2016-03-22T02:27:55  *** xiangfu has joined #bitcoin-core-dev
 31 2016-03-22T02:37:31  *** mkarrer has quit IRC
 32 2016-03-22T02:38:27  *** mkarrer has joined #bitcoin-core-dev
 33 2016-03-22T02:38:31  *** achow101 has quit IRC
 34 2016-03-22T02:39:21  *** achow101 has joined #bitcoin-core-dev
 35 2016-03-22T02:43:40  *** achow101 has quit IRC
 36 2016-03-22T02:44:10  *** BCB has quit IRC
 37 2016-03-22T02:44:27  *** achow101 has joined #bitcoin-core-dev
 38 2016-03-22T02:47:33  *** mrkent has joined #bitcoin-core-dev
 39 2016-03-22T02:48:28  *** Chris_Stewart_5 has quit IRC
 40 2016-03-22T02:49:40  *** mrkent_ has quit IRC
 41 2016-03-22T02:49:40  *** achow101 has quit IRC
 42 2016-03-22T02:50:24  *** achow101 has joined #bitcoin-core-dev
 43 2016-03-22T02:55:01  *** Alopex has quit IRC
 44 2016-03-22T02:55:05  *** achow101 has quit IRC
 45 2016-03-22T02:55:49  *** achow101 has joined #bitcoin-core-dev
 46 2016-03-22T02:56:06  *** Alopex has joined #bitcoin-core-dev
 47 2016-03-22T02:56:36  *** achow101 has quit IRC
 48 2016-03-22T02:57:19  *** achow101 has joined #bitcoin-core-dev
 49 2016-03-22T02:58:07  *** achow101 has quit IRC
 50 2016-03-22T02:58:54  *** achow101 has joined #bitcoin-core-dev
 51 2016-03-22T03:02:11  *** belcher has quit IRC
 52 2016-03-22T03:06:27  *** zooko has joined #bitcoin-core-dev
 53 2016-03-22T03:12:33  *** zooko has quit IRC
 54 2016-03-22T03:33:56  *** achow101 has quit IRC
 55 2016-03-22T03:46:17  *** jannes has quit IRC
 56 2016-03-22T04:08:01  *** mrkent has quit IRC
 57 2016-03-22T04:08:46  <phantomcircuit> do i need a lock for Params() ?
 58 2016-03-22T04:14:02  *** randy-waterhouse has joined #bitcoin-core-dev
 59 2016-03-22T04:18:35  <sipa> i'd say no
 60 2016-03-22T04:21:09  *** challisto has quit IRC
 61 2016-03-22T04:29:50  *** PaulCape_ has quit IRC
 62 2016-03-22T04:30:16  *** PaulCapestany has joined #bitcoin-core-dev
 63 2016-03-22T04:55:02  *** Alopex has quit IRC
 64 2016-03-22T04:56:07  *** Alopex has joined #bitcoin-core-dev
 65 2016-03-22T05:46:41  <phantomcircuit> sipa: what about CBlockIndex objects? I would assume yes but that they remain valid between lock acquisitions
 66 2016-03-22T05:47:28  <phantomcircuit> (i mean pointers)
 67 2016-03-22T05:58:59  <sipa> phantomcircuit: some fields are immutable
 68 2016-03-22T06:00:08  *** dermoth has quit IRC
 69 2016-03-22T06:00:18  <sipa> if you take a CBlockIndex object from mapBlockIndex, its CBlockHeader fields, chainWork, pprev, ... are immutable
 70 2016-03-22T06:00:27  <sipa> so you can use GetAncestor without lock
 71 2016-03-22T06:00:55  *** dermoth has joined #bitcoin-core-dev
 72 2016-03-22T06:00:59  <sipa> nStatus, nFile, nBlockPos, nUndoPos, ... are mutable and need cs_main
 73 2016-03-22T06:05:24  <phantomcircuit> sipa: just interested in whether a CBlockIndex pointed from mapBlockIndex will continue to work when passed to chainActive.Next
 74 2016-03-22T06:11:23  <sipa> phantomcircuit: yes, it will
 75 2016-03-22T06:11:40  <sipa> pointers to CBlockIndex remain vlaid forever
 76 2016-03-22T06:12:04  <sipa> chainActive.Next will return NULL if the passed CBlockIndex is no longer in the main chaim
 77 2016-03-22T06:18:59  *** dermoth_ has joined #bitcoin-core-dev
 78 2016-03-22T06:19:25  *** dermoth has quit IRC
 79 2016-03-22T06:19:29  *** dermoth_ is now known as dermoth
 80 2016-03-22T06:20:29  *** baldur has quit IRC
 81 2016-03-22T06:20:47  *** baldur has joined #bitcoin-core-dev
 82 2016-03-22T06:35:47  *** jtimon has quit IRC
 83 2016-03-22T06:40:10  *** Thireus1 has joined #bitcoin-core-dev
 84 2016-03-22T06:42:36  *** Thireus has quit IRC
 85 2016-03-22T06:44:24  <sipa> phantomcircuit: i'm wrong
 86 2016-03-22T06:44:35  <sipa> chainActive itself needs cs_main
 87 2016-03-22T06:44:52  <sipa> though the CBlockIndex pointer do remain valid across different lockings
 88 2016-03-22T06:45:11  <sipa> which may be enough
 89 2016-03-22T07:08:36  *** Ylbam has joined #bitcoin-core-dev
 90 2016-03-22T07:09:10  *** Don_John has quit IRC
 91 2016-03-22T07:14:57  *** B4ckJ4ck007 has joined #bitcoin-core-dev
 92 2016-03-22T07:30:07  <jonasschnelli> Is there a chance to escape IBD in regtest (getheaders command reject with reason "node is in IBD)"?
 93 2016-03-22T07:34:11  *** wallet42 has joined #bitcoin-core-dev
 94 2016-03-22T07:34:26  <sipa> first mine a block?
 95 2016-03-22T07:37:19  <jonasschnelli> :} ... let me try that... I didn't tried that because the IBD warning icon was also there in Qt after I mined couple of blocks...
 96 2016-03-22T07:37:29  <sipa> hmm
 97 2016-03-22T07:37:37  <jonasschnelli> (1min)
 98 2016-03-22T07:38:34  *** B4ckJ4ck007 has quit IRC
 99 2016-03-22T07:39:03  <jonasschnelli> sipa: thanks! Was my stupidity (of not mining a block)...
100 2016-03-22T07:39:51  *** gevs has joined #bitcoin-core-dev
101 2016-03-22T07:46:58  <GitHub185> [bitcoin] jonasschnelli opened pull request #7732: [Qt] Debug window: replace "Build date" with "Datadir" (master...2016/03/qt_datadir) https://github.com/bitcoin/bitcoin/pull/7732
102 2016-03-22T07:58:39  *** dgenr8 has quit IRC
103 2016-03-22T08:00:01  *** Alopex has quit IRC
104 2016-03-22T08:01:06  *** Alopex has joined #bitcoin-core-dev
105 2016-03-22T08:04:30  *** dgenr8 has joined #bitcoin-core-dev
106 2016-03-22T08:08:16  *** Amnez777 has quit IRC
107 2016-03-22T08:09:47  *** Amnez777 has joined #bitcoin-core-dev
108 2016-03-22T08:12:20  *** Amnez777 has quit IRC
109 2016-03-22T08:12:20  *** Amnez777 has joined #bitcoin-core-dev
110 2016-03-22T08:16:01  *** Alopex has quit IRC
111 2016-03-22T08:17:07  *** Alopex has joined #bitcoin-core-dev
112 2016-03-22T08:32:07  *** wallet42 has quit IRC
113 2016-03-22T08:49:07  *** fengling has quit IRC
114 2016-03-22T09:02:19  *** Guyver2 has joined #bitcoin-core-dev
115 2016-03-22T09:08:02  *** jannes has joined #bitcoin-core-dev
116 2016-03-22T09:23:14  *** paveljanik has quit IRC
117 2016-03-22T09:27:51  *** randy-waterhouse has quit IRC
118 2016-03-22T09:46:41  *** laurentmt has joined #bitcoin-core-dev
119 2016-03-22T09:47:10  *** laurentmt has quit IRC
120 2016-03-22T09:51:31  *** paveljanik has joined #bitcoin-core-dev
121 2016-03-22T10:06:07  *** paveljanik has quit IRC
122 2016-03-22T10:12:19  *** Eliel has quit IRC
123 2016-03-22T10:16:09  *** laurentmt has joined #bitcoin-core-dev
124 2016-03-22T10:16:57  *** laurentmt has quit IRC
125 2016-03-22T10:31:40  *** cjcj has quit IRC
126 2016-03-22T10:33:39  *** Guyver2 has quit IRC
127 2016-03-22T10:35:11  *** Eliel has joined #bitcoin-core-dev
128 2016-03-22T10:40:04  *** BCBot has quit IRC
129 2016-03-22T10:42:05  *** BCBot has joined #bitcoin-core-dev
130 2016-03-22T10:56:52  *** AaronvanW has quit IRC
131 2016-03-22T11:01:31  *** AaronvanW has joined #bitcoin-core-dev
132 2016-03-22T11:15:03  *** Guyver2 has joined #bitcoin-core-dev
133 2016-03-22T11:58:31  *** zooko has joined #bitcoin-core-dev
134 2016-03-22T12:25:15  *** laurentmt has joined #bitcoin-core-dev
135 2016-03-22T12:26:00  *** xabbix__ has quit IRC
136 2016-03-22T12:27:47  *** xabbix__ has joined #bitcoin-core-dev
137 2016-03-22T12:29:50  *** Guyver2_ has joined #bitcoin-core-dev
138 2016-03-22T12:30:32  *** Guyver2 has quit IRC
139 2016-03-22T12:30:34  *** Guyver2_ is now known as Guyver2
140 2016-03-22T12:32:25  *** Chris_Stewart_5 has joined #bitcoin-core-dev
141 2016-03-22T12:44:12  *** zooko has quit IRC
142 2016-03-22T13:33:26  *** treehug88 has joined #bitcoin-core-dev
143 2016-03-22T13:49:40  *** Chris_Stewart_5 has quit IRC
144 2016-03-22T13:50:42  *** d_t has joined #bitcoin-core-dev
145 2016-03-22T13:54:49  *** d_t has quit IRC
146 2016-03-22T13:59:33  *** jtimon has joined #bitcoin-core-dev
147 2016-03-22T14:00:52  *** cajej has joined #bitcoin-core-dev
148 2016-03-22T14:10:03  *** achow101 has joined #bitcoin-core-dev
149 2016-03-22T14:46:59  *** Thireus1 has quit IRC
150 2016-03-22T15:54:49  *** hybridsole has quit IRC
151 2016-03-22T16:21:14  *** paveljanik has joined #bitcoin-core-dev
152 2016-03-22T16:29:41  *** hybridsole has joined #bitcoin-core-dev
153 2016-03-22T16:30:58  *** laurentmt has quit IRC
154 2016-03-22T16:35:00  *** Thireus has joined #bitcoin-core-dev
155 2016-03-22T16:48:38  *** Don_John has joined #bitcoin-core-dev
156 2016-03-22T16:50:05  *** Don_John has quit IRC
157 2016-03-22T16:50:33  *** Don_John has joined #bitcoin-core-dev
158 2016-03-22T16:54:23  *** Don_John has quit IRC
159 2016-03-22T16:54:54  *** Don_John has joined #bitcoin-core-dev
160 2016-03-22T16:58:34  *** Don_John has quit IRC
161 2016-03-22T16:59:04  *** Don_John has joined #bitcoin-core-dev
162 2016-03-22T17:32:43  *** cajej has quit IRC
163 2016-03-22T17:32:44  *** jcjc has quit IRC
164 2016-03-22T18:13:27  *** Thireus has quit IRC
165 2016-03-22T18:30:54  *** laurentmt has joined #bitcoin-core-dev
166 2016-03-22T18:39:35  *** d_t has joined #bitcoin-core-dev
167 2016-03-22T18:42:00  *** Samdney has joined #bitcoin-core-dev
168 2016-03-22T18:45:32  *** schmidty has quit IRC
169 2016-03-22T18:49:04  *** PaulCapestany has quit IRC
170 2016-03-22T18:49:50  *** schmidty has joined #bitcoin-core-dev
171 2016-03-22T18:51:09  *** laurentmt has quit IRC
172 2016-03-22T18:53:00  *** PaulCapestany has joined #bitcoin-core-dev
173 2016-03-22T19:01:40  *** davec has quit IRC
174 2016-03-22T19:08:07  *** davec has joined #bitcoin-core-dev
175 2016-03-22T19:20:32  *** Samdney has left #bitcoin-core-dev
176 2016-03-22T19:26:34  *** rubensayshi has quit IRC
177 2016-03-22T19:39:54  *** rubensayshi has joined #bitcoin-core-dev
178 2016-03-22T19:57:09  *** Alopex has quit IRC
179 2016-03-22T19:57:09  *** lclc has quit IRC
180 2016-03-22T19:58:20  *** heath has quit IRC
181 2016-03-22T20:00:06  *** heath has joined #bitcoin-core-dev
182 2016-03-22T20:04:33  *** lclc has joined #bitcoin-core-dev
183 2016-03-22T20:04:56  *** mrkent has joined #bitcoin-core-dev
184 2016-03-22T20:06:07  *** Alopex has joined #bitcoin-core-dev
185 2016-03-22T20:33:40  *** tucenaber has quit IRC
186 2016-03-22T20:37:10  *** PaulCapestany has quit IRC
187 2016-03-22T20:45:56  *** tucenaber has joined #bitcoin-core-dev
188 2016-03-22T20:45:56  *** tucenaber has joined #bitcoin-core-dev
189 2016-03-22T20:50:55  *** PaulCapestany has joined #bitcoin-core-dev
190 2016-03-22T20:52:25  *** da2ce7 has quit IRC
191 2016-03-22T20:57:41  *** treehug8_ has joined #bitcoin-core-dev
192 2016-03-22T20:58:25  *** da2ce7 has joined #bitcoin-core-dev
193 2016-03-22T21:00:51  *** treehug88 has quit IRC
194 2016-03-22T21:01:33  *** rubensayshi has quit IRC
195 2016-03-22T21:06:54  *** d_t has quit IRC
196 2016-03-22T21:14:22  *** rubensayshi has joined #bitcoin-core-dev
197 2016-03-22T21:27:05  *** d_t has joined #bitcoin-core-dev
198 2016-03-22T21:38:21  *** d_t has quit IRC
199 2016-03-22T22:02:09  *** treehug8_ has quit IRC
200 2016-03-22T22:09:36  *** belcher has joined #bitcoin-core-dev
201 2016-03-22T23:00:54  *** xiangfu has quit IRC
202 2016-03-22T23:30:02  *** Guyver2 has quit IRC
203 2016-03-22T23:44:37  *** mrkent has quit IRC
204 2016-03-22T23:45:04  *** davec has quit IRC
205 2016-03-22T23:46:49  *** davec has joined #bitcoin-core-dev
206 2016-03-22T23:49:42  *** mrkent has joined #bitcoin-core-dev