12018-03-12T00:00:03  *** weez17 has quit IRC
  22018-03-12T00:00:37  *** AaronvanW has quit IRC
  32018-03-12T00:00:48  *** weez17 has joined #bitcoin-core-dev
  42018-03-12T00:04:22  *** Niu-Bei has quit IRC
  52018-03-12T00:11:39  *** Randolf has quit IRC
  62018-03-12T00:14:38  *** Chris_Stewart_5 has quit IRC
  72018-03-12T00:28:02  *** d9b4bef9 has quit IRC
  82018-03-12T00:29:07  *** d9b4bef9 has joined #bitcoin-core-dev
  92018-03-12T00:30:37  *** Strepsils has joined #bitcoin-core-dev
 102018-03-12T00:36:57  *** Chris_Stewart_5 has joined #bitcoin-core-dev
 112018-03-12T00:37:54  *** Victorsueca has quit IRC
 122018-03-12T00:39:02  *** Victorsueca has joined #bitcoin-core-dev
 132018-03-12T00:39:07  *** hegh has quit IRC
 142018-03-12T00:46:44  *** Randolf has joined #bitcoin-core-dev
 152018-03-12T00:47:14  *** Chris_Stewart_5 has quit IRC
 162018-03-12T00:50:32  *** harryTrout has quit IRC
 172018-03-12T00:57:55  *** dabura667 has joined #bitcoin-core-dev
 182018-03-12T00:59:48  <bitcoin-git> [bitcoin] fanquake closed pull request #12672: Consensus: Remove unused dependencies (master...removed-unused-deps) https://github.com/bitcoin/bitcoin/pull/12672
 192018-03-12T01:20:42  *** tylevine has quit IRC
 202018-03-12T01:21:19  *** tylevine has joined #bitcoin-core-dev
 212018-03-12T01:21:24  *** Cogito_Ergo_Sum has quit IRC
 222018-03-12T01:59:07  *** go1111111 has joined #bitcoin-core-dev
 232018-03-12T02:10:55  *** meshcollider has quit IRC
 242018-03-12T02:26:48  *** Giszmo has joined #bitcoin-core-dev
 252018-03-12T02:28:08  *** harryTrout has joined #bitcoin-core-dev
 262018-03-12T02:45:42  *** dafunkiz_ has joined #bitcoin-core-dev
 272018-03-12T02:50:12  *** kryptopraxis has quit IRC
 282018-03-12T02:54:46  *** Victorsueca has quit IRC
 292018-03-12T02:55:59  *** belcher_ has quit IRC
 302018-03-12T02:56:03  *** Victorsueca has joined #bitcoin-core-dev
 312018-03-12T03:03:16  *** kryptopraxis has joined #bitcoin-core-dev
 322018-03-12T03:12:57  *** Giszmo has quit IRC
 332018-03-12T03:23:24  *** dafunki__ has joined #bitcoin-core-dev
 342018-03-12T03:26:51  *** dafunkiz_ has quit IRC
 352018-03-12T03:56:28  *** amin has quit IRC
 362018-03-12T03:57:42  *** AaronvanW has joined #bitcoin-core-dev
 372018-03-12T04:01:57  *** amin has joined #bitcoin-core-dev
 382018-03-12T04:02:10  *** AaronvanW has quit IRC
 392018-03-12T04:40:35  *** dafunki__ has quit IRC
 402018-03-12T04:42:26  *** meshcollider has joined #bitcoin-core-dev
 412018-03-12T04:57:01  *** arbitrary_guy has joined #bitcoin-core-dev
 422018-03-12T05:21:11  *** harryTrout is now known as mangoicedtea
 432018-03-12T05:49:52  *** arbitrary_guy has quit IRC
 442018-03-12T06:03:47  <bitcoin-git> [bitcoin] luke-jr opened pull request #12674: RPC: Support addnode onetry without making the connection priviliged (master...rpc_onetry_nonpriv) https://github.com/bitcoin/bitcoin/pull/12674
 452018-03-12T06:14:22  *** arbitrary_guy has joined #bitcoin-core-dev
 462018-03-12T06:17:32  *** arbitrary_guy has quit IRC
 472018-03-12T06:27:20  *** mturquette_ has joined #bitcoin-core-dev
 482018-03-12T06:29:34  *** AdrianG_ has joined #bitcoin-core-dev
 492018-03-12T06:32:33  *** wump has joined #bitcoin-core-dev
 502018-03-12T06:32:37  <eklitzke> what is the motivatoin for obfuscating values with the obfuscate key in the leveldb databases?
 512018-03-12T06:33:26  <sipa> av software :(
 522018-03-12T06:33:27  *** TheV01d_ has joined #bitcoin-core-dev
 532018-03-12T06:34:04  <eklitzke> strange
 542018-03-12T06:34:45  *** amin has quit IRC
 552018-03-12T06:34:46  *** mturquette has quit IRC
 562018-03-12T06:34:49  *** AlephZero has quit IRC
 572018-03-12T06:34:49  *** isis has quit IRC
 582018-03-12T06:34:49  *** wumpus has quit IRC
 592018-03-12T06:34:49  *** TheV01d has quit IRC
 602018-03-12T06:34:50  *** mturquette_ is now known as mturquette
 612018-03-12T06:34:53  *** TheV01d_ is now known as TheV01d
 622018-03-12T06:35:23  *** dermoth has quit IRC
 632018-03-12T06:35:23  *** ghost43 has quit IRC
 642018-03-12T06:35:23  *** arubi has quit IRC
 652018-03-12T06:35:23  *** intcat has quit IRC
 662018-03-12T06:35:32  *** isis has joined #bitcoin-core-dev
 672018-03-12T06:37:44  <achow101> eklitzke: some transactions in the blockchain contain virus signatures which AVs will catch and then remove from the chainstate database thus corrupting it. So obfuscating the data in the db prevents that from happening
 682018-03-12T06:38:10  <eklitzke> huh, that is really fascinating
 692018-03-12T06:38:27  *** hirish has quit IRC
 702018-03-12T06:39:32  <achow101> AVs are routinely a source of problems with running core in windows. More recently it's been AVs blocking connections to and from port 8333
 712018-03-12T06:40:04  *** hirish has joined #bitcoin-core-dev
 722018-03-12T06:41:51  *** muskliu has joined #bitcoin-core-dev
 732018-03-12T06:44:48  <Randolf> Anti-spyware software is getting more aggressive against anything that looks like it could be doing cryptocurrency mining.  And unfortunately it's often classified as Bitcoin Mining Riskware.
 742018-03-12T06:45:42  <Randolf> Sadly, many users haven't even a clue that it's possible to add exceptions into their anti-virus and anti-spyware software's configuration.
 752018-03-12T06:50:33  *** CubicEarths has joined #bitcoin-core-dev
 762018-03-12T06:53:27  *** mangoicedtea has quit IRC
 772018-03-12T06:59:33  *** AaronvanW has joined #bitcoin-core-dev
 782018-03-12T07:04:34  *** AaronvanW has quit IRC
 792018-03-12T07:16:27  <eklitzke> i just wrote some code to dump the utxo database, the compression stuff is wild
 802018-03-12T07:16:30  <eklitzke> https://gist.github.com/eklitzke/03b1c799408d4bcceca9c57ab1ff8c9f
 812018-03-12T07:16:50  <eklitzke> i had no idea so much weird stuff went into making the values small
 822018-03-12T07:19:05  <sipa> eklitzke: it started out as an experiment in seeing how small the utxo set could get
 832018-03-12T07:19:49  <sipa> and ended up being the actual database format
 842018-03-12T07:19:56  <sipa> look at how the txouts were encoded before per-txout, it close to simiarly crazy
 852018-03-12T07:20:33  <eklitzke> i was originally just trying to get the height of everything in the utxo database, but once i saw the serialization code for amounts i had to add it
 862018-03-12T07:20:41  <eklitzke> very cool
 872018-03-12T07:20:41  <sipa> hah
 882018-03-12T07:20:47  * sipa bows
 892018-03-12T07:21:10  <sipa> in retrospect, it's very much overkill
 902018-03-12T07:23:29  <sipa> https://github.com/bitcoin/bitcoin/blob/v0.14.0/src/coins.h#L22
 912018-03-12T07:33:40  <kallewoof> sipa: rumor has it overkill is your middle name
 922018-03-12T07:36:43  *** amin has joined #bitcoin-core-dev
 932018-03-12T07:44:06  <kallewoof> I did some time profiling on current master (ran for about 30 mins) and found an oddity. May not be important, but 14.4% of the CPU time (9.48s) was spent in CCoinsViewDB::Upgrade(), in the pcursor->Seek call at the top (which is used to determine if an upgrade should happen or not).
 942018-03-12T07:45:24  <kallewoof> Also noticed 45.4% of the time is spent in leveldb::. More than main thread (main thread = 32.4%)..
 952018-03-12T07:49:58  <eklitzke> did you filter out the bgthread
 962018-03-12T07:52:07  <kallewoof> eklitzke: No filtering, no.
 972018-03-12T07:57:37  <eklitzke> leveldb creates a background worker thread (you'll see BGThread in the stack trace) which tends to use a lot of cpu/disk time
 982018-03-12T07:57:51  <eklitzke> it's kind of confusing because it's a thread created by leveldb itself, not managed by bitcoin
 992018-03-12T07:59:52  *** HFRadical has joined #bitcoin-core-dev
1002018-03-12T08:04:03  <bitcoin-git> [bitcoin] kentang8228 opened pull request #12675: litecoin (master...master) https://github.com/bitcoin/bitcoin/pull/12675
1012018-03-12T08:04:56  <bitcoin-git> [bitcoin] fanquake closed pull request #12675: litecoin (master...master) https://github.com/bitcoin/bitcoin/pull/12675
1022018-03-12T08:09:13  <kallewoof> Yep, that's the one using 45.4%.
1032018-03-12T08:24:11  *** CapitanRetardo has joined #bitcoin-core-dev
1042018-03-12T08:26:04  <kallewoof> Hum. I tried adding snappy support and leveldb dropped a ton. Still need to verify results, but looks pretty interesting.
1052018-03-12T08:28:11  <eklitzke> what platform?
1062018-03-12T08:29:06  <eklitzke> there is something broken with how we're using the block cache right now (which is actually affected by whether you have snappy compression on or not), waiting to get my max_open_files change in before sending out that pr
1072018-03-12T08:31:17  <eklitzke> in general though i would not expect snappy compression to help since the keys and values are already compressed
1082018-03-12T08:32:11  *** mrannanay has joined #bitcoin-core-dev
1092018-03-12T08:33:26  *** HFRadical has quit IRC
1102018-03-12T08:41:07  <kallewoof> eklitzke: Yeah, I'm seeing roughly the same performance now. Good point on already compressed.
1112018-03-12T08:41:33  *** muskliu has quit IRC
1122018-03-12T08:42:41  <kallewoof> Actually I think performance dropped a bit with snappy, but very imprecise measurement (total CPU time over total time for separate runs).
1132018-03-12T08:56:16  *** amin has quit IRC
1142018-03-12T09:03:28  *** CubicEarths has quit IRC
1152018-03-12T09:08:17  *** Victorsueca has quit IRC
1162018-03-12T09:09:33  *** Victorsueca has joined #bitcoin-core-dev
1172018-03-12T09:09:48  *** CapitanRetardo has quit IRC
1182018-03-12T09:26:42  *** Strepsils has quit IRC
1192018-03-12T09:27:13  *** timothy has joined #bitcoin-core-dev
1202018-03-12T09:31:04  *** CubicEarths has joined #bitcoin-core-dev
1212018-03-12T09:31:42  *** drizztbsd has joined #bitcoin-core-dev
1222018-03-12T09:32:14  *** timothy has quit IRC
1232018-03-12T09:39:24  *** Bethany47Braun has joined #bitcoin-core-dev
1242018-03-12T09:40:02  *** amin has joined #bitcoin-core-dev
1252018-03-12T09:45:40  *** CubicEarths has quit IRC
1262018-03-12T09:45:42  *** ken2812221 has quit IRC
1272018-03-12T09:46:27  *** ken2812221 has joined #bitcoin-core-dev
1282018-03-12T09:55:01  *** George_e30 has joined #bitcoin-core-dev
1292018-03-12T09:56:08  <George_e30> Hello everyone!
1302018-03-12T09:56:33  <bitcoin-git> [bitcoin] dexX7 opened pull request #12676: Show "replaceable" flag, when decoding raw transactions (master...rpc-raw-replaceable-flag) https://github.com/bitcoin/bitcoin/pull/12676
1312018-03-12T09:58:44  <George_e30> I install b2x-node, connect to it with stratum, and try to mine. But I have error in log:
1322018-03-12T09:59:33  <George_e30> ERROR Bitcoin2x Block decode failed 10:23:23: *** REJECTED :( Bitcoin2x block 543500 1 txs
1332018-03-12T10:00:17  <George_e30> what`s wrong am I do? maybe something in .conf?
1342018-03-12T10:00:38  <George_e30> P.S. sorry for my English
1352018-03-12T10:00:54  *** dabura667 has quit IRC
1362018-03-12T10:02:25  *** drizztbsd is now known as timothy
1372018-03-12T10:02:44  <George_e30> and now they contined:
1382018-03-12T10:02:46  <George_e30> 10:53:29: *** REJECTED :( Bitcoin2x block 543520 7 txs 2018-03-12 10:53:29: REJECTED B2X block 543520 10:53:31: ERROR Bitcoin2x Block decode failed 10:53:31: *** REJECTED :( Bitcoin2x block 543520 7 txs 2018-03-12 10:53:31: REJECTED B2X block 543520
1392018-03-12T10:04:55  <ctrlbreak> Hey George, this may not be the blockchain you are looking for.  The Bitcoin mainnet is currently at block 513162.
1402018-03-12T10:06:22  *** Amuza has joined #bitcoin-core-dev
1412018-03-12T10:10:59  *** CapitanRetardo has joined #bitcoin-core-dev
1422018-03-12T10:13:53  <George_e30> not bitcoin, bitcoin2x
1432018-03-12T10:13:56  *** kryptopraxis has quit IRC
1442018-03-12T10:15:18  <kinlo> George_e30: wrong channel, this channel is only for bitcoin core, not anything else
1452018-03-12T10:17:20  *** Strepsils has joined #bitcoin-core-dev
1462018-03-12T10:26:02  *** George_e30 has quit IRC
1472018-03-12T10:28:44  *** CapitanRetardo has quit IRC
1482018-03-12T10:30:02  *** CapitanRetardo has joined #bitcoin-core-dev
1492018-03-12T10:33:12  *** kryptopraxis has joined #bitcoin-core-dev
1502018-03-12T10:39:06  *** kryptopraxis has quit IRC
1512018-03-12T10:42:03  *** Victorsueca has quit IRC
1522018-03-12T10:43:33  *** Victorsueca has joined #bitcoin-core-dev
1532018-03-12T10:43:55  *** kryptopraxis has joined #bitcoin-core-dev
1542018-03-12T10:52:51  *** larafale has joined #bitcoin-core-dev
1552018-03-12T11:00:59  *** AaronvanW has joined #bitcoin-core-dev
1562018-03-12T11:04:35  *** ken2812221 has quit IRC
1572018-03-12T11:05:08  *** ken2812221 has joined #bitcoin-core-dev
1582018-03-12T11:05:51  *** AaronvanW has quit IRC
1592018-03-12T11:06:47  *** amin has quit IRC
1602018-03-12T11:15:26  *** Samdney has joined #bitcoin-core-dev
1612018-03-12T11:19:58  *** Ali has joined #bitcoin-core-dev
1622018-03-12T11:20:02  *** d9b4bef9 has quit IRC
1632018-03-12T11:20:31  *** Ali has quit IRC
1642018-03-12T11:21:07  *** d9b4bef9 has joined #bitcoin-core-dev
1652018-03-12T11:21:26  *** AShoker has joined #bitcoin-core-dev
1662018-03-12T11:22:32  <AShoker> Hi guys, any pointers to a reply to this blog post? https://medium.com/@jonaldfyookball/mathematical-proof-that-the-lightning-network-cannot-be-a-decentralized-bitcoin-scaling-solution-1b8147650800
1672018-03-12T11:23:15  *** AShoker has quit IRC
1682018-03-12T11:23:30  *** AShoker has joined #bitcoin-core-dev
1692018-03-12T11:32:24  *** Sinclair6 has quit IRC
1702018-03-12T11:33:14  *** Sinclair6 has joined #bitcoin-core-dev
1712018-03-12T11:37:08  *** ken2812221 has quit IRC
1722018-03-12T11:37:40  *** ken2812221 has joined #bitcoin-core-dev
1732018-03-12T11:46:15  *** ken2812221 has quit IRC
1742018-03-12T11:47:10  *** ken2812221 has joined #bitcoin-core-dev
1752018-03-12T11:48:54  *** ken2812221 has joined #bitcoin-core-dev
1762018-03-12T11:50:47  *** ken2812221 has joined #bitcoin-core-dev
1772018-03-12T11:53:04  *** luke-jr has quit IRC
1782018-03-12T11:53:17  *** luke-jr has joined #bitcoin-core-dev
1792018-03-12T12:01:47  *** AaronvanW has joined #bitcoin-core-dev
1802018-03-12T12:06:22  *** AaronvanW has quit IRC
1812018-03-12T12:11:38  *** Victorsueca has quit IRC
1822018-03-12T12:13:03  *** Victorsueca has joined #bitcoin-core-dev
1832018-03-12T12:24:37  *** ken2812221 has quit IRC
1842018-03-12T12:25:09  *** ken2812221 has joined #bitcoin-core-dev
1852018-03-12T12:27:42  *** bsm117532 has joined #bitcoin-core-dev
1862018-03-12T12:34:50  *** ken2812221 has quit IRC
1872018-03-12T12:35:21  *** ken2812221 has joined #bitcoin-core-dev
1882018-03-12T12:36:45  *** ken2812221 has quit IRC
1892018-03-12T12:37:46  *** ken2812221 has joined #bitcoin-core-dev
1902018-03-12T12:39:15  *** ken2812221 has quit IRC
1912018-03-12T12:51:41  *** Strepsils has quit IRC
1922018-03-12T12:55:43  *** ken2812221 has joined #bitcoin-core-dev
1932018-03-12T12:55:44  *** Guyver2 has joined #bitcoin-core-dev
1942018-03-12T12:55:45  *** ken2812221 has quit IRC
1952018-03-12T12:56:19  *** ken2812221 has joined #bitcoin-core-dev
1962018-03-12T12:58:15  *** ken2812221 has quit IRC
1972018-03-12T12:58:59  *** Samdney has quit IRC
1982018-03-12T13:00:35  *** belcher_ has joined #bitcoin-core-dev
1992018-03-12T13:04:03  <dongcarl> AShoker: This is a dev channel
2002018-03-12T13:08:33  *** Deinogalerix21 has joined #bitcoin-core-dev
2012018-03-12T13:09:09  *** AShoker has quit IRC
2022018-03-12T13:14:30  *** AaronvanW has joined #bitcoin-core-dev
2032018-03-12T13:16:41  *** Deinogalerix21 has quit IRC
2042018-03-12T13:19:16  *** Aaronvan_ has joined #bitcoin-core-dev
2052018-03-12T13:21:31  *** Aaronva__ has joined #bitcoin-core-dev
2062018-03-12T13:21:35  *** AaronvanW has quit IRC
2072018-03-12T13:25:00  *** Aaronvan_ has quit IRC
2082018-03-12T13:30:56  *** meshcollider has quit IRC
2092018-03-12T13:34:19  *** Victorsueca has quit IRC
2102018-03-12T13:35:33  *** Victorsueca has joined #bitcoin-core-dev
2112018-03-12T13:45:39  *** Chris_Stewart_5 has joined #bitcoin-core-dev
2122018-03-12T13:46:27  <contrapumpkin> launching 0.16.0 for the first time (upgrading from 0.15.1) and it thinks for a while then shows a scary error that a fatal error occurs and dies. The log says "ReadBlockFromDisk: Deserialize or I/O error -CAutoFile::read:fread failed: unspecified iostream_category error at CBlockDiskPos(nFile=1207, npos=133025664)". I assume this just means some of my block data is somehow corrupt? Can I pass in a magic flag to reuse as
2132018-03-12T13:46:27  <contrapumpkin>  much of it as possible while redownloading only the broken stuff?
2142018-03-12T13:49:06  <contrapumpkin> right now it just refuses to do anything at all and quits after displaying the fatal error
2152018-03-12T13:54:11  *** jcorgan has joined #bitcoin-core-dev
2162018-03-12T13:57:22  *** qrestlove has joined #bitcoin-core-dev
2172018-03-12T14:02:32  *** justan0theruser has quit IRC
2182018-03-12T14:03:55  <esotericnonsense> you can use -reindex and that should use as much as possible of the non-corrupt data I believe. I'm not sure there's a more efficient way to do it
2192018-03-12T14:04:00  <esotericnonsense> whether there's8
2202018-03-12T14:12:07  *** ghost43 has joined #bitcoin-core-dev
2212018-03-12T14:12:17  *** arubi has joined #bitcoin-core-dev
2222018-03-12T14:13:29  *** ken2812221 has joined #bitcoin-core-dev
2232018-03-12T14:15:15  *** ken2812221 has quit IRC
2242018-03-12T14:16:59  *** anon has joined #bitcoin-core-dev
2252018-03-12T14:17:17  *** anon is now known as Guest65417
2262018-03-12T14:18:42  *** intcat has joined #bitcoin-core-dev
2272018-03-12T14:19:05  *** justan0theruser has joined #bitcoin-core-dev
2282018-03-12T14:58:21  *** ken2812221 has joined #bitcoin-core-dev
2292018-03-12T15:06:55  *** promag has joined #bitcoin-core-dev
2302018-03-12T15:07:30  *** intcat has quit IRC
2312018-03-12T15:08:55  *** intcat has joined #bitcoin-core-dev
2322018-03-12T15:12:35  *** Guest65417 has quit IRC
2332018-03-12T15:21:38  *** Giszmo has joined #bitcoin-core-dev
2342018-03-12T15:24:34  *** arbitrary_guy has joined #bitcoin-core-dev
2352018-03-12T15:27:32  *** shesek has quit IRC
2362018-03-12T15:27:40  *** Guest65417 has joined #bitcoin-core-dev
2372018-03-12T15:29:33  *** HFRadical has joined #bitcoin-core-dev
2382018-03-12T15:35:08  *** droark has quit IRC
2392018-03-12T15:43:33  *** arbitrary_guy has quit IRC
2402018-03-12T15:56:13  *** alexneudatchin has joined #bitcoin-core-dev
2412018-03-12T15:56:23  *** mryandao has quit IRC
2422018-03-12T16:08:25  *** Samdney has joined #bitcoin-core-dev
2432018-03-12T16:08:43  *** HFRadical has quit IRC
2442018-03-12T16:08:55  *** HFRadical has joined #bitcoin-core-dev
2452018-03-12T16:17:02  *** ram___ has joined #bitcoin-core-dev
2462018-03-12T16:20:30  *** arbitrary_guy has joined #bitcoin-core-dev
2472018-03-12T16:22:35  *** ram___ has quit IRC
2482018-03-12T16:23:24  *** Victorsueca has quit IRC
2492018-03-12T16:24:33  *** Victorsueca has joined #bitcoin-core-dev
2502018-03-12T16:24:46  *** mangoicedtea has joined #bitcoin-core-dev
2512018-03-12T16:38:05  *** Strepsils has joined #bitcoin-core-dev
2522018-03-12T16:43:23  *** arbitrary_guy has quit IRC
2532018-03-12T16:43:59  *** Strepsils has quit IRC
2542018-03-12T16:48:34  *** droark has joined #bitcoin-core-dev
2552018-03-12T16:56:46  *** owowo has quit IRC
2562018-03-12T17:01:55  *** mangoicedtea has quit IRC
2572018-03-12T17:06:43  <eklitzke> by my math 0.4% of utxos are 1 day old (or newer), does that sound approximately right? just trying to sanity check my results
2582018-03-12T17:08:52  *** Amuza has quit IRC
2592018-03-12T17:09:17  <sipa> that seems plausible
2602018-03-12T17:09:25  <sipa> that's around 200k UTXOs
2612018-03-12T17:10:05  <eklitzke> yeah that seams reasonable given 144 blocks per day
2622018-03-12T17:10:27  <sipa> or 1400 utxos per block
2632018-03-12T17:11:36  <eklitzke> i'm trying to figure out for a new utxo, the probability distribution of it being spent within N blocks
2642018-03-12T17:17:28  *** promag has quit IRC
2652018-03-12T17:18:55  *** setpill has joined #bitcoin-core-dev
2662018-03-12T17:19:44  *** setpill has quit IRC
2672018-03-12T17:20:52  *** droark has quit IRC
2682018-03-12T17:31:36  *** Deinogalerix21 has joined #bitcoin-core-dev
2692018-03-12T17:32:10  *** CapitanRetardo has quit IRC
2702018-03-12T17:39:01  *** mrannanay has quit IRC
2712018-03-12T17:39:45  <jimpo> eklitzke: Over what range of UTXOS (like UTXOs created since when)?
2722018-03-12T17:39:51  <jimpo> I can pull that for you if you need
2732018-03-12T17:40:16  *** CubicEarths has joined #bitcoin-core-dev
2742018-03-12T17:43:37  <eklitzke> i wrote a python script that dumped my chainstate directory, this is what i got https://monad.io/height-pdf.png
2752018-03-12T17:43:42  <eklitzke> which i think is sufficient
2762018-03-12T17:43:53  <eklitzke> that's the probability distribution for any utxo being at a given chain height
2772018-03-12T17:44:15  <eklitzke> it's cool i can dump the utxo set in a minute or two
2782018-03-12T17:45:50  <jimpo> neat. y-axis is probability that UTXO is spent within a day?
2792018-03-12T17:46:40  <eklitzke> it's the proportion of utxos at that chain height
2802018-03-12T17:47:41  <jimpo> er, right
2812018-03-12T17:48:00  *** promag has joined #bitcoin-core-dev
2822018-03-12T17:48:23  *** Victorsueca has quit IRC
2832018-03-12T17:49:33  *** Victorsueca has joined #bitcoin-core-dev
2842018-03-12T17:52:36  *** promag has quit IRC
2852018-03-12T17:56:14  *** schmidty has quit IRC
2862018-03-12T17:56:46  *** timothy has quit IRC
2872018-03-12T17:56:46  *** schmidty has joined #bitcoin-core-dev
2882018-03-12T17:57:10  *** schmidty is now known as Guest51126
2892018-03-12T18:01:13  *** Guest51126 has quit IRC
2902018-03-12T18:01:52  <bitcoin-git> [bitcoin] luke-jr opened pull request #12677: RPC: Add ancestor{count,size,fees} to listunspent output (master...listunspent_ancestorinfo) https://github.com/bitcoin/bitcoin/pull/12677
2912018-03-12T18:03:12  *** Deinogalerix21 has quit IRC
2922018-03-12T18:04:56  *** dermoth has joined #bitcoin-core-dev
2932018-03-12T18:10:32  *** wraithm_ is now known as wraithm
2942018-03-12T18:11:12  *** laurentmt has joined #bitcoin-core-dev
2952018-03-12T18:21:52  *** Guyver2 has quit IRC
2962018-03-12T18:28:58  *** AaronvanW has joined #bitcoin-core-dev
2972018-03-12T18:31:57  *** Aaronva__ has quit IRC
2982018-03-12T18:32:12  <cfields> <sipa> sdaftuar: seems my benchmark was off, and the jacobi symbol implementation in GMP takes 2us rather than 0.2us
2992018-03-12T18:32:17  <cfields> :(
3002018-03-12T18:32:45  *** Aaronvan_ has joined #bitcoin-core-dev
3012018-03-12T18:33:16  *** harryTrout has joined #bitcoin-core-dev
3022018-03-12T18:34:04  <cfields> sipa: i guess you're ready to bail on EC for set hashing, then?
3032018-03-12T18:36:14  *** AaronvanW has quit IRC
3042018-03-12T18:36:21  *** r has joined #bitcoin-core-dev
3052018-03-12T18:36:42  *** grafcaps has joined #bitcoin-core-dev
3062018-03-12T18:36:42  <cfields> oh, I guess so if ECMH == elliptic curve multi-set hash
3072018-03-12T18:36:44  *** r is now known as Guest90496
3082018-03-12T18:38:49  *** Guest90496 has quit IRC
3092018-03-12T18:39:37  *** promag has joined #bitcoin-core-dev
3102018-03-12T18:44:29  *** promag has quit IRC
3112018-03-12T18:49:01  *** droark has joined #bitcoin-core-dev
3122018-03-12T18:51:22  <sipa> cfields: well 9.3us isn't horrible
3132018-03-12T18:53:48  <sipa> it means maybe a 20-30% CPU increase overall for full validation, though
3142018-03-12T18:57:18  <cfields> sipa: is it the case that gmp's jacobi impl isn't as far away from others as you had expected? Or would it still be substantially worse if we rolled our own?
3152018-03-12T18:57:53  <sipa> cfields: so, there are two ways of doing hashing onto curves
3162018-03-12T18:59:00  <sipa> A: do { x = generate 32 bytes; compute y=sqrt(x^3+7); if it exists return (x,y); }
3172018-03-12T18:59:28  <sipa> B: do { x = generate 32 bytes; compute jacobi(x^3,7); if it is 1, return (x, sqrt(x^3+7)); }
3182018-03-12T19:00:04  <sipa> given that around 50% of x values are acceptable, you on average need 2 iterations
3192018-03-12T19:00:22  <sipa> so method A does 2 sqrts, method B does 2 jacobis + 1 sqrt
3202018-03-12T19:00:42  <sipa> in other words, B is better than A when jacobi is more than 2x as fast as a sqrt
3212018-03-12T19:01:01  <cfields> ok
3222018-03-12T19:01:49  <sipa> with sqrt=5us and jacobi=0.2us, B was clearly worth it
3232018-03-12T19:02:04  <sipa> but it seems that was wrong, and gmp's jacobi is more like 2us
3242018-03-12T19:02:14  <cfields> ok, i'm with you now. thanks.
3252018-03-12T19:02:49  <sipa> however, with gmp not being as crazy fast as i believed, it may be feasible to write a jacobi implementation that is faster than GMP
3262018-03-12T19:02:51  <bitcoin-git> [bitcoin] vasild opened pull request #12678: Scripts and tools: Fix a few compilation issues with Clang 7 and -Werror (master...master-compilation-fixes-with-clang7-werror) https://github.com/bitcoin/bitcoin/pull/12678
3272018-03-12T19:02:59  <sipa> we had previous given up on that, as 0.2us seemed impossible to beat
3282018-03-12T19:03:24  *** Dizzle has joined #bitcoin-core-dev
3292018-03-12T19:03:34  <cfields> heh yes, i see now why it was written off so easily
3302018-03-12T19:03:57  <sipa> but it is diminishing returns... we're not going to beat 6us or so overall
3312018-03-12T19:04:16  *** LeMiner has joined #bitcoin-core-dev
3322018-03-12T19:04:28  <cfields> right
3332018-03-12T19:05:04  <cfields> is this the WIP doc about gmp's jacobi symbol impl that you mentioned? https://gmplib.org/list-archives/gmp-bugs/attachments/20170821/bfac90c6/attachment-0001.pdf
3342018-03-12T19:05:50  *** kryptopraxis has quit IRC
3352018-03-12T19:05:53  <sipa> possibly
3362018-03-12T19:06:12  <sipa> muhash would overall run in maybe 3-4us per update
3372018-03-12T19:06:39  <sipa> so it's only a small constant factor difference
3382018-03-12T19:08:31  <cfields> ah, i figured it was more substantial than that. ok, so a ~2x slowdown is reasonable to consider.
3392018-03-12T19:09:10  <intcat> (not sure if correct channel to ask) i am trying to set up bitcoin core gitian build for 0.16.0, but dependency resolution fails on expat; it attempts to download from https://bitcoincore.org/depends-sources but gets 404
3402018-03-12T19:09:55  <cfields> intcat: it tries to download from the upstream source first, and only hits bitcoincore.org if that fails. Most likely you don't have net access inside your container/vm.
3412018-03-12T19:10:13  <intcat> cfields: actually, yes i do
3422018-03-12T19:10:25  <intcat> a lot of other depends are downloaded correctly before this one
3432018-03-12T19:10:35  <cfields> intcat: sec, let's check if upstream is down atm
3442018-03-12T19:10:49  <intcat> i noticed master has a different upstream url than 0.16.0 tag
3452018-03-12T19:11:46  *** schmidty has joined #bitcoin-core-dev
3462018-03-12T19:11:59  <intcat> sourceforge vs github. and that kind of thing can happen, but it seems that the fallback is failing too
3472018-03-12T19:12:09  *** schmidty is now known as Guest13163
3482018-03-12T19:15:15  *** Murch has joined #bitcoin-core-dev
3492018-03-12T19:15:52  *** qu4ku has joined #bitcoin-core-dev
3502018-03-12T19:18:09  *** kryptopraxis has joined #bitcoin-core-dev
3512018-03-12T19:18:42  *** Amuza has joined #bitcoin-core-dev
3522018-03-12T19:24:54  *** Aaronvan_ has quit IRC
3532018-03-12T19:25:37  *** AaronvanW has joined #bitcoin-core-dev
3542018-03-12T19:26:35  *** Victorsueca has quit IRC
3552018-03-12T19:27:10  <cfields> intcat: not sure if it's down, but I'm fixing up the links at bitcoincore.org anyway, since it needed to be done
3562018-03-12T19:27:35  <intcat> :)
3572018-03-12T19:27:54  *** Victorsueca has joined #bitcoin-core-dev
3582018-03-12T19:28:40  *** zivl has joined #bitcoin-core-dev
3592018-03-12T19:34:28  *** dafunkiz_ has joined #bitcoin-core-dev
3602018-03-12T19:34:37  *** CapitanRetardo has joined #bitcoin-core-dev
3612018-03-12T19:39:47  *** larafale has quit IRC
3622018-03-12T19:40:21  *** larafale has joined #bitcoin-core-dev
3632018-03-12T19:43:57  *** harryTrout has quit IRC
3642018-03-12T19:44:27  *** larafale has quit IRC
3652018-03-12T19:50:56  *** larafale has joined #bitcoin-core-dev
3662018-03-12T19:51:29  *** CubicEarths has quit IRC
3672018-03-12T19:55:22  *** laurentmt has quit IRC
3682018-03-12T19:59:46  <intcat> cfields: seems the container im trying to build in borks on the sourceforge redirect
3692018-03-12T20:00:09  <cfields> intcat: not surprising, sf redirects several times
3702018-03-12T20:00:16  *** meshcollider has joined #bitcoin-core-dev
3712018-03-12T20:00:55  <intcat> running the same command on another machine works, though
3722018-03-12T20:01:08  <intcat> but still, would be nice to have working fallback
3732018-03-12T20:04:50  *** alexneudatchin has quit IRC
3742018-03-12T20:06:23  *** AriseChikun has quit IRC
3752018-03-12T20:12:25  <provoostenator> I'm looking at the accounts -> labels PR by ryanofsky: https://github.com/bitcoin/bitcoin/pull/11536/files#diff-df7d84ff2f53fcb2a0dc15a3a51e55ceR3849
3762018-03-12T20:12:41  <provoostenator> I'm confused what causes "getaccountaddress" to not show up in bitcoin-cli help
3772018-03-12T20:13:47  *** Randolf has quit IRC
3782018-03-12T20:13:58  <ryanofsky> the help code dedups by function pointer, so there are aliases to the same function it is not listed twice
3792018-03-12T20:14:21  <provoostenator> I figured it had to be something like that. Thanks.
3802018-03-12T20:15:48  <ryanofsky> np, check is here if you're curious: https://github.com/bitcoin/bitcoin/blob/d8d9162f5bad39b2720dd2b2da237c6159e4755f/src/rpc/server.cpp#L179
3812018-03-12T20:22:53  *** larafale has quit IRC
3822018-03-12T20:29:18  *** Randolf has joined #bitcoin-core-dev
3832018-03-12T20:35:37  *** Victorsueca has quit IRC
3842018-03-12T20:37:03  *** Victorsueca has joined #bitcoin-core-dev
3852018-03-12T20:43:19  *** promag has joined #bitcoin-core-dev
3862018-03-12T20:48:01  *** promag has quit IRC
3872018-03-12T20:54:06  <provoostenator> ryanofsky how did you rebase this, but it doesn't show your name on the commit: https://github.com/ryanofsky/bitcoin/commit/55c5289acbaa4c3a510527df4e55db20619b47d4
3882018-03-12T20:54:47  *** dafunkiz_ has quit IRC
3892018-03-12T20:58:32  *** dafunkiz_ has joined #bitcoin-core-dev
3902018-03-12T21:00:33  <ryanofsky> not intentional in this case, but cherry-pick with GIT_COMMITTER_NAME set (https://github.com/ryanofsky/home/blob/df082664c2e45bb27f22fce706002a0971504c74/src/git-pr.sh#L177)
3912018-03-12T21:00:46  *** kryptopraxis has quit IRC
3922018-03-12T21:02:11  *** kryptopraxis has joined #bitcoin-core-dev
3932018-03-12T21:10:38  *** kryptopraxis has quit IRC
3942018-03-12T21:12:07  *** kryptopraxis has joined #bitcoin-core-dev
3952018-03-12T21:21:35  *** dafunkiz_ has quit IRC
3962018-03-12T21:23:05  *** dafunkiz_ has joined #bitcoin-core-dev
3972018-03-12T21:25:34  *** dafunkiz_ has quit IRC
3982018-03-12T21:26:05  *** dafunkiz_ has joined #bitcoin-core-dev
3992018-03-12T21:30:53  *** CapitanRetardo has quit IRC
4002018-03-12T21:46:09  *** Chris_Stewart_5 has quit IRC
4012018-03-12T21:46:54  *** qu4ku has quit IRC
4022018-03-12T21:47:19  *** qu4ku has joined #bitcoin-core-dev
4032018-03-12T21:48:29  *** arowser has quit IRC
4042018-03-12T21:48:59  *** Randolf has quit IRC
4052018-03-12T21:49:34  *** adiabat has quit IRC
4062018-03-12T21:49:34  *** sdaftuar has quit IRC
4072018-03-12T21:49:41  *** arowser has joined #bitcoin-core-dev
4082018-03-12T21:50:09  *** jnewbery has quit IRC
4092018-03-12T21:50:17  *** promag has joined #bitcoin-core-dev
4102018-03-12T21:50:42  *** jnewbery has joined #bitcoin-core-dev
4112018-03-12T21:50:43  *** Amuza has quit IRC
4122018-03-12T21:51:01  *** Randolf has joined #bitcoin-core-dev
4132018-03-12T21:53:53  *** adiabat has joined #bitcoin-core-dev
4142018-03-12T21:55:32  *** promag has quit IRC
4152018-03-12T21:55:34  *** dafunkiz_ has quit IRC
4162018-03-12T21:57:37  *** sdaftuar has joined #bitcoin-core-dev
4172018-03-12T21:57:37  *** sdaftuar has joined #bitcoin-core-dev
4182018-03-12T22:10:56  *** dafunkiz_ has joined #bitcoin-core-dev
4192018-03-12T22:15:29  *** lnostdal has joined #bitcoin-core-dev
4202018-03-12T22:33:48  *** lnostdal has quit IRC
4212018-03-12T22:36:55  *** dafunkiz_ has joined #bitcoin-core-dev
4222018-03-12T22:37:55  *** CapitanRetardo has joined #bitcoin-core-dev
4232018-03-12T22:43:31  *** promag has joined #bitcoin-core-dev
4242018-03-12T22:48:31  *** promag has quit IRC
4252018-03-12T22:50:30  *** dafunkiz_ has quit IRC
4262018-03-12T22:58:57  *** harryTrout has joined #bitcoin-core-dev
4272018-03-12T23:00:30  *** harryTrout has joined #bitcoin-core-dev
4282018-03-12T23:01:22  *** steviebits has joined #bitcoin-core-dev
4292018-03-12T23:02:57  *** AaronvanW has quit IRC
4302018-03-12T23:10:14  *** promag has joined #bitcoin-core-dev
4312018-03-12T23:13:07  *** vicenteH has quit IRC
4322018-03-12T23:17:00  *** AaronvanW has joined #bitcoin-core-dev
4332018-03-12T23:17:38  *** Victorsueca has quit IRC
4342018-03-12T23:19:04  *** Victorsueca has joined #bitcoin-core-dev
4352018-03-12T23:19:18  *** Dizzle has quit IRC
4362018-03-12T23:28:35  <achow101> In the unit tests, is there a way to test that an assert was hit?
4372018-03-12T23:33:51  *** dafunkiz_ has joined #bitcoin-core-dev
4382018-03-12T23:46:13  *** droark has quit IRC
4392018-03-12T23:46:49  *** droark has joined #bitcoin-core-dev
4402018-03-12T23:46:59  *** droark has quit IRC
4412018-03-12T23:47:11  <cfields> intcat: should be good now
4422018-03-12T23:47:28  *** droark has joined #bitcoin-core-dev
4432018-03-12T23:47:42  <meshcollider> achow101: I don't think so, I think asserts aren't supposed to be hit at all in theory ;)
4442018-03-12T23:48:17  <intcat> cfields: https://bitcoincore.org/depends-sources/expat-2.2.5.tar.bz2 works :)
4452018-03-12T23:48:33  <intcat> https://bitcoincore.org/depends-sources/expat-2.2.1.tar.bz2 unfortunately doesn't though, so my v0.16.0 build will still fail
4462018-03-12T23:48:53  <cfields> meshcollider: right. achow101 relying on catching an assert implies that it has side-effects in code.
4472018-03-12T23:49:04  <cfields> intcat: sec, will do a one-time sync of 0.16.
4482018-03-12T23:49:15  <achow101> cfields: meshcollider: I got my logic backwards
4492018-03-12T23:49:38  <achow101> I don't want it to assert, but to make sure my test works, I need to make sure the assert was hit in the failure case
4502018-03-12T23:50:32  <sipa> achow101: you can replace them with an exception (some of the utxo logic throw std::logic_error for this reason)
4512018-03-12T23:51:38  <meshcollider> yeah boost can check for exceptions being thrown, with the likes of BOOST_CHECK_THROW. Just not asserts
4522018-03-12T23:51:53  *** droark has quit IRC
4532018-03-12T23:54:02  <cfields> intcat: done
4542018-03-12T23:54:15  <intcat> cfields: many thanks
4552018-03-12T23:54:59  <cfields> intcat: np, thanks for the reminder. I've been meaning to fix the bridge for months.
4562018-03-12T23:56:30  *** CubicEarths has joined #bitcoin-core-dev
4572018-03-12T23:58:37  *** Murch has quit IRC