12016-03-22T00:14:18  *** BCB has joined #bitcoin-core-dev
  22016-03-22T00:17:22  *** murch has quit IRC
  32016-03-22T00:33:29  <Chris_Stewart_5> I have a question about BIP66 and this test case inside of script_valid.json
  42016-03-22T00:33:51  <Chris_Stewart_5> [
  52016-03-22T00:33:53  <Chris_Stewart_5>     "1",
  62016-03-22T00:33:55  <Chris_Stewart_5>     "0x21 0x038282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508 CHECKSIG NOT",
  72016-03-22T00:33:57  <Chris_Stewart_5>     "",
  82016-03-22T00:33:59  <Chris_Stewart_5>     "BIP66 example 6, without DERSIG"
  92016-03-22T00:34:01  <Chris_Stewart_5> ]
 102016-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."
 112016-03-22T00:34:41  *** go1111111 has quit IRC
 122016-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
 132016-03-22T00:35:50  <Chris_Stewart_5> shouldn't it just fail immediately
 142016-03-22T00:35:52  <Chris_Stewart_5> ?
 152016-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)
 162016-03-22T00:39:54  *** fengling has joined #bitcoin-core-dev
 172016-03-22T00:40:35  <Chris_Stewart_5> gmaxwell: So after BIP66 this would fail, pre BIP66 this would pass, correct?
 182016-03-22T00:40:45  <Chris_Stewart_5> and this is indicated with the flags
 192016-03-22T00:48:52  *** go1111111 has joined #bitcoin-core-dev
 202016-03-22T00:56:50  *** laurentmt has joined #bitcoin-core-dev
 212016-03-22T00:57:25  *** laurentmt has quit IRC
 222016-03-22T01:18:37  *** belcher has joined #bitcoin-core-dev
 232016-03-22T01:21:01  *** Ylbam has quit IRC
 242016-03-22T01:29:31  *** mrkent_ has joined #bitcoin-core-dev
 252016-03-22T01:45:24  *** belcher has quit IRC
 262016-03-22T01:47:44  *** belcher has joined #bitcoin-core-dev
 272016-03-22T01:55:01  *** Alopex has quit IRC
 282016-03-22T01:56:06  *** Alopex has joined #bitcoin-core-dev
 292016-03-22T02:13:51  *** roasbeef_ is now known as roasbeef
 302016-03-22T02:27:55  *** xiangfu has joined #bitcoin-core-dev
 312016-03-22T02:37:31  *** mkarrer has quit IRC
 322016-03-22T02:38:27  *** mkarrer has joined #bitcoin-core-dev
 332016-03-22T02:38:31  *** achow101 has quit IRC
 342016-03-22T02:39:21  *** achow101 has joined #bitcoin-core-dev
 352016-03-22T02:43:40  *** achow101 has quit IRC
 362016-03-22T02:44:10  *** BCB has quit IRC
 372016-03-22T02:44:27  *** achow101 has joined #bitcoin-core-dev
 382016-03-22T02:47:33  *** mrkent has joined #bitcoin-core-dev
 392016-03-22T02:48:28  *** Chris_Stewart_5 has quit IRC
 402016-03-22T02:49:40  *** mrkent_ has quit IRC
 412016-03-22T02:49:40  *** achow101 has quit IRC
 422016-03-22T02:50:24  *** achow101 has joined #bitcoin-core-dev
 432016-03-22T02:55:01  *** Alopex has quit IRC
 442016-03-22T02:55:05  *** achow101 has quit IRC
 452016-03-22T02:55:49  *** achow101 has joined #bitcoin-core-dev
 462016-03-22T02:56:06  *** Alopex has joined #bitcoin-core-dev
 472016-03-22T02:56:36  *** achow101 has quit IRC
 482016-03-22T02:57:19  *** achow101 has joined #bitcoin-core-dev
 492016-03-22T02:58:07  *** achow101 has quit IRC
 502016-03-22T02:58:54  *** achow101 has joined #bitcoin-core-dev
 512016-03-22T03:02:11  *** belcher has quit IRC
 522016-03-22T03:06:27  *** zooko has joined #bitcoin-core-dev
 532016-03-22T03:12:33  *** zooko has quit IRC
 542016-03-22T03:33:56  *** achow101 has quit IRC
 552016-03-22T03:46:17  *** jannes has quit IRC
 562016-03-22T04:08:01  *** mrkent has quit IRC
 572016-03-22T04:08:46  <phantomcircuit> do i need a lock for Params() ?
 582016-03-22T04:14:02  *** randy-waterhouse has joined #bitcoin-core-dev
 592016-03-22T04:18:35  <sipa> i'd say no
 602016-03-22T04:21:09  *** challisto has quit IRC
 612016-03-22T04:29:50  *** PaulCape_ has quit IRC
 622016-03-22T04:30:16  *** PaulCapestany has joined #bitcoin-core-dev
 632016-03-22T04:55:02  *** Alopex has quit IRC
 642016-03-22T04:56:07  *** Alopex has joined #bitcoin-core-dev
 652016-03-22T05:46:41  <phantomcircuit> sipa: what about CBlockIndex objects? I would assume yes but that they remain valid between lock acquisitions
 662016-03-22T05:47:28  <phantomcircuit> (i mean pointers)
 672016-03-22T05:58:59  <sipa> phantomcircuit: some fields are immutable
 682016-03-22T06:00:08  *** dermoth has quit IRC
 692016-03-22T06:00:18  <sipa> if you take a CBlockIndex object from mapBlockIndex, its CBlockHeader fields, chainWork, pprev, ... are immutable
 702016-03-22T06:00:27  <sipa> so you can use GetAncestor without lock
 712016-03-22T06:00:55  *** dermoth has joined #bitcoin-core-dev
 722016-03-22T06:00:59  <sipa> nStatus, nFile, nBlockPos, nUndoPos, ... are mutable and need cs_main
 732016-03-22T06:05:24  <phantomcircuit> sipa: just interested in whether a CBlockIndex pointed from mapBlockIndex will continue to work when passed to chainActive.Next
 742016-03-22T06:11:23  <sipa> phantomcircuit: yes, it will
 752016-03-22T06:11:40  <sipa> pointers to CBlockIndex remain vlaid forever
 762016-03-22T06:12:04  <sipa> chainActive.Next will return NULL if the passed CBlockIndex is no longer in the main chaim
 772016-03-22T06:18:59  *** dermoth_ has joined #bitcoin-core-dev
 782016-03-22T06:19:25  *** dermoth has quit IRC
 792016-03-22T06:19:29  *** dermoth_ is now known as dermoth
 802016-03-22T06:20:29  *** baldur has quit IRC
 812016-03-22T06:20:47  *** baldur has joined #bitcoin-core-dev
 822016-03-22T06:35:47  *** jtimon has quit IRC
 832016-03-22T06:40:10  *** Thireus1 has joined #bitcoin-core-dev
 842016-03-22T06:42:36  *** Thireus has quit IRC
 852016-03-22T06:44:24  <sipa> phantomcircuit: i'm wrong
 862016-03-22T06:44:35  <sipa> chainActive itself needs cs_main
 872016-03-22T06:44:52  <sipa> though the CBlockIndex pointer do remain valid across different lockings
 882016-03-22T06:45:11  <sipa> which may be enough
 892016-03-22T07:08:36  *** Ylbam has joined #bitcoin-core-dev
 902016-03-22T07:09:10  *** Don_John has quit IRC
 912016-03-22T07:14:57  *** B4ckJ4ck007 has joined #bitcoin-core-dev
 922016-03-22T07:30:07  <jonasschnelli> Is there a chance to escape IBD in regtest (getheaders command reject with reason "node is in IBD)"?
 932016-03-22T07:34:11  *** wallet42 has joined #bitcoin-core-dev
 942016-03-22T07:34:26  <sipa> first mine a block?
 952016-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...
 962016-03-22T07:37:29  <sipa> hmm
 972016-03-22T07:37:37  <jonasschnelli> (1min)
 982016-03-22T07:38:34  *** B4ckJ4ck007 has quit IRC
 992016-03-22T07:39:03  <jonasschnelli> sipa: thanks! Was my stupidity (of not mining a block)...
1002016-03-22T07:39:51  *** gevs has joined #bitcoin-core-dev
1012016-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
1022016-03-22T07:58:39  *** dgenr8 has quit IRC
1032016-03-22T08:00:01  *** Alopex has quit IRC
1042016-03-22T08:01:06  *** Alopex has joined #bitcoin-core-dev
1052016-03-22T08:04:30  *** dgenr8 has joined #bitcoin-core-dev
1062016-03-22T08:08:16  *** Amnez777 has quit IRC
1072016-03-22T08:09:47  *** Amnez777 has joined #bitcoin-core-dev
1082016-03-22T08:12:20  *** Amnez777 has quit IRC
1092016-03-22T08:12:20  *** Amnez777 has joined #bitcoin-core-dev
1102016-03-22T08:16:01  *** Alopex has quit IRC
1112016-03-22T08:17:07  *** Alopex has joined #bitcoin-core-dev
1122016-03-22T08:32:07  *** wallet42 has quit IRC
1132016-03-22T08:49:07  *** fengling has quit IRC
1142016-03-22T09:02:19  *** Guyver2 has joined #bitcoin-core-dev
1152016-03-22T09:08:02  *** jannes has joined #bitcoin-core-dev
1162016-03-22T09:23:14  *** paveljanik has quit IRC
1172016-03-22T09:27:51  *** randy-waterhouse has quit IRC
1182016-03-22T09:46:41  *** laurentmt has joined #bitcoin-core-dev
1192016-03-22T09:47:10  *** laurentmt has quit IRC
1202016-03-22T09:51:31  *** paveljanik has joined #bitcoin-core-dev
1212016-03-22T10:06:07  *** paveljanik has quit IRC
1222016-03-22T10:12:19  *** Eliel has quit IRC
1232016-03-22T10:16:09  *** laurentmt has joined #bitcoin-core-dev
1242016-03-22T10:16:57  *** laurentmt has quit IRC
1252016-03-22T10:31:40  *** cjcj has quit IRC
1262016-03-22T10:33:39  *** Guyver2 has quit IRC
1272016-03-22T10:35:11  *** Eliel has joined #bitcoin-core-dev
1282016-03-22T10:40:04  *** BCBot has quit IRC
1292016-03-22T10:42:05  *** BCBot has joined #bitcoin-core-dev
1302016-03-22T10:56:52  *** AaronvanW has quit IRC
1312016-03-22T11:01:31  *** AaronvanW has joined #bitcoin-core-dev
1322016-03-22T11:15:03  *** Guyver2 has joined #bitcoin-core-dev
1332016-03-22T11:58:31  *** zooko has joined #bitcoin-core-dev
1342016-03-22T12:25:15  *** laurentmt has joined #bitcoin-core-dev
1352016-03-22T12:26:00  *** xabbix__ has quit IRC
1362016-03-22T12:27:47  *** xabbix__ has joined #bitcoin-core-dev
1372016-03-22T12:29:50  *** Guyver2_ has joined #bitcoin-core-dev
1382016-03-22T12:30:32  *** Guyver2 has quit IRC
1392016-03-22T12:30:34  *** Guyver2_ is now known as Guyver2
1402016-03-22T12:32:25  *** Chris_Stewart_5 has joined #bitcoin-core-dev
1412016-03-22T12:44:12  *** zooko has quit IRC
1422016-03-22T13:33:26  *** treehug88 has joined #bitcoin-core-dev
1432016-03-22T13:49:40  *** Chris_Stewart_5 has quit IRC
1442016-03-22T13:50:42  *** d_t has joined #bitcoin-core-dev
1452016-03-22T13:54:49  *** d_t has quit IRC
1462016-03-22T13:59:33  *** jtimon has joined #bitcoin-core-dev
1472016-03-22T14:00:52  *** cajej has joined #bitcoin-core-dev
1482016-03-22T14:10:03  *** achow101 has joined #bitcoin-core-dev
1492016-03-22T14:46:59  *** Thireus1 has quit IRC
1502016-03-22T15:54:49  *** hybridsole has quit IRC
1512016-03-22T16:21:14  *** paveljanik has joined #bitcoin-core-dev
1522016-03-22T16:29:41  *** hybridsole has joined #bitcoin-core-dev
1532016-03-22T16:30:58  *** laurentmt has quit IRC
1542016-03-22T16:35:00  *** Thireus has joined #bitcoin-core-dev
1552016-03-22T16:48:38  *** Don_John has joined #bitcoin-core-dev
1562016-03-22T16:50:05  *** Don_John has quit IRC
1572016-03-22T16:50:33  *** Don_John has joined #bitcoin-core-dev
1582016-03-22T16:54:23  *** Don_John has quit IRC
1592016-03-22T16:54:54  *** Don_John has joined #bitcoin-core-dev
1602016-03-22T16:58:34  *** Don_John has quit IRC
1612016-03-22T16:59:04  *** Don_John has joined #bitcoin-core-dev
1622016-03-22T17:32:43  *** cajej has quit IRC
1632016-03-22T17:32:44  *** jcjc has quit IRC
1642016-03-22T18:13:27  *** Thireus has quit IRC
1652016-03-22T18:30:54  *** laurentmt has joined #bitcoin-core-dev
1662016-03-22T18:39:35  *** d_t has joined #bitcoin-core-dev
1672016-03-22T18:42:00  *** Samdney has joined #bitcoin-core-dev
1682016-03-22T18:45:32  *** schmidty has quit IRC
1692016-03-22T18:49:04  *** PaulCapestany has quit IRC
1702016-03-22T18:49:50  *** schmidty has joined #bitcoin-core-dev
1712016-03-22T18:51:09  *** laurentmt has quit IRC
1722016-03-22T18:53:00  *** PaulCapestany has joined #bitcoin-core-dev
1732016-03-22T19:01:40  *** davec has quit IRC
1742016-03-22T19:08:07  *** davec has joined #bitcoin-core-dev
1752016-03-22T19:20:32  *** Samdney has left #bitcoin-core-dev
1762016-03-22T19:26:34  *** rubensayshi has quit IRC
1772016-03-22T19:39:54  *** rubensayshi has joined #bitcoin-core-dev
1782016-03-22T19:57:09  *** Alopex has quit IRC
1792016-03-22T19:57:09  *** lclc has quit IRC
1802016-03-22T19:58:20  *** heath has quit IRC
1812016-03-22T20:00:06  *** heath has joined #bitcoin-core-dev
1822016-03-22T20:04:33  *** lclc has joined #bitcoin-core-dev
1832016-03-22T20:04:56  *** mrkent has joined #bitcoin-core-dev
1842016-03-22T20:06:07  *** Alopex has joined #bitcoin-core-dev
1852016-03-22T20:33:40  *** tucenaber has quit IRC
1862016-03-22T20:37:10  *** PaulCapestany has quit IRC
1872016-03-22T20:45:56  *** tucenaber has joined #bitcoin-core-dev
1882016-03-22T20:45:56  *** tucenaber has joined #bitcoin-core-dev
1892016-03-22T20:50:55  *** PaulCapestany has joined #bitcoin-core-dev
1902016-03-22T20:52:25  *** da2ce7 has quit IRC
1912016-03-22T20:57:41  *** treehug8_ has joined #bitcoin-core-dev
1922016-03-22T20:58:25  *** da2ce7 has joined #bitcoin-core-dev
1932016-03-22T21:00:51  *** treehug88 has quit IRC
1942016-03-22T21:01:33  *** rubensayshi has quit IRC
1952016-03-22T21:06:54  *** d_t has quit IRC
1962016-03-22T21:14:22  *** rubensayshi has joined #bitcoin-core-dev
1972016-03-22T21:27:05  *** d_t has joined #bitcoin-core-dev
1982016-03-22T21:38:21  *** d_t has quit IRC
1992016-03-22T22:02:09  *** treehug8_ has quit IRC
2002016-03-22T22:09:36  *** belcher has joined #bitcoin-core-dev
2012016-03-22T23:00:54  *** xiangfu has quit IRC
2022016-03-22T23:30:02  *** Guyver2 has quit IRC
2032016-03-22T23:44:37  *** mrkent has quit IRC
2042016-03-22T23:45:04  *** davec has quit IRC
2052016-03-22T23:46:49  *** davec has joined #bitcoin-core-dev
2062016-03-22T23:49:42  *** mrkent has joined #bitcoin-core-dev