12017-04-04T00:07:57  *** midnightmagic has quit IRC
  22017-04-04T00:10:30  *** voyager_ has quit IRC
  32017-04-04T00:21:38  *** alpalp has joined #bitcoin-core-dev
  42017-04-04T00:21:38  *** alpalp has joined #bitcoin-core-dev
  52017-04-04T00:21:58  *** trippysalmon has quit IRC
  62017-04-04T00:27:45  *** midnightmagic has joined #bitcoin-core-dev
  72017-04-04T00:29:34  *** trippysalmon has joined #bitcoin-core-dev
  82017-04-04T00:31:48  *** chjj has joined #bitcoin-core-dev
  92017-04-04T00:32:02  *** midnightmagic has quit IRC
 102017-04-04T00:33:26  *** midnightmagic has joined #bitcoin-core-dev
 112017-04-04T00:47:34  *** magicwund has joined #bitcoin-core-dev
 122017-04-04T01:13:12  *** midnightmagic has quit IRC
 132017-04-04T01:14:09  *** Ylbam has quit IRC
 142017-04-04T01:20:13  *** dgenr8 has quit IRC
 152017-04-04T01:20:37  *** dgenr8 has joined #bitcoin-core-dev
 162017-04-04T01:29:40  *** midnightmagic has joined #bitcoin-core-dev
 172017-04-04T01:41:33  *** magicwund has quit IRC
 182017-04-04T01:41:51  *** Samdney has quit IRC
 192017-04-04T02:00:03  *** dermoth has quit IRC
 202017-04-04T02:00:42  *** dermoth has joined #bitcoin-core-dev
 212017-04-04T02:03:09  *** harding has quit IRC
 222017-04-04T02:14:05  *** midnightmagic has quit IRC
 232017-04-04T02:33:05  *** Giszmo has quit IRC
 242017-04-04T02:37:25  *** midnightmagic has joined #bitcoin-core-dev
 252017-04-04T02:45:00  *** voyager_ has joined #bitcoin-core-dev
 262017-04-04T02:51:33  *** dfe has joined #bitcoin-core-dev
 272017-04-04T03:08:46  *** Victor_sueca has joined #bitcoin-core-dev
 282017-04-04T03:11:29  *** Victorsueca has quit IRC
 292017-04-04T03:25:30  *** magicwund has joined #bitcoin-core-dev
 302017-04-04T03:26:29  *** emucode has quit IRC
 312017-04-04T03:30:52  *** magicwund has quit IRC
 322017-04-04T03:34:42  *** emucode has joined #bitcoin-core-dev
 332017-04-04T03:49:31  *** alpalp has quit IRC
 342017-04-04T03:56:36  *** magicwund has joined #bitcoin-core-dev
 352017-04-04T04:01:04  *** magicwund has quit IRC
 362017-04-04T04:04:59  <bitcoin-git> [bitcoin] gmaxwell opened pull request #10146: Better error handling for submitblock (master...better_error_submitblock) https://github.com/bitcoin/bitcoin/pull/10146
 372017-04-04T04:34:59  *** magicwund has joined #bitcoin-core-dev
 382017-04-04T04:39:57  *** magicwund has quit IRC
 392017-04-04T04:44:12  *** juscamarena_ is now known as juscamarena
 402017-04-04T04:50:45  <kallewoof> It struck me that nodes can delegate challenges they receive to other nodes, if they are formed properly. For example, challenge X lets node A connect to node B. A gives X to C saying C may use bloom filters if solves. C solves and gives to A, A gives to B, and B verifies and opens for A. That lets A know the solution was right so A now gives C reward.
 412017-04-04T04:51:00  <kallewoof> Wrong channel.
 422017-04-04T05:01:40  *** paveljanik has quit IRC
 432017-04-04T05:07:48  *** rafalcpp_ has joined #bitcoin-core-dev
 442017-04-04T05:08:02  *** wbnns_ has joined #bitcoin-core-dev
 452017-04-04T05:08:19  *** kadoban has joined #bitcoin-core-dev
 462017-04-04T05:09:17  *** emucode_ has joined #bitcoin-core-dev
 472017-04-04T05:11:47  *** asoltys has joined #bitcoin-core-dev
 482017-04-04T05:12:50  *** lysobit_ has joined #bitcoin-core-dev
 492017-04-04T05:14:19  *** emucode has quit IRC
 502017-04-04T05:14:19  *** justanotheruser has quit IRC
 512017-04-04T05:14:19  *** kadobanana has quit IRC
 522017-04-04T05:14:20  *** Creeper has quit IRC
 532017-04-04T05:14:20  *** rockhouse has quit IRC
 542017-04-04T05:14:21  *** wbnns has quit IRC
 552017-04-04T05:14:21  *** rafalcpp has quit IRC
 562017-04-04T05:14:22  *** isle2983 has quit IRC
 572017-04-04T05:14:22  *** ChillazZ has quit IRC
 582017-04-04T05:14:22  *** ryanofsky has quit IRC
 592017-04-04T05:14:22  *** asoltys_ has quit IRC
 602017-04-04T05:14:22  *** Lightsword has quit IRC
 612017-04-04T05:14:22  *** musalbas has quit IRC
 622017-04-04T05:14:23  *** lysobit_ is now known as musalbas
 632017-04-04T05:14:50  *** wbnns_ is now known as wbnns
 642017-04-04T05:14:58  *** ryanofsky has joined #bitcoin-core-dev
 652017-04-04T05:15:02  *** Lightsword has joined #bitcoin-core-dev
 662017-04-04T05:16:02  *** magicwund has joined #bitcoin-core-dev
 672017-04-04T05:20:17  *** isle2983 has joined #bitcoin-core-dev
 682017-04-04T05:20:32  *** magicwund has quit IRC
 692017-04-04T05:23:33  *** justanotheruser has joined #bitcoin-core-dev
 702017-04-04T05:34:36  <jeremyrubin> :q
 712017-04-04T05:34:59  <jeremyrubin> crap this isn't vim... reflexes...
 722017-04-04T05:43:08  *** voyager_ has quit IRC
 732017-04-04T05:43:09  *** madgoat has joined #bitcoin-core-dev
 742017-04-04T05:43:20  *** madgoat has left #bitcoin-core-dev
 752017-04-04T05:56:57  *** magicwund has joined #bitcoin-core-dev
 762017-04-04T05:58:21  *** shesek has joined #bitcoin-core-dev
 772017-04-04T06:01:28  *** magicwund has quit IRC
 782017-04-04T06:19:39  *** CubicEarthh has quit IRC
 792017-04-04T06:20:14  *** Ylbam has joined #bitcoin-core-dev
 802017-04-04T06:20:16  *** CubicEarthh has joined #bitcoin-core-dev
 812017-04-04T06:42:48  *** voyager_ has joined #bitcoin-core-dev
 822017-04-04T06:43:10  *** BashCo has quit IRC
 832017-04-04T07:00:54  <bitcoin-git> [bitcoin] laanwj pushed 4 new commits to master: https://github.com/bitcoin/bitcoin/compare/471ed00fcd3b...72bc7e1303d5
 842017-04-04T07:00:55  <bitcoin-git> bitcoin/master ada0caa Gregory Maxwell: Make GetWitnessCommitmentIndex callable on blocks without a coinbase txn....
 852017-04-04T07:00:55  <bitcoin-git> bitcoin/master 4f15ea1 Gregory Maxwell: Check transaction count early in submitblock....
 862017-04-04T07:00:56  <bitcoin-git> bitcoin/master 30f30c0 Gregory Maxwell: Add braces to submitblock per current style.
 872017-04-04T07:01:15  <bitcoin-git> [bitcoin] laanwj closed pull request #10146: Better error handling for submitblock (master...better_error_submitblock) https://github.com/bitcoin/bitcoin/pull/10146
 882017-04-04T07:19:48  *** BashCo has joined #bitcoin-core-dev
 892017-04-04T07:26:52  *** BashCo_ has joined #bitcoin-core-dev
 902017-04-04T07:29:14  *** BashCo has quit IRC
 912017-04-04T07:40:43  *** riemann has joined #bitcoin-core-dev
 922017-04-04T07:51:58  *** BashCo_ has quit IRC
 932017-04-04T07:53:35  *** face has joined #bitcoin-core-dev
 942017-04-04T07:55:15  *** CubicEarthh has quit IRC
 952017-04-04T07:55:30  *** BashCo has joined #bitcoin-core-dev
 962017-04-04T07:57:13  *** CubicEarthh has joined #bitcoin-core-dev
 972017-04-04T07:57:51  *** magicwund has joined #bitcoin-core-dev
 982017-04-04T08:01:31  *** CubicEarthh has quit IRC
 992017-04-04T08:01:57  *** magicwund has quit IRC
1002017-04-04T08:09:35  *** juscamarena has quit IRC
1012017-04-04T08:11:01  *** voyager_ has quit IRC
1022017-04-04T08:11:59  *** BashCo has quit IRC
1032017-04-04T08:13:47  *** juscamarena has joined #bitcoin-core-dev
1042017-04-04T08:13:52  *** BashCo has joined #bitcoin-core-dev
1052017-04-04T08:17:41  *** Victor_sueca is now known as Victorsueca
1062017-04-04T08:17:52  *** JackH has quit IRC
1072017-04-04T08:24:12  *** BashCo_ has joined #bitcoin-core-dev
1082017-04-04T08:24:25  *** voyager_ has joined #bitcoin-core-dev
1092017-04-04T08:25:20  *** BashCo has quit IRC
1102017-04-04T08:33:35  *** BashCo_ has quit IRC
1112017-04-04T08:51:00  *** jannes has joined #bitcoin-core-dev
1122017-04-04T09:00:45  *** Guyver2 has joined #bitcoin-core-dev
1132017-04-04T09:03:40  *** Guyver2 has quit IRC
1142017-04-04T09:04:55  *** Guyver2 has joined #bitcoin-core-dev
1152017-04-04T09:13:12  *** BashCo has joined #bitcoin-core-dev
1162017-04-04T09:17:26  *** magicwund has joined #bitcoin-core-dev
1172017-04-04T09:22:27  *** magicwund has quit IRC
1182017-04-04T09:24:08  *** BashCo has quit IRC
1192017-04-04T09:26:32  *** BashCo has joined #bitcoin-core-dev
1202017-04-04T09:34:54  <da2ce7> I have updated both my Bitcoin Knots and Bitcoin Core 0.14 patches for BIP 148
1212017-04-04T09:34:57  <da2ce7> https://github.com/da2ce7/bitcoin/tree/bitcoin0.14_bip148
1222017-04-04T09:35:05  <da2ce7> https://github.com/da2ce7/bitcoin/tree/knotsbip148
1232017-04-04T09:35:34  <da2ce7> Core Review would be most appreciated.
1242017-04-04T09:42:06  <da2ce7> In particular this pull request need code-review: https://github.com/bitcoin/bips/pull/512
1252017-04-04T09:42:17  <da2ce7> luke-jr: ^
1262017-04-04T09:43:16  *** ChillazZ has joined #bitcoin-core-dev
1272017-04-04T09:43:28  *** Creeper has joined #bitcoin-core-dev
1282017-04-04T09:51:06  <bitcoin-git> [bitcoin] sipa opened pull request #10148: Use non-atomic flushing with block replay (master...non_atomic_flush) https://github.com/bitcoin/bitcoin/pull/10148
1292017-04-04T09:51:50  <gmaxwell> \O/
1302017-04-04T10:02:41  *** BashCo_ has joined #bitcoin-core-dev
1312017-04-04T10:03:27  *** rockhouse has joined #bitcoin-core-dev
1322017-04-04T10:04:04  *** rockhouse has quit IRC
1332017-04-04T10:04:04  *** rockhouse has joined #bitcoin-core-dev
1342017-04-04T10:06:08  *** BashCo has quit IRC
1352017-04-04T10:16:45  *** voyager_ has quit IRC
1362017-04-04T10:17:24  *** BashCo has joined #bitcoin-core-dev
1372017-04-04T10:18:01  *** BashCo_ has quit IRC
1382017-04-04T10:24:29  *** BashCo has quit IRC
1392017-04-04T10:26:05  *** BashCo has joined #bitcoin-core-dev
1402017-04-04T10:28:41  *** To7 has quit IRC
1412017-04-04T10:30:30  *** Josianne has quit IRC
1422017-04-04T10:32:07  *** voyager_ has joined #bitcoin-core-dev
1432017-04-04T10:34:52  *** JackH has joined #bitcoin-core-dev
1442017-04-04T10:49:31  *** BashCo_ has joined #bitcoin-core-dev
1452017-04-04T10:52:08  *** wasi has joined #bitcoin-core-dev
1462017-04-04T10:52:29  *** BashCo has quit IRC
1472017-04-04T10:53:21  *** voyager_ has quit IRC
1482017-04-04T10:57:44  *** Rudolph has joined #bitcoin-core-dev
1492017-04-04T10:58:05  *** Rudolph is now known as Guest21798
1502017-04-04T11:01:25  *** Guest21798 has quit IRC
1512017-04-04T11:01:49  *** Nicholas2 has joined #bitcoin-core-dev
1522017-04-04T11:02:06  *** harding has joined #bitcoin-core-dev
1532017-04-04T11:04:26  *** Nicholas2 has quit IRC
1542017-04-04T11:06:08  *** Casandra has joined #bitcoin-core-dev
1552017-04-04T11:07:18  *** voyager_ has joined #bitcoin-core-dev
1562017-04-04T11:14:00  *** voyager_ has quit IRC
1572017-04-04T11:18:33  *** magicwund has joined #bitcoin-core-dev
1582017-04-04T11:22:57  *** magicwund has quit IRC
1592017-04-04T11:23:51  *** voyager_ has joined #bitcoin-core-dev
1602017-04-04T11:29:13  *** voyager_ has quit IRC
1612017-04-04T11:38:31  *** e4xit has quit IRC
1622017-04-04T11:40:13  *** voyager_ has joined #bitcoin-core-dev
1632017-04-04T11:43:17  *** voyager_ has quit IRC
1642017-04-04T11:45:04  *** To7 has joined #bitcoin-core-dev
1652017-04-04T11:57:59  *** magicwund has joined #bitcoin-core-dev
1662017-04-04T12:02:29  *** magicwund has quit IRC
1672017-04-04T12:10:29  *** alpalp has joined #bitcoin-core-dev
1682017-04-04T12:10:29  *** alpalp has joined #bitcoin-core-dev
1692017-04-04T12:50:32  *** BashCo has joined #bitcoin-core-dev
1702017-04-04T12:53:57  *** BashCo_ has quit IRC
1712017-04-04T12:54:48  *** BashCo has quit IRC
1722017-04-04T13:01:34  *** BashCo has joined #bitcoin-core-dev
1732017-04-04T13:02:18  *** emucode_ is now known as emucode
1742017-04-04T13:05:56  *** Samdney has joined #bitcoin-core-dev
1752017-04-04T13:08:59  *** rafalcpp_ has quit IRC
1762017-04-04T13:09:17  *** rafalcpp has joined #bitcoin-core-dev
1772017-04-04T13:13:02  *** magicwund has joined #bitcoin-core-dev
1782017-04-04T13:14:47  *** BashCo_ has joined #bitcoin-core-dev
1792017-04-04T13:15:48  *** BashCo has quit IRC
1802017-04-04T13:15:56  *** condomitti has joined #bitcoin-core-dev
1812017-04-04T13:18:27  *** magicwund has quit IRC
1822017-04-04T13:20:27  *** talmai has joined #bitcoin-core-dev
1832017-04-04T13:20:32  *** laurentmt has joined #bitcoin-core-dev
1842017-04-04T13:42:48  *** talmai has quit IRC
1852017-04-04T13:43:47  *** talmai has joined #bitcoin-core-dev
1862017-04-04T13:47:26  *** Giszmo has joined #bitcoin-core-dev
1872017-04-04T14:02:40  *** magicwund has joined #bitcoin-core-dev
1882017-04-04T14:03:43  *** BashCo has joined #bitcoin-core-dev
1892017-04-04T14:04:18  *** moli_ has joined #bitcoin-core-dev
1902017-04-04T14:05:32  *** BashCo_ has quit IRC
1912017-04-04T14:07:27  *** magicwund has quit IRC
1922017-04-04T14:09:11  *** BashCo_ has joined #bitcoin-core-dev
1932017-04-04T14:09:15  *** laurentmt has quit IRC
1942017-04-04T14:11:37  *** BashCo has quit IRC
1952017-04-04T14:19:49  *** alp has joined #bitcoin-core-dev
1962017-04-04T14:21:00  *** alpalp has quit IRC
1972017-04-04T14:23:28  *** belcher has quit IRC
1982017-04-04T14:23:58  *** talmai has quit IRC
1992017-04-04T14:27:59  *** talmai has joined #bitcoin-core-dev
2002017-04-04T14:37:46  *** BashCo has joined #bitcoin-core-dev
2012017-04-04T14:39:27  *** BashCo_ has quit IRC
2022017-04-04T14:42:33  *** magicwund has joined #bitcoin-core-dev
2032017-04-04T14:42:59  *** voyager_ has joined #bitcoin-core-dev
2042017-04-04T14:50:18  *** voyager_ has quit IRC
2052017-04-04T14:54:12  *** talmai has quit IRC
2062017-04-04T15:00:03  *** riemann has quit IRC
2072017-04-04T15:14:56  *** condomitti has quit IRC
2082017-04-04T15:29:28  *** Samdney has quit IRC
2092017-04-04T15:43:47  *** talmai has joined #bitcoin-core-dev
2102017-04-04T15:44:31  *** paveljanik has joined #bitcoin-core-dev
2112017-04-04T15:47:22  *** BashCo has quit IRC
2122017-04-04T15:50:35  *** BashCo has joined #bitcoin-core-dev
2132017-04-04T15:54:24  *** BashCo_ has joined #bitcoin-core-dev
2142017-04-04T15:54:57  *** Casandra has quit IRC
2152017-04-04T15:55:48  *** BashCo has quit IRC
2162017-04-04T15:56:27  *** abpa has joined #bitcoin-core-dev
2172017-04-04T16:07:20  *** midnightmagic has quit IRC
2182017-04-04T16:11:23  *** jtimon has joined #bitcoin-core-dev
2192017-04-04T16:11:47  *** Giszmo has quit IRC
2202017-04-04T16:14:24  *** midnightmagic has joined #bitcoin-core-dev
2212017-04-04T16:17:09  *** CubicEarthh has joined #bitcoin-core-dev
2222017-04-04T16:33:17  *** jannes has quit IRC
2232017-04-04T16:42:05  *** bsm117532 has joined #bitcoin-core-dev
2242017-04-04T16:43:14  *** Petra has joined #bitcoin-core-dev
2252017-04-04T16:43:35  *** Petra is now known as Guest46583
2262017-04-04T16:47:10  *** waxwing has quit IRC
2272017-04-04T16:56:30  *** condomitti has joined #bitcoin-core-dev
2282017-04-04T16:58:11  *** grubles has quit IRC
2292017-04-04T17:01:49  *** waxwing has joined #bitcoin-core-dev
2302017-04-04T17:01:58  *** grubles has joined #bitcoin-core-dev
2312017-04-04T17:01:58  *** grubles has joined #bitcoin-core-dev
2322017-04-04T17:07:39  *** moli_ has quit IRC
2332017-04-04T17:08:11  *** moli_ has joined #bitcoin-core-dev
2342017-04-04T17:09:37  *** Samdney has joined #bitcoin-core-dev
2352017-04-04T17:18:35  *** BashCo_ has quit IRC
2362017-04-04T17:24:14  *** kexkey has joined #bitcoin-core-dev
2372017-04-04T17:25:56  *** condomitti_ has joined #bitcoin-core-dev
2382017-04-04T17:28:04  *** condomitti has quit IRC
2392017-04-04T17:30:06  *** condomitti__ has joined #bitcoin-core-dev
2402017-04-04T17:30:18  *** condomitti_ has quit IRC
2412017-04-04T17:35:11  *** condomitti__ has quit IRC
2422017-04-04T17:35:33  *** condomitti__ has joined #bitcoin-core-dev
2432017-04-04T17:38:53  *** condomitti has joined #bitcoin-core-dev
2442017-04-04T17:40:38  *** condomitti__ has quit IRC
2452017-04-04T17:45:11  *** condomitti has quit IRC
2462017-04-04T17:46:16  *** condomitti has joined #bitcoin-core-dev
2472017-04-04T17:49:59  *** condomitti_ has joined #bitcoin-core-dev
2482017-04-04T17:52:34  *** condomitti has quit IRC
2492017-04-04T17:55:41  *** condomitti_ has quit IRC
2502017-04-04T17:57:02  *** condomitti has joined #bitcoin-core-dev
2512017-04-04T18:00:01  *** midnightmagic has quit IRC
2522017-04-04T18:04:32  *** BashCo has joined #bitcoin-core-dev
2532017-04-04T18:09:51  <bsm117532> Does P2SH entirely eliminate scriptSig malleability?
2542017-04-04T18:11:37  <luke-jr> ? it's not intended to
2552017-04-04T18:12:47  <bsm117532> I know, but it seems to me it could, if the scriptSig was required to be:   OP_HASH160 [20-byte-hash-value] OP_EQUAL
2562017-04-04T18:13:53  <bsm117532> s/scriptSig/scriptPubKey/
2572017-04-04T18:15:41  *** condomitti has quit IRC
2582017-04-04T18:16:12  *** condomitti has joined #bitcoin-core-dev
2592017-04-04T18:16:24  <bsm117532> and if non-pushdata in the scriptSig were consensus-enforced.
2602017-04-04T18:17:02  <bitcoin-git> [bitcoin] jnewbery opened pull request #10150: [rpc Add logging rpc (master...logging_rpc) https://github.com/bitcoin/bitcoin/pull/10150
2612017-04-04T18:17:33  *** condomitti_ has joined #bitcoin-core-dev
2622017-04-04T18:17:43  *** condomitti has quit IRC
2632017-04-04T18:22:58  *** jtimon has quit IRC
2642017-04-04T18:23:01  *** kadoban has quit IRC
2652017-04-04T18:23:26  *** kadoban has joined #bitcoin-core-dev
2662017-04-04T18:25:19  <sipa> bsm117532: the scriptSig still needs to contain the inputs to the redeemscript (ecdsa signatures etc)
2672017-04-04T18:25:51  <bsm117532> sipa of course, but I *think* that leaves low-S malleation as the only malleation for P2SH transactions?
2682017-04-04T18:26:03  <sipa> read bip62
2692017-04-04T18:26:09  <bsm117532> I am...
2702017-04-04T18:26:17  <sipa> it lists 9 sources of malleability :)
2712017-04-04T18:26:34  <bsm117532> My question is: does bitcoin consensus-enforce the statements in BIP16 about disallowing non-pushdata?
2722017-04-04T18:27:04  <sipa> i believe so
2732017-04-04T18:27:18  <bsm117532> Because it seems to me that would disallow all non-low-S-malleation types of malleability.
2742017-04-04T18:27:37  *** talmai has quit IRC
2752017-04-04T18:28:16  <sipa> what if your redeemscript contains a silly OP_DROP?
2762017-04-04T18:29:03  <bsm117532> That's fine but it was committed to in the P2SH hash...
2772017-04-04T18:29:09  <sipa> no
2782017-04-04T18:29:14  <bsm117532> So you're saying I can create a stupid script which allows malleability...
2792017-04-04T18:29:20  <sipa> the redeemscript is committed to
2802017-04-04T18:29:24  <sipa> its inputs are not
2812017-04-04T18:29:28  <bsm117532> exactly
2822017-04-04T18:29:40  <sipa> you can have redeemscripts that ignore inputs
2832017-04-04T18:29:53  <bsm117532> Ok, I can handle that by not writing script containing OP_DROP ;-)
2842017-04-04T18:29:54  <sipa> or allow multiple variants at least
2852017-04-04T18:30:13  <sipa> i can't force everyone sending me transactions to not use such scripts
2862017-04-04T18:30:26  <bsm117532> Of course not, but within my software stack I'm not going to do things like that.. ;-)
2872017-04-04T18:30:56  <bsm117532> That's a good attack to consider though...
2882017-04-04T18:30:58  * bsm117532 ponders...
2892017-04-04T18:31:33  *** condomitti__ has joined #bitcoin-core-dev
2902017-04-04T18:33:57  *** condomitti_ has quit IRC
2912017-04-04T18:34:20  * bsm117532 has already written a segwit implementation...I wish I could just use that...
2922017-04-04T18:34:27  <sipa> also, if there is a multisig involved, one of the parties can just create a new ecdsa signature
2932017-04-04T18:34:41  <sipa> that is an issue for many contracts
2942017-04-04T18:35:04  <sipa> and not something that simple requirements of a canonical form can ever fix
2952017-04-04T18:35:12  <sipa> (but segwit does)
2962017-04-04T18:35:24  <bsm117532> Is there no enforcement of deterministic signatures?
2972017-04-04T18:35:35  <sipa> ecdsa signatures are not deterministic
2982017-04-04T18:35:37  <adiabat> it's not possible to enforce
2992017-04-04T18:35:52  <sipa> and requiring them to be requires revealing the private key
3002017-04-04T18:36:03  <bsm117532> gotcha
3012017-04-04T18:36:16  <bsm117532> ah yeah the determinism algorithm hashes the privkey...
3022017-04-04T18:36:29  <sipa> you may want BLS :p
3032017-04-04T18:36:49  <adiabat> half the size too :)
3042017-04-04T18:36:57  <bsm117532> I'll have to wrap my brain around BLS later.  Gotta work around malleability instead. :-(
3052017-04-04T18:37:48  <sipa> you want segwit </jeditrick>
3062017-04-04T18:38:12  <bsm117532> So to work around existing malleability, I'm going to use P2SH transactions (with no OP_DROPs), and try to detect low-S-malleations.
3072017-04-04T18:38:25  <bsm117532> sipa: Did I mention I already wrote this for segwit?  It works great on my regtest!
3082017-04-04T18:39:11  <adiabat> bsm117532: the problem is op_drops can show up in the sigscript, which is not covered by the p2sh script hash
3092017-04-04T18:39:40  <bsm117532> adiabat: as I understand it, an OP_DROP in a P2SH scriptSig would be disallowed by consensus rules.
3102017-04-04T18:39:52  <bsm117532> (because it has to be only data pushes)
3112017-04-04T18:40:20  <sipa> in the scriptSig it is disallowed
3122017-04-04T18:40:26  <sipa> in the redeemscript it isn't
3132017-04-04T18:40:56  <bsm117532> Yes.  So I'd only have malleability if I create a redeemscript that allows for a malleable scriptSig.
3142017-04-04T18:41:14  <bsm117532> (and I can control the redeemscript as long as someone doesn't hack my software)
3152017-04-04T18:41:20  <sipa> which every multisig check does
3162017-04-04T18:41:45  <bsm117532> sipa: how?
3172017-04-04T18:42:03  <sipa> as OP_CHECKMULTISIG pops one element off the stack without looking at it
3182017-04-04T18:42:14  <bsm117532> oh balls you're right
3192017-04-04T18:42:30  <sipa> and your cosigners can always malleate, as i've explained
3202017-04-04T18:42:40  <bsm117532> Then I can't use a multisig script...not a problem actually.
3212017-04-04T18:43:28  <bsm117532> I'll just use a P2SH where the redeemscript is a P2PKH script...
3222017-04-04T18:43:29  <adiabat> It's very hard to prevent different txids; dealing with it in a way that nobody loses money is oftern easier
3232017-04-04T18:45:36  <bsm117532> adiabat: for me that requires detecting malleation and in some cases writing new transactions (I have pre-signed, off-chain transactions).  Hence why I'm trying to determine all the forms of malleation I might see...
3242017-04-04T18:45:56  *** talmai has joined #bitcoin-core-dev
3252017-04-04T18:47:58  <sipa> there is no proof that there are no other forms of ecdsa malleabillity, bte
3262017-04-04T18:48:01  <sipa> w
3272017-04-04T18:48:20  <sipa> (though it seems very unlikely)
3282017-04-04T18:48:21  <adiabat> detecting it could be as simple as detecting that the same utxos are being spent
3292017-04-04T18:49:17  <bsm117532> adiabat: yes, I'll do that.  Detection is fine but I'm also trying to figure out how to write transactions to minimize the possibility.
3302017-04-04T18:50:39  <adiabat> if it's just 1 signer, and that signer is you, then it's often not too bad if the txid changes.  you can deal with it
3312017-04-04T18:50:52  <bsm117532> yep yep
3322017-04-04T18:51:14  <adiabat> and you'll have to write that code anyway I think, as you can't really prevent if 100%
3332017-04-04T18:51:33  <bsm117532> Segwit does :-P
3342017-04-04T18:58:24  *** jtimon has joined #bitcoin-core-dev
3352017-04-04T18:58:48  *** Giszmo has joined #bitcoin-core-dev
3362017-04-04T19:03:08  <bsm117532> Heh this is an interesting script: <Pubkey> OP_SWAP OP_CHECKSIG
3372017-04-04T19:03:21  <bsm117532> Then the scriptSig is only the signature (no pubkey)
3382017-04-04T19:05:15  <bsm117532> I was thinking of using a P2PKH script as the script for a P2SH, but the one above would be smaller by ~20 bytes
3392017-04-04T19:06:21  <sdaftuar> you don't need the OP_SWAP?
3402017-04-04T19:06:45  <bsm117532> I was wondering that...
3412017-04-04T19:08:19  <bsm117532> But if I'm reading this right, my stack will be <pubkey> <sig>... and it needs to be the opposite?
3422017-04-04T19:13:23  <sdaftuar> no, does not need to be the opposite (trace what happens in a P2PKH spend).
3432017-04-04T19:13:47  <bsm117532> sdaftuar: thanks
3442017-04-04T19:23:56  <bitcoin-git> [bitcoin] jnewbery opened pull request #10151: [logging] initialize flag variable to 0 (and continue if GetLogCategory() fails) (master...logging_initialization) https://github.com/bitcoin/bitcoin/pull/10151
3452017-04-04T19:28:58  *** chjj has quit IRC
3462017-04-04T19:29:25  *** midnightmagic has joined #bitcoin-core-dev
3472017-04-04T19:31:48  *** chjj has joined #bitcoin-core-dev
3482017-04-04T19:40:44  *** Twice has joined #bitcoin-core-dev
3492017-04-04T19:44:46  *** CubicEarthh has quit IRC
3502017-04-04T19:46:38  *** CubicEarthh has joined #bitcoin-core-dev
3512017-04-04T20:06:58  *** chjj has quit IRC
3522017-04-04T20:07:00  *** str4d has joined #bitcoin-core-dev
3532017-04-04T20:09:10  *** mol has joined #bitcoin-core-dev
3542017-04-04T20:10:57  *** moli_ has quit IRC
3552017-04-04T20:12:21  *** midnightmagic has quit IRC
3562017-04-04T20:13:14  *** chjj has joined #bitcoin-core-dev
3572017-04-04T20:14:55  *** midnightmagic has joined #bitcoin-core-dev
3582017-04-04T20:16:03  *** moli_ has joined #bitcoin-core-dev
3592017-04-04T20:17:28  *** mol has quit IRC
3602017-04-04T20:26:09  *** mol has joined #bitcoin-core-dev
3612017-04-04T20:29:01  *** moli_ has quit IRC
3622017-04-04T20:39:57  *** condomitti__ has quit IRC
3632017-04-04T20:40:00  *** condomitti has joined #bitcoin-core-dev
3642017-04-04T20:42:13  *** condomitti has joined #bitcoin-core-dev
3652017-04-04T20:45:18  *** e4xit has joined #bitcoin-core-dev
3662017-04-04T20:46:54  *** wasi has quit IRC
3672017-04-04T20:52:30  *** condomitti has quit IRC
3682017-04-04T20:53:02  *** condomitti_ has joined #bitcoin-core-dev
3692017-04-04T20:59:22  *** molz_ has joined #bitcoin-core-dev
3702017-04-04T20:59:41  *** chjj has quit IRC
3712017-04-04T21:02:44  *** mol has quit IRC
3722017-04-04T21:06:49  *** talmai has quit IRC
3732017-04-04T21:13:00  *** condomitti_ has quit IRC
3742017-04-04T21:15:13  *** belcher has joined #bitcoin-core-dev
3752017-04-04T21:44:42  <bitcoin-git> [bitcoin] jnewbery opened pull request #10152: [trivial] remove unused line in Travis config (master...travis_cleanup) https://github.com/bitcoin/bitcoin/pull/10152
3762017-04-04T21:49:23  *** talmai has joined #bitcoin-core-dev
3772017-04-04T21:50:49  *** chjj has joined #bitcoin-core-dev
3782017-04-04T21:52:13  *** harrymm has quit IRC
3792017-04-04T21:57:50  *** Gary_ has joined #bitcoin-core-dev
3802017-04-04T21:58:14  *** Gary_ is now known as Guest23031
3812017-04-04T21:59:44  *** Guyver2 has quit IRC
3822017-04-04T22:03:44  *** talmai has quit IRC
3832017-04-04T22:05:44  *** Guest23031 has left #bitcoin-core-dev
3842017-04-04T22:10:45  *** harrymm has joined #bitcoin-core-dev
3852017-04-04T22:10:58  *** Chris_Stewart_5 has quit IRC
3862017-04-04T22:11:30  *** harrymm has joined #bitcoin-core-dev
3872017-04-04T22:12:25  *** Twice has quit IRC
3882017-04-04T22:25:05  *** To7 has quit IRC
3892017-04-04T22:25:49  <bitcoin-git> [bitcoin] MarcoFalke pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/72bc7e1303d5...080d7c700fc3
3902017-04-04T22:25:49  <bitcoin-git> bitcoin/master 16791c5 John Newbery: [trivial] remove unused line in Travis config
3912017-04-04T22:25:50  <bitcoin-git> bitcoin/master 080d7c7 MarcoFalke: Merge #10152: [trivial] remove unused line in Travis config...
3922017-04-04T22:26:11  <bitcoin-git> [bitcoin] MarcoFalke closed pull request #10152: [trivial] remove unused line in Travis config (master...travis_cleanup) https://github.com/bitcoin/bitcoin/pull/10152
3932017-04-04T22:35:57  *** harrymm has quit IRC
3942017-04-04T22:42:28  *** Giszmo has quit IRC
3952017-04-04T22:43:35  *** Giszmo has joined #bitcoin-core-dev
3962017-04-04T22:49:15  <bitcoin-git> [bitcoin] MarcoFalke opened pull request #10153: logging: Fix off-by-one for shrinkdebugfile default (master...Mf1704-offbyoneDebug) https://github.com/bitcoin/bitcoin/pull/10153
3972017-04-04T22:54:41  *** harrymm has joined #bitcoin-core-dev
3982017-04-04T22:56:37  *** vicenteH has quit IRC
3992017-04-04T22:59:28  *** belcher_ has joined #bitcoin-core-dev
4002017-04-04T23:01:35  *** belcher has quit IRC
4012017-04-04T23:06:35  *** bsm117532 has quit IRC
4022017-04-04T23:10:51  <bitcoin-git> [bitcoin] MarcoFalke opened pull request #10154: init: Remove redundant logging code (master...Mf1704-lognodebug) https://github.com/bitcoin/bitcoin/pull/10154
4032017-04-04T23:15:53  *** justanotheruser is now known as unmelanated_iris
4042017-04-04T23:22:14  *** magicwund has quit IRC
4052017-04-04T23:25:07  *** AaronvanW has quit IRC
4062017-04-04T23:30:34  *** unmelanated_iris is now known as justanotheruser
4072017-04-04T23:37:35  *** magicwund has joined #bitcoin-core-dev
4082017-04-04T23:41:57  *** magicwund has quit IRC
4092017-04-04T23:42:05  *** CubicEarthh has quit IRC
4102017-04-04T23:42:32  *** CubicEarthh has joined #bitcoin-core-dev