1 2018-03-12T00:00:03  *** weez17 has quit IRC
  2 2018-03-12T00:00:37  *** AaronvanW has quit IRC
  3 2018-03-12T00:00:48  *** weez17 has joined #bitcoin-core-dev
  4 2018-03-12T00:04:22  *** Niu-Bei has quit IRC
  5 2018-03-12T00:11:39  *** Randolf has quit IRC
  6 2018-03-12T00:14:38  *** Chris_Stewart_5 has quit IRC
  7 2018-03-12T00:28:02  *** d9b4bef9 has quit IRC
  8 2018-03-12T00:29:07  *** d9b4bef9 has joined #bitcoin-core-dev
  9 2018-03-12T00:30:37  *** Strepsils has joined #bitcoin-core-dev
 10 2018-03-12T00:36:57  *** Chris_Stewart_5 has joined #bitcoin-core-dev
 11 2018-03-12T00:37:54  *** Victorsueca has quit IRC
 12 2018-03-12T00:39:02  *** Victorsueca has joined #bitcoin-core-dev
 13 2018-03-12T00:39:07  *** hegh has quit IRC
 14 2018-03-12T00:46:44  *** Randolf has joined #bitcoin-core-dev
 15 2018-03-12T00:47:14  *** Chris_Stewart_5 has quit IRC
 16 2018-03-12T00:50:32  *** harryTrout has quit IRC
 17 2018-03-12T00:57:55  *** dabura667 has joined #bitcoin-core-dev
 18 2018-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
 19 2018-03-12T01:20:42  *** tylevine has quit IRC
 20 2018-03-12T01:21:19  *** tylevine has joined #bitcoin-core-dev
 21 2018-03-12T01:21:24  *** Cogito_Ergo_Sum has quit IRC
 22 2018-03-12T01:59:07  *** go1111111 has joined #bitcoin-core-dev
 23 2018-03-12T02:10:55  *** meshcollider has quit IRC
 24 2018-03-12T02:26:48  *** Giszmo has joined #bitcoin-core-dev
 25 2018-03-12T02:28:08  *** harryTrout has joined #bitcoin-core-dev
 26 2018-03-12T02:45:42  *** dafunkiz_ has joined #bitcoin-core-dev
 27 2018-03-12T02:50:12  *** kryptopraxis has quit IRC
 28 2018-03-12T02:54:46  *** Victorsueca has quit IRC
 29 2018-03-12T02:55:59  *** belcher_ has quit IRC
 30 2018-03-12T02:56:03  *** Victorsueca has joined #bitcoin-core-dev
 31 2018-03-12T03:03:16  *** kryptopraxis has joined #bitcoin-core-dev
 32 2018-03-12T03:12:57  *** Giszmo has quit IRC
 33 2018-03-12T03:23:24  *** dafunki__ has joined #bitcoin-core-dev
 34 2018-03-12T03:26:51  *** dafunkiz_ has quit IRC
 35 2018-03-12T03:56:28  *** amin has quit IRC
 36 2018-03-12T03:57:42  *** AaronvanW has joined #bitcoin-core-dev
 37 2018-03-12T04:01:57  *** amin has joined #bitcoin-core-dev
 38 2018-03-12T04:02:10  *** AaronvanW has quit IRC
 39 2018-03-12T04:40:35  *** dafunki__ has quit IRC
 40 2018-03-12T04:42:26  *** meshcollider has joined #bitcoin-core-dev
 41 2018-03-12T04:57:01  *** arbitrary_guy has joined #bitcoin-core-dev
 42 2018-03-12T05:21:11  *** harryTrout is now known as mangoicedtea
 43 2018-03-12T05:49:52  *** arbitrary_guy has quit IRC
 44 2018-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
 45 2018-03-12T06:14:22  *** arbitrary_guy has joined #bitcoin-core-dev
 46 2018-03-12T06:17:32  *** arbitrary_guy has quit IRC
 47 2018-03-12T06:27:20  *** mturquette_ has joined #bitcoin-core-dev
 48 2018-03-12T06:29:34  *** AdrianG_ has joined #bitcoin-core-dev
 49 2018-03-12T06:32:33  *** wump has joined #bitcoin-core-dev
 50 2018-03-12T06:32:37  <eklitzke> what is the motivatoin for obfuscating values with the obfuscate key in the leveldb databases?
 51 2018-03-12T06:33:26  <sipa> av software :(
 52 2018-03-12T06:33:27  *** TheV01d_ has joined #bitcoin-core-dev
 53 2018-03-12T06:34:04  <eklitzke> strange
 54 2018-03-12T06:34:45  *** amin has quit IRC
 55 2018-03-12T06:34:46  *** mturquette has quit IRC
 56 2018-03-12T06:34:49  *** AlephZero has quit IRC
 57 2018-03-12T06:34:49  *** isis has quit IRC
 58 2018-03-12T06:34:49  *** wumpus has quit IRC
 59 2018-03-12T06:34:49  *** TheV01d has quit IRC
 60 2018-03-12T06:34:50  *** mturquette_ is now known as mturquette
 61 2018-03-12T06:34:53  *** TheV01d_ is now known as TheV01d
 62 2018-03-12T06:35:23  *** dermoth has quit IRC
 63 2018-03-12T06:35:23  *** ghost43 has quit IRC
 64 2018-03-12T06:35:23  *** arubi has quit IRC
 65 2018-03-12T06:35:23  *** intcat has quit IRC
 66 2018-03-12T06:35:32  *** isis has joined #bitcoin-core-dev
 67 2018-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
 68 2018-03-12T06:38:10  <eklitzke> huh, that is really fascinating
 69 2018-03-12T06:38:27  *** hirish has quit IRC
 70 2018-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
 71 2018-03-12T06:40:04  *** hirish has joined #bitcoin-core-dev
 72 2018-03-12T06:41:51  *** muskliu has joined #bitcoin-core-dev
 73 2018-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.
 74 2018-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.
 75 2018-03-12T06:50:33  *** CubicEarths has joined #bitcoin-core-dev
 76 2018-03-12T06:53:27  *** mangoicedtea has quit IRC
 77 2018-03-12T06:59:33  *** AaronvanW has joined #bitcoin-core-dev
 78 2018-03-12T07:04:34  *** AaronvanW has quit IRC
 79 2018-03-12T07:16:27  <eklitzke> i just wrote some code to dump the utxo database, the compression stuff is wild
 80 2018-03-12T07:16:30  <eklitzke> https://gist.github.com/eklitzke/03b1c799408d4bcceca9c57ab1ff8c9f
 81 2018-03-12T07:16:50  <eklitzke> i had no idea so much weird stuff went into making the values small
 82 2018-03-12T07:19:05  <sipa> eklitzke: it started out as an experiment in seeing how small the utxo set could get
 83 2018-03-12T07:19:49  <sipa> and ended up being the actual database format
 84 2018-03-12T07:19:56  <sipa> look at how the txouts were encoded before per-txout, it close to simiarly crazy
 85 2018-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
 86 2018-03-12T07:20:41  <eklitzke> very cool
 87 2018-03-12T07:20:41  <sipa> hah
 88 2018-03-12T07:20:47  * sipa bows
 89 2018-03-12T07:21:10  <sipa> in retrospect, it's very much overkill
 90 2018-03-12T07:23:29  <sipa> https://github.com/bitcoin/bitcoin/blob/v0.14.0/src/coins.h#L22
 91 2018-03-12T07:33:40  <kallewoof> sipa: rumor has it overkill is your middle name
 92 2018-03-12T07:36:43  *** amin has joined #bitcoin-core-dev
 93 2018-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).
 94 2018-03-12T07:45:24  <kallewoof> Also noticed 45.4% of the time is spent in leveldb::. More than main thread (main thread = 32.4%)..
 95 2018-03-12T07:49:58  <eklitzke> did you filter out the bgthread
 96 2018-03-12T07:52:07  <kallewoof> eklitzke: No filtering, no.
 97 2018-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
 98 2018-03-12T07:57:51  <eklitzke> it's kind of confusing because it's a thread created by leveldb itself, not managed by bitcoin
 99 2018-03-12T07:59:52  *** HFRadical has joined #bitcoin-core-dev
100 2018-03-12T08:04:03  <bitcoin-git> [bitcoin] kentang8228 opened pull request #12675: litecoin (master...master) https://github.com/bitcoin/bitcoin/pull/12675
101 2018-03-12T08:04:56  <bitcoin-git> [bitcoin] fanquake closed pull request #12675: litecoin (master...master) https://github.com/bitcoin/bitcoin/pull/12675
102 2018-03-12T08:09:13  <kallewoof> Yep, that's the one using 45.4%.
103 2018-03-12T08:24:11  *** CapitanRetardo has joined #bitcoin-core-dev
104 2018-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.
105 2018-03-12T08:28:11  <eklitzke> what platform?
106 2018-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
107 2018-03-12T08:31:17  <eklitzke> in general though i would not expect snappy compression to help since the keys and values are already compressed
108 2018-03-12T08:32:11  *** mrannanay has joined #bitcoin-core-dev
109 2018-03-12T08:33:26  *** HFRadical has quit IRC
110 2018-03-12T08:41:07  <kallewoof> eklitzke: Yeah, I'm seeing roughly the same performance now. Good point on already compressed.
111 2018-03-12T08:41:33  *** muskliu has quit IRC
112 2018-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).
113 2018-03-12T08:56:16  *** amin has quit IRC
114 2018-03-12T09:03:28  *** CubicEarths has quit IRC
115 2018-03-12T09:08:17  *** Victorsueca has quit IRC
116 2018-03-12T09:09:33  *** Victorsueca has joined #bitcoin-core-dev
117 2018-03-12T09:09:48  *** CapitanRetardo has quit IRC
118 2018-03-12T09:26:42  *** Strepsils has quit IRC
119 2018-03-12T09:27:13  *** timothy has joined #bitcoin-core-dev
120 2018-03-12T09:31:04  *** CubicEarths has joined #bitcoin-core-dev
121 2018-03-12T09:31:42  *** drizztbsd has joined #bitcoin-core-dev
122 2018-03-12T09:32:14  *** timothy has quit IRC
123 2018-03-12T09:39:24  *** Bethany47Braun has joined #bitcoin-core-dev
124 2018-03-12T09:40:02  *** amin has joined #bitcoin-core-dev
125 2018-03-12T09:45:40  *** CubicEarths has quit IRC
126 2018-03-12T09:45:42  *** ken2812221 has quit IRC
127 2018-03-12T09:46:27  *** ken2812221 has joined #bitcoin-core-dev
128 2018-03-12T09:55:01  *** George_e30 has joined #bitcoin-core-dev
129 2018-03-12T09:56:08  <George_e30> Hello everyone!
130 2018-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
131 2018-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:
132 2018-03-12T09:59:33  <George_e30> ERROR Bitcoin2x Block decode failed 10:23:23: *** REJECTED :( Bitcoin2x block 543500 1 txs
133 2018-03-12T10:00:17  <George_e30> what`s wrong am I do? maybe something in .conf?
134 2018-03-12T10:00:38  <George_e30> P.S. sorry for my English
135 2018-03-12T10:00:54  *** dabura667 has quit IRC
136 2018-03-12T10:02:25  *** drizztbsd is now known as timothy
137 2018-03-12T10:02:44  <George_e30> and now they contined:
138 2018-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
139 2018-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.
140 2018-03-12T10:06:22  *** Amuza has joined #bitcoin-core-dev
141 2018-03-12T10:10:59  *** CapitanRetardo has joined #bitcoin-core-dev
142 2018-03-12T10:13:53  <George_e30> not bitcoin, bitcoin2x
143 2018-03-12T10:13:56  *** kryptopraxis has quit IRC
144 2018-03-12T10:15:18  <kinlo> George_e30: wrong channel, this channel is only for bitcoin core, not anything else
145 2018-03-12T10:17:20  *** Strepsils has joined #bitcoin-core-dev
146 2018-03-12T10:26:02  *** George_e30 has quit IRC
147 2018-03-12T10:28:44  *** CapitanRetardo has quit IRC
148 2018-03-12T10:30:02  *** CapitanRetardo has joined #bitcoin-core-dev
149 2018-03-12T10:33:12  *** kryptopraxis has joined #bitcoin-core-dev
150 2018-03-12T10:39:06  *** kryptopraxis has quit IRC
151 2018-03-12T10:42:03  *** Victorsueca has quit IRC
152 2018-03-12T10:43:33  *** Victorsueca has joined #bitcoin-core-dev
153 2018-03-12T10:43:55  *** kryptopraxis has joined #bitcoin-core-dev
154 2018-03-12T10:52:51  *** larafale has joined #bitcoin-core-dev
155 2018-03-12T11:00:59  *** AaronvanW has joined #bitcoin-core-dev
156 2018-03-12T11:04:35  *** ken2812221 has quit IRC
157 2018-03-12T11:05:08  *** ken2812221 has joined #bitcoin-core-dev
158 2018-03-12T11:05:51  *** AaronvanW has quit IRC
159 2018-03-12T11:06:47  *** amin has quit IRC
160 2018-03-12T11:15:26  *** Samdney has joined #bitcoin-core-dev
161 2018-03-12T11:19:58  *** Ali has joined #bitcoin-core-dev
162 2018-03-12T11:20:02  *** d9b4bef9 has quit IRC
163 2018-03-12T11:20:31  *** Ali has quit IRC
164 2018-03-12T11:21:07  *** d9b4bef9 has joined #bitcoin-core-dev
165 2018-03-12T11:21:26  *** AShoker has joined #bitcoin-core-dev
166 2018-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
167 2018-03-12T11:23:15  *** AShoker has quit IRC
168 2018-03-12T11:23:30  *** AShoker has joined #bitcoin-core-dev
169 2018-03-12T11:32:24  *** Sinclair6 has quit IRC
170 2018-03-12T11:33:14  *** Sinclair6 has joined #bitcoin-core-dev
171 2018-03-12T11:37:08  *** ken2812221 has quit IRC
172 2018-03-12T11:37:40  *** ken2812221 has joined #bitcoin-core-dev
173 2018-03-12T11:46:15  *** ken2812221 has quit IRC
174 2018-03-12T11:47:10  *** ken2812221 has joined #bitcoin-core-dev
175 2018-03-12T11:48:54  *** ken2812221 has joined #bitcoin-core-dev
176 2018-03-12T11:50:47  *** ken2812221 has joined #bitcoin-core-dev
177 2018-03-12T11:53:04  *** luke-jr has quit IRC
178 2018-03-12T11:53:17  *** luke-jr has joined #bitcoin-core-dev
179 2018-03-12T12:01:47  *** AaronvanW has joined #bitcoin-core-dev
180 2018-03-12T12:06:22  *** AaronvanW has quit IRC
181 2018-03-12T12:11:38  *** Victorsueca has quit IRC
182 2018-03-12T12:13:03  *** Victorsueca has joined #bitcoin-core-dev
183 2018-03-12T12:24:37  *** ken2812221 has quit IRC
184 2018-03-12T12:25:09  *** ken2812221 has joined #bitcoin-core-dev
185 2018-03-12T12:27:42  *** bsm117532 has joined #bitcoin-core-dev
186 2018-03-12T12:34:50  *** ken2812221 has quit IRC
187 2018-03-12T12:35:21  *** ken2812221 has joined #bitcoin-core-dev
188 2018-03-12T12:36:45  *** ken2812221 has quit IRC
189 2018-03-12T12:37:46  *** ken2812221 has joined #bitcoin-core-dev
190 2018-03-12T12:39:15  *** ken2812221 has quit IRC
191 2018-03-12T12:51:41  *** Strepsils has quit IRC
192 2018-03-12T12:55:43  *** ken2812221 has joined #bitcoin-core-dev
193 2018-03-12T12:55:44  *** Guyver2 has joined #bitcoin-core-dev
194 2018-03-12T12:55:45  *** ken2812221 has quit IRC
195 2018-03-12T12:56:19  *** ken2812221 has joined #bitcoin-core-dev
196 2018-03-12T12:58:15  *** ken2812221 has quit IRC
197 2018-03-12T12:58:59  *** Samdney has quit IRC
198 2018-03-12T13:00:35  *** belcher_ has joined #bitcoin-core-dev
199 2018-03-12T13:04:03  <dongcarl> AShoker: This is a dev channel
200 2018-03-12T13:08:33  *** Deinogalerix21 has joined #bitcoin-core-dev
201 2018-03-12T13:09:09  *** AShoker has quit IRC
202 2018-03-12T13:14:30  *** AaronvanW has joined #bitcoin-core-dev
203 2018-03-12T13:16:41  *** Deinogalerix21 has quit IRC
204 2018-03-12T13:19:16  *** Aaronvan_ has joined #bitcoin-core-dev
205 2018-03-12T13:21:31  *** Aaronva__ has joined #bitcoin-core-dev
206 2018-03-12T13:21:35  *** AaronvanW has quit IRC
207 2018-03-12T13:25:00  *** Aaronvan_ has quit IRC
208 2018-03-12T13:30:56  *** meshcollider has quit IRC
209 2018-03-12T13:34:19  *** Victorsueca has quit IRC
210 2018-03-12T13:35:33  *** Victorsueca has joined #bitcoin-core-dev
211 2018-03-12T13:45:39  *** Chris_Stewart_5 has joined #bitcoin-core-dev
212 2018-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
213 2018-03-12T13:46:27  <contrapumpkin>  much of it as possible while redownloading only the broken stuff?
214 2018-03-12T13:49:06  <contrapumpkin> right now it just refuses to do anything at all and quits after displaying the fatal error
215 2018-03-12T13:54:11  *** jcorgan has joined #bitcoin-core-dev
216 2018-03-12T13:57:22  *** qrestlove has joined #bitcoin-core-dev
217 2018-03-12T14:02:32  *** justan0theruser has quit IRC
218 2018-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
219 2018-03-12T14:04:00  <esotericnonsense> whether there's8
220 2018-03-12T14:12:07  *** ghost43 has joined #bitcoin-core-dev
221 2018-03-12T14:12:17  *** arubi has joined #bitcoin-core-dev
222 2018-03-12T14:13:29  *** ken2812221 has joined #bitcoin-core-dev
223 2018-03-12T14:15:15  *** ken2812221 has quit IRC
224 2018-03-12T14:16:59  *** anon has joined #bitcoin-core-dev
225 2018-03-12T14:17:17  *** anon is now known as Guest65417
226 2018-03-12T14:18:42  *** intcat has joined #bitcoin-core-dev
227 2018-03-12T14:19:05  *** justan0theruser has joined #bitcoin-core-dev
228 2018-03-12T14:58:21  *** ken2812221 has joined #bitcoin-core-dev
229 2018-03-12T15:06:55  *** promag has joined #bitcoin-core-dev
230 2018-03-12T15:07:30  *** intcat has quit IRC
231 2018-03-12T15:08:55  *** intcat has joined #bitcoin-core-dev
232 2018-03-12T15:12:35  *** Guest65417 has quit IRC
233 2018-03-12T15:21:38  *** Giszmo has joined #bitcoin-core-dev
234 2018-03-12T15:24:34  *** arbitrary_guy has joined #bitcoin-core-dev
235 2018-03-12T15:27:32  *** shesek has quit IRC
236 2018-03-12T15:27:40  *** Guest65417 has joined #bitcoin-core-dev
237 2018-03-12T15:29:33  *** HFRadical has joined #bitcoin-core-dev
238 2018-03-12T15:35:08  *** droark has quit IRC
239 2018-03-12T15:43:33  *** arbitrary_guy has quit IRC
240 2018-03-12T15:56:13  *** alexneudatchin has joined #bitcoin-core-dev
241 2018-03-12T15:56:23  *** mryandao has quit IRC
242 2018-03-12T16:08:25  *** Samdney has joined #bitcoin-core-dev
243 2018-03-12T16:08:43  *** HFRadical has quit IRC
244 2018-03-12T16:08:55  *** HFRadical has joined #bitcoin-core-dev
245 2018-03-12T16:17:02  *** ram___ has joined #bitcoin-core-dev
246 2018-03-12T16:20:30  *** arbitrary_guy has joined #bitcoin-core-dev
247 2018-03-12T16:22:35  *** ram___ has quit IRC
248 2018-03-12T16:23:24  *** Victorsueca has quit IRC
249 2018-03-12T16:24:33  *** Victorsueca has joined #bitcoin-core-dev
250 2018-03-12T16:24:46  *** mangoicedtea has joined #bitcoin-core-dev
251 2018-03-12T16:38:05  *** Strepsils has joined #bitcoin-core-dev
252 2018-03-12T16:43:23  *** arbitrary_guy has quit IRC
253 2018-03-12T16:43:59  *** Strepsils has quit IRC
254 2018-03-12T16:48:34  *** droark has joined #bitcoin-core-dev
255 2018-03-12T16:56:46  *** owowo has quit IRC
256 2018-03-12T17:01:55  *** mangoicedtea has quit IRC
257 2018-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
258 2018-03-12T17:08:52  *** Amuza has quit IRC
259 2018-03-12T17:09:17  <sipa> that seems plausible
260 2018-03-12T17:09:25  <sipa> that's around 200k UTXOs
261 2018-03-12T17:10:05  <eklitzke> yeah that seams reasonable given 144 blocks per day
262 2018-03-12T17:10:27  <sipa> or 1400 utxos per block
263 2018-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
264 2018-03-12T17:17:28  *** promag has quit IRC
265 2018-03-12T17:18:55  *** setpill has joined #bitcoin-core-dev
266 2018-03-12T17:19:44  *** setpill has quit IRC
267 2018-03-12T17:20:52  *** droark has quit IRC
268 2018-03-12T17:31:36  *** Deinogalerix21 has joined #bitcoin-core-dev
269 2018-03-12T17:32:10  *** CapitanRetardo has quit IRC
270 2018-03-12T17:39:01  *** mrannanay has quit IRC
271 2018-03-12T17:39:45  <jimpo> eklitzke: Over what range of UTXOS (like UTXOs created since when)?
272 2018-03-12T17:39:51  <jimpo> I can pull that for you if you need
273 2018-03-12T17:40:16  *** CubicEarths has joined #bitcoin-core-dev
274 2018-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
275 2018-03-12T17:43:42  <eklitzke> which i think is sufficient
276 2018-03-12T17:43:53  <eklitzke> that's the probability distribution for any utxo being at a given chain height
277 2018-03-12T17:44:15  <eklitzke> it's cool i can dump the utxo set in a minute or two
278 2018-03-12T17:45:50  <jimpo> neat. y-axis is probability that UTXO is spent within a day?
279 2018-03-12T17:46:40  <eklitzke> it's the proportion of utxos at that chain height
280 2018-03-12T17:47:41  <jimpo> er, right
281 2018-03-12T17:48:00  *** promag has joined #bitcoin-core-dev
282 2018-03-12T17:48:23  *** Victorsueca has quit IRC
283 2018-03-12T17:49:33  *** Victorsueca has joined #bitcoin-core-dev
284 2018-03-12T17:52:36  *** promag has quit IRC
285 2018-03-12T17:56:14  *** schmidty has quit IRC
286 2018-03-12T17:56:46  *** timothy has quit IRC
287 2018-03-12T17:56:46  *** schmidty has joined #bitcoin-core-dev
288 2018-03-12T17:57:10  *** schmidty is now known as Guest51126
289 2018-03-12T18:01:13  *** Guest51126 has quit IRC
290 2018-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
291 2018-03-12T18:03:12  *** Deinogalerix21 has quit IRC
292 2018-03-12T18:04:56  *** dermoth has joined #bitcoin-core-dev
293 2018-03-12T18:10:32  *** wraithm_ is now known as wraithm
294 2018-03-12T18:11:12  *** laurentmt has joined #bitcoin-core-dev
295 2018-03-12T18:21:52  *** Guyver2 has quit IRC
296 2018-03-12T18:28:58  *** AaronvanW has joined #bitcoin-core-dev
297 2018-03-12T18:31:57  *** Aaronva__ has quit IRC
298 2018-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
299 2018-03-12T18:32:17  <cfields> :(
300 2018-03-12T18:32:45  *** Aaronvan_ has joined #bitcoin-core-dev
301 2018-03-12T18:33:16  *** harryTrout has joined #bitcoin-core-dev
302 2018-03-12T18:34:04  <cfields> sipa: i guess you're ready to bail on EC for set hashing, then?
303 2018-03-12T18:36:14  *** AaronvanW has quit IRC
304 2018-03-12T18:36:21  *** r has joined #bitcoin-core-dev
305 2018-03-12T18:36:42  *** grafcaps has joined #bitcoin-core-dev
306 2018-03-12T18:36:42  <cfields> oh, I guess so if ECMH == elliptic curve multi-set hash
307 2018-03-12T18:36:44  *** r is now known as Guest90496
308 2018-03-12T18:38:49  *** Guest90496 has quit IRC
309 2018-03-12T18:39:37  *** promag has joined #bitcoin-core-dev
310 2018-03-12T18:44:29  *** promag has quit IRC
311 2018-03-12T18:49:01  *** droark has joined #bitcoin-core-dev
312 2018-03-12T18:51:22  <sipa> cfields: well 9.3us isn't horrible
313 2018-03-12T18:53:48  <sipa> it means maybe a 20-30% CPU increase overall for full validation, though
314 2018-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?
315 2018-03-12T18:57:53  <sipa> cfields: so, there are two ways of doing hashing onto curves
316 2018-03-12T18:59:00  <sipa> A: do { x = generate 32 bytes; compute y=sqrt(x^3+7); if it exists return (x,y); }
317 2018-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)); }
318 2018-03-12T19:00:04  <sipa> given that around 50% of x values are acceptable, you on average need 2 iterations
319 2018-03-12T19:00:22  <sipa> so method A does 2 sqrts, method B does 2 jacobis + 1 sqrt
320 2018-03-12T19:00:42  <sipa> in other words, B is better than A when jacobi is more than 2x as fast as a sqrt
321 2018-03-12T19:01:01  <cfields> ok
322 2018-03-12T19:01:49  <sipa> with sqrt=5us and jacobi=0.2us, B was clearly worth it
323 2018-03-12T19:02:04  <sipa> but it seems that was wrong, and gmp's jacobi is more like 2us
324 2018-03-12T19:02:14  <cfields> ok, i'm with you now. thanks.
325 2018-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
326 2018-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
327 2018-03-12T19:02:59  <sipa> we had previous given up on that, as 0.2us seemed impossible to beat
328 2018-03-12T19:03:24  *** Dizzle has joined #bitcoin-core-dev
329 2018-03-12T19:03:34  <cfields> heh yes, i see now why it was written off so easily
330 2018-03-12T19:03:57  <sipa> but it is diminishing returns... we're not going to beat 6us or so overall
331 2018-03-12T19:04:16  *** LeMiner has joined #bitcoin-core-dev
332 2018-03-12T19:04:28  <cfields> right
333 2018-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
334 2018-03-12T19:05:50  *** kryptopraxis has quit IRC
335 2018-03-12T19:05:53  <sipa> possibly
336 2018-03-12T19:06:12  <sipa> muhash would overall run in maybe 3-4us per update
337 2018-03-12T19:06:39  <sipa> so it's only a small constant factor difference
338 2018-03-12T19:08:31  <cfields> ah, i figured it was more substantial than that. ok, so a ~2x slowdown is reasonable to consider.
339 2018-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
340 2018-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.
341 2018-03-12T19:10:13  <intcat> cfields: actually, yes i do
342 2018-03-12T19:10:25  <intcat> a lot of other depends are downloaded correctly before this one
343 2018-03-12T19:10:35  <cfields> intcat: sec, let's check if upstream is down atm
344 2018-03-12T19:10:49  <intcat> i noticed master has a different upstream url than 0.16.0 tag
345 2018-03-12T19:11:46  *** schmidty has joined #bitcoin-core-dev
346 2018-03-12T19:11:59  <intcat> sourceforge vs github. and that kind of thing can happen, but it seems that the fallback is failing too
347 2018-03-12T19:12:09  *** schmidty is now known as Guest13163
348 2018-03-12T19:15:15  *** Murch has joined #bitcoin-core-dev
349 2018-03-12T19:15:52  *** qu4ku has joined #bitcoin-core-dev
350 2018-03-12T19:18:09  *** kryptopraxis has joined #bitcoin-core-dev
351 2018-03-12T19:18:42  *** Amuza has joined #bitcoin-core-dev
352 2018-03-12T19:24:54  *** Aaronvan_ has quit IRC
353 2018-03-12T19:25:37  *** AaronvanW has joined #bitcoin-core-dev
354 2018-03-12T19:26:35  *** Victorsueca has quit IRC
355 2018-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
356 2018-03-12T19:27:35  <intcat> :)
357 2018-03-12T19:27:54  *** Victorsueca has joined #bitcoin-core-dev
358 2018-03-12T19:28:40  *** zivl has joined #bitcoin-core-dev
359 2018-03-12T19:34:28  *** dafunkiz_ has joined #bitcoin-core-dev
360 2018-03-12T19:34:37  *** CapitanRetardo has joined #bitcoin-core-dev
361 2018-03-12T19:39:47  *** larafale has quit IRC
362 2018-03-12T19:40:21  *** larafale has joined #bitcoin-core-dev
363 2018-03-12T19:43:57  *** harryTrout has quit IRC
364 2018-03-12T19:44:27  *** larafale has quit IRC
365 2018-03-12T19:50:56  *** larafale has joined #bitcoin-core-dev
366 2018-03-12T19:51:29  *** CubicEarths has quit IRC
367 2018-03-12T19:55:22  *** laurentmt has quit IRC
368 2018-03-12T19:59:46  <intcat> cfields: seems the container im trying to build in borks on the sourceforge redirect
369 2018-03-12T20:00:09  <cfields> intcat: not surprising, sf redirects several times
370 2018-03-12T20:00:16  *** meshcollider has joined #bitcoin-core-dev
371 2018-03-12T20:00:55  <intcat> running the same command on another machine works, though
372 2018-03-12T20:01:08  <intcat> but still, would be nice to have working fallback
373 2018-03-12T20:04:50  *** alexneudatchin has quit IRC
374 2018-03-12T20:06:23  *** AriseChikun has quit IRC
375 2018-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
376 2018-03-12T20:12:41  <provoostenator> I'm confused what causes "getaccountaddress" to not show up in bitcoin-cli help
377 2018-03-12T20:13:47  *** Randolf has quit IRC
378 2018-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
379 2018-03-12T20:14:21  <provoostenator> I figured it had to be something like that. Thanks.
380 2018-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
381 2018-03-12T20:22:53  *** larafale has quit IRC
382 2018-03-12T20:29:18  *** Randolf has joined #bitcoin-core-dev
383 2018-03-12T20:35:37  *** Victorsueca has quit IRC
384 2018-03-12T20:37:03  *** Victorsueca has joined #bitcoin-core-dev
385 2018-03-12T20:43:19  *** promag has joined #bitcoin-core-dev
386 2018-03-12T20:48:01  *** promag has quit IRC
387 2018-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
388 2018-03-12T20:54:47  *** dafunkiz_ has quit IRC
389 2018-03-12T20:58:32  *** dafunkiz_ has joined #bitcoin-core-dev
390 2018-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)
391 2018-03-12T21:00:46  *** kryptopraxis has quit IRC
392 2018-03-12T21:02:11  *** kryptopraxis has joined #bitcoin-core-dev
393 2018-03-12T21:10:38  *** kryptopraxis has quit IRC
394 2018-03-12T21:12:07  *** kryptopraxis has joined #bitcoin-core-dev
395 2018-03-12T21:21:35  *** dafunkiz_ has quit IRC
396 2018-03-12T21:23:05  *** dafunkiz_ has joined #bitcoin-core-dev
397 2018-03-12T21:25:34  *** dafunkiz_ has quit IRC
398 2018-03-12T21:26:05  *** dafunkiz_ has joined #bitcoin-core-dev
399 2018-03-12T21:30:53  *** CapitanRetardo has quit IRC
400 2018-03-12T21:46:09  *** Chris_Stewart_5 has quit IRC
401 2018-03-12T21:46:54  *** qu4ku has quit IRC
402 2018-03-12T21:47:19  *** qu4ku has joined #bitcoin-core-dev
403 2018-03-12T21:48:29  *** arowser has quit IRC
404 2018-03-12T21:48:59  *** Randolf has quit IRC
405 2018-03-12T21:49:34  *** adiabat has quit IRC
406 2018-03-12T21:49:34  *** sdaftuar has quit IRC
407 2018-03-12T21:49:41  *** arowser has joined #bitcoin-core-dev
408 2018-03-12T21:50:09  *** jnewbery has quit IRC
409 2018-03-12T21:50:17  *** promag has joined #bitcoin-core-dev
410 2018-03-12T21:50:42  *** jnewbery has joined #bitcoin-core-dev
411 2018-03-12T21:50:43  *** Amuza has quit IRC
412 2018-03-12T21:51:01  *** Randolf has joined #bitcoin-core-dev
413 2018-03-12T21:53:53  *** adiabat has joined #bitcoin-core-dev
414 2018-03-12T21:55:32  *** promag has quit IRC
415 2018-03-12T21:55:34  *** dafunkiz_ has quit IRC
416 2018-03-12T21:57:37  *** sdaftuar has joined #bitcoin-core-dev
417 2018-03-12T21:57:37  *** sdaftuar has joined #bitcoin-core-dev
418 2018-03-12T22:10:56  *** dafunkiz_ has joined #bitcoin-core-dev
419 2018-03-12T22:15:29  *** lnostdal has joined #bitcoin-core-dev
420 2018-03-12T22:33:48  *** lnostdal has quit IRC
421 2018-03-12T22:36:55  *** dafunkiz_ has joined #bitcoin-core-dev
422 2018-03-12T22:37:55  *** CapitanRetardo has joined #bitcoin-core-dev
423 2018-03-12T22:43:31  *** promag has joined #bitcoin-core-dev
424 2018-03-12T22:48:31  *** promag has quit IRC
425 2018-03-12T22:50:30  *** dafunkiz_ has quit IRC
426 2018-03-12T22:58:57  *** harryTrout has joined #bitcoin-core-dev
427 2018-03-12T23:00:30  *** harryTrout has joined #bitcoin-core-dev
428 2018-03-12T23:01:22  *** steviebits has joined #bitcoin-core-dev
429 2018-03-12T23:02:57  *** AaronvanW has quit IRC
430 2018-03-12T23:10:14  *** promag has joined #bitcoin-core-dev
431 2018-03-12T23:13:07  *** vicenteH has quit IRC
432 2018-03-12T23:17:00  *** AaronvanW has joined #bitcoin-core-dev
433 2018-03-12T23:17:38  *** Victorsueca has quit IRC
434 2018-03-12T23:19:04  *** Victorsueca has joined #bitcoin-core-dev
435 2018-03-12T23:19:18  *** Dizzle has quit IRC
436 2018-03-12T23:28:35  <achow101> In the unit tests, is there a way to test that an assert was hit?
437 2018-03-12T23:33:51  *** dafunkiz_ has joined #bitcoin-core-dev
438 2018-03-12T23:46:13  *** droark has quit IRC
439 2018-03-12T23:46:49  *** droark has joined #bitcoin-core-dev
440 2018-03-12T23:46:59  *** droark has quit IRC
441 2018-03-12T23:47:11  <cfields> intcat: should be good now
442 2018-03-12T23:47:28  *** droark has joined #bitcoin-core-dev
443 2018-03-12T23:47:42  <meshcollider> achow101: I don't think so, I think asserts aren't supposed to be hit at all in theory ;)
444 2018-03-12T23:48:17  <intcat> cfields: https://bitcoincore.org/depends-sources/expat-2.2.5.tar.bz2 works :)
445 2018-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
446 2018-03-12T23:48:53  <cfields> meshcollider: right. achow101 relying on catching an assert implies that it has side-effects in code.
447 2018-03-12T23:49:04  <cfields> intcat: sec, will do a one-time sync of 0.16.
448 2018-03-12T23:49:15  <achow101> cfields: meshcollider: I got my logic backwards
449 2018-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
450 2018-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)
451 2018-03-12T23:51:38  <meshcollider> yeah boost can check for exceptions being thrown, with the likes of BOOST_CHECK_THROW. Just not asserts
452 2018-03-12T23:51:53  *** droark has quit IRC
453 2018-03-12T23:54:02  <cfields> intcat: done
454 2018-03-12T23:54:15  <intcat> cfields: many thanks
455 2018-03-12T23:54:59  <cfields> intcat: np, thanks for the reminder. I've been meaning to fix the bridge for months.
456 2018-03-12T23:56:30  *** CubicEarths has joined #bitcoin-core-dev
457 2018-03-12T23:58:37  *** Murch has quit IRC