12017-06-20T00:02:48 *** vicenteH` has quit IRC
22017-06-20T00:13:19 *** lightningbot has joined #bitcoin-core-dev
32017-06-20T00:13:21 *** xhire_ has joined #bitcoin-core-dev
42017-06-20T00:13:22 *** kanzure_ has joined #bitcoin-core-dev
52017-06-20T00:13:24 *** sturles_ has joined #bitcoin-core-dev
62017-06-20T00:13:32 *** neha has quit IRC
72017-06-20T00:13:32 *** [b__b] has quit IRC
82017-06-20T00:13:32 *** ananteris has quit IRC
92017-06-20T00:13:35 *** sturles has quit IRC
102017-06-20T00:13:35 *** trippysa1mon has quit IRC
112017-06-20T00:13:36 *** ananteri1 has joined #bitcoin-core-dev
122017-06-20T00:13:39 *** davec has joined #bitcoin-core-dev
132017-06-20T00:13:47 *** trippysalmon has joined #bitcoin-core-dev
142017-06-20T00:13:53 *** roasbeef_ has joined #bitcoin-core-dev
152017-06-20T00:13:56 *** jnewbery_ has joined #bitcoin-core-dev
162017-06-20T00:13:57 *** gmaxwell_ has joined #bitcoin-core-dev
172017-06-20T00:14:00 *** array_ has joined #bitcoin-core-dev
182017-06-20T00:14:00 *** asoltys_ has joined #bitcoin-core-dev
192017-06-20T00:14:03 *** sdaftuar_ has joined #bitcoin-core-dev
202017-06-20T00:14:04 *** eenoch_ has joined #bitcoin-core-dev
212017-06-20T00:14:42 *** wolfspra1l has quit IRC
222017-06-20T00:14:44 *** Lightsword has quit IRC
232017-06-20T00:14:44 *** xHire has quit IRC
242017-06-20T00:14:44 *** morcos has quit IRC
252017-06-20T00:14:45 *** cryptapus has quit IRC
262017-06-20T00:14:45 *** gmaxwell has quit IRC
272017-06-20T00:14:45 *** kinlo_ has joined #bitcoin-core-dev
282017-06-20T00:14:56 *** Lightsword has joined #bitcoin-core-dev
292017-06-20T00:14:59 *** gribble has quit IRC
302017-06-20T00:14:59 *** kinlo has quit IRC
312017-06-20T00:15:13 *** asoltys has quit IRC
322017-06-20T00:15:13 *** array has quit IRC
332017-06-20T00:15:13 *** earlz has quit IRC
342017-06-20T00:15:13 *** fizzwont has quit IRC
352017-06-20T00:15:14 *** adam3us has quit IRC
362017-06-20T00:15:14 *** paracyst has quit IRC
372017-06-20T00:15:14 *** Guest60098 has quit IRC
382017-06-20T00:15:16 *** sdaftuar has quit IRC
392017-06-20T00:15:18 *** warren has quit IRC
402017-06-20T00:15:19 *** kanzure has quit IRC
412017-06-20T00:15:19 *** spinza has quit IRC
422017-06-20T00:15:24 *** nickler has quit IRC
432017-06-20T00:15:26 *** kinlo_ is now known as kinlo
442017-06-20T00:15:35 *** BCBot has quit IRC
452017-06-20T00:15:44 *** berndj has quit IRC
462017-06-20T00:15:44 *** lifeofguenter has quit IRC
472017-06-20T00:15:44 *** roasbeef has quit IRC
482017-06-20T00:15:45 *** betawaffle has quit IRC
492017-06-20T00:15:45 *** Victorsueca has quit IRC
502017-06-20T00:15:49 *** Guest56170 has quit IRC
512017-06-20T00:15:50 *** zxzzt has quit IRC
522017-06-20T00:15:50 *** petertodd has quit IRC
532017-06-20T00:15:56 *** jrayhawk_ has quit IRC
542017-06-20T00:15:56 *** haakonn has joined #bitcoin-core-dev
552017-06-20T00:15:57 *** eenoch has quit IRC
562017-06-20T00:16:00 *** petertod1 has joined #bitcoin-core-dev
572017-06-20T00:16:00 *** paracyst_ has joined #bitcoin-core-dev
582017-06-20T00:16:02 *** lifeofguenter has joined #bitcoin-core-dev
592017-06-20T00:16:19 *** echonaut has joined #bitcoin-core-dev
602017-06-20T00:16:19 *** haakonn is now known as Guest20283
612017-06-20T00:16:32 *** berndj has joined #bitcoin-core-dev
622017-06-20T00:16:52 *** [b__b] has joined #bitcoin-core-dev
632017-06-20T00:16:54 *** Victorsueca has joined #bitcoin-core-dev
642017-06-20T00:16:57 *** warren has joined #bitcoin-core-dev
652017-06-20T00:16:59 *** berndj has quit IRC
662017-06-20T00:17:00 *** PaulCapestany has quit IRC
672017-06-20T00:17:00 *** paveljanik has quit IRC
682017-06-20T00:17:00 *** ryan-c has quit IRC
692017-06-20T00:17:01 *** ivan has quit IRC
702017-06-20T00:17:01 *** Squidicuz has quit IRC
712017-06-20T00:17:01 *** wumpus has quit IRC
722017-06-20T00:17:01 *** kcud_dab has quit IRC
732017-06-20T00:17:07 *** bad_duck has joined #bitcoin-core-dev
742017-06-20T00:17:15 *** wumpus has joined #bitcoin-core-dev
752017-06-20T00:17:52 *** betawaffle has joined #bitcoin-core-dev
762017-06-20T00:18:06 *** ryan-c has joined #bitcoin-core-dev
772017-06-20T00:18:22 *** adam3us has joined #bitcoin-core-dev
782017-06-20T00:18:48 *** davec_ has quit IRC
792017-06-20T00:18:48 *** ivan has joined #bitcoin-core-dev
802017-06-20T00:19:33 *** morcos has joined #bitcoin-core-dev
812017-06-20T00:20:06 *** Chris_Stewart_5 has joined #bitcoin-core-dev
822017-06-20T00:20:08 *** jnewbery has quit IRC
832017-06-20T00:20:08 *** so has quit IRC
842017-06-20T00:20:45 *** zxzzt has joined #bitcoin-core-dev
852017-06-20T00:21:30 *** nickler has joined #bitcoin-core-dev
862017-06-20T00:22:40 *** gribble has joined #bitcoin-core-dev
872017-06-20T00:23:27 *** chjj has joined #bitcoin-core-dev
882017-06-20T00:23:34 *** niska has quit IRC
892017-06-20T00:23:34 *** ivan has quit IRC
902017-06-20T00:23:44 *** paveljanik has joined #bitcoin-core-dev
912017-06-20T00:24:02 *** gmaxwell_ has quit IRC
922017-06-20T00:24:02 *** gmaxwell_ has joined #bitcoin-core-dev
932017-06-20T00:24:08 *** gmaxwell_ is now known as gmaxwell
942017-06-20T00:24:37 *** berndj has joined #bitcoin-core-dev
952017-06-20T00:24:37 *** PaulCapestany has joined #bitcoin-core-dev
962017-06-20T00:24:37 *** Squidicuz has joined #bitcoin-core-dev
972017-06-20T00:26:15 *** ivan has joined #bitcoin-core-dev
982017-06-20T00:32:32 *** spinza has joined #bitcoin-core-dev
992017-06-20T00:33:14 *** niska has joined #bitcoin-core-dev
1002017-06-20T00:51:23 *** Giszmo has quit IRC
1012017-06-20T00:56:21 *** dabura667 has joined #bitcoin-core-dev
1022017-06-20T01:06:05 *** Giszmo has joined #bitcoin-core-dev
1032017-06-20T01:07:35 *** Ylbam has quit IRC
1042017-06-20T01:15:56 *** so has joined #bitcoin-core-dev
1052017-06-20T01:17:52 *** kanzure_ is now known as kanzure
1062017-06-20T01:18:24 *** marcoagn1 has joined #bitcoin-core-dev
1072017-06-20T01:19:12 *** marcoagner has quit IRC
1082017-06-20T01:31:11 *** belcher_ has joined #bitcoin-core-dev
1092017-06-20T01:42:58 *** Chris_Stewart_5 has quit IRC
1102017-06-20T01:44:24 *** Giszmo has quit IRC
1112017-06-20T01:46:09 *** CubicEarth has quit IRC
1122017-06-20T01:46:14 *** Giszmo has joined #bitcoin-core-dev
1132017-06-20T01:46:56 *** Gnof has joined #bitcoin-core-dev
1142017-06-20T01:54:01 *** nemgun1 has quit IRC
1152017-06-20T01:58:44 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1162017-06-20T02:13:18 *** Gnof__ has joined #bitcoin-core-dev
1172017-06-20T02:15:44 *** Gnof has quit IRC
1182017-06-20T02:21:02 *** whatevertest has quit IRC
1192017-06-20T02:22:39 *** Lauda_ has joined #bitcoin-core-dev
1202017-06-20T02:26:06 *** BobBarker has left #bitcoin-core-dev
1212017-06-20T02:34:53 *** Giszmo has quit IRC
1222017-06-20T02:49:15 *** Giszmo has joined #bitcoin-core-dev
1232017-06-20T03:11:55 *** belcher_ has quit IRC
1242017-06-20T03:29:13 *** PRab has joined #bitcoin-core-dev
1252017-06-20T03:36:27 *** Dyaheon has quit IRC
1262017-06-20T03:37:16 *** Gnof__ has quit IRC
1272017-06-20T03:38:49 *** Dyaheon has joined #bitcoin-core-dev
1282017-06-20T03:39:32 *** Chris_Stewart_5 has quit IRC
1292017-06-20T04:55:02 *** tripleslash has quit IRC
1302017-06-20T05:11:51 *** earlz_ is now known as earlz
1312017-06-20T05:12:51 *** Giszmo has quit IRC
1322017-06-20T05:12:52 *** rafalcpp has quit IRC
1332017-06-20T05:16:01 *** d9b4bef9 has quit IRC
1342017-06-20T05:17:07 *** d9b4bef9 has joined #bitcoin-core-dev
1352017-06-20T05:21:32 *** fizzwont_ is now known as fizzwont
1362017-06-20T05:21:43 *** fizzwont has joined #bitcoin-core-dev
1372017-06-20T06:02:01 <jonasschnelli> travis cancels jobs: " This job ran on our Trusty, sudo: required environment which will be updated on Wednesday, June 21st. Please add group: edge to your .travis.yml file to try the new images and check our blog for more details about this update."
1382017-06-20T06:03:05 <jonasschnelli> Seems only here: https://github.com/bitcoin/bitcoin/pull/10633
1392017-06-20T06:05:28 *** unholymachine_ has quit IRC
1402017-06-20T06:08:15 *** Lightsword has quit IRC
1412017-06-20T06:08:27 *** Lightsword has joined #bitcoin-core-dev
1422017-06-20T06:16:24 *** unholymachine has joined #bitcoin-core-dev
1432017-06-20T06:27:03 *** unholymachine has quit IRC
1442017-06-20T06:30:16 *** unholymachine has joined #bitcoin-core-dev
1452017-06-20T06:31:39 <luke-jr> has anyone tested that? will edge just work? :x
1462017-06-20T06:46:35 *** xhire_ is now known as xHire
1472017-06-20T06:49:12 *** JackH has quit IRC
1482017-06-20T07:02:20 *** JackH has joined #bitcoin-core-dev
1492017-06-20T07:26:29 *** goatpig has quit IRC
1502017-06-20T07:33:44 *** gribble has quit IRC
1512017-06-20T07:39:01 *** nickler has quit IRC
1522017-06-20T07:39:51 *** nickler has joined #bitcoin-core-dev
1532017-06-20T07:47:22 <MarcoFalke> jup, tested it a few days ago. No issues
1542017-06-20T07:50:20 <MarcoFalke> btw jonasschnelli. Do you think would be hard to get machine readable urls for your gitian builds?
1552017-06-20T07:50:20 *** AaronvanW has joined #bitcoin-core-dev
1562017-06-20T07:50:41 <MarcoFalke> Maybe /nightly/2017/06/19/ or /nightly/latest/
1572017-06-20T07:50:53 <jonasschnelli> Yes. I can do that...
1582017-06-20T07:51:07 <jonasschnelli> I already did that for PRs: https://bitcoin.jonasschnelli.ch/build/PR/10628
1592017-06-20T07:51:16 <MarcoFalke> Awesome, thx.
1602017-06-20T07:51:19 <jonasschnelli> (redirects to the newest build id of that PR)
1612017-06-20T07:53:06 *** Aaronvan_ has joined #bitcoin-core-dev
1622017-06-20T07:56:46 *** AaronvanW has quit IRC
1632017-06-20T08:02:19 *** gribble has joined #bitcoin-core-dev
1642017-06-20T08:02:46 <bitcoin-git> [bitcoin] dimitris-t closed pull request #10634: Fixed typos in optionsdialog.ui (master...patch-2) https://github.com/bitcoin/bitcoin/pull/10634
1652017-06-20T08:02:55 *** RoyceX has joined #bitcoin-core-dev
1662017-06-20T08:03:09 *** Cheeseo has quit IRC
1672017-06-20T08:03:23 <bitcoin-git> [bitcoin] dimitris-t closed pull request #10635: Fixed typo in rpcconsole.cpp (master...patch-3) https://github.com/bitcoin/bitcoin/pull/10635
1682017-06-20T08:10:32 *** paveljanik has quit IRC
1692017-06-20T08:12:30 <jonasschnelli> MarcoFalke: okay. Works: https://bitcoin.jonasschnelli.ch/build/nightly/latest
1702017-06-20T08:12:35 <jonasschnelli> https://bitcoin.jonasschnelli.ch/build/nightly/2017/06/17
1712017-06-20T08:21:47 *** AaronvanW has joined #bitcoin-core-dev
1722017-06-20T08:21:48 *** Aaronvan_ has quit IRC
1732017-06-20T08:23:10 *** nickler has quit IRC
1742017-06-20T08:26:49 *** sturles_ is now known as sturles
1752017-06-20T08:27:45 *** nickler has joined #bitcoin-core-dev
1762017-06-20T08:34:34 *** vicenteH has joined #bitcoin-core-dev
1772017-06-20T08:39:35 *** riemann has joined #bitcoin-core-dev
1782017-06-20T08:44:44 *** ula has joined #bitcoin-core-dev
1792017-06-20T08:49:48 *** chjj has quit IRC
1802017-06-20T08:53:42 *** timothy has joined #bitcoin-core-dev
1812017-06-20T09:03:23 *** Dyaheon has quit IRC
1822017-06-20T09:03:24 *** chjj has joined #bitcoin-core-dev
1832017-06-20T09:04:39 *** Dyaheon has joined #bitcoin-core-dev
1842017-06-20T09:13:57 *** jannes has joined #bitcoin-core-dev
1852017-06-20T09:30:56 *** laurentmt has joined #bitcoin-core-dev
1862017-06-20T09:34:18 *** laurentmt has quit IRC
1872017-06-20T09:39:15 *** laurentmt has joined #bitcoin-core-dev
1882017-06-20T09:39:25 *** laurentmt has quit IRC
1892017-06-20T10:03:24 *** laurentmt has joined #bitcoin-core-dev
1902017-06-20T10:08:20 *** array_ has quit IRC
1912017-06-20T10:26:07 *** rafalcpp has joined #bitcoin-core-dev
1922017-06-20T11:06:35 *** Dyaheon has quit IRC
1932017-06-20T11:09:19 *** Dyaheon has joined #bitcoin-core-dev
1942017-06-20T11:14:51 *** laurentmt has quit IRC
1952017-06-20T11:20:47 *** laurentmt has joined #bitcoin-core-dev
1962017-06-20T11:57:43 <bitcoin-git> [bitcoin] MarcoFalke opened pull request #10636: [qa] util: Check return code after closing bitcoind proc (master...Mf1706-qaTraceback) https://github.com/bitcoin/bitcoin/pull/10636
1972017-06-20T12:02:40 *** jeremias_ is now known as jeremias
1982017-06-20T12:09:18 *** dabura667 has quit IRC
1992017-06-20T12:19:53 *** nemgun has joined #bitcoin-core-dev
2002017-06-20T12:22:12 *** goatturneer has quit IRC
2012017-06-20T12:32:37 *** mryandao- has quit IRC
2022017-06-20T12:32:37 *** mryandao- has joined #bitcoin-core-dev
2032017-06-20T12:32:37 *** mryandao- is now known as mryandao
2042017-06-20T12:37:44 *** Chris_Stewart_5 has joined #bitcoin-core-dev
2052017-06-20T12:43:02 *** bsm1175321 has quit IRC
2062017-06-20T13:02:52 *** Aaronvan_ has joined #bitcoin-core-dev
2072017-06-20T13:04:18 *** AaronvanW has quit IRC
2082017-06-20T13:17:00 *** BCBot_ has quit IRC
2092017-06-20T13:17:18 *** BCBot has joined #bitcoin-core-dev
2102017-06-20T13:18:08 *** arowser has quit IRC
2112017-06-20T13:18:25 *** arowser has joined #bitcoin-core-dev
2122017-06-20T13:18:34 *** unholymachine has quit IRC
2132017-06-20T13:18:50 *** unholymachine has joined #bitcoin-core-dev
2142017-06-20T14:16:56 *** rockhouse has quit IRC
2152017-06-20T14:30:48 *** sdaftuar_ is now known as sdaftuar
2162017-06-20T14:31:03 *** sdaftuar has joined #bitcoin-core-dev
2172017-06-20T14:31:47 *** Dyaheon has quit IRC
2182017-06-20T14:32:32 *** Dyaheon has joined #bitcoin-core-dev
2192017-06-20T14:42:39 *** ananteri1 is now known as ananteris
2202017-06-20T14:42:43 *** ananteris has joined #bitcoin-core-dev
2212017-06-20T14:54:17 *** riemann has quit IRC
2222017-06-20T15:04:05 *** cysm has quit IRC
2232017-06-20T15:20:25 *** chjj has quit IRC
2242017-06-20T15:29:07 *** SopaXorzTaker has joined #bitcoin-core-dev
2252017-06-20T15:34:45 *** chjj has joined #bitcoin-core-dev
2262017-06-20T15:38:07 *** SopaXorzTaker has quit IRC
2272017-06-20T15:41:12 *** Ylbam has joined #bitcoin-core-dev
2282017-06-20T15:45:18 *** JackH has quit IRC
2292017-06-20T15:46:13 *** abpa has joined #bitcoin-core-dev
2302017-06-20T15:57:51 *** JackH has joined #bitcoin-core-dev
2312017-06-20T16:02:49 *** cysm has joined #bitcoin-core-dev
2322017-06-20T16:35:48 *** Dyaheon has quit IRC
2332017-06-20T16:38:12 *** Dyaheon has joined #bitcoin-core-dev
2342017-06-20T16:42:28 *** JackH has quit IRC
2352017-06-20T16:54:31 *** JackH has joined #bitcoin-core-dev
2362017-06-20T16:59:57 <sturles> If I add a watchonly address to Bitcoin Core, and it receives a transaction output, and add the private key for the same address later. Will the output become spendable without a rescan?
2372017-06-20T17:02:10 *** Giszmo has joined #bitcoin-core-dev
2382017-06-20T17:30:39 <ryanofsky_> sturles, it should unless there is a bug
2392017-06-20T17:31:55 *** paveljanik has joined #bitcoin-core-dev
2402017-06-20T17:31:55 *** paveljanik has joined #bitcoin-core-dev
2412017-06-20T17:55:29 *** SopaXorzTaker has joined #bitcoin-core-dev
2422017-06-20T17:58:26 *** timothy has quit IRC
2432017-06-20T18:02:40 <sturles> ryanofsky_: Cool! I'll try to use it with pull request #9728 in a semi-hot wallet. Just add private keys as required to fill up. Avoiding a bitcoin transaction to refill the hot wallet.
2442017-06-20T18:02:42 <gribble> https://github.com/bitcoin/bitcoin/issues/9728 | Can create Watch Only HD wallet with -hdwatchonly by NicolasDorier · Pull Request #9728 · bitcoin/bitcoin · GitHub
2452017-06-20T18:03:55 *** AaronvanW has joined #bitcoin-core-dev
2462017-06-20T18:07:09 *** Aaronvan_ has quit IRC
2472017-06-20T18:09:43 <bitcoin-git> [bitcoin] achow101 opened pull request #10637: Coin Selection with Murch's algorithm (master...bnb-coin-select) https://github.com/bitcoin/bitcoin/pull/10637
2482017-06-20T18:10:24 *** goatpig has joined #bitcoin-core-dev
2492017-06-20T18:18:00 *** alkein has joined #bitcoin-core-dev
2502017-06-20T18:26:18 <instagibbs> sturles, if you're doing p2sh you may need to pass the redeemscript as well
2512017-06-20T18:32:17 *** SopaXorzTaker has quit IRC
2522017-06-20T18:35:20 *** sipa_ has joined #bitcoin-core-dev
2532017-06-20T18:38:41 <sipa_> cfields: any idea how it is possible that passing libbitcoin_util before libbitcoin_wallet on the linking cmdline works?
2542017-06-20T18:38:48 <instagibbs> achow101, so your PR doesn't touch the looping or target behavior, just coin selection itself?
2552017-06-20T18:38:53 <achow101> yes
2562017-06-20T18:39:23 <sipa_> cfields: wallet.cpp uses FastRandomContext's constructor, which is defined in libbitcoin_util...
2572017-06-20T18:39:36 <achow101> instagibbs: It needs to use effective values and access to fee rate so I only borrowed a few parts of your effective value PR for those
2582017-06-20T18:40:43 <cfields> sipa_: they're all tangled up. iirc last time i checked, there was no ordering that wasn't circular.
2592017-06-20T18:41:00 <cfields> i worked out how it was working at that point, let me refresh my memory
2602017-06-20T18:42:45 <sipa_> but we're not passing any grouping to the linker, so it shouldn't be able to resolve circular dependencies?
2612017-06-20T18:43:00 <sipa_> i can swap util and wallet
2622017-06-20T18:43:06 <sipa_> but there are other pairs that i can't swap
2632017-06-20T18:45:38 <instagibbs> achow101, trying to decide how dangerous that is on its own. If it results in no change, but too high of a fee due to the looping, we'll dump all that value into fee :(
2642017-06-20T18:45:54 <instagibbs> knapsack specializes in exact matches, so red flags are going up for me
2652017-06-20T18:46:56 <sipa_> instagibbs: the idea is that the extra fee will not be more than what it would cost to create + spend change
2662017-06-20T18:47:09 <instagibbs> sipa_, hold on let me get the issue im speaking of
2672017-06-20T18:47:18 <sipa_> ok
2682017-06-20T18:47:24 <instagibbs> https://github.com/bitcoin/bitcoin/issues/10247
2692017-06-20T18:47:38 <instagibbs> basically what happens is if it loops it keeps accumulating what it thinks is "enough absolute fee"
2702017-06-20T18:47:56 <instagibbs> so on subsequent attempts the number of inputs may shrink dramatically, but still results in large fee
2712017-06-20T18:48:06 <instagibbs> if there's a change output, we handle it gracefully now by bumping the change
2722017-06-20T18:48:10 <instagibbs> no change, we still dump
2732017-06-20T18:48:19 <instagibbs> I attempted to address this in https://github.com/bitcoin/bitcoin/pull/10333
2742017-06-20T18:48:44 <sipa_> instagibbs: i see
2752017-06-20T18:49:05 <achow101> interesting. how would we know if that's a problem with the different coin selection?
2762017-06-20T18:49:18 <sipa_> that sounds like an existing issue that we need to fix, and perhaps the knapsack coin selection could make it worse
2772017-06-20T18:49:20 <instagibbs> well it only rears it's head on "exact matches"
2782017-06-20T18:49:24 <instagibbs> yep that ^
2792017-06-20T18:49:59 <instagibbs> imo #10333 is pretty easy to review, and is 0.15 possible if people start reviewing
2802017-06-20T18:50:00 <gribble> https://github.com/bitcoin/bitcoin/issues/10333 | [wallet] fee fixes: always create change, adjust value, and p⦠by instagibbs · Pull Request #10333 · bitcoin/bitcoin · GitHub
2812017-06-20T18:51:23 <achow101> instagibbs: so since the new coin selection is supposed to get "exact matches" more frequently, we could be running into the high fees problem?
2822017-06-20T18:52:12 <instagibbs> if it loops a few times, failing to "get enough", then when it does, it's more likely to get an exact match, then vastly overpay fees. This tends to happen on wallets with lots of utxos
2832017-06-20T18:52:56 <instagibbs> the PR you got the commits from should also fix this issue more holistically, but larger review surface
2842017-06-20T18:56:05 <cfields> sipa_: just finished what I was working on. looking and refreshing now.
2852017-06-20T18:57:13 <achow101> instagibbs: I thought about taking the entire rewritten loop from the effective value PR but I wasn't sure if that would break anything or use stuff that you changed that I didn't grab
2862017-06-20T19:05:13 <cfields> sipa_: ah, i believe it works because of the libs already added. eg. FastRandomContext was already emitted by util for server
2872017-06-20T19:05:35 *** alkein has quit IRC
2882017-06-20T19:06:37 <cfields> (I recently discussed a strategy for nuking wallet's deps on server with jonasschnelli, i believe he's begun PRing some of the necessary changes)
2892017-06-20T19:13:17 *** CubicEarth has joined #bitcoin-core-dev
2902017-06-20T19:14:12 <jonasschnelli> cfields: But that PR is a very first beginning... it would require much more work
2912017-06-20T19:15:31 <cfields> jonasschnelli: sure. I just wanted to point out that there's at least _some_ desire to work out the dependency mess :)
2922017-06-20T19:15:47 <jonasschnelli> Yes. Lets clean this up
2932017-06-20T19:19:12 <cfields> jonasschnelli: what's the PR you've already opened? I need to make sure to review/ack
2942017-06-20T19:19:18 <gmaxwell> instagibbs: at least based on the design I understand, when achows' patch does something there will be no looping because by design it picked a solution that had enough fee.
2952017-06-20T19:19:40 <jonasschnelli> cfields: #10517
2962017-06-20T19:19:42 <gribble> https://github.com/bitcoin/bitcoin/issues/10517 | Factor out CCoinsView based AreInputsStandard/IsWitnessStandard by jonasschnelli · Pull Request #10517 · bitcoin/bitcoin · GitHub
2972017-06-20T19:19:48 <jonasschnelli> (needs rebase)
2982017-06-20T19:19:50 <cfields> jonasschnelli: thanks
2992017-06-20T19:20:54 <gmaxwell> instagibbs: it takes the original target feerate as an argument and does all its calculations with effective fees, and only allows overpayment to the extent that costs equal or less than the future change spend that it avoided.
3002017-06-20T19:21:28 <instagibbs> gmaxwell, ok let me re-read, because that's what my PR is supposed to be doing, heh
3012017-06-20T19:22:13 <gmaxwell> instagibbs: no, your PR does it on everything; not just in the exact match case. Which I raised the dust inflation concern above. (which it seems no one is interested in doing anything about...)
3022017-06-20T19:22:55 <gmaxwell> This doesn't have the dust inflation concern, since it only has an effect when there is no change (thus no increase in the number of outputs).
3032017-06-20T19:25:03 <sipa_> cfields: FastRandomContext iirc is only in libbitcoin_util... how is wallet able to use it? wallet is passed later on the cmdline
3042017-06-20T19:25:21 <gmaxwell> To reiterate: the concern I have with your effective rate change is that it will make wallets be unlikely to select low effective rate coins and never select negative effective rate coins. But will still create change, which seems almost certian to cause an increase in UTXO set bloat. And this effect is mostly tangential from the problem you're trying to solve, which is related to non-convexity
3052017-06-20T19:25:27 <gmaxwell> of the fee search.
3062017-06-20T19:26:02 *** CubicEarth has quit IRC
3072017-06-20T19:26:06 <instagibbs> gmaxwell, I removed that a long time ago
3082017-06-20T19:26:40 <instagibbs> anyways, let met do a fuller review, I'm getting myself turned around
3092017-06-20T19:27:32 <cfields> sipa_: it's used by net_processing in server, which marks it as undefined. Then util resolves it. Then it's already resolved for wallet.
3102017-06-20T19:28:25 <sipa_> cfields: ugh
3112017-06-20T19:28:28 <sipa_> ok
3122017-06-20T19:29:08 <gmaxwell> instagibbs: ah, I had lost track of the fact that you had PRed a change that addressed the overpayment without doing the effective rate thing.
3132017-06-20T19:29:25 <achow101> I'm confused :(
3142017-06-20T19:29:59 <instagibbs> achow101, wallet code makes people scared and afraid, don't worry
3152017-06-20T19:30:21 <gmaxwell> instagibbs: this new PR creates dust change. :(
3162017-06-20T19:31:08 <instagibbs> gmaxwell, it tries "relatively hard" to avoid making something less than MIN_FINAL_CHANGE
3172017-06-20T19:31:21 <instagibbs> unfortunately without something smarter we just have to pick something and shoot for it
3182017-06-20T19:31:31 <instagibbs> open to ideas though
3192017-06-20T19:32:45 <achow101> gmaxwell: which PR creates dust change? Mine?
3202017-06-20T19:32:57 <gmaxwell> achow101: instagibbs
3212017-06-20T19:32:59 <instagibbs> #10333
3222017-06-20T19:33:00 <gribble> https://github.com/bitcoin/bitcoin/issues/10333 | [wallet] fee fixes: always create change, adjust value, and p⦠by instagibbs · Pull Request #10333 · bitcoin/bitcoin · GitHub
3232017-06-20T19:33:04 <achow101> ah, ok
3242017-06-20T19:34:26 <instagibbs> achow101, https://github.com/bitcoin/bitcoin/pull/10333/files#diff-b2bb174788c7409b671c46ccc86034bdR2630
3252017-06-20T19:34:28 <gmaxwell> It could use murch's hurestic to cut that down further. (Murch's hurestic is that you can throw away change if it's less that FeeRate*(34+4+1+34+74) (cost to create and spend that change output).
3262017-06-20T19:34:55 <instagibbs> so there's the "I will enver make an output this small" level which could be that ^
3272017-06-20T19:34:57 <gmaxwell> (with adjustments for different script types)
3282017-06-20T19:35:03 <instagibbs> then there's also the "I'm willing to try again"
3292017-06-20T19:35:11 <instagibbs> and get something bigger or an exact match
3302017-06-20T19:35:29 <instagibbs> toss vs rety, I mean
3312017-06-20T19:36:12 <gmaxwell> instagibbs: the patch achow submitted is fairly close to guarenteed to give an 'exact' (uses that hurestic) match if one is possible.
3322017-06-20T19:37:56 <instagibbs> so if we simply fail to get an exact match we should likely grab some buffer more we want as change, whatever that is
3332017-06-20T19:42:13 *** Dyaheon has quit IRC
3342017-06-20T19:43:22 *** Dyaheon has joined #bitcoin-core-dev
3352017-06-20T19:43:58 <gmaxwell> achow101: what instagibbs is talking about at this start of this conversation is related to how fees are handled by selecting coins, finding we need to pay a larger fee than we selected, then going back with a bigger target. What can happen now is that on one iteration you select a zillion inputs, decide you need a lot of fee, then go back, but this time your higher targets means you select onl
3362017-06-20T19:44:04 <gmaxwell> y a couple inputs, but you got close enough to your fee-inflated-target that you do not include a change output... and then you overpay fee.
3372017-06-20T19:45:10 <gmaxwell> achow101: and I think what you are intending to accomplish is completely orthorgonal with that defect. (perhaps the implementation isn't-- but the idea is)
3382017-06-20T19:45:35 <achow101> gmaxwell: oh, ok.
3392017-06-20T19:46:48 <achow101> gmaxwell: as the implementation is right now, I don't think it will exit the loop if a BnB algo passes though
3402017-06-20T19:47:40 <achow101> also, something else to consider is if the BnB algo fails on one loop so it falls back to the original algo, but then on the next pass (with the fee regtarget thing) the BnB algo passes. I'm not sure what would happen in that case
3412017-06-20T19:49:55 <instagibbs> lots of fee, I think
3422017-06-20T19:51:26 <gmaxwell> achow101: thats the "perhaps the implemetation isn't-- but the idea is" part. Probably the BnB should just be skipped after the first iteration.
3432017-06-20T20:04:12 *** LeMiner has quit IRC
3442017-06-20T20:04:43 <gmaxwell> instagibbs: I think your 10333 is more attractive in light of achow's PR, assuming they were correctly combined. Since his PR will do a pretty good job of finding a changless solution, if there is one, I think it's fine to make the rest of the behavior just assume there will be change. Though perhaps I gave achow bad advice on the integration. I suggested just replacing out the selectcoins p
3452017-06-20T20:04:49 <gmaxwell> art in order to avoid having to handle coincontrol and fee-from-amount.
3462017-06-20T20:05:55 <gmaxwell> combined naievely it will be pretty bad.
3472017-06-20T20:07:32 *** Cheeseo has joined #bitcoin-core-dev
3482017-06-20T20:09:50 *** RoyceX has quit IRC
3492017-06-20T20:20:43 *** schmidty_ has joined #bitcoin-core-dev
3502017-06-20T20:21:40 *** schmidty_ has quit IRC
3512017-06-20T20:21:40 *** schmidty_ has joined #bitcoin-core-dev
3522017-06-20T20:33:42 *** RoyceX has joined #bitcoin-core-dev
3532017-06-20T20:36:43 *** Cheeseo has quit IRC
3542017-06-20T20:42:59 <cfields> jonasschnelli: ping. still around?
3552017-06-20T20:43:43 *** schmidty_ is now known as schmidty
3562017-06-20T20:44:55 <gaf_> is any reason to worry about segwitx2 has about 77~ or who cares about it, because this donest affecting anything?
3572017-06-20T20:44:58 *** owowo has quit IRC
3582017-06-20T20:45:50 *** chjj has quit IRC
3592017-06-20T20:50:01 *** owowo has joined #bitcoin-core-dev
3602017-06-20T20:52:45 <instagibbs> gmaxwell, if we limit the BnB stuff to the first step, this removes any need for 10333 to correct any additional bad behavior
3612017-06-20T20:57:37 *** nemgun has quit IRC
3622017-06-20T20:58:01 *** nemgun has joined #bitcoin-core-dev
3632017-06-20T20:58:02 *** arubi has quit IRC
3642017-06-20T20:58:24 *** arubi has joined #bitcoin-core-dev
3652017-06-20T20:59:48 *** chjj has joined #bitcoin-core-dev
3662017-06-20T21:02:50 <ProfMac> If not here, where can I discuss this?
3672017-06-20T21:02:53 <ProfMac> I have a set of directories, sandbox-1493974463, sandbox-1494226733, and the like. I have set up a git server, and put the earliest sandbox under git control following, e.g., https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server Now I want to move to the next sandbox. I assume I need to do git {init, remote add, ...} but I am a little wobbly about "pull" The goal is to add the changes in the 2nd sandb
3682017-06-20T21:03:41 *** rockhouse has joined #bitcoin-core-dev
3692017-06-20T21:06:26 *** neel has joined #bitcoin-core-dev
3702017-06-20T21:26:17 <bitcoin-git> [bitcoin] practicalswift opened pull request #10638: [rpc] Clarify pblock assumption via an assertion (master...nnonce) https://github.com/bitcoin/bitcoin/pull/10638
3712017-06-20T21:27:50 *** laurentmt has quit IRC
3722017-06-20T21:29:20 *** neel has quit IRC
3732017-06-20T21:29:45 <gmaxwell> instagibbs: hm? perhaps I don't get your comment. Are you saying 10333 is not needed post achow making his pr run only on the first step?
3742017-06-20T21:38:01 *** Chris_Stewart_5 has quit IRC
3752017-06-20T21:39:15 <instagibbs> gmaxwell, I don't think it's needed for the first BnB run, but just as needed otherwise as before
3762017-06-20T21:46:56 *** talmai has joined #bitcoin-core-dev
3772017-06-20T21:47:32 *** Dyaheon has quit IRC
3782017-06-20T21:48:03 *** Dyaheon has joined #bitcoin-core-dev
3792017-06-20T21:50:11 <gmaxwell> instagibbs: okay agreed.
3802017-06-20T21:51:14 <gmaxwell> instagibbs: question I have is with all those changes, should the exact match attempt just be taken out of the loop? it will mean duplicating recipent pays fes logic.
3812017-06-20T21:51:38 *** chjj has quit IRC
3822017-06-20T21:59:18 <gmaxwell> instagibbs: I was also thinking of another strategy for your loop logic that I think may be better and more clear: target=amount; 1. Assume change. Attempt selection. if it fails is there a saved solution? if so return that. Compute fees? if not increase target to current fees, goto 1. Can change be elimiated (<murch hurestic) if so do so and return solution. If not, is the change above the M
3832017-06-20T21:59:24 <gmaxwell> IN_CHANGE? if so then stop and take that one. If not, save the solution, and target=max(amount+fee+min_change, target*1.01) and goto 1.
3842017-06-20T21:59:44 *** neel has joined #bitcoin-core-dev
3852017-06-20T22:00:23 <gmaxwell> so basically it guarentees the target goes up with every iteration, and only gives up and uses the dusty solution if its already tried raising the target beyond the wallet's capacity.
3862017-06-20T22:01:36 <gmaxwell> it doesn't make any real attempt to avoid change, since I assume achow101's first step handles that.. though if it happens to find itself with an acceptably changeless solution then it will accept it.
3872017-06-20T22:04:22 *** talmai has quit IRC
3882017-06-20T22:04:50 *** chjj has joined #bitcoin-core-dev
3892017-06-20T22:10:23 *** echonaut has quit IRC
3902017-06-20T22:15:09 *** lightningbot has joined #bitcoin-core-dev
3912017-06-20T22:15:15 *** davec_ has joined #bitcoin-core-dev
3922017-06-20T22:15:20 *** sturles_ has joined #bitcoin-core-dev
3932017-06-20T22:15:20 *** abpa has joined #bitcoin-core-dev
3942017-06-20T22:15:25 *** luke-jr has quit IRC
3952017-06-20T22:15:25 *** wolfspraul has quit IRC
3962017-06-20T22:15:27 *** ananteris has quit IRC
3972017-06-20T22:15:32 *** ananteri1 is now known as ananteris
3982017-06-20T22:15:33 *** [b__b] has quit IRC
3992017-06-20T22:15:33 *** trippysalmon has quit IRC
4002017-06-20T22:15:33 *** sturles has quit IRC
4012017-06-20T22:15:33 *** kinlo has quit IRC
4022017-06-20T22:15:35 *** luke-jr has joined #bitcoin-core-dev
4032017-06-20T22:15:40 *** kinlo has joined #bitcoin-core-dev
4042017-06-20T22:15:53 *** RoyceX has quit IRC
4052017-06-20T22:15:53 *** RoyceX has joined #bitcoin-core-dev
4062017-06-20T22:15:55 *** ananteris has quit IRC
4072017-06-20T22:15:55 *** ananteris has joined #bitcoin-core-dev
4082017-06-20T22:16:00 *** neel has joined #bitcoin-core-dev
4092017-06-20T22:16:13 *** [b__b] has joined #bitcoin-core-dev
4102017-06-20T22:17:03 <instagibbs> "should the exact match attempt just be taken out of the loop" had this exact thought. It's something to look at imo.
4112017-06-20T22:17:53 *** rockhouse has quit IRC
4122017-06-20T22:18:57 *** echonaut has quit IRC
4132017-06-20T22:19:14 <instagibbs> what would a "saved solution" be in this case?
4142017-06-20T22:19:47 *** davec has quit IRC
4152017-06-20T22:19:47 <gmaxwell> saved solution would just be the transaction, one where the solution was viable but had non-eliminatable change under the min_change target.
4162017-06-20T22:19:49 *** echonaut has joined #bitcoin-core-dev
4172017-06-20T22:19:49 *** echonaut has quit IRC
4182017-06-20T22:20:27 <gmaxwell> so we keep looking (with ever higher targets) after it, hoping to get something that passes, but if we don't we can return the dusty one.
4192017-06-20T22:20:28 *** luke-jr has quit IRC
4202017-06-20T22:20:39 *** lukedashjr has joined #bitcoin-core-dev
4212017-06-20T22:20:57 *** echonaut has joined #bitcoin-core-dev
4222017-06-20T22:22:52 <instagibbs> ah, so if < dust, accept, < min_change, save and try again higher, loop
4232017-06-20T22:23:35 <gmaxwell> yea, so long as the loop increases enough each iteration it'll terminate in acceptable time.
4242017-06-20T22:24:51 <gmaxwell> so, e.g. when the wallet doesn't have enough in it to meet min_change you'll go for that the next iteration, find your selection fails, then take the slightly dusty one from the last go.
4252017-06-20T22:25:04 *** lukedashjr is now known as luke-jr
4262017-06-20T22:26:05 *** gribble has joined #bitcoin-core-dev
4272017-06-20T22:26:50 *** talmai has joined #bitcoin-core-dev
4282017-06-20T22:34:43 *** talmai has quit IRC
4292017-06-20T22:43:24 *** nemgun1 has joined #bitcoin-core-dev
4302017-06-20T22:45:07 *** nemgun1 has quit IRC
4312017-06-20T22:46:51 *** nemgun has quit IRC
4322017-06-20T22:47:28 *** vicenteH has quit IRC
4332017-06-20T22:55:32 *** chjj has quit IRC
4342017-06-20T23:06:52 *** AaronvanW has quit IRC
4352017-06-20T23:07:26 *** AaronvanW has joined #bitcoin-core-dev
4362017-06-20T23:09:26 *** chjj has joined #bitcoin-core-dev
4372017-06-20T23:10:05 *** jannes has quit IRC
4382017-06-20T23:12:30 *** str4d has joined #bitcoin-core-dev
4392017-06-20T23:13:25 *** neel has quit IRC
4402017-06-20T23:13:34 *** laurentmt has joined #bitcoin-core-dev
4412017-06-20T23:14:06 *** laurentmt has quit IRC
4422017-06-20T23:17:07 <bitcoin-git> [bitcoin] sipa pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/c38f540298f0...d636f3943d39
4432017-06-20T23:17:08 <bitcoin-git> bitcoin/master 4265bf3 practicalswift: Remove unreachable or otherwise redundant code
4442017-06-20T23:17:08 <bitcoin-git> bitcoin/master d636f39 Pieter Wuille: Merge #10536: Remove unreachable or otherwise redundant code...
4452017-06-20T23:17:28 *** tripleslash has joined #bitcoin-core-dev
4462017-06-20T23:17:33 <bitcoin-git> [bitcoin] sipa closed pull request #10536: Remove unreachable or otherwise redundant code (master...unreachable) https://github.com/bitcoin/bitcoin/pull/10536
4472017-06-20T23:18:37 *** tripleslash has quit IRC
4482017-06-20T23:18:46 *** tripleslash has joined #bitcoin-core-dev
4492017-06-20T23:19:03 *** nelruk has joined #bitcoin-core-dev
4502017-06-20T23:19:22 *** tripleslash has joined #bitcoin-core-dev
4512017-06-20T23:19:45 *** tripleslash is now known as Guest24724
4522017-06-20T23:20:57 *** Guest24724 is now known as [\\\]
4532017-06-20T23:21:10 *** [\\\] has joined #bitcoin-core-dev
4542017-06-20T23:23:13 *** Giszmo has quit IRC
4552017-06-20T23:35:11 *** belcher_ has joined #bitcoin-core-dev
4562017-06-20T23:37:35 *** nelruk has quit IRC
4572017-06-20T23:38:31 *** Giszmo has joined #bitcoin-core-dev
4582017-06-20T23:45:20 *** str4d has quit IRC
4592017-06-20T23:59:25 *** abpa has quit IRC