1 2017-11-19T00:04:47  *** Cogito_Ergo_Sum has quit IRC
  2 2017-11-19T00:11:26  *** StopAndDecrypt has joined #bitcoin-dev
  3 2017-11-19T00:38:18  *** wxss has quit IRC
  4 2017-11-19T00:40:34  *** Newyorkadam has quit IRC
  5 2017-11-19T00:41:41  *** Newyorkadam has joined #bitcoin-dev
  6 2017-11-19T00:42:03  *** Newyorkadam has quit IRC
  7 2017-11-19T00:42:25  *** Newyorkadam has joined #bitcoin-dev
  8 2017-11-19T01:22:00  <satwo> Is every tx in the mempool a descendant and ancestor of itself? I'm trying to get a handle on the data returned from GetRawMempool (Verbose) when using JSON RCP
  9 2017-11-19T01:25:48  *** iv3c has quit IRC
 10 2017-11-19T01:26:09  *** iv3c has joined #bitcoin-dev
 11 2017-11-19T01:31:20  *** teddy_error has quit IRC
 12 2017-11-19T01:45:27  *** satwo has quit IRC
 13 2017-11-19T01:46:51  *** Newyorkadam has joined #bitcoin-dev
 14 2017-11-19T02:00:17  *** Belxjander has quit IRC
 15 2017-11-19T02:00:45  *** satwo has joined #bitcoin-dev
 16 2017-11-19T02:00:56  *** Belxjander has joined #bitcoin-dev
 17 2017-11-19T03:01:35  *** dermoth has quit IRC
 18 2017-11-19T03:02:20  *** dermoth has joined #bitcoin-dev
 19 2017-11-19T03:03:33  *** dermoth has quit IRC
 20 2017-11-19T03:03:56  *** dermoth has joined #bitcoin-dev
 21 2017-11-19T03:06:05  *** jb55 has joined #bitcoin-dev
 22 2017-11-19T03:10:55  *** jb55 has quit IRC
 23 2017-11-19T03:11:54  *** realz has joined #bitcoin-dev
 24 2017-11-19T03:17:08  *** subo_ has joined #bitcoin-dev
 25 2017-11-19T03:21:05  *** subo has quit IRC
 26 2017-11-19T03:23:05  *** jtimon has quit IRC
 27 2017-11-19T03:25:17  *** sdfgsdfg has joined #bitcoin-dev
 28 2017-11-19T03:31:09  *** sdfgsdfg has joined #bitcoin-dev
 29 2017-11-19T04:06:01  *** lukedashjr has joined #bitcoin-dev
 30 2017-11-19T04:06:58  *** luke-jr has quit IRC
 31 2017-11-19T04:10:30  *** lukedashjr is now known as luke-jr
 32 2017-11-19T04:55:41  *** Belxjander has quit IRC
 33 2017-11-19T05:01:27  *** Belxjander has joined #bitcoin-dev
 34 2017-11-19T05:04:06  *** Jakuza has joined #bitcoin-dev
 35 2017-11-19T05:07:03  *** [7] has quit IRC
 36 2017-11-19T05:08:47  *** TheSeven has joined #bitcoin-dev
 37 2017-11-19T05:12:33  *** Belxjander has quit IRC
 38 2017-11-19T05:15:03  *** dviola has quit IRC
 39 2017-11-19T05:17:41  *** Belxjander has joined #bitcoin-dev
 40 2017-11-19T05:27:48  *** Belxjander has quit IRC
 41 2017-11-19T05:28:53  *** TheAdversary has quit IRC
 42 2017-11-19T05:29:46  *** jcarpenter2 has joined #bitcoin-dev
 43 2017-11-19T05:30:09  *** Belxjander has joined #bitcoin-dev
 44 2017-11-19T05:38:07  *** cybrNaut has quit IRC
 45 2017-11-19T05:55:41  *** Belxjander has quit IRC
 46 2017-11-19T05:56:11  *** Belxjander has joined #bitcoin-dev
 47 2017-11-19T06:02:32  *** TheSeven has quit IRC
 48 2017-11-19T06:03:03  *** TheSeven has joined #bitcoin-dev
 49 2017-11-19T06:14:36  *** melik has joined #bitcoin-dev
 50 2017-11-19T06:18:34  *** oleganza has joined #bitcoin-dev
 51 2017-11-19T06:49:03  <melik> hmmm, looks like ifconfig and /etc/rc.local were deprecated in Debian 9 -- re: https://github.com/bitcoin-core/docs/blob/master/gitian-building/gitian-building-setup-gitian-debian.md
 52 2017-11-19T06:55:01  *** POJO has joined #bitcoin-dev
 53 2017-11-19T06:57:19  *** chjj has joined #bitcoin-dev
 54 2017-11-19T07:01:52  <melik> hmmm something weird with lxc: init.lxc: failed to mount /dev/shm : No such file or directory
 55 2017-11-19T07:06:31  <melik> https://github.com/devrandom/gitian-builder/pull/150
 56 2017-11-19T07:07:07  <melik> ill push commits to replace any instances of ifconfig with brctl/ip
 57 2017-11-19T07:08:21  *** Belxjander has quit IRC
 58 2017-11-19T07:14:55  *** Belxjander has joined #bitcoin-dev
 59 2017-11-19T07:49:02  *** Belxjander has quit IRC
 60 2017-11-19T07:53:50  *** Belxjander has joined #bitcoin-dev
 61 2017-11-19T08:01:53  *** O01eg has quit IRC
 62 2017-11-19T08:04:47  *** Belxjander has quit IRC
 63 2017-11-19T08:11:28  *** Belxjander has joined #bitcoin-dev
 64 2017-11-19T08:13:10  *** Chris_Stewart_5 has joined #bitcoin-dev
 65 2017-11-19T08:14:58  *** oleganza has quit IRC
 66 2017-11-19T08:15:15  *** oleganza has joined #bitcoin-dev
 67 2017-11-19T08:15:57  *** iv3c has quit IRC
 68 2017-11-19T08:18:28  *** Chris_Stewart_5 has quit IRC
 69 2017-11-19T08:42:24  *** one_zero has quit IRC
 70 2017-11-19T08:46:01  *** one_zero has joined #bitcoin-dev
 71 2017-11-19T08:47:59  *** Belxjander has quit IRC
 72 2017-11-19T08:49:56  *** Belxjander has joined #bitcoin-dev
 73 2017-11-19T08:52:21  *** hkjn0 has quit IRC
 74 2017-11-19T09:02:24  *** Belxjander has quit IRC
 75 2017-11-19T09:04:25  *** Belxjander has joined #bitcoin-dev
 76 2017-11-19T09:23:57  *** Belxjander has quit IRC
 77 2017-11-19T09:24:24  *** meshcollider has quit IRC
 78 2017-11-19T09:27:53  *** l4ng1t has joined #bitcoin-dev
 79 2017-11-19T09:28:34  *** dviola has joined #bitcoin-dev
 80 2017-11-19T09:29:58  *** Belxjander has joined #bitcoin-dev
 81 2017-11-19T09:54:07  *** Belxjander has quit IRC
 82 2017-11-19T10:01:07  *** Belxjander has joined #bitcoin-dev
 83 2017-11-19T10:15:35  *** one_zero has quit IRC
 84 2017-11-19T10:32:54  *** Cogito_Ergo_Sum has joined #bitcoin-dev
 85 2017-11-19T10:34:51  *** jtimon has joined #bitcoin-dev
 86 2017-11-19T10:42:56  *** mspier has quit IRC
 87 2017-11-19T10:46:33  *** PaulCapestany has quit IRC
 88 2017-11-19T10:53:16  *** PaulCapestany has joined #bitcoin-dev
 89 2017-11-19T11:05:21  *** meshcollider has joined #bitcoin-dev
 90 2017-11-19T11:16:17  *** Belxjander has quit IRC
 91 2017-11-19T11:17:04  *** Belxjander has joined #bitcoin-dev
 92 2017-11-19T11:26:43  *** txter has quit IRC
 93 2017-11-19T11:28:12  *** txter has joined #bitcoin-dev
 94 2017-11-19T11:37:48  *** Belxjander has quit IRC
 95 2017-11-19T11:38:05  *** Belxjander has joined #bitcoin-dev
 96 2017-11-19T11:44:32  *** Guyver2 has joined #bitcoin-dev
 97 2017-11-19T11:46:51  *** one_zero has joined #bitcoin-dev
 98 2017-11-19T11:48:04  *** PaulCapestany has quit IRC
 99 2017-11-19T11:56:53  *** PaulCapestany has joined #bitcoin-dev
100 2017-11-19T11:59:59  *** one_zero has quit IRC
101 2017-11-19T12:05:17  *** dviola has quit IRC
102 2017-11-19T12:05:49  *** cybrNaut has joined #bitcoin-dev
103 2017-11-19T12:25:35  *** Belxjander has quit IRC
104 2017-11-19T12:31:17  *** Belxjander has joined #bitcoin-dev
105 2017-11-19T12:32:52  *** chjj has quit IRC
106 2017-11-19T12:34:39  *** POJO has quit IRC
107 2017-11-19T12:37:38  *** Skirmant has joined #bitcoin-dev
108 2017-11-19T12:37:58  *** DTZUZO has quit IRC
109 2017-11-19T12:39:34  <txter> The transaction hash, is that a hash of the whole raw transaction?
110 2017-11-19T12:45:55  *** POJO has joined #bitcoin-dev
111 2017-11-19T12:49:52  *** dabura667 has joined #bitcoin-dev
112 2017-11-19T12:51:07  *** cl0uding has joined #bitcoin-dev
113 2017-11-19T12:52:01  <txter> That is, is this correct?
114 2017-11-19T12:52:04  <txter> 1. The transaction is sent raw to other peers (serialized in hex format).
115 2017-11-19T12:52:10  <txter> 2. In that raw transaction there is a hashed 'txid' of the previous output raw transaction proving the ownership of the coins.
116 2017-11-19T12:54:37  *** squarfed has joined #bitcoin-dev
117 2017-11-19T12:54:44  *** dabura667 has quit IRC
118 2017-11-19T12:55:27  *** sdfgsdfg has quit IRC
119 2017-11-19T13:00:15  *** squarfed has quit IRC
120 2017-11-19T13:07:28  *** SopaXorzTaker has joined #bitcoin-dev
121 2017-11-19T13:12:01  *** Skirmant has quit IRC
122 2017-11-19T13:20:37  *** Skirmant has joined #bitcoin-dev
123 2017-11-19T13:41:53  *** Belxjander has quit IRC
124 2017-11-19T13:42:45  *** Belxjander has joined #bitcoin-dev
125 2017-11-19T13:45:10  *** meshcollider has quit IRC
126 2017-11-19T13:49:50  *** iv3c has joined #bitcoin-dev
127 2017-11-19T14:08:33  *** Belxjander has quit IRC
128 2017-11-19T14:10:24  *** Belxjander has joined #bitcoin-dev
129 2017-11-19T14:19:37  <luke-jr> melik: Debian went off the systemd deep end; suggest switching to Devuan
130 2017-11-19T14:19:46  <luke-jr> txter: this is not a channel for altcoin dev supportp
131 2017-11-19T14:30:23  <jaromil> luke-jr: <3 we have also the right version of berkleydb in the pipeline for Devuan ASCII
132 2017-11-19T14:31:34  <jaromil> melik: if you need help with porting the gitian build to Devuan, there are developers here who can help, me included.
133 2017-11-19T14:33:22  <txter> luke-jr: I'm asking in regards to Bitcoin core
134 2017-11-19T14:49:07  <luke-jr> txter: you're sneakily not disclosing you're trying to make an altcoin
135 2017-11-19T14:56:09  *** qrestlove has quit IRC
136 2017-11-19T15:09:24  <txter> luke-jr: I'm on other alt-coin channels, but I am reading through Mastering Bitcoin right now. I've just finished reading chapter 6 on transactions. One thing that is not covered is how transactions are persisted.
137 2017-11-19T15:09:46  <txter> My question has nothing to do with alt coins, it's about how Bitcoin persists transactions in leveldb
138 2017-11-19T15:09:54  <txter> :)
139 2017-11-19T15:12:45  *** tomatopeel has joined #bitcoin-dev
140 2017-11-19T15:17:14  *** jb55 has joined #bitcoin-dev
141 2017-11-19T15:18:15  *** iv3c has quit IRC
142 2017-11-19T15:18:34  *** iv3c has joined #bitcoin-dev
143 2017-11-19T15:26:41  *** GreatWizard has joined #bitcoin-dev
144 2017-11-19T15:28:20  *** GreatWizard has quit IRC
145 2017-11-19T15:57:40  *** dakk has joined #bitcoin-dev
146 2017-11-19T15:58:16  *** Chris_Stewart_5 has joined #bitcoin-dev
147 2017-11-19T16:04:13  *** Belxjander has quit IRC
148 2017-11-19T16:08:49  *** Chris_Stewart_5 has quit IRC
149 2017-11-19T16:10:09  *** Belxjander has joined #bitcoin-dev
150 2017-11-19T16:27:32  <Michail1> If you setup a new full node, will setting it to prune (550) mean it will prune as the data comes in, or does it have to download entire chain and then finally prune?
151 2017-11-19T16:38:33  *** oleganza has quit IRC
152 2017-11-19T16:41:22  <txter> This is said about prune in Mastering Bitcoin: 'Prune: Reduce the disk space requirements to this many megabytes, by deleting old blocks. Use this on a resource-constrained node that can't fit the full blockchain'
153 2017-11-19T16:41:42  <txter> So I'm guessing you will not have to get all the blockchain first, as it is for nodes that can not fit the whole thing
154 2017-11-19T16:42:10  *** SopaXorzTaker has quit IRC
155 2017-11-19T16:43:02  *** SopaXorzTaker has joined #bitcoin-dev
156 2017-11-19T16:45:58  <Michail1> That doesn't answer the question.
157 2017-11-19T16:46:28  <arubi> it prunes as it goes
158 2017-11-19T16:46:48  <Michail1> I understand what it does, but is it afterthefact (Meaning, must download the 150GB first then prune, or it will prune as the data is coming in).
159 2017-11-19T16:46:55  <Michail1> arubi - thankis.
160 2017-11-19T16:46:59  <arubi> yw
161 2017-11-19T16:47:44  *** chr15m has joined #bitcoin-dev
162 2017-11-19T16:48:36  <txter> Why does prune need you to first download 150gb of data when it's there so nodes that specifically can't store 150gb can continue working?
163 2017-11-19T16:49:13  <Michail1> txter - Just a note though.... Yes, you will have to download the entire chain.  There isn't the ability yet (that I know of) in which you can start at a certain point.   Probably an update in the future though when someone can simply start from Jan 1st, 2015 as a start point from a download of a verified chainstate/uxto, etc.   It will happen.
164 2017-11-19T16:49:13  <arubi> you download so you can verify it
165 2017-11-19T16:51:20  <spinza> you download, verify and delete keeping only the last X GB as specified in pruning options
166 2017-11-19T16:51:27  <txter> what if you set prune to 150mb, and as soon as you hit 150mb of chain data it stars discarding earlier data. So when you finally get to this point in time you have 150mb of chain data and you know it's valid since you technically downloaded the whole chain but only keypt around 150mb
167 2017-11-19T16:51:59  <txter> yeah, basically what spinza said
168 2017-11-19T16:52:36  <arubi> that's how it works, only the minimum is 550mb
169 2017-11-19T16:52:53  <spinza> i thouhght the minimum was like 5GB
170 2017-11-19T16:53:25  <txter> Makes sense to have a minimum
171 2017-11-19T16:53:26  <arubi> for pruning it's 550mb, but aside from the chain there are other databases that you can't prune so it ends up taking a few gbs
172 2017-11-19T16:55:15  <txter> Which databases are that?
173 2017-11-19T16:56:31  *** dakk has quit IRC
174 2017-11-19T16:56:57  <arubi> utxo database, wallet..
175 2017-11-19T16:57:03  <txter> I'm reading through Mastering Bitcoin and there is one thing I'm trying to figure out that's not in the book, and that is how data is persisted. In my mind after reading the chapter on transactions I thought the key store db stored: key: txid -> value: raw transactoin in HEX
176 2017-11-19T16:57:23  <txter> but then where would blocks fit in
177 2017-11-19T16:57:25  *** Murch has joined #bitcoin-dev
178 2017-11-19T16:58:06  <arubi> well we just talked about how blocks can be pruned :)
179 2017-11-19T16:58:42  <spinza> what data?
180 2017-11-19T17:01:12  <txter> Well. If I send a transaction to another node, it's going to be put into the mempool (if I remember correctly). There I'm guessing the key value store is (key: txid, value: raw transaction). Is that the leveldb database?
181 2017-11-19T17:01:33  <txter> then there must be another database for the actual chain. Is that a relational one?
182 2017-11-19T17:02:01  <txter> I'm just asking these questions cause I havent finished reading the book (currently on chapter 6), but I'm going to look at the bitcoin code after I finish the book
183 2017-11-19T17:03:03  <arubi> I think it's better to look at code now
184 2017-11-19T17:04:37  <txter> Yeah I might take a look after this chapter. Will probably fill in the blanks
185 2017-11-19T17:04:42  *** cl0uding has quit IRC
186 2017-11-19T17:07:07  *** devbaka has joined #bitcoin-dev
187 2017-11-19T17:07:59  *** devbaka has quit IRC
188 2017-11-19T17:08:19  *** devbaka has joined #bitcoin-dev
189 2017-11-19T17:15:22  *** artdrewkar has joined #bitcoin-dev
190 2017-11-19T17:22:39  *** Belxjander has quit IRC
191 2017-11-19T17:25:55  *** ula has joined #bitcoin-dev
192 2017-11-19T17:28:00  *** Belxjander has joined #bitcoin-dev
193 2017-11-19T17:35:57  *** user_____ has joined #bitcoin-dev
194 2017-11-19T17:37:42  *** oleganza has joined #bitcoin-dev
195 2017-11-19T17:40:08  *** user_____ is now known as wxss
196 2017-11-19T17:41:53  *** oleganza has quit IRC
197 2017-11-19T17:44:58  *** Belxjander has quit IRC
198 2017-11-19T17:45:15  *** priidu has joined #bitcoin-dev
199 2017-11-19T17:47:32  *** Belxjander has joined #bitcoin-dev
200 2017-11-19T17:52:08  *** jb55 has quit IRC
201 2017-11-19T17:58:32  *** jb55 has joined #bitcoin-dev
202 2017-11-19T18:01:00  *** damons has joined #bitcoin-dev
203 2017-11-19T18:01:41  *** l4ng1t has quit IRC
204 2017-11-19T18:04:16  *** damons has quit IRC
205 2017-11-19T18:07:27  *** jb55 has quit IRC
206 2017-11-19T18:19:30  *** priidu has quit IRC
207 2017-11-19T18:20:43  *** uvarovserge has joined #bitcoin-dev
208 2017-11-19T18:39:02  *** mspier has joined #bitcoin-dev
209 2017-11-19T18:40:14  *** airbreather has quit IRC
210 2017-11-19T18:45:00  *** jb55 has joined #bitcoin-dev
211 2017-11-19T18:49:35  *** Belxjander has quit IRC
212 2017-11-19T18:52:07  *** Belxjander has joined #bitcoin-dev
213 2017-11-19T19:02:18  *** dviola has joined #bitcoin-dev
214 2017-11-19T19:17:02  *** firelegend has joined #bitcoin-dev
215 2017-11-19T19:17:46  <firelegend> Hi all, I created a new bitcoin wallet, unencrypted, I generated an address and immediately tried dump the private key, however I am met with error code - 5
216 2017-11-19T19:17:51  <firelegend> Any reason for this?
217 2017-11-19T19:19:20  *** Belxjander has quit IRC
218 2017-11-19T19:20:18  <arubi> is that reproducible?
219 2017-11-19T19:21:18  <firelegend> Reproducible how?
220 2017-11-19T19:21:32  <firelegend> I tried many times, generated a new address, same thing
221 2017-11-19T19:21:48  <firelegend> I use the request payment box to get a new address
222 2017-11-19T19:21:57  *** jb55 has quit IRC
223 2017-11-19T19:22:01  <firelegend> And then the console for dumpprivkey
224 2017-11-19T19:22:05  <arubi> what's the exact error say?
225 2017-11-19T19:22:13  *** dakk has joined #bitcoin-dev
226 2017-11-19T19:22:19  <firelegend> Invalid bitcoin address error code - 5
227 2017-11-19T19:23:17  <firelegend> Perhaps these addresses are from compressed Public keys?
228 2017-11-19T19:23:28  <arubi> of course they are
229 2017-11-19T19:23:32  <firelegend> Ah
230 2017-11-19T19:23:44  <firelegend> So then dumpprivkey requires uncompressed?
231 2017-11-19T19:23:50  <arubi> no?
232 2017-11-19T19:23:58  <firelegend> Then not sure why it doesn't work
233 2017-11-19T19:24:04  <arubi> do 'validateaddress <address>'
234 2017-11-19T19:24:12  <arubi> see if errors on invalid address
235 2017-11-19T19:24:47  <firelegend> Says false
236 2017-11-19T19:24:59  <firelegend> As in isvalid is false
237 2017-11-19T19:25:06  <arubi> I'm not sure what you're pasting in there, but it's not addresses
238 2017-11-19T19:25:21  <firelegend> No way, it ia
239 2017-11-19T19:25:23  <firelegend> Is
240 2017-11-19T19:25:26  *** Belxjander has joined #bitcoin-dev
241 2017-11-19T19:25:27  <arubi> maybe you have 'bitcoin-cli' in your path and it's a symlink to testnet or an altcoin
242 2017-11-19T19:25:35  <firelegend> Hmm
243 2017-11-19T19:25:41  <firelegend> That's plausible wait
244 2017-11-19T19:28:10  <firelegend> Does not seem to be in my path
245 2017-11-19T19:28:24  <arubi> alias?
246 2017-11-19T19:28:26  <firelegend> Perhaps it's because I am using a different datadir?
247 2017-11-19T19:28:38  <arubi> well what's in ~/.bitcoin.conf ?
248 2017-11-19T19:28:54  <arubi> if it's not an alias, not a wrapper, not a symlink, then it's reading that ^
249 2017-11-19T19:29:14  <arubi> er, ~/.bitcoin/bitcoin.conf
250 2017-11-19T19:29:34  <firelegend> But I've set a datadir on the command line parameters
251 2017-11-19T19:29:51  <firelegend> Also I'm on Windows
252 2017-11-19T19:30:36  <arubi> oh, try `bitcoin-cli getblockchaininfo`, what does it say for bestblockhash ?
253 2017-11-19T19:32:37  <firelegend> Alright just a sec
254 2017-11-19T19:35:13  <firelegend> https://pastebin.com/uw4Q4wxD
255 2017-11-19T19:36:46  <arubi> can you post a throwaway example of an address that you passed to validateaddress and returned isvalid : false ?
256 2017-11-19T19:37:58  *** SopaXorzTaker has quit IRC
257 2017-11-19T19:38:02  <arubi> very weird.  I really don't understand where armory's p2sh-p2pk, or whatever it might be relates to all of this
258 2017-11-19T19:40:27  *** nakaluna has joined #bitcoin-dev
259 2017-11-19T19:41:48  <firelegend> I run bitcoin core qt
260 2017-11-19T19:41:53  <firelegend> Version 0.14.2
261 2017-11-19T19:41:58  <arubi> oh disregard the armory comment, I got confused with the guy in #bitcoin
262 2017-11-19T19:42:02  <arubi> yea
263 2017-11-19T19:43:01  <arubi> firelegend, an example of what goes into validateaddress and fails will be helpful.  are you running other daemons at all?
264 2017-11-19T19:43:13  <arubi> if they're on the same rpc port, it might interfere
265 2017-11-19T19:45:46  <firelegend> Not that I'm aware of, no
266 2017-11-19T19:47:36  *** artdrewkar has quit IRC
267 2017-11-19T19:50:40  <firelegend> Is it possible bitcoin core at doesn't pass the datadir parameter to cli?
268 2017-11-19T19:51:12  *** elgatonoir has joined #bitcoin-dev
269 2017-11-19T19:51:42  *** Beef has quit IRC
270 2017-11-19T19:55:24  <firelegend> Hmm weird
271 2017-11-19T19:55:39  <firelegend> .it seems to work now after restarting it twice
272 2017-11-19T19:56:19  *** Beef has joined #bitcoin-dev
273 2017-11-19T19:58:06  *** Guyver2 has quit IRC
274 2017-11-19T19:58:25  *** airbreather has joined #bitcoin-dev
275 2017-11-19T19:59:38  *** nakaluna has quit IRC
276 2017-11-19T20:01:45  <firelegend> Seems like after generating a new address it takes a while for it to appear with dumpprivkey
277 2017-11-19T20:01:58  *** jb55 has joined #bitcoin-dev
278 2017-11-19T20:04:52  <arubi> I haven't tried generate && dump one after another, but it makes sense that accessing these things can take more than a microsecond
279 2017-11-19T20:06:51  <firelegend> A few minutes
280 2017-11-19T20:08:00  <firelegend> I'm doing this by hand
281 2017-11-19T20:08:11  <firelegend> So Def a few seconds in between
282 2017-11-19T20:10:37  <arubi> well good to know.  I mostly stress testing core using regtest, and the datadir is in /dev/shm, so I don't experience a lot of these quirks
283 2017-11-19T20:10:54  <arubi> I'm*
284 2017-11-19T20:11:00  <firelegend> Uhm it's not a test
285 2017-11-19T20:11:07  <arubi> yea I figure
286 2017-11-19T20:11:23  <arubi> that's why I'm assuming I never encountered it
287 2017-11-19T20:11:26  <firelegend> I am simply trying to generate an address, make sure I have the key and send some BTC there
288 2017-11-19T20:11:39  <arubi> well, if you generated it, you do have the key
289 2017-11-19T20:11:52  <arubi> it's enough to run validateaddress
290 2017-11-19T20:11:58  <arubi> it'll say "ismine : true"
291 2017-11-19T20:12:06  <firelegend> Paranoia, plan to use cash and sell it, while making sure my BTC stay safe
292 2017-11-19T20:12:08  <arubi> even better, "solvable : true"
293 2017-11-19T20:12:32  <arubi> paranoia should divert you from dumping private keys
294 2017-11-19T20:13:56  <firelegend> I'm afraid that while this bug occurs, or quirk, neither dumpprivkey work nor validateaddress
295 2017-11-19T20:14:06  <arubi> hm I guess it doesn't say about solvable, where did I see it..
296 2017-11-19T20:14:24  <firelegend> Because they return isvalid:false
297 2017-11-19T20:14:40  <arubi> well, you still haven't posted an example of what you're passing to it
298 2017-11-19T20:14:54  <firelegend> Just the bit on address
299 2017-11-19T20:15:11  <arubi> can you generate a throwaway address and paste it?
300 2017-11-19T20:15:58  <firelegend> 12fG2krj6iEr1GEzGdScERM5Ec9PYXtvX2
301 2017-11-19T20:16:19  <arubi> whaddaya know, it's invalid
302 2017-11-19T20:16:29  <arubi> maybe you have malware :)
303 2017-11-19T20:17:17  <arubi> the first bytes are "1234", comon
304 2017-11-19T20:18:10  <firelegend> Sorry?
305 2017-11-19T20:20:29  <arubi> firelegend, if you don't know what I'm talking about, I suggest you completely reinstall your operating system
306 2017-11-19T20:21:12  <firelegend> Pretty sure I am clean
307 2017-11-19T20:22:03  <arubi> wait
308 2017-11-19T20:22:45  <arubi> yea, my fault.  I was bit by my own symlinks..
309 2017-11-19T20:23:35  <arubi> man that's some coincidence..  I thought you were trolling, the first two bytes of the hash160 is 12, 34.. it seemed so artificial
310 2017-11-19T20:24:11  <arubi> firelegend, the address is valid.  I'm not sure what's been passed through to bitcoin-cli.  can you pase the full command?
311 2017-11-19T20:24:15  <firelegend> Well I am not
312 2017-11-19T20:24:55  <arubi> yea, there's 1 to 2^16 chance of it being an hones 12, 34 address, and it is.  please don't blame me :)
313 2017-11-19T20:25:04  <arubi> s/hones/honest/
314 2017-11-19T20:25:57  *** chjj has joined #bitcoin-dev
315 2017-11-19T20:26:15  <firelegend> Seems to work once more
316 2017-11-19T20:27:13  <arubi> you said you're running 0.14.2, latest is 0.15.1 . maybe try it out and open an issue on github if it doesn't solve the problem
317 2017-11-19T20:27:47  <firelegend> Figured it out
318 2017-11-19T20:27:54  <firelegend> Quotes
319 2017-11-19T20:28:01  <firelegend> Must use quotes
320 2017-11-19T20:30:23  <arubi> oh, that's unexpected..
321 2017-11-19T20:32:16  <firelegend> Still paying 16 dollars as fees is a bit much
322 2017-11-19T20:32:46  <arubi> pay less if you want
323 2017-11-19T20:32:51  <firelegend> I did
324 2017-11-19T20:32:59  <firelegend> 150k Satoshi per kb
325 2017-11-19T20:33:09  <firelegend> Instead of 0.004
326 2017-11-19T20:33:42  <arubi> I usually go with 10-20 sat/byte
327 2017-11-19T20:34:18  <firelegend> And it works?
328 2017-11-19T20:34:28  <arubi> I aim for weekends
329 2017-11-19T20:34:47  <firelegend> Well, I'm about to sell bch all of it so
330 2017-11-19T20:35:03  *** Murch has quit IRC
331 2017-11-19T20:35:03  <firelegend> Maybe I will make it all back
332 2017-11-19T20:35:36  <dviola> arubi: how do you know the size of your tx before sending?
333 2017-11-19T20:35:49  <arubi> you put dummy signatures in it
334 2017-11-19T20:36:33  <dviola> not sure how
335 2017-11-19T20:37:45  *** Dummbatz has left #bitcoin-dev
336 2017-11-19T20:38:50  *** dermoth has quit IRC
337 2017-11-19T20:39:16  *** dermoth has joined #bitcoin-dev
338 2017-11-19T20:39:31  <arubi> oh sorry, you mean with the client?
339 2017-11-19T20:40:21  <arubi> I'm not sure if there's a way to tell easily
340 2017-11-19T20:40:36  <arubi> /dinner time
341 2017-11-19T20:41:53  <jb55> put together a script that pulls fee estimtes from your full node: https://github.com/jb55/bitcoin-fees
342 2017-11-19T20:43:35  <dviola> yes, with core
343 2017-11-19T20:43:57  <dviola> I just want to be able to calculate the right fee for my tx
344 2017-11-19T20:44:16  <dviola> I'd like to know how most people do it
345 2017-11-19T20:44:31  <dviola> I've been using the fee estimator in core
346 2017-11-19T20:44:51  <dviola> which is ok, but I wonder if there is a better way
347 2017-11-19T20:45:00  <eck> the median txn is 121 bytes
348 2017-11-19T20:45:23  <eck> err
349 2017-11-19T20:45:24  <eck> 226 bytes
350 2017-11-19T20:45:26  <jb55> ^
351 2017-11-19T20:45:35  <eck> i would start with that unless you have a reason to suspect it would be different
352 2017-11-19T20:45:37  <jb55> that's the default I use for my fee estimation script
353 2017-11-19T20:45:52  <eck> i believe 226 bytes is for 1 input, 2 outputs p2pkh
354 2017-11-19T20:46:56  <firelegend> Mean or median?
355 2017-11-19T20:46:57  *** meshcollider has joined #bitcoin-dev
356 2017-11-19T20:47:36  <eck> median
357 2017-11-19T20:48:10  *** oleganza has joined #bitcoin-dev
358 2017-11-19T20:48:13  <eck> the mean would be larger, i don't know if you can create a transaction smaller than that
359 2017-11-19T20:49:03  <dviola> ok so the more inputs the higher the bytes
360 2017-11-19T20:49:05  <dviola> ?
361 2017-11-19T20:49:16  <jb55> hmm to send 100kb tx in 1-2 blocks would cost $1322 right now :O
362 2017-11-19T20:51:16  <eck> that would be a big tx
363 2017-11-19T20:51:31  <eck> dviola: yes
364 2017-11-19T20:51:47  <dviola> eck: I see, thanks
365 2017-11-19T20:52:15  <dviola> can't believe I overpaid like $20 before
366 2017-11-19T20:54:52  <dviola> well, that tx had 10+ inputs so it's not too bad I guess
367 2017-11-19T21:29:36  *** firelegend has quit IRC
368 2017-11-19T21:34:06  <melik> luke-jr, jaromil Ah, I see!
369 2017-11-19T21:34:23  *** wizkid057 has quit IRC
370 2017-11-19T21:35:45  <melik> thanks guys; first time hearing about devuan, i see that it still use sysvinit
371 2017-11-19T21:36:01  <melik> i'll set up a new VM then, thank you :)
372 2017-11-19T21:37:16  *** wizkid057 has joined #bitcoin-dev
373 2017-11-19T21:37:42  *** justanotheruser has quit IRC
374 2017-11-19T21:43:56  *** justanotheruser has joined #bitcoin-dev
375 2017-11-19T21:44:00  *** justanotheruser has quit IRC
376 2017-11-19T21:44:20  *** justanotheruser has joined #bitcoin-dev
377 2017-11-19T22:11:10  *** txter has quit IRC
378 2017-11-19T22:15:18  *** satwo has quit IRC
379 2017-11-19T22:16:41  *** qrestlove has joined #bitcoin-dev
380 2017-11-19T22:28:15  *** dakk has quit IRC
381 2017-11-19T22:30:23  *** qrestlove has quit IRC
382 2017-11-19T22:32:24  *** Belxjander has quit IRC
383 2017-11-19T22:33:16  *** qrestlove has joined #bitcoin-dev
384 2017-11-19T22:33:22  *** Belxjander has joined #bitcoin-dev
385 2017-11-19T22:35:53  *** windsok has joined #bitcoin-dev
386 2017-11-19T22:44:19  *** Newyorkadam has quit IRC
387 2017-11-19T22:46:23  *** Newyorkadam has joined #bitcoin-dev
388 2017-11-19T22:59:15  *** caktux has quit IRC
389 2017-11-19T23:00:32  *** tombusby has quit IRC
390 2017-11-19T23:00:47  *** tombusby has joined #bitcoin-dev
391 2017-11-19T23:03:17  *** caktux has joined #bitcoin-dev
392 2017-11-19T23:08:48  *** windsok has quit IRC
393 2017-11-19T23:08:49  *** windsok has joined #bitcoin-dev
394 2017-11-19T23:25:56  *** jb55 has quit IRC
395 2017-11-19T23:27:45  *** helo_ is now known as helo
396 2017-11-19T23:33:09  *** jcarpenter2 has quit IRC
397 2017-11-19T23:35:23  *** Newyorkadam has quit IRC
398 2017-11-19T23:36:19  *** qrestlove has quit IRC
399 2017-11-19T23:47:36  *** qrestlove has joined #bitcoin-dev
400 2017-11-19T23:49:55  *** Cogito_Ergo_Sum has quit IRC
401 2017-11-19T23:56:43  *** oleganza has quit IRC