12016-04-13T00:00:01  *** fengling has quit IRC
  22016-04-13T00:40:24  *** Chris_Stewart_5 has joined #bitcoin-core-dev
  32016-04-13T00:53:01  *** murch has quit IRC
  42016-04-13T00:53:27  *** johnwhitton has joined #bitcoin-core-dev
  52016-04-13T01:09:03  *** TomMc has joined #bitcoin-core-dev
  62016-04-13T01:17:52  *** Chris_Stewart_5 has quit IRC
  72016-04-13T01:17:57  *** TomMc has quit IRC
  82016-04-13T01:23:40  *** TomMc has joined #bitcoin-core-dev
  92016-04-13T01:30:18  *** dermoth has quit IRC
 102016-04-13T01:30:43  *** TomMc has quit IRC
 112016-04-13T01:30:59  *** dermoth has joined #bitcoin-core-dev
 122016-04-13T02:00:19  *** dermoth has quit IRC
 132016-04-13T02:01:01  *** dermoth has joined #bitcoin-core-dev
 142016-04-13T02:10:05  *** fengling has joined #bitcoin-core-dev
 152016-04-13T02:11:54  *** xiangfu has joined #bitcoin-core-dev
 162016-04-13T02:16:47  *** randy-waterhouse has joined #bitcoin-core-dev
 172016-04-13T02:20:56  <GitHub177> [bitcoin] mrCertified opened pull request #7867: deleted Configure.ac restore bits to all networks(%master%masterCode[{rLi}]) (master...patch-1) https://github.com/bitcoin/bitcoin/pull/7867
 182016-04-13T02:30:36  *** Squidicuz has joined #bitcoin-core-dev
 192016-04-13T02:31:31  *** jtimon has quit IRC
 202016-04-13T02:44:19  *** mrkent has quit IRC
 212016-04-13T02:54:59  <GitHub91> [bitcoin] theuni opened pull request #7868: net: Split DNS resolving functionality out of net structures (master...net-cleanup-resolve) https://github.com/bitcoin/bitcoin/pull/7868
 222016-04-13T03:05:01  *** Alopex has quit IRC
 232016-04-13T03:06:07  *** Alopex has joined #bitcoin-core-dev
 242016-04-13T03:21:03  *** TomMc has joined #bitcoin-core-dev
 252016-04-13T03:21:13  *** Luke-Jr has quit IRC
 262016-04-13T03:23:33  *** Luke-Jr has joined #bitcoin-core-dev
 272016-04-13T03:25:01  *** Alopex has quit IRC
 282016-04-13T03:26:06  *** Alopex has joined #bitcoin-core-dev
 292016-04-13T03:31:24  *** johnwhitton has quit IRC
 302016-04-13T03:32:44  *** xiangfu has quit IRC
 312016-04-13T03:33:04  *** johnwhitton has joined #bitcoin-core-dev
 322016-04-13T03:34:38  *** mrkent has joined #bitcoin-core-dev
 332016-04-13T03:43:48  *** xiangfu has joined #bitcoin-core-dev
 342016-04-13T03:47:10  *** TomMc has quit IRC
 352016-04-13T03:48:46  *** mrkent has quit IRC
 362016-04-13T03:59:41  *** xiangfu has quit IRC
 372016-04-13T04:00:41  *** TomMc has joined #bitcoin-core-dev
 382016-04-13T04:12:58  *** Giszmo has quit IRC
 392016-04-13T04:23:12  *** TomMc has quit IRC
 402016-04-13T04:44:34  *** binns has quit IRC
 412016-04-13T04:44:44  *** binns has joined #bitcoin-core-dev
 422016-04-13T05:24:55  *** mrkent has joined #bitcoin-core-dev
 432016-04-13T05:31:59  *** mrkent has quit IRC
 442016-04-13T05:32:24  *** mrkent has joined #bitcoin-core-dev
 452016-04-13T05:34:36  *** PaulCapestany has quit IRC
 462016-04-13T05:34:57  *** PaulCapestany has joined #bitcoin-core-dev
 472016-04-13T05:51:30  *** Arnavion has quit IRC
 482016-04-13T05:52:51  *** Arnavion has joined #bitcoin-core-dev
 492016-04-13T05:54:36  *** fengling has quit IRC
 502016-04-13T06:00:06  *** dermoth has quit IRC
 512016-04-13T06:00:51  *** dermoth has joined #bitcoin-core-dev
 522016-04-13T06:22:35  *** d_t has quit IRC
 532016-04-13T06:23:05  *** cryptocoder has joined #bitcoin-core-dev
 542016-04-13T06:23:52  <cryptocoder> hi everyone
 552016-04-13T06:24:38  <cryptocoder> not sure if this is the right place for this, but how come the windows release for core 0.12 does not seem to have zmq support in it?
 562016-04-13T06:26:30  *** fengling has joined #bitcoin-core-dev
 572016-04-13T06:28:36  *** Ylbam has joined #bitcoin-core-dev
 582016-04-13T06:38:14  <jonasschnelli> cryptocoder: IIRC there where problems with static linking...
 592016-04-13T06:38:22  * jonasschnelli is searching the exact reason
 602016-04-13T06:38:50  <jonasschnelli> cryptocoder: https://github.com/bitcoin/bitcoin/issues/6681
 612016-04-13T06:40:21  <cryptocoder> ah! thank you jonasschnelli.  I was hoping i’m not missing something obvious
 622016-04-13T06:40:58  <jonasschnelli> cryptocoder: I think you could hack the depends/ build system to link it dynamic.
 632016-04-13T06:41:28  <jonasschnelli> Or compile it on a window machine (not cc), but not sure how this exactly works.
 642016-04-13T06:43:14  <jonasschnelli> sipa, wumpus: reindex with LMDB took ~11h (same machine where a full sync with master took 2h20'). Now reindexing the master levelDB node.
 652016-04-13T06:52:20  *** mrkent has quit IRC
 662016-04-13T07:03:12  *** Ylbam has quit IRC
 672016-04-13T07:03:26  *** cjcj_ has quit IRC
 682016-04-13T07:03:44  *** Ylbam has joined #bitcoin-core-dev
 692016-04-13T07:17:47  *** muuqwaul has quit IRC
 702016-04-13T07:24:50  *** paveljanik has quit IRC
 712016-04-13T07:45:22  *** cryptocoder has quit IRC
 722016-04-13T07:57:54  *** cryptocoder has joined #bitcoin-core-dev
 732016-04-13T08:14:11  *** jannes has joined #bitcoin-core-dev
 742016-04-13T08:20:01  *** Alopex has quit IRC
 752016-04-13T08:21:07  *** Alopex has joined #bitcoin-core-dev
 762016-04-13T08:42:24  *** AaronvanW has joined #bitcoin-core-dev
 772016-04-13T08:59:21  *** mrkent has joined #bitcoin-core-dev
 782016-04-13T09:12:50  <jonasschnelli> wumpus: LMDB reindex with -dbcache=9000: >11h, levelDB with -dbcache=8000: 2h25'.
 792016-04-13T09:13:07  <jonasschnelli> (the IBD from random peers was a couple of minutes faster... i'm confused)
 802016-04-13T09:13:33  <jonasschnelli> I wonder where we the performance bottleneck with LMDB is.
 812016-04-13T09:14:22  <sipa> that's very strange!
 822016-04-13T09:24:20  *** laurentmt has joined #bitcoin-core-dev
 832016-04-13T09:28:39  *** rgrant has joined #bitcoin-core-dev
 842016-04-13T09:28:54  <btcdrak> Completely backwards
 852016-04-13T09:30:18  *** Guyver2 has joined #bitcoin-core-dev
 862016-04-13T09:30:32  <sipa> especially since neither should be touched the database at all
 872016-04-13T09:30:42  <sipa> with such dbcache
 882016-04-13T09:35:43  *** mrkent has quit IRC
 892016-04-13T09:39:43  *** johnwhitton has quit IRC
 902016-04-13T09:39:48  *** AtashiCon has quit IRC
 912016-04-13T09:39:53  *** Arnavion3 has joined #bitcoin-core-dev
 922016-04-13T09:39:56  *** Arnavion3 is now known as AtashiCon
 932016-04-13T09:41:48  *** randy-waterhouse has quit IRC
 942016-04-13T09:42:01  *** arowser_ has joined #bitcoin-core-dev
 952016-04-13T09:43:44  *** davec_ has joined #bitcoin-core-dev
 962016-04-13T09:47:25  *** Bootvis_ has joined #bitcoin-core-dev
 972016-04-13T09:47:52  *** jannes has quit IRC
 982016-04-13T09:47:52  *** davec has quit IRC
 992016-04-13T09:47:52  *** arowser has quit IRC
1002016-04-13T09:47:52  *** gevs has quit IRC
1012016-04-13T09:47:53  *** [b__b] has quit IRC
1022016-04-13T09:47:53  *** Bootvis has quit IRC
1032016-04-13T09:51:46  *** [b__b] has joined #bitcoin-core-dev
1042016-04-13T09:53:38  *** jannes has joined #bitcoin-core-dev
1052016-04-13T09:53:58  *** MarcoFalke has joined #bitcoin-core-dev
1062016-04-13T09:54:08  *** gevs has joined #bitcoin-core-dev
1072016-04-13T10:04:27  *** fengling_ has joined #bitcoin-core-dev
1082016-04-13T10:04:36  *** fengling has quit IRC
1092016-04-13T10:18:06  *** AaronvanW has quit IRC
1102016-04-13T10:23:24  *** niels_ has joined #bitcoin-core-dev
1112016-04-13T10:26:08  *** mesmer has quit IRC
1122016-04-13T10:27:12  *** bad_duck has quit IRC
1132016-04-13T10:28:26  *** bad_duck has joined #bitcoin-core-dev
1142016-04-13T10:28:46  *** fengling_ has quit IRC
1152016-04-13T10:31:44  *** gribble has quit IRC
1162016-04-13T10:32:31  *** go111111111 has quit IRC
1172016-04-13T10:32:50  *** zxzzt has quit IRC
1182016-04-13T10:33:27  *** Squidicuz has quit IRC
1192016-04-13T10:33:27  *** gribble has joined #bitcoin-core-dev
1202016-04-13T10:35:05  <shangzhou> sipa:http://bitcoin.sipa.be/ data is not up to date
1212016-04-13T10:38:57  <sipa> shangzhou: thanks, fixing
1222016-04-13T10:41:25  *** zxzzt has joined #bitcoin-core-dev
1232016-04-13T10:54:06  <sipa> shangzhou: done
1242016-04-13T10:58:19  *** AaronvanW has joined #bitcoin-core-dev
1252016-04-13T11:04:02  <shangzhou> thanks @sipa
1262016-04-13T11:04:42  <sipa> i upgraded my node to 0.12 and the new rpcauth mechanism, but didn't give the credentials to the script generating the website
1272016-04-13T11:22:51  *** cryptapus has joined #bitcoin-core-dev
1282016-04-13T11:29:26  *** davec_ has quit IRC
1292016-04-13T11:30:04  *** davec has joined #bitcoin-core-dev
1302016-04-13T11:34:36  *** cryptocoder_ has joined #bitcoin-core-dev
1312016-04-13T11:35:52  *** fkhan_ has quit IRC
1322016-04-13T11:36:28  *** phantomcircuit has quit IRC
1332016-04-13T11:36:29  *** neha has quit IRC
1342016-04-13T11:36:37  *** neha has joined #bitcoin-core-dev
1352016-04-13T11:37:04  *** niels_ has quit IRC
1362016-04-13T11:37:04  *** MarcoFalke has quit IRC
1372016-04-13T11:37:04  *** cryptocoder has quit IRC
1382016-04-13T11:37:05  *** heath has quit IRC
1392016-04-13T11:37:05  *** cryptocoder_ is now known as cryptocoder
1402016-04-13T11:37:31  *** fkhan_ has joined #bitcoin-core-dev
1412016-04-13T11:38:23  *** heath has joined #bitcoin-core-dev
1422016-04-13T11:39:29  *** niels_ has joined #bitcoin-core-dev
1432016-04-13T11:41:33  *** phantomcircuit has joined #bitcoin-core-dev
1442016-04-13T11:43:40  <wumpus> jonasschnelli: interesting - so a reindex is slow with LMDB, but a sync from another node is fast? Greg did a benchmark with a sync from another node and LMDB came out much faster: https://github.com/laanwj/bitcoin/tree/2016_04_mdb#x86_64  . Also wonder where the bottleneck is, but will add it to the performance results
1452016-04-13T11:44:18  <jonasschnelli> wumpus: Both are slower. IBD and reindex.
1462016-04-13T11:44:25  <wumpus> okay
1472016-04-13T11:44:41  <wumpus> have you tried with the default dbcache as well?
1482016-04-13T11:44:58  <wumpus> maybe the 5GB write transaction is what gets it
1492016-04-13T11:44:58  <jonasschnelli> No... you mean a reindex with default dbache?
1502016-04-13T11:45:24  <wumpus> yes. You've done so with dbcache 9000, which means it fills to about ~5gb without using the database, then it writes everything at once
1512016-04-13T11:45:36  <wumpus> lmdb seems to shine in read latency, but it could be the big write is slow
1522016-04-13T11:45:50  <wumpus> with such a large dbcache it never reads so that part isn't measured
1532016-04-13T11:46:23  <jonasschnelli> wumpus: From looking at the "log speed" (very efficient benchmark technique :) ), lmdb seems to be slower during non-write operations.
1542016-04-13T11:46:43  <jonasschnelli> But i'll do now compare a reindex with no other options.
1552016-04-13T11:46:57  <wumpus> but with such a high dbcache, syncing from scratch, it doesn't touch the database at all
1562016-04-13T11:47:12  <jonasschnelli> That is what is really strange...
1572016-04-13T11:47:25  <jonasschnelli> maybe another change from your lmdb branch causes this.
1582016-04-13T11:47:33  <jonasschnelli> Haven't had time to debug it tough.
1592016-04-13T11:47:35  <wumpus> if everyone used dbcache=9000 we wouldn't need a database at all, we could just store the utxo set in a linear file
1602016-04-13T11:48:41  <jonasschnelli> Indeed. Just hope there is no crash before the big write. :)
1612016-04-13T11:48:49  <sipa> jonasschnelli: can you run with debug=bench, and show the resulting debug.log?
1622016-04-13T11:49:01  <jonasschnelli> sipa: ah. Right. Let me do that.
1632016-04-13T11:49:27  * jonasschnelli is shutting down bitcoind with -dbcache=9000,... waits...
1642016-04-13T11:50:22  <sipa> --- 3 hours later ---
1652016-04-13T11:51:10  <jonasschnelli> Hei! There is a SSD! :)
1662016-04-13T11:51:35  <jonasschnelli> Example bench (lmdb): height: 82804, Connect total: 0.14ms [22.08s]
1672016-04-13T11:51:48  <jonasschnelli> Verify 0 txins: 0.03ms (0.000ms/txin) [15.22s], Index writing: 0.05ms [3.19s]
1682016-04-13T11:51:51  <jonasschnelli> Maybe index writing?
1692016-04-13T11:52:02  <wumpus> height 82804 isn't very interesting yet :)
1702016-04-13T11:52:14  <jonasschnelli> Yeah. Can't start top down. :)
1712016-04-13T11:53:24  <wumpus> but anyhow in one light I like your result jonasschnelli, it would mean that leveldb is ok+ and there's no need to even spend time investigationg switching to something else
1722016-04-13T11:54:15  <wumpus> if both sqlite and lmdb came out slower - then again Greg's benchmark showed something completely different that's curious
1732016-04-13T11:54:50  <wumpus> you're using a SSD? don't know what his storage device was
1742016-04-13T11:55:39  <sipa> except if lmdb's final full UTXO set dump took ~9h longer than leveldb's, i can't explain jonasschnelli's result
1752016-04-13T11:56:15  <jonasschnelli> Yes. Lets first find out where the time/cycles is/are consumed.
1762016-04-13T11:57:46  <jonasschnelli> wumpus: Yes. I'm using SSD. The write speed is somewhere around 1GB/s.
1772016-04-13T11:57:46  *** niels_ has quit IRC
1782016-04-13T12:11:18  *** muuqwaul has joined #bitcoin-core-dev
1792016-04-13T12:13:15  *** laurentmt has quit IRC
1802016-04-13T12:13:38  *** niels_ has joined #bitcoin-core-dev
1812016-04-13T12:15:46  *** Chris_Stewart_5 has joined #bitcoin-core-dev
1822016-04-13T12:27:39  *** Thireus has quit IRC
1832016-04-13T12:30:48  *** mm_1 has quit IRC
1842016-04-13T12:58:28  *** Giszmo has joined #bitcoin-core-dev
1852016-04-13T13:08:56  *** arowser_ has quit IRC
1862016-04-13T13:09:27  *** arowser has joined #bitcoin-core-dev
1872016-04-13T13:15:34  *** cryptapus__ has joined #bitcoin-core-dev
1882016-04-13T13:15:34  *** cryptapus__ has joined #bitcoin-core-dev
1892016-04-13T13:18:43  *** cryptapus has quit IRC
1902016-04-13T13:22:32  *** cryptapus__ is now known as cryptapus
1912016-04-13T13:23:13  *** muuqwaul has quit IRC
1922016-04-13T13:23:40  *** muuqwaul has joined #bitcoin-core-dev
1932016-04-13T13:26:20  *** rgrant has left #bitcoin-core-dev
1942016-04-13T13:26:27  *** muuqwaul has quit IRC
1952016-04-13T13:26:54  *** muuqwaul has joined #bitcoin-core-dev
1962016-04-13T13:35:03  *** sanada` has joined #bitcoin-core-dev
1972016-04-13T13:35:23  *** cryptocoder_ has joined #bitcoin-core-dev
1982016-04-13T13:38:37  *** harding_ has joined #bitcoin-core-dev
1992016-04-13T13:39:44  *** windsok_ has joined #bitcoin-core-dev
2002016-04-13T13:40:45  *** wump has joined #bitcoin-core-dev
2012016-04-13T13:42:09  *** Amnez777- has joined #bitcoin-core-dev
2022016-04-13T13:43:00  *** wumpus has quit IRC
2032016-04-13T13:43:05  *** wump is now known as wumpus
2042016-04-13T13:43:40  *** cryptocoder has quit IRC
2052016-04-13T13:43:41  *** ryan-c has quit IRC
2062016-04-13T13:43:41  *** sanada has quit IRC
2072016-04-13T13:43:41  *** Amnez777 has quit IRC
2082016-04-13T13:43:41  *** Madars has quit IRC
2092016-04-13T13:43:41  *** harding has quit IRC
2102016-04-13T13:43:41  *** BlueMatt has quit IRC
2112016-04-13T13:43:41  *** windsok has quit IRC
2122016-04-13T13:43:41  *** cryptocoder_ is now known as cryptocoder
2132016-04-13T13:47:17  *** ryan`c has joined #bitcoin-core-dev
2142016-04-13T13:47:45  *** muuqwaul has quit IRC
2152016-04-13T13:48:05  *** BlueMatt has joined #bitcoin-core-dev
2162016-04-13T13:48:07  *** ryan`c is now known as ryan-c
2172016-04-13T13:48:09  *** muuqwaul has joined #bitcoin-core-dev
2182016-04-13T13:50:08  *** d_t has joined #bitcoin-core-dev
2192016-04-13T13:50:22  *** Chris_Stewart_5 has quit IRC
2202016-04-13T13:50:27  *** Madars has joined #bitcoin-core-dev
2212016-04-13T13:57:19  *** muuqwaul has quit IRC
2222016-04-13T13:57:45  *** muuqwaul has joined #bitcoin-core-dev
2232016-04-13T14:01:27  <jonasschnelli> Verify 1245 txins: 131.58ms (0.106ms/txin) [6447.02s]
2242016-04-13T14:01:34  <jonasschnelli> Is the value in the [] the total value so far?
2252016-04-13T14:02:44  *** wangchun has quit IRC
2262016-04-13T14:03:06  <sipa> yes
2272016-04-13T14:04:35  *** Chris_Stewart_5 has joined #bitcoin-core-dev
2282016-04-13T14:05:25  <jonasschnelli> Running two hours so far. Looks like most time is consumed for verify (as expected). But still not clear why lmdb takes ~5 times longer...
2292016-04-13T14:09:59  *** wangchun has joined #bitcoin-core-dev
2302016-04-13T14:19:04  *** TGYRKCLVLB has joined #bitcoin-core-dev
2312016-04-13T14:22:01  <jonasschnelli> Current Master at block 200'000: Connect total: 33.82ms [331.59s]
2322016-04-13T14:22:14  <jonasschnelli> LMDB at block 200'000: Connect total: 125.55ms [1466.35s]
2332016-04-13T14:22:43  <sipa> are you sure the LMDB is with dbcache set high?
2342016-04-13T14:22:45  * jonasschnelli is checking if the wumpus lmdb branch uses libsecp
2352016-04-13T14:23:00  <sipa> jonasschnelli: show me the verify lines
2362016-04-13T14:23:00  <jonasschnelli> no. Now its with default dbcache
2372016-04-13T14:23:09  <sipa> both leveldb and lmdb?
2382016-04-13T14:23:13  <jonasschnelli> yes.
2392016-04-13T14:23:16  <sipa> oh, ok
2402016-04-13T14:23:25  <jonasschnelli> LMDB block 200k: Verify 1231 txins: 121.49ms (0.099ms/txin) [1385.86s
2412016-04-13T14:23:44  *** TGYRKCLVLB has quit IRC
2422016-04-13T14:23:49  <jonasschnelli> leveldb: Verify 1231 txins: 28.88ms (0.023ms/txin) [262.67s]
2432016-04-13T14:24:09  <sipa> are they running with the same -par?
2442016-04-13T14:24:20  <jonasschnelli> Yes. Passed only -debug=bench
2452016-04-13T14:24:52  <jonasschnelli> nononono!
2462016-04-13T14:25:23  <jonasschnelli> lmdb node -> git branch -> master!
2472016-04-13T14:25:32  <sipa> ?
2482016-04-13T14:25:55  <jonasschnelli> I'm actually not testing against LMDB i'm testing again non-libsecp-master from nov 1st!
2492016-04-13T14:26:01  <jonasschnelli> Damit!
2502016-04-13T14:26:06  <sipa> lol
2512016-04-13T14:26:19  <sipa> libsecp was merged on nov 5th :)
2522016-04-13T14:26:43  <sipa> thank for benchmarking the improvements we've made the past 5 months, then... they turn out to be significant
2532016-04-13T14:26:47  <jonasschnelli> Somewhere during git re-set I forget to pass a "git checkout 2016_04_mdb".
2542016-04-13T14:29:22  <GitHub190> [bitcoin] mrbandrews opened pull request #7871: Manual block file pruning. (master...ba-manual6) https://github.com/bitcoin/bitcoin/pull/7871
2552016-04-13T14:35:26  *** TomMc has joined #bitcoin-core-dev
2562016-04-13T14:38:52  *** wumpus has quit IRC
2572016-04-13T14:38:52  *** arowser has quit IRC
2582016-04-13T14:39:14  *** arowser has joined #bitcoin-core-dev
2592016-04-13T14:41:25  *** wumpus has joined #bitcoin-core-dev
2602016-04-13T14:41:57  *** ebfull has quit IRC
2612016-04-13T14:42:18  *** ebfull has joined #bitcoin-core-dev
2622016-04-13T14:42:29  *** cryptapus has quit IRC
2632016-04-13T14:42:40  *** cryptapus has joined #bitcoin-core-dev
2642016-04-13T14:42:40  *** cryptapus has joined #bitcoin-core-dev
2652016-04-13T14:44:25  *** muuqwaul has quit IRC
2662016-04-13T14:44:47  *** muuqwaul has joined #bitcoin-core-dev
2672016-04-13T14:54:28  *** KHCkjhv has joined #bitcoin-core-dev
2682016-04-13T14:56:07  *** belcher has joined #bitcoin-core-dev
2692016-04-13T14:58:34  *** KHCkjhv has quit IRC
2702016-04-13T14:58:57  *** KHCkjhv has joined #bitcoin-core-dev
2712016-04-13T15:04:19  <sdaftuar> so, MAX_OPS_PER_SCRIPT includes op codes not executed?  i didn't expect that.
2722016-04-13T15:05:26  <Chris_Stewart_5> ^^^^
2732016-04-13T15:05:55  <Chris_Stewart_5> even more interesting, if MAST is implemented what does that mean???
2742016-04-13T15:06:22  <Chris_Stewart_5> if I understasnd correctly MAST only reveals branches of our control structure that are actually executed
2752016-04-13T15:06:27  <sipa> exactly
2762016-04-13T15:06:36  <sipa> and for the ones not executed, you give their hash
2772016-04-13T15:07:01  <Chris_Stewart_5> sipa: Does MAST change the data structure from a List to a Tree inside of interpreter?
2782016-04-13T15:07:09  <sipa> that depends on the implementation
2792016-04-13T15:07:21  <sipa> it's just a generic idea
2802016-04-13T15:07:31  <sipa> i haven't looked at jl2012's specific proposal
2812016-04-13T15:08:26  <Chris_Stewart_5> sipa: Going off what we were talking about yesterday, are we constrained to realistically implementing this as a list for fear of unintended consensus changes?
2822016-04-13T15:08:37  <sipa> no
2832016-04-13T15:08:49  <sipa> no script versions can easily use a completely independent interpreter
2842016-04-13T15:08:54  <sipa> *new script versions
2852016-04-13T15:08:57  <Chris_Stewart_5> ahh ok
2862016-04-13T15:10:54  <jl2012> sipa: It's like your tree signature. I just compact everyone to become 3 arguments: position, path, script . (Actually I borrowed your original segwit code when the commitment was a Merkle tree)
2872016-04-13T15:13:05  <jl2012> and the depth is implied by the size of path
2882016-04-13T15:14:59  <jl2012> Chris_Stewart_5: it's very similar to P2SH and P2WSH. Just with 2 extra arguments
2892016-04-13T15:16:04  <Chris_Stewart_5> jl2012: I understand that part, I for specific implementation details I"m getting caught up on 'Position' and 'Path' and how they are different
2902016-04-13T15:16:28  <Chris_Stewart_5> It seems that if you have the path that the script takes in the tree you could derive its position..
2912016-04-13T15:17:17  <jl2012> First you divide the size of Path by 32, which is the Depth of the tree
2922016-04-13T15:17:52  <instagibbs> Chris_Stewart_5, I believe path is the hashes in the tree, the position will tell you how to build the branch
2932016-04-13T15:18:08  <instagibbs> jl2012, you might want to make it explicit, as I had trouble understanding it first go around as well
2942016-04-13T15:18:16  <instagibbs> and if I'm wrong, doubly so :P
2952016-04-13T15:18:34  <jl2012> instagibbs, yes, you are right
2962016-04-13T15:18:38  <Chris_Stewart_5> hmm ok
2972016-04-13T15:18:58  <instagibbs> I had to read between the lines tbh, since path had to be multiple of 32 bytes, i inferred it was sha hash
2982016-04-13T15:19:25  <jl2012> for Depth (d), you may have at most 2^d possible Position
2992016-04-13T15:19:45  <jl2012> Position = 0 means the leftmost position in the tree
3002016-04-13T15:20:11  <Chris_Stewart_5> jl2012: Leftmost... what exactly doe that mean? THe left most leaf node if you were to draw the tree out?
3012016-04-13T15:20:17  <instagibbs> yes
3022016-04-13T15:20:22  <jl2012> yes
3032016-04-13T15:20:45  <jl2012> same as the Merkle Root in the block header
3042016-04-13T15:21:08  <instagibbs> jl2012, mind if I write a clarification text? do I PR directly against the bip repo or yours?
3052016-04-13T15:21:48  <jl2012> instagibbs, please feel free, just a direct PR to BIP repo, thanks
3062016-04-13T15:23:32  <Chris_Stewart_5> So path is essentially a vector of sha256 hashes.. why do we exactly need the position arg again? instagibbs said for building the branch, can you be more explicit than that? Some how reconstructing the script from the hashes?
3072016-04-13T15:25:07  <sipa> Chris_Stewart_5: if your leaves are (a,b,c,d) then root=H(H(a,b),H(c,d)), right?
3082016-04-13T15:25:15  <Chris_Stewart_5> yes
3092016-04-13T15:25:27  <sipa> if you want leaf b, you need to reveal a and H(c,d), right?
3102016-04-13T15:25:40  <Chris_Stewart_5> yes
3112016-04-13T15:25:40  <sipa> so your path would be (a,H(c,d))
3122016-04-13T15:26:06  <sipa> if you want leaf c, however, you reveal (d,H(a,b))
3132016-04-13T15:26:35  <Chris_Stewart_5> so position = 3?
3142016-04-13T15:26:49  <sipa> if you reveal b, position = 1
3152016-04-13T15:26:52  <sipa> if you reveal c, position = 2
3162016-04-13T15:26:57  <sipa> etc
3172016-04-13T15:26:58  <Chris_Stewart_5> ahh zero based index
3182016-04-13T15:27:02  <Chris_Stewart_5> gotcha. Thanks.
3192016-04-13T15:27:03  <sipa> of course :p
3202016-04-13T15:27:34  * instagibbs fortran user detected
3212016-04-13T15:28:27  <Chris_Stewart_5> lol
3222016-04-13T15:29:11  <jl2012> programmers count from 0
3232016-04-13T15:29:31  *** niels_ has quit IRC
3242016-04-13T15:31:05  <Chris_Stewart_5> I think I forgot to turn on the CS part of my brain this morning... it was almost like I was a normal person for a while :P
3252016-04-13T15:31:40  *** Thireus has joined #bitcoin-core-dev
3262016-04-13T15:31:41  <Chris_Stewart_5> *looks around for more coffee*
3272016-04-13T15:34:39  *** AaronvanW has quit IRC
3282016-04-13T15:35:15  *** earlest has joined #bitcoin-core-dev
3292016-04-13T15:42:06  *** laurentmt has joined #bitcoin-core-dev
3302016-04-13T15:44:06  *** earlest has quit IRC
3312016-04-13T15:44:07  *** BlueMatt_ has joined #bitcoin-core-dev
3322016-04-13T15:44:16  *** muuqwaul has quit IRC
3332016-04-13T15:44:16  *** wangchun has quit IRC
3342016-04-13T15:44:16  *** BlueMatt has quit IRC
3352016-04-13T15:44:16  *** btcdrak has quit IRC
3362016-04-13T15:44:32  *** earlest has joined #bitcoin-core-dev
3372016-04-13T15:46:10  *** wangchun has joined #bitcoin-core-dev
3382016-04-13T15:46:30  *** TomMc has quit IRC
3392016-04-13T15:47:07  *** niels_ has joined #bitcoin-core-dev
3402016-04-13T15:49:33  <instagibbs> jl2012, https://github.com/bitcoin/bips/pull/369
3412016-04-13T15:49:35  <instagibbs> let me know of quibbles etc
3422016-04-13T15:51:28  *** laurentmt1 has joined #bitcoin-core-dev
3432016-04-13T15:51:34  <jl2012> thanks!
3442016-04-13T15:52:12  *** laurentmt has quit IRC
3452016-04-13T15:52:12  *** laurentmt1 is now known as laurentmt
3462016-04-13T15:52:16  *** btcdrak has joined #bitcoin-core-dev
3472016-04-13T15:52:52  <instagibbs> the merkle branch also has to be "minimal", but I figure anyone who skims the merkle root function would arrive at that
3482016-04-13T15:53:04  <instagibbs> and really should just copypasta that function if need be
3492016-04-13T15:53:41  <instagibbs> maybe branch singular already means that, no idea
3502016-04-13T15:58:49  *** crescendo has quit IRC
3512016-04-13T15:58:59  *** niels_ has quit IRC
3522016-04-13T15:59:05  *** crescendo has joined #bitcoin-core-dev
3532016-04-13T15:59:54  <wumpus> jonasschnelli: hahah oops! good to know that's the issue, that was an old branch
3542016-04-13T16:01:21  *** abritoid has quit IRC
3552016-04-13T16:02:13  <wumpus> I remember having made a similar mistake at least once, testing another branch then I thought I was testing, then spending quite some time debuggin why it didnt work as expected. I think around the time of the boost to evhttpd switch.
3562016-04-13T16:05:21  *** AaronvanW has joined #bitcoin-core-dev
3572016-04-13T16:06:12  *** earlest has quit IRC
3582016-04-13T16:06:30  *** laurentmt has quit IRC
3592016-04-13T16:06:36  *** earlest has joined #bitcoin-core-dev
3602016-04-13T16:09:00  <jl2012> instagibbs: what do you mean by minimal?
3612016-04-13T16:11:18  <instagibbs> it only deals with the nodes it needs to compute a single path
3622016-04-13T16:14:47  <jl2012> I think it's implied by the design
3632016-04-13T16:28:05  *** cryptocoder has quit IRC
3642016-04-13T16:29:21  *** cryptocoder has joined #bitcoin-core-dev
3652016-04-13T16:32:52  <Chris_Stewart_5> probably better to be explicit..
3662016-04-13T16:34:33  <instagibbs> Copying and pasting the tiny function call is pretty explicit and no work
3672016-04-13T16:38:26  *** TomMc has joined #bitcoin-core-dev
3682016-04-13T16:44:38  *** murch has joined #bitcoin-core-dev
3692016-04-13T16:54:17  *** AaronvanW has quit IRC
3702016-04-13T16:55:16  *** paveljanik has joined #bitcoin-core-dev
3712016-04-13T16:55:16  *** paveljanik has joined #bitcoin-core-dev
3722016-04-13T16:55:51  <jl2012> Chris_Stewart_5, instagibbs: more comments added to the reference implementation https://github.com/jl2012/bips/blob/bip114ref/bip-0114.mediawiki#Reference_Implementation
3732016-04-13T16:56:25  <instagibbs> ACK :)
3742016-04-13T17:09:10  *** Chris_Stewart_5 has quit IRC
3752016-04-13T17:11:37  *** TomMc has quit IRC
3762016-04-13T17:12:10  *** molz has quit IRC
3772016-04-13T17:12:27  *** molz has joined #bitcoin-core-dev
3782016-04-13T17:21:06  *** laurentmt has joined #bitcoin-core-dev
3792016-04-13T17:21:08  *** laurentmt has quit IRC
3802016-04-13T17:36:43  *** AaronvanW has joined #bitcoin-core-dev
3812016-04-13T17:37:38  *** AaronvanW has quit IRC
3822016-04-13T17:47:49  *** d_t has joined #bitcoin-core-dev
3832016-04-13T17:48:57  *** earlest has quit IRC
3842016-04-13T17:49:22  *** earlest has joined #bitcoin-core-dev
3852016-04-13T18:10:42  *** johnwhitton has joined #bitcoin-core-dev
3862016-04-13T18:10:59  *** Thireus1 has joined #bitcoin-core-dev
3872016-04-13T18:12:31  *** moli has joined #bitcoin-core-dev
3882016-04-13T18:13:54  *** Thireus has quit IRC
3892016-04-13T18:14:34  *** molz has quit IRC
3902016-04-13T18:16:54  *** TomMc has joined #bitcoin-core-dev
3912016-04-13T18:36:32  *** PaulCape_ has joined #bitcoin-core-dev
3922016-04-13T18:37:35  *** mrkent has joined #bitcoin-core-dev
3932016-04-13T18:37:38  *** Alopex has quit IRC
3942016-04-13T18:37:38  *** da2ce7_mobile has quit IRC
3952016-04-13T18:37:38  *** jyap has quit IRC
3962016-04-13T18:37:46  *** jyap has joined #bitcoin-core-dev
3972016-04-13T18:37:46  *** jyap has joined #bitcoin-core-dev
3982016-04-13T18:38:18  *** goregrind has joined #bitcoin-core-dev
3992016-04-13T18:38:43  *** wangchun has quit IRC
4002016-04-13T18:39:17  *** PaulCapestany has quit IRC
4012016-04-13T18:39:17  *** goregrin1 has quit IRC
4022016-04-13T18:39:18  *** morcos has quit IRC
4032016-04-13T18:39:18  *** aj has quit IRC
4042016-04-13T18:39:18  *** TD-Linux has quit IRC
4052016-04-13T18:39:18  *** warren has quit IRC
4062016-04-13T18:39:18  *** OxADADA has quit IRC
4072016-04-13T18:39:49  *** zxzzt has quit IRC
4082016-04-13T18:40:39  *** wangchun has joined #bitcoin-core-dev
4092016-04-13T18:41:07  *** aj has joined #bitcoin-core-dev
4102016-04-13T18:41:08  *** OxADADA has joined #bitcoin-core-dev
4112016-04-13T18:41:20  *** morcos has joined #bitcoin-core-dev
4122016-04-13T18:41:28  *** zxzzt has joined #bitcoin-core-dev
4132016-04-13T18:41:49  *** shangzhou has quit IRC
4142016-04-13T18:41:51  *** limpkin has quit IRC
4152016-04-13T18:45:18  *** TD-Linux has joined #bitcoin-core-dev
4162016-04-13T18:45:30  *** da2ce7_mobile has joined #bitcoin-core-dev
4172016-04-13T18:49:40  *** warren has joined #bitcoin-core-dev
4182016-04-13T18:51:28  *** limpkin has joined #bitcoin-core-dev
4192016-04-13T19:02:07  *** Alopex has joined #bitcoin-core-dev
4202016-04-13T19:18:41  *** shangzhou has joined #bitcoin-core-dev
4212016-04-13T19:26:29  *** jtimon has joined #bitcoin-core-dev
4222016-04-13T19:36:41  *** RoyceX has joined #bitcoin-core-dev
4232016-04-13T19:38:21  *** jannes has quit IRC
4242016-04-13T19:40:01  *** cryptapus has quit IRC
4252016-04-13T19:47:09  *** Chris_Stewart_5 has joined #bitcoin-core-dev
4262016-04-13T19:48:24  *** morcos has quit IRC
4272016-04-13T19:48:24  *** belcher has quit IRC
4282016-04-13T19:48:24  *** aureianimus has quit IRC
4292016-04-13T19:48:24  *** cguida_ has quit IRC
4302016-04-13T19:48:24  *** hybridsole has quit IRC
4312016-04-13T19:48:24  *** afk11 has quit IRC
4322016-04-13T19:48:24  *** Cheeseo has quit IRC
4332016-04-13T19:48:25  *** amiller has quit IRC
4342016-04-13T19:48:25  *** kanzure has quit IRC
4352016-04-13T19:48:25  *** nkuttler has quit IRC
4362016-04-13T19:48:25  *** roasbeef has quit IRC
4372016-04-13T19:48:32  *** kanzure_ has joined #bitcoin-core-dev
4382016-04-13T19:51:16  *** nkuttler_ has joined #bitcoin-core-dev
4392016-04-13T19:53:40  *** roasbeef_ has joined #bitcoin-core-dev
4402016-04-13T19:54:07  *** hybridsole_ has joined #bitcoin-core-dev
4412016-04-13T19:54:32  <jonasschnelli> Now correct: LMDB branch sync from random peers took 2h 30min up to progress=1
4422016-04-13T19:54:34  *** nkuttler_ is now known as nkuttler
4432016-04-13T19:54:43  <jonasschnelli> Now comparing reindex with default dbcache
4442016-04-13T19:56:44  <jonasschnelli> First shutdown of LMDB IBDed node with dbcache=9000 took just a couple of seconds (write speed didn't felt different to leveldb).
4452016-04-13T20:00:19  *** afk11_ has joined #bitcoin-core-dev
4462016-04-13T20:03:32  *** aureianimus has joined #bitcoin-core-dev
4472016-04-13T20:03:32  *** morcos has joined #bitcoin-core-dev
4482016-04-13T20:03:32  *** belcher has joined #bitcoin-core-dev
4492016-04-13T20:03:32  *** cguida_ has joined #bitcoin-core-dev
4502016-04-13T20:03:32  *** hybridsole has joined #bitcoin-core-dev
4512016-04-13T20:03:32  *** afk11 has joined #bitcoin-core-dev
4522016-04-13T20:03:32  *** amiller has joined #bitcoin-core-dev
4532016-04-13T20:03:32  *** roasbeef has joined #bitcoin-core-dev
4542016-04-13T20:04:32  *** aureianimus has quit IRC
4552016-04-13T20:04:32  *** morcos has quit IRC
4562016-04-13T20:04:33  *** belcher has quit IRC
4572016-04-13T20:04:33  *** cguida_ has quit IRC
4582016-04-13T20:04:34  *** hybridsole has quit IRC
4592016-04-13T20:04:34  *** afk11 has quit IRC
4602016-04-13T20:04:34  *** amiller has quit IRC
4612016-04-13T20:04:34  *** roasbeef has quit IRC
4622016-04-13T20:04:34  *** hybridsole_ is now known as hybridsole
4632016-04-13T20:05:50  *** ibrightly has quit IRC
4642016-04-13T20:07:21  *** morcos has joined #bitcoin-core-dev
4652016-04-13T20:08:23  *** ibrightly has joined #bitcoin-core-dev
4662016-04-13T20:11:57  *** aureianimus has joined #bitcoin-core-dev
4672016-04-13T20:11:57  *** belcher has joined #bitcoin-core-dev
4682016-04-13T20:11:57  *** cguida_ has joined #bitcoin-core-dev
4692016-04-13T20:11:57  *** amiller has joined #bitcoin-core-dev
4702016-04-13T20:12:34  *** aureianimus has quit IRC
4712016-04-13T20:13:02  *** cguida has joined #bitcoin-core-dev
4722016-04-13T20:15:04  *** cguida_ has quit IRC
4732016-04-13T20:15:34  *** belcher has quit IRC
4742016-04-13T20:15:35  *** amiller has quit IRC
4752016-04-13T20:16:52  *** aureianimus has joined #bitcoin-core-dev
4762016-04-13T20:17:58  *** cguida has quit IRC
4772016-04-13T20:20:23  <GitHub79> [bitcoin] morcos opened pull request #7874: Improve AlreadyHave (master...speedAlreadyHave) https://github.com/bitcoin/bitcoin/pull/7874
4782016-04-13T20:23:31  *** Guest85557 has joined #bitcoin-core-dev
4792016-04-13T20:29:06  *** TomMc has quit IRC
4802016-04-13T20:29:40  *** Chris_Stewart_5 has quit IRC
4812016-04-13T20:29:54  *** Guest23453 has joined #bitcoin-core-dev
4822016-04-13T20:30:29  *** Guest23453 has quit IRC
4832016-04-13T20:32:06  *** belcher has joined #bitcoin-core-dev
4842016-04-13T20:37:27  *** molz has joined #bitcoin-core-dev
4852016-04-13T20:39:58  *** Pasha has joined #bitcoin-core-dev
4862016-04-13T20:43:27  *** adam3us_ has joined #bitcoin-core-dev
4872016-04-13T20:47:07  *** moli has quit IRC
4882016-04-13T20:47:08  *** Giszmo has quit IRC
4892016-04-13T20:47:08  *** justanotheruser has quit IRC
4902016-04-13T20:47:08  *** cryptapus_afk has quit IRC
4912016-04-13T20:47:08  *** Cory has quit IRC
4922016-04-13T20:47:08  *** ghtdak has quit IRC
4932016-04-13T20:47:08  *** dgenr8 has quit IRC
4942016-04-13T20:47:09  *** adam3us has quit IRC
4952016-04-13T20:47:54  *** dgenr8 has joined #bitcoin-core-dev
4962016-04-13T20:48:30  *** spikeheadon has joined #bitcoin-core-dev
4972016-04-13T20:56:32  *** spikeheadon has quit IRC
4982016-04-13T20:59:17  *** Giszmo has joined #bitcoin-core-dev
4992016-04-13T21:12:38  *** justanotheruser has joined #bitcoin-core-dev
5002016-04-13T21:28:28  *** TomMc has joined #bitcoin-core-dev
5012016-04-13T21:37:38  *** earlest has quit IRC
5022016-04-13T21:39:58  *** mrkent_ has joined #bitcoin-core-dev
5032016-04-13T21:40:04  *** Giszmo has quit IRC
5042016-04-13T21:40:27  *** pavel_ has joined #bitcoin-core-dev
5052016-04-13T21:41:16  *** TomMc has quit IRC
5062016-04-13T21:41:16  *** d_t has quit IRC
5072016-04-13T21:41:16  *** paveljanik has quit IRC
5082016-04-13T21:41:52  *** belcher has quit IRC
5092016-04-13T21:41:52  *** afk11_ has quit IRC
5102016-04-13T21:41:52  *** aj has quit IRC
5112016-04-13T21:41:53  *** mrkent has quit IRC
5122016-04-13T21:42:48  *** Giszmo has joined #bitcoin-core-dev
5132016-04-13T21:43:07  *** aj has joined #bitcoin-core-dev
5142016-04-13T21:44:44  *** TomMc has joined #bitcoin-core-dev
5152016-04-13T21:45:05  *** d_t has joined #bitcoin-core-dev
5162016-04-13T21:46:56  *** afk11 has joined #bitcoin-core-dev
5172016-04-13T21:49:18  *** kanzure_ is now known as kanzure
5182016-04-13T21:49:47  *** kanzure has joined #bitcoin-core-dev
5192016-04-13T21:56:27  *** Guest1918 has joined #bitcoin-core-dev
5202016-04-13T21:57:35  *** PaulCape_ has quit IRC
5212016-04-13T22:03:16  *** PaulCapestany has joined #bitcoin-core-dev
5222016-04-13T22:04:55  *** Guest1918 has quit IRC
5232016-04-13T22:19:12  *** TomMc has quit IRC
5242016-04-13T22:44:46  *** d_t has quit IRC
5252016-04-13T22:51:51  *** cguida has joined #bitcoin-core-dev
5262016-04-13T23:06:49  *** cguida has quit IRC
5272016-04-13T23:08:25  *** Chris_Stewart_5 has joined #bitcoin-core-dev
5282016-04-13T23:21:06  *** Ylbam has quit IRC
5292016-04-13T23:31:30  *** Amnez777- has quit IRC
5302016-04-13T23:38:20  *** laurentmt has joined #bitcoin-core-dev
5312016-04-13T23:38:26  <cfields_> mm, what's the real-world use-case for getaddednodeinfo rpc?
5322016-04-13T23:38:41  *** laurentmt has quit IRC
5332016-04-13T23:38:43  *** Amnez777 has joined #bitcoin-core-dev
5342016-04-13T23:39:08  <cfields_> the resolving logic is kinda wonky, and i'm not sure it's worth trying to maintain compatibility with the net refactor
5352016-04-13T23:41:42  *** gevs has quit IRC
5362016-04-13T23:42:34  <cfields_> BlueMatt_: ^^. Looks like you added it. In particular, the issue is that it (for dns entires) it does a resolve in the rpc, though that doesn't represent the ips that the network thread will end up trying
5372016-04-13T23:44:55  <cfields_> so I'm not sure that it's really worth trying to enumerate them. seems like keeping a map of dns->resolved would be enough to determine if a dns entry is connected or not, which i think is the useful info there?
5382016-04-13T23:45:38  *** Guyver2 has quit IRC
5392016-04-13T23:52:08  *** cguida has joined #bitcoin-core-dev
5402016-04-13T23:57:25  <sipa> cfields_: i doubt it is important to keep its exact semantics
5412016-04-13T23:59:41  *** Pasha is now known as Cory
5422016-04-13T23:59:43  <cfields_> ok