1 2017-06-02T00:05:03  *** Agro has quit IRC
  2 2017-06-02T00:07:06  *** matrix1233 has quit IRC
  3 2017-06-02T00:18:09  *** Agro has joined #bitcoin-dev
  4 2017-06-02T00:33:29  *** cfields has quit IRC
  5 2017-06-02T00:34:19  *** cfields has joined #bitcoin-dev
  6 2017-06-02T00:35:22  *** ghost43 has quit IRC
  7 2017-06-02T00:36:06  *** ghost43 has joined #bitcoin-dev
  8 2017-06-02T01:05:08  *** dabura667 has joined #bitcoin-dev
  9 2017-06-02T01:13:35  *** justan0theruser has quit IRC
 10 2017-06-02T01:14:35  *** justanotheruser has joined #bitcoin-dev
 11 2017-06-02T01:17:35  *** cyphase has quit IRC
 12 2017-06-02T01:21:31  *** cyphase has joined #bitcoin-dev
 13 2017-06-02T01:54:03  *** priidu has joined #bitcoin-dev
 14 2017-06-02T01:54:55  *** ghost43 has quit IRC
 15 2017-06-02T01:55:14  *** ghost43 has joined #bitcoin-dev
 16 2017-06-02T02:00:15  *** ongolaBoy has joined #bitcoin-dev
 17 2017-06-02T02:09:55  *** feri has joined #bitcoin-dev
 18 2017-06-02T02:13:05  *** PaulCapestany has quit IRC
 19 2017-06-02T02:16:50  *** PaulCapestany has joined #bitcoin-dev
 20 2017-06-02T02:19:10  *** priidu has quit IRC
 21 2017-06-02T02:19:52  *** ongolaBoy has quit IRC
 22 2017-06-02T02:30:33  *** suryab has joined #bitcoin-dev
 23 2017-06-02T02:31:21  <suryab> when the core code attempts to do something like this: size_t nLimitAncestors = GetArg("-limitancestorcount", DEFAULT_ANCESTOR_LIMIT);
 24 2017-06-02T02:31:47  <suryab> is the `-limitancestorcount` parameter something I have to pass in when running bitcoind or with my call to bitcoin-cli?
 25 2017-06-02T02:32:14  <suryab> when trying with bitcoind it fails, so I assume that it's with bitcoin-cli but I may be doing something wrong
 26 2017-06-02T02:44:42  *** RubenSomsen has joined #bitcoin-dev
 27 2017-06-02T02:59:44  *** mnk has joined #bitcoin-dev
 28 2017-06-02T03:00:30  *** raas has joined #bitcoin-dev
 29 2017-06-02T03:13:57  *** RubenSomsen has quit IRC
 30 2017-06-02T03:58:21  *** mnk has quit IRC
 31 2017-06-02T04:23:27  *** iv3c has quit IRC
 32 2017-06-02T04:23:29  *** alferz has joined #bitcoin-dev
 33 2017-06-02T04:29:36  *** TheSeven has quit IRC
 34 2017-06-02T04:30:12  *** TheSeven has joined #bitcoin-dev
 35 2017-06-02T04:35:40  *** alferz has quit IRC
 36 2017-06-02T04:41:59  *** suryab has quit IRC
 37 2017-06-02T04:46:11  *** bozza has quit IRC
 38 2017-06-02T04:49:57  *** coin_trader has quit IRC
 39 2017-06-02T04:50:04  *** coin_trader has joined #bitcoin-dev
 40 2017-06-02T05:07:19  *** mnk has joined #bitcoin-dev
 41 2017-06-02T05:18:57  *** O01eg has quit IRC
 42 2017-06-02T05:27:58  *** |Clown| is now known as Guest63942
 43 2017-06-02T05:27:58  *** |Clown| has joined #bitcoin-dev
 44 2017-06-02T05:54:37  *** clopez has quit IRC
 45 2017-06-02T05:56:07  *** clopez_ has joined #bitcoin-dev
 46 2017-06-02T06:00:08  *** dermoth has quit IRC
 47 2017-06-02T06:00:54  *** dermoth has joined #bitcoin-dev
 48 2017-06-02T06:03:14  *** priidu has joined #bitcoin-dev
 49 2017-06-02T06:05:37  *** jtimon has quit IRC
 50 2017-06-02T06:21:16  *** mnk has quit IRC
 51 2017-06-02T06:38:21  *** BashCo has quit IRC
 52 2017-06-02T06:47:24  *** Giszmo has quit IRC
 53 2017-06-02T06:48:28  *** Victor_sueca has joined #bitcoin-dev
 54 2017-06-02T06:49:29  *** Victorsueca has quit IRC
 55 2017-06-02T06:50:00  *** Victorsueca has joined #bitcoin-dev
 56 2017-06-02T06:52:27  *** Victor_sueca has quit IRC
 57 2017-06-02T07:00:15  *** raas has quit IRC
 58 2017-06-02T07:04:56  *** BashCo has joined #bitcoin-dev
 59 2017-06-02T07:05:37  *** epopt has quit IRC
 60 2017-06-02T07:07:27  *** priidu has quit IRC
 61 2017-06-02T07:12:47  *** priidu has joined #bitcoin-dev
 62 2017-06-02T07:24:22  *** impulse has quit IRC
 63 2017-06-02T07:26:07  *** emzy has joined #bitcoin-dev
 64 2017-06-02T07:31:19  *** impulse has joined #bitcoin-dev
 65 2017-06-02T07:33:59  *** bteitelb has joined #bitcoin-dev
 66 2017-06-02T07:35:20  *** ongolaBoy has joined #bitcoin-dev
 67 2017-06-02T07:40:11  *** czaanja_ has joined #bitcoin-dev
 68 2017-06-02T07:44:01  *** Agro has quit IRC
 69 2017-06-02T07:46:10  *** priidu has quit IRC
 70 2017-06-02T07:50:43  *** priidu has joined #bitcoin-dev
 71 2017-06-02T07:58:21  *** Diablo-D3 has quit IRC
 72 2017-06-02T08:02:35  *** Agro has joined #bitcoin-dev
 73 2017-06-02T08:05:56  *** Diablo-D3 has joined #bitcoin-dev
 74 2017-06-02T08:08:07  *** Agro has quit IRC
 75 2017-06-02T08:12:36  *** nazarewk has joined #bitcoin-dev
 76 2017-06-02T08:18:59  *** bteitelb has quit IRC
 77 2017-06-02T08:21:51  *** thestringpuller has joined #bitcoin-dev
 78 2017-06-02T08:31:58  *** Victorsueca has quit IRC
 79 2017-06-02T08:32:07  *** Victorsueca has joined #bitcoin-dev
 80 2017-06-02T08:38:53  *** Victorsueca has quit IRC
 81 2017-06-02T08:39:08  *** Victorsueca has joined #bitcoin-dev
 82 2017-06-02T08:40:01  *** d9b4bef9 has quit IRC
 83 2017-06-02T08:41:09  *** d9b4bef9 has joined #bitcoin-dev
 84 2017-06-02T08:48:53  <wumpus> they are bitcoind arguments, which can be provided on the bitcoind command line or in bitcoin.conf
 85 2017-06-02T09:03:35  *** josephpoon has quit IRC
 86 2017-06-02T09:04:04  *** josephpoon has joined #bitcoin-dev
 87 2017-06-02T09:10:33  *** coin_trader has quit IRC
 88 2017-06-02T09:26:23  *** SopaXorzTaker has joined #bitcoin-dev
 89 2017-06-02T09:50:32  *** Guyver2 has joined #bitcoin-dev
 90 2017-06-02T09:54:27  *** ghost43 has quit IRC
 91 2017-06-02T09:55:13  *** ghost43 has joined #bitcoin-dev
 92 2017-06-02T10:02:12  *** dabura667 has quit IRC
 93 2017-06-02T10:05:24  *** Raziel has quit IRC
 94 2017-06-02T10:36:44  *** meLon has quit IRC
 95 2017-06-02T10:38:17  *** jeremias has joined #bitcoin-dev
 96 2017-06-02T10:38:57  <jeremias> bitcoin-cli getbalance "*" N is returning negative values when N is high, for example 5
 97 2017-06-02T10:40:00  <jeremias> and the more negative the higher number of confirmations required...
 98 2017-06-02T11:04:57  *** BashCo has quit IRC
 99 2017-06-02T11:06:01  *** NewLiberty has quit IRC
100 2017-06-02T11:07:26  *** BashCo has joined #bitcoin-dev
101 2017-06-02T11:41:47  *** ghost43_ has joined #bitcoin-dev
102 2017-06-02T11:41:55  *** ghost43 has quit IRC
103 2017-06-02T11:44:57  *** ghost43_ has quit IRC
104 2017-06-02T11:45:16  *** ghost43_ has joined #bitcoin-dev
105 2017-06-02T11:46:25  <instagibbs> dont use getbalance with accounts :)
106 2017-06-02T11:48:19  *** swoup has joined #bitcoin-dev
107 2017-06-02T11:54:28  *** priidu has quit IRC
108 2017-06-02T12:03:22  *** priidu has joined #bitcoin-dev
109 2017-06-02T12:06:19  *** blackwraith has joined #bitcoin-dev
110 2017-06-02T12:08:05  *** priidu has quit IRC
111 2017-06-02T12:14:48  *** ghost43_ is now known as ghost43
112 2017-06-02T12:15:44  *** RubenSomsen has joined #bitcoin-dev
113 2017-06-02T12:18:14  *** meLon has joined #bitcoin-dev
114 2017-06-02T12:20:00  *** janko33 has joined #bitcoin-dev
115 2017-06-02T12:29:53  *** janko33_ has joined #bitcoin-dev
116 2017-06-02T12:33:35  *** janko33 has quit IRC
117 2017-06-02T12:42:29  *** airbreather has quit IRC
118 2017-06-02T12:42:50  *** airbreather has joined #bitcoin-dev
119 2017-06-02T12:46:37  *** agricocb has quit IRC
120 2017-06-02T12:56:57  *** blackwraith has quit IRC
121 2017-06-02T13:01:29  *** Xozl has joined #bitcoin-dev
122 2017-06-02T13:06:52  *** meLon has quit IRC
123 2017-06-02T13:07:31  *** jtimon has joined #bitcoin-dev
124 2017-06-02T13:18:30  *** coin_trader has joined #bitcoin-dev
125 2017-06-02T13:21:22  *** agricocb has joined #bitcoin-dev
126 2017-06-02T13:26:40  *** agricocb has quit IRC
127 2017-06-02T13:31:36  *** iv3c has joined #bitcoin-dev
128 2017-06-02T13:37:44  *** NewLiberty has joined #bitcoin-dev
129 2017-06-02T13:46:04  *** subo has joined #bitcoin-dev
130 2017-06-02T13:48:39  *** subo has quit IRC
131 2017-06-02T13:49:17  *** subo has joined #bitcoin-dev
132 2017-06-02T13:50:35  *** Xozl has quit IRC
133 2017-06-02T13:51:45  *** Xozl has joined #bitcoin-dev
134 2017-06-02T13:56:17  *** bugs_ has joined #bitcoin-dev
135 2017-06-02T14:20:32  *** twistedline has quit IRC
136 2017-06-02T14:22:22  *** twistedline has joined #bitcoin-dev
137 2017-06-02T14:24:16  *** Giszmo has joined #bitcoin-dev
138 2017-06-02T14:56:06  *** epopt has joined #bitcoin-dev
139 2017-06-02T15:16:36  *** nazarewk has quit IRC
140 2017-06-02T15:19:58  *** meLon has joined #bitcoin-dev
141 2017-06-02T15:48:44  *** O01eg has joined #bitcoin-dev
142 2017-06-02T15:49:31  *** abpa has joined #bitcoin-dev
143 2017-06-02T16:12:39  *** impulse has quit IRC
144 2017-06-02T16:15:11  *** BashCo has quit IRC
145 2017-06-02T16:17:39  *** Xozl has quit IRC
146 2017-06-02T16:20:30  *** matrix1233 has joined #bitcoin-dev
147 2017-06-02T16:23:19  *** Xozl has joined #bitcoin-dev
148 2017-06-02T16:36:19  *** Xozl has quit IRC
149 2017-06-02T16:37:43  *** BashCo has joined #bitcoin-dev
150 2017-06-02T16:40:57  *** chjj has quit IRC
151 2017-06-02T16:41:10  *** Xozl has joined #bitcoin-dev
152 2017-06-02T16:53:27  *** ThomasV has joined #bitcoin-dev
153 2017-06-02T16:54:07  *** RubenSomsen has quit IRC
154 2017-06-02T16:55:02  *** NewLiberty has quit IRC
155 2017-06-02T16:55:17  *** chjj has joined #bitcoin-dev
156 2017-06-02T16:56:19  *** nazarewk has joined #bitcoin-dev
157 2017-06-02T16:56:19  *** matrix1233 has quit IRC
158 2017-06-02T16:57:09  *** matrix1233 has joined #bitcoin-dev
159 2017-06-02T17:03:34  *** ThomasV has quit IRC
160 2017-06-02T17:05:15  *** RubenSomsen has joined #bitcoin-dev
161 2017-06-02T17:07:52  *** nazarewk has quit IRC
162 2017-06-02T17:33:59  *** matrix1233 has quit IRC
163 2017-06-02T17:34:41  *** matrix1233 has joined #bitcoin-dev
164 2017-06-02T17:46:35  *** sunnyveil has joined #bitcoin-dev
165 2017-06-02T17:48:57  <sunnyveil> hi, i would like to know how you interpret the data that you get from "bitcoind getblocktemplate" a big part of that json i am getting there is an array of transactions each with a 'data'-entry. what kind of format is that data-entry is it just a hex-encoded RawTransaction?
166 2017-06-02T17:50:46  <sunnyveil> with raw transaction i mean this format https://bitcoin.org/en/developer-reference#raw-transaction-format
167 2017-06-02T17:52:36  *** raas has joined #bitcoin-dev
168 2017-06-02T17:52:58  <arubi> sunnyveil, are you actually running "bitcoind getblocktemplate" ?
169 2017-06-02T17:53:35  <sunnyveil> yes
170 2017-06-02T17:53:49  <arubi> what software is this?
171 2017-06-02T17:53:53  <sunnyveil> bitcoind
172 2017-06-02T17:53:59  <arubi> what coin?
173 2017-06-02T17:54:04  <sunnyveil> bitcoin ?
174 2017-06-02T17:54:10  <arubi> what version..?
175 2017-06-02T17:54:39  <sunnyveil> 0.14.1
176 2017-06-02T17:54:46  <arubi> bitcoin-cli does getblocktemplate..
177 2017-06-02T17:54:55  <sunnyveil> ah sorry you are right
178 2017-06-02T17:55:11  <sunnyveil> bitcoin-cli you are completely right there, i am using bitcoind -u first to start it
179 2017-06-02T17:55:14  <sunnyveil> got confused there
180 2017-06-02T17:55:50  <arubi> okay, so you're getting an array of transaction IDs?
181 2017-06-02T17:55:59  <arubi> is that what you're asking about?
182 2017-06-02T17:56:24  <sunnyveil> well i am asking about the response of "bitcoin-cli.exe getblocktemplate"
183 2017-06-02T17:56:52  <sunnyveil> it returns a roughly 2mb json with a bunch of transactions, who each have a data-element and i am wondering what the format of that data-element is
184 2017-06-02T17:57:27  <arubi> actually this is new
185 2017-06-02T17:58:09  <arubi> so yes these are raw transactions like in the link you posted
186 2017-06-02T17:58:16  <sunnyveil> wonderful
187 2017-06-02T17:59:13  <sunnyveil> so that is all i need to mine a block, i can ignore all the other parts of that transaction-entry "txid" "hash" "depends" "fee" "sigops" "weight"
188 2017-06-02T17:59:30  <arubi> you should look at the txid and hash really
189 2017-06-02T17:59:39  <sunnyveil> hm look for what?
190 2017-06-02T17:59:42  *** umarucchi has joined #bitcoin-dev
191 2017-06-02T17:59:43  *** czaanja_ has quit IRC
192 2017-06-02T17:59:44  <arubi> why bother with the raw tx if it's validated and set up for you?
193 2017-06-02T18:00:07  <arubi> well, look at the "txid" and "hash" fields for actual block header construction
194 2017-06-02T18:00:42  <sunnyveil> hm i dont understand
195 2017-06-02T18:01:06  <sunnyveil> oh nvm i understand
196 2017-06-02T18:01:10  <arubi> oh :)
197 2017-06-02T18:01:46  *** Agro has joined #bitcoin-dev
198 2017-06-02T18:02:02  <sunnyveil> the hash-entry is the sha256(sha256()) of the data-entry?
199 2017-06-02T18:02:41  <arubi> yes, but "txid" is too.  these are calculated differently for segwit and non segwit transactions
200 2017-06-02T18:02:55  <arubi> for non-segwit, hash == txid, but not the case for segwit
201 2017-06-02T18:03:03  <sunnyveil> oh okay, i dont even know what segwit transactions are
202 2017-06-02T18:03:17  <arubi> well
203 2017-06-02T18:03:22  <arubi> what are you trying to do?
204 2017-06-02T18:03:28  <sunnyveil> i want to mine a block
205 2017-06-02T18:03:48  <sunnyveil> or rather i am developing a miner, for educational purpose not real usage
206 2017-06-02T18:04:12  <arubi> okay, did you look at mining code in bitcoin core, or on bfgminer for example?
207 2017-06-02T18:04:44  <sunnyveil> i tried to of bitcoin core, but it is rather hard to understand
208 2017-06-02T18:04:57  <arubi> you should start with trying to mine "empty" blocks (with only the generation transaction), then move on to adding a segwit part to that
209 2017-06-02T18:05:07  <arubi> then one transaction, then the whole tree :)
210 2017-06-02T18:06:13  <sunnyveil> okay, can you point me somewhere to read about "segwit" when i google "bitcoin segwit" i only get news and adapation-articles, not really describing what i means
211 2017-06-02T18:06:23  <arubi> google 'segwit bip141'
212 2017-06-02T18:06:41  <sunnyveil> merci :)
213 2017-06-02T18:06:48  <arubi> cheers
214 2017-06-02T18:06:53  <sunnyveil> thanks a lot arubi you helped me a great deal :D
215 2017-06-02T18:07:01  <arubi> no problem sunnyveil
216 2017-06-02T18:11:39  *** matrix1233 has quit IRC
217 2017-06-02T18:12:19  *** matrix1233 has joined #bitcoin-dev
218 2017-06-02T18:29:05  *** RubenSomsen has quit IRC
219 2017-06-02T18:29:37  *** impulse has joined #bitcoin-dev
220 2017-06-02T18:30:13  *** matrix1233 has quit IRC
221 2017-06-02T18:47:09  *** chainey has joined #bitcoin-dev
222 2017-06-02T19:03:56  *** priidu has joined #bitcoin-dev
223 2017-06-02T19:10:22  *** Guyver2 has quit IRC
224 2017-06-02T19:17:00  *** PaulCapestany has quit IRC
225 2017-06-02T19:20:37  *** PaulCapestany has joined #bitcoin-dev
226 2017-06-02T19:23:31  *** matrix1233 has joined #bitcoin-dev
227 2017-06-02T19:28:35  *** matrix1233 has quit IRC
228 2017-06-02T19:29:41  *** chainey has quit IRC
229 2017-06-02T19:32:12  *** SopaXorzTaker has quit IRC
230 2017-06-02T19:41:35  *** umarucchi has quit IRC
231 2017-06-02T19:51:55  *** aj has joined #bitcoin-dev
232 2017-06-02T19:52:46  *** sunnyveil has quit IRC
233 2017-06-02T20:02:40  *** jtimon has quit IRC
234 2017-06-02T20:07:00  *** Michail1 has joined #bitcoin-dev
235 2017-06-02T20:07:34  <Michail1> Anyone have a good read for Lightning they could link me to?
236 2017-06-02T20:11:46  *** impulse has quit IRC
237 2017-06-02T20:17:54  *** matrix1233 has joined #bitcoin-dev
238 2017-06-02T20:22:08  *** blackwraith has joined #bitcoin-dev
239 2017-06-02T20:22:35  *** matrix1233 has quit IRC
240 2017-06-02T20:23:22  *** priidu has quit IRC
241 2017-06-02T20:42:28  *** ongolaBoy has quit IRC
242 2017-06-02T20:48:34  *** blackwraith has quit IRC
243 2017-06-02T20:49:17  *** jtimon has joined #bitcoin-dev
244 2017-06-02T21:02:59  *** impulse has joined #bitcoin-dev
245 2017-06-02T21:11:57  *** matrix1233 has joined #bitcoin-dev
246 2017-06-02T21:12:57  *** dermoth has quit IRC
247 2017-06-02T21:16:35  *** matrix1233 has quit IRC
248 2017-06-02T21:25:34  *** dermoth has joined #bitcoin-dev
249 2017-06-02T21:41:07  *** bugs_ has quit IRC
250 2017-06-02T21:49:02  *** agricocb has joined #bitcoin-dev
251 2017-06-02T22:02:22  *** raas has quit IRC
252 2017-06-02T22:06:10  *** matrix1233 has joined #bitcoin-dev
253 2017-06-02T22:10:55  *** matrix1233 has quit IRC
254 2017-06-02T22:13:58  *** janko33_ has quit IRC
255 2017-06-02T22:27:55  *** feri has quit IRC
256 2017-06-02T22:28:13  *** feri has joined #bitcoin-dev
257 2017-06-02T22:32:06  *** Qatz_ has joined #bitcoin-dev
258 2017-06-02T22:32:40  *** pewpew has joined #bitcoin-dev
259 2017-06-02T22:40:13  *** Nothing4You has quit IRC
260 2017-06-02T22:40:26  *** Lightsword_ has joined #bitcoin-dev
261 2017-06-02T22:40:27  *** Lightsword has quit IRC
262 2017-06-02T22:40:27  *** Qatz has quit IRC
263 2017-06-02T22:40:27  *** pewpew_ has quit IRC
264 2017-06-02T22:41:19  *** Lightsword_ is now known as Lightsword
265 2017-06-02T22:42:44  *** Nothing4You has joined #bitcoin-dev
266 2017-06-02T22:45:02  *** Qatz_ is now known as Qatz
267 2017-06-02T23:15:02  *** abpa has quit IRC
268 2017-06-02T23:20:46  *** abpa has joined #bitcoin-dev
269 2017-06-02T23:22:18  *** abpa has quit IRC
270 2017-06-02T23:34:40  *** priidu has joined #bitcoin-dev
271 2017-06-02T23:39:42  *** blackwraith has joined #bitcoin-dev
272 2017-06-02T23:54:21  *** matrix1233 has joined #bitcoin-dev
273 2017-06-02T23:58:51  *** matrix1233 has quit IRC