1 2018-04-03T00:00:03  *** weez17 has quit IRC
  2 2018-04-03T00:00:23  *** kanzure has joined #bitcoin-dev
  3 2018-04-03T00:00:36  *** weez17 has joined #bitcoin-dev
  4 2018-04-03T00:02:40  *** promag has quit IRC
  5 2018-04-03T00:04:31  *** POJO has quit IRC
  6 2018-04-03T00:17:27  *** colatkinson has quit IRC
  7 2018-04-03T00:17:31  *** RazielXYZ is now known as Raziel
  8 2018-04-03T00:18:54  *** sneakerhax has joined #bitcoin-dev
  9 2018-04-03T00:36:17  *** promag has joined #bitcoin-dev
 10 2018-04-03T00:38:31  *** DTZUZU has quit IRC
 11 2018-04-03T00:40:46  *** promag has quit IRC
 12 2018-04-03T00:49:35  *** midnightmagic has quit IRC
 13 2018-04-03T01:08:28  *** moneyball has quit IRC
 14 2018-04-03T01:15:33  *** moneyball has joined #bitcoin-dev
 15 2018-04-03T01:19:40  *** colatkinson has joined #bitcoin-dev
 16 2018-04-03T01:29:25  *** Chris_Stewart_5 has joined #bitcoin-dev
 17 2018-04-03T01:39:42  *** Chris_Stewart_5 has quit IRC
 18 2018-04-03T01:40:48  *** colatkinson has quit IRC
 19 2018-04-03T01:45:04  *** midnightmagic has joined #bitcoin-dev
 20 2018-04-03T01:47:16  *** realazthat has joined #bitcoin-dev
 21 2018-04-03T01:51:03  *** realz has quit IRC
 22 2018-04-03T01:53:59  *** Chris_Stewart_5 has joined #bitcoin-dev
 23 2018-04-03T01:54:08  *** shtirlic has quit IRC
 24 2018-04-03T01:55:10  *** shtirlic has joined #bitcoin-dev
 25 2018-04-03T01:58:15  *** ChanServ sets mode: +o midnightmagic
 26 2018-04-03T02:10:41  *** realazthat has quit IRC
 27 2018-04-03T02:24:19  *** Chris_Stewart_5 has quit IRC
 28 2018-04-03T02:28:33  *** rafaeldelucena has joined #bitcoin-dev
 29 2018-04-03T02:30:59  *** moneyball has quit IRC
 30 2018-04-03T02:37:28  *** Chris_Stewart_5 has joined #bitcoin-dev
 31 2018-04-03T02:57:16  *** promag has joined #bitcoin-dev
 32 2018-04-03T02:58:57  *** Chris_Stewart_5 has quit IRC
 33 2018-04-03T03:02:09  *** promag has quit IRC
 34 2018-04-03T03:08:17  *** alferz has joined #bitcoin-dev
 35 2018-04-03T03:10:20  *** colatkinson has joined #bitcoin-dev
 36 2018-04-03T03:15:21  *** luke-jr has quit IRC
 37 2018-04-03T03:15:32  *** luke-jr has joined #bitcoin-dev
 38 2018-04-03T03:18:12  *** ChrisOei has quit IRC
 39 2018-04-03T03:20:09  *** alferz has quit IRC
 40 2018-04-03T03:25:29  *** ChrisOei has joined #bitcoin-dev
 41 2018-04-03T03:42:09  *** colatkinson has quit IRC
 42 2018-04-03T03:59:18  *** meshcollider has joined #bitcoin-dev
 43 2018-04-03T04:13:02  *** quitobro has joined #bitcoin-dev
 44 2018-04-03T04:29:05  *** jtimon has quit IRC
 45 2018-04-03T04:29:47  <ProfMac_> I want to serialize a block, viz:
 46 2018-04-03T04:29:48  <ProfMac_>     CBlock *pblock = &pblocktemplate->block; // pointer for convenience
 47 2018-04-03T04:29:49  <ProfMac_>     //some operations omitted for clarity
 48 2018-04-03T04:29:49  <ProfMac_>     CDataStream ssCB(SER_NETWORK, PROTOCOL_VERSION);
 49 2018-04-03T04:29:49  <ProfMac_>     ssCB << pblock;
 50 2018-04-03T04:30:11  <ProfMac_> and I get a complaint about ambiguous templates.
 51 2018-04-03T04:30:53  <ProfMac_> Has anyone done this?
 52 2018-04-03T04:33:40  *** rafaeldelucena has quit IRC
 53 2018-04-03T04:33:51  *** Victorsueca has quit IRC
 54 2018-04-03T04:35:05  *** Victorsueca has joined #bitcoin-dev
 55 2018-04-03T04:40:16  *** rafaeldelucena has joined #bitcoin-dev
 56 2018-04-03T04:45:35  *** satwo has joined #bitcoin-dev
 57 2018-04-03T04:46:03  *** acetakwas has quit IRC
 58 2018-04-03T04:55:05  *** theology has joined #bitcoin-dev
 59 2018-04-03T04:55:57  *** dograt has quit IRC
 60 2018-04-03T04:56:19  *** dograt has joined #bitcoin-dev
 61 2018-04-03T05:02:07  *** promag has joined #bitcoin-dev
 62 2018-04-03T05:03:02  *** realz has joined #bitcoin-dev
 63 2018-04-03T05:06:32  *** promag has quit IRC
 64 2018-04-03T05:07:18  <sipa> ProfMac_: pblock is a pointer; you can't serialize a poijter
 65 2018-04-03T05:07:28  <sipa> try ssCB << *pblock
 66 2018-04-03T05:25:18  *** satwo has quit IRC
 67 2018-04-03T05:29:25  *** AriseChikun has quit IRC
 68 2018-04-03T05:29:53  *** AriseChikun has joined #bitcoin-dev
 69 2018-04-03T05:40:22  *** quitobro has quit IRC
 70 2018-04-03T05:52:12  *** theology has left #bitcoin-dev
 71 2018-04-03T06:07:53  *** Thominus has quit IRC
 72 2018-04-03T06:07:53  *** tombusby has quit IRC
 73 2018-04-03T06:07:53  *** dermoth has quit IRC
 74 2018-04-03T06:07:54  *** intcat has quit IRC
 75 2018-04-03T06:07:54  *** arubi has quit IRC
 76 2018-04-03T06:07:54  *** ghost43 has quit IRC
 77 2018-04-03T06:11:25  <ProfMac_> sipa, success.  Thanks.
 78 2018-04-03T06:13:08  *** intcat has joined #bitcoin-dev
 79 2018-04-03T06:14:40  *** ghost43 has joined #bitcoin-dev
 80 2018-04-03T06:14:41  *** tombusby has joined #bitcoin-dev
 81 2018-04-03T06:14:50  *** arubi has joined #bitcoin-dev
 82 2018-04-03T06:14:58  *** Thominus has joined #bitcoin-dev
 83 2018-04-03T06:34:46  *** firemanxbr has joined #bitcoin-dev
 84 2018-04-03T06:40:26  *** moneyball has joined #bitcoin-dev
 85 2018-04-03T06:47:53  *** POJO has joined #bitcoin-dev
 86 2018-04-03T06:58:40  *** CubicEar_ has quit IRC
 87 2018-04-03T07:04:33  *** paracyst_ has quit IRC
 88 2018-04-03T07:04:45  *** paracyst has joined #bitcoin-dev
 89 2018-04-03T07:06:50  *** Samdney has quit IRC
 90 2018-04-03T07:07:33  *** JackH has quit IRC
 91 2018-04-03T07:09:57  *** POJO has quit IRC
 92 2018-04-03T07:19:47  *** JackH has joined #bitcoin-dev
 93 2018-04-03T07:28:00  *** nazarewk has joined #bitcoin-dev
 94 2018-04-03T07:29:50  *** Krellan has joined #bitcoin-dev
 95 2018-04-03T07:31:41  *** SopaXorzTaker has joined #bitcoin-dev
 96 2018-04-03T07:39:27  *** moneyball has quit IRC
 97 2018-04-03T07:41:07  *** CheckDavid has joined #bitcoin-dev
 98 2018-04-03T07:44:24  *** POJO has joined #bitcoin-dev
 99 2018-04-03T07:57:04  *** meshcollider has quit IRC
100 2018-04-03T08:02:21  *** ProfMac_ has quit IRC
101 2018-04-03T08:17:49  *** POJO has quit IRC
102 2018-04-03T08:33:41  *** one_zero has quit IRC
103 2018-04-03T08:42:45  *** ken2812221 has quit IRC
104 2018-04-03T09:05:20  *** kinlo has quit IRC
105 2018-04-03T09:06:34  *** kinlo has joined #bitcoin-dev
106 2018-04-03T09:15:01  <armid> sturles: Thanks! but if 2 transactions occur in the different timestamp?
107 2018-04-03T09:15:17  <armid> if transaction to B is broadcasted first
108 2018-04-03T09:15:35  <armid> then 30 mins later, transaction to C is broadcasted
109 2018-04-03T09:15:51  <armid> but transaction to B isn't in any block yet
110 2018-04-03T09:16:16  <armid> so it couldn't be A -> B 2 coins, A -> C 1 coin and A -> A 7 coins.
111 2018-04-03T09:18:45  <sturles> armid: The input can only be spent by one transaction.  In my example there is only one transaction.  If you need to split in to several transactions, there would be e.g. A -> B 2 BTC + A' 8 BTC.  Then A' -> C 1 BTC + A'' 7 BTC.
112 2018-04-03T09:19:57  <sturles> Note that A' isn't valid until the transaction to B has been confirmed.  (Which may happen in the same block as the second transaction, as long as the first tx appear before the second in the block.)
113 2018-04-03T09:20:05  <sturles> Transactions don't have timestamps.
114 2018-04-03T09:27:29  *** murrayn has joined #bitcoin-dev
115 2018-04-03T09:48:44  *** Krellan has quit IRC
116 2018-04-03T09:49:18  *** Krellan has joined #bitcoin-dev
117 2018-04-03T09:53:28  <armid> Oh sorry, I meant in the different time not timestamp
118 2018-04-03T09:56:58  <sturles> Still doesn't matter.  In the case of multiple transactions, the transactions must be confirmed in the correct order to be valid.  A transaction output is not valid as input until the transaction creating it has been confirmed, and the input can be spent only once.
119 2018-04-03T09:58:01  <arubi> nit:  it doesn't have to be confirmed, just valid to spend right now
120 2018-04-03T09:58:31  <arubi> I mean, you can have a chain of unconfirmed transactions like cpfp
121 2018-04-03T09:59:52  <armid> Could you please help me solving this? I mean not coding but how to manage it
122 2018-04-03T09:59:54  <armid> https://github.com/Jeiwan/blockchain_go/issues/23
123 2018-04-03T10:00:02  <armid> TxID: 598b4e12b0bd16e87f7cdd108a4361c27c147e943fe7742a807dd3d8d0a7f2db
124 2018-04-03T10:00:07  <armid> was reused as inputs
125 2018-04-03T10:00:45  <armid> because it's not removed from UTXOPool since the first transaction which used it isn't in the chain yet
126 2018-04-03T10:01:36  <armid> I don't know where I should fix this. Client who tries to send coins
127 2018-04-03T10:01:44  <armid> or miners who validate things
128 2018-04-03T10:02:11  *** paint-it-black has joined #bitcoin-dev
129 2018-04-03T10:03:25  <sturles> A chain of unconfirmed transactions *must* be confirmed in strict order to be valid.
130 2018-04-03T10:03:36  <arubi> yes, that's right
131 2018-04-03T10:03:44  *** SopaXorzTaker has quit IRC
132 2018-04-03T10:04:04  <sturles> With that in mind, there is nothing wrong with chains of unconfirmed transactions.
133 2018-04-03T10:04:19  <sturles> If one transaction in the chain is replaced, the rest are invalid.
134 2018-04-03T10:04:29  <sturles> The rest of the chain from there.
135 2018-04-03T10:05:31  <arubi> yep, was just nit'ing the "A transaction output is not valid as input until the transaction creating it has been confirmed" part, but we're saying the same thing
136 2018-04-03T10:06:20  <arubi> it's valid as a spend, but invalid if it confirms on its own without the parent before it in the block
137 2018-04-03T10:08:19  <armid> Oh that explains it
138 2018-04-03T10:08:23  <armid> Thanks alot!!
139 2018-04-03T10:16:42  *** Krellan has quit IRC
140 2018-04-03T11:00:26  *** Victorsueca has quit IRC
141 2018-04-03T11:01:35  *** Victorsueca has joined #bitcoin-dev
142 2018-04-03T11:05:37  *** Mottengrotte has joined #bitcoin-dev
143 2018-04-03T11:06:32  *** Mottengrotte has joined #bitcoin-dev
144 2018-04-03T11:19:33  *** CheckDavid has quit IRC
145 2018-04-03T11:34:47  *** CheckDavid has joined #bitcoin-dev
146 2018-04-03T11:40:34  *** JackH has quit IRC
147 2018-04-03T11:44:18  *** CubicEarths has joined #bitcoin-dev
148 2018-04-03T11:45:42  *** Chris_Stewart_5 has joined #bitcoin-dev
149 2018-04-03T12:12:57  *** realz has quit IRC
150 2018-04-03T12:13:58  *** realz has joined #bitcoin-dev
151 2018-04-03T12:16:17  *** CubicEarths has quit IRC
152 2018-04-03T12:16:58  *** CubicEarths has joined #bitcoin-dev
153 2018-04-03T12:35:10  *** Chris_Stewart_5 has quit IRC
154 2018-04-03T12:35:53  *** JackH has joined #bitcoin-dev
155 2018-04-03T12:58:41  *** Chris_Stewart_5 has joined #bitcoin-dev
156 2018-04-03T13:08:05  *** TyrfingMjolnir has joined #bitcoin-dev
157 2018-04-03T13:08:09  <TyrfingMjolnir> Where in the source code is the bitcoin and wallets defined? Some set of hierarchical structs perhaps?
158 2018-04-03T13:08:13  <TyrfingMjolnir> I'm reading Mastering Bitcoin and would like to have the actual code in front of me to see how this is implemented.
159 2018-04-03T13:30:09  *** satwo has joined #bitcoin-dev
160 2018-04-03T13:31:41  *** moneyball has joined #bitcoin-dev
161 2018-04-03T13:39:31  *** CheckDavid has quit IRC
162 2018-04-03T13:46:33  *** SopaXorzTaker has joined #bitcoin-dev
163 2018-04-03T13:51:14  *** quitobro has joined #bitcoin-dev
164 2018-04-03T13:54:03  *** bugs_ has joined #bitcoin-dev
165 2018-04-03T13:56:14  *** quitobro has quit IRC
166 2018-04-03T13:58:12  *** Mottengrotte_ has joined #bitcoin-dev
167 2018-04-03T13:58:47  *** Mottengrotte has quit IRC
168 2018-04-03T14:01:54  *** moneyball has quit IRC
169 2018-04-03T14:03:18  *** quitobro has joined #bitcoin-dev
170 2018-04-03T14:18:04  *** POJO has joined #bitcoin-dev
171 2018-04-03T14:25:32  *** Krellan has joined #bitcoin-dev
172 2018-04-03T14:34:35  *** Victorsueca has quit IRC
173 2018-04-03T14:36:05  *** Victorsueca has joined #bitcoin-dev
174 2018-04-03T14:39:06  *** CubicEarths has quit IRC
175 2018-04-03T14:43:54  *** satwo has quit IRC
176 2018-04-03T14:48:58  *** lightningbot has joined #bitcoin-dev
177 2018-04-03T14:49:16  *** Krellan has quit IRC
178 2018-04-03T14:49:18  *** arooni has quit IRC
179 2018-04-03T14:49:29  *** arooni has joined #bitcoin-dev
180 2018-04-03T14:51:10  *** CubicEarths has joined #bitcoin-dev
181 2018-04-03T14:51:51  *** satwo has joined #bitcoin-dev
182 2018-04-03T14:51:52  *** Samdney has joined #bitcoin-dev
183 2018-04-03T14:51:57  *** mr_burdell has quit IRC
184 2018-04-03T14:53:58  *** mr_burdell has joined #bitcoin-dev
185 2018-04-03T14:57:02  *** nazarewk has quit IRC
186 2018-04-03T15:00:11  *** jtimon has joined #bitcoin-dev
187 2018-04-03T15:05:46  *** jtimon has quit IRC
188 2018-04-03T15:06:35  *** POJO has quit IRC
189 2018-04-03T15:22:32  *** Mottengrotte_ has quit IRC
190 2018-04-03T15:22:43  *** Mottengrotte has joined #bitcoin-dev
191 2018-04-03T15:33:22  *** Chris_Stewart_5 has quit IRC
192 2018-04-03T15:36:27  <satwo> Hello all. Are there any performance differences between bitcoind's REST API and JSON-RPC, or is it purely a matter of developer preference?
193 2018-04-03T15:38:13  <sipa> they're very similar
194 2018-04-03T15:38:18  <sipa> rest is for public data
195 2018-04-03T15:38:24  <sipa> rpc needs aurhentication
196 2018-04-03T15:39:53  *** Thominus has quit IRC
197 2018-04-03T15:41:14  <satwo> Thank you sipa. Mainly concerned with querying historical fees; having to query all the inputs of a tx drives up the processing time substantially
198 2018-04-03T15:42:03  <satwo> I'm working on implementing batch calls, hopefully that will help.
199 2018-04-03T15:46:21  *** xblau has joined #bitcoin-dev
200 2018-04-03T15:53:05  *** ongolaBoy has joined #bitcoin-dev
201 2018-04-03T15:54:58  *** Randolf has quit IRC
202 2018-04-03T15:56:11  *** CubicEarths has quit IRC
203 2018-04-03T15:59:58  *** Murch has joined #bitcoin-dev
204 2018-04-03T16:04:48  *** Mottengrotte has quit IRC
205 2018-04-03T16:06:42  *** Dizzle has quit IRC
206 2018-04-03T16:07:17  *** Krellan_ has quit IRC
207 2018-04-03T16:09:44  *** stoopkid is now known as machine_learning
208 2018-04-03T16:16:21  *** Victorsueca has quit IRC
209 2018-04-03T16:17:40  *** Victorsueca has joined #bitcoin-dev
210 2018-04-03T16:17:43  *** one_zero has joined #bitcoin-dev
211 2018-04-03T16:19:06  *** Randolf has joined #bitcoin-dev
212 2018-04-03T16:21:26  *** mandric has joined #bitcoin-dev
213 2018-04-03T16:26:34  *** mandric has quit IRC
214 2018-04-03T16:30:28  *** mandric has joined #bitcoin-dev
215 2018-04-03T16:32:57  *** ongolaBoy has quit IRC
216 2018-04-03T16:33:08  <TyrfingMjolnir> In particular then sending and receiving wallet.
217 2018-04-03T16:38:32  *** Giszmo has quit IRC
218 2018-04-03T16:47:53  *** Randolf has quit IRC
219 2018-04-03T16:48:43  *** Dizzle has joined #bitcoin-dev
220 2018-04-03T16:53:27  *** Krellan has joined #bitcoin-dev
221 2018-04-03T16:53:43  *** mandric has quit IRC
222 2018-04-03T17:01:36  *** satwo has quit IRC
223 2018-04-03T17:21:21  *** DTZUZU has joined #bitcoin-dev
224 2018-04-03T17:21:44  *** Krellan has quit IRC
225 2018-04-03T17:22:00  *** Randolf has joined #bitcoin-dev
226 2018-04-03T17:29:46  *** jtimon has joined #bitcoin-dev
227 2018-04-03T17:32:14  *** Randolf has quit IRC
228 2018-04-03T17:32:58  *** satwo has joined #bitcoin-dev
229 2018-04-03T17:43:53  *** priidu has joined #bitcoin-dev
230 2018-04-03T17:44:02  *** Dizzle has quit IRC
231 2018-04-03T17:47:21  *** satwo has quit IRC
232 2018-04-03T17:49:43  *** Giszmo has joined #bitcoin-dev
233 2018-04-03T18:00:22  *** justanotheruser has quit IRC
234 2018-04-03T18:03:06  *** justanotheruser has joined #bitcoin-dev
235 2018-04-03T18:04:42  *** Randolf has joined #bitcoin-dev
236 2018-04-03T18:10:28  *** drexl has joined #bitcoin-dev
237 2018-04-03T18:27:07  *** justanotheruser has quit IRC
238 2018-04-03T18:28:17  *** satwo has joined #bitcoin-dev
239 2018-04-03T18:38:44  *** SopaXT has joined #bitcoin-dev
240 2018-04-03T18:40:55  *** nejon_ has joined #bitcoin-dev
241 2018-04-03T18:42:09  *** michagogo_ has joined #bitcoin-dev
242 2018-04-03T18:42:53  *** Chris_Stewart_5 has joined #bitcoin-dev
243 2018-04-03T18:42:58  *** ChrisOei_ has joined #bitcoin-dev
244 2018-04-03T18:46:10  *** lukedashjr has joined #bitcoin-dev
245 2018-04-03T18:47:49  *** SopaXorzTaker has quit IRC
246 2018-04-03T18:47:49  *** ChrisOei has quit IRC
247 2018-04-03T18:47:49  *** luke-jr has quit IRC
248 2018-04-03T18:47:49  *** michagogo has quit IRC
249 2018-04-03T18:47:50  *** Nothing4You has quit IRC
250 2018-04-03T18:47:50  *** isis has quit IRC
251 2018-04-03T18:47:50  *** nejon has quit IRC
252 2018-04-03T18:47:51  *** nejon_ is now known as nejon
253 2018-04-03T18:47:55  *** isis_ has joined #bitcoin-dev
254 2018-04-03T18:47:57  *** michagogo_ is now known as michagogo
255 2018-04-03T18:48:20  *** SopaXT has quit IRC
256 2018-04-03T18:50:29  *** lukedashjr is now known as luke-jr
257 2018-04-03T18:50:44  *** atroxes has quit IRC
258 2018-04-03T18:52:37  *** atroxes has joined #bitcoin-dev
259 2018-04-03T18:56:06  <paint-it-black> Luke,  in the libblkmaker, example.c  .. in a sentence what is it doing?
260 2018-04-03T18:56:34  <paint-it-black> I see the nonce loop in there and think, gosh, it is a little miner example ..
261 2018-04-03T18:56:47  <paint-it-black> but then I think it is a getblktemplate example ..
262 2018-04-03T19:15:18  <TyrfingMjolnir> I have installed the bitcoin wallet on my machine, downloaded the block chain.
263 2018-04-03T19:15:55  *** Hasimir has quit IRC
264 2018-04-03T19:16:27  *** TheAdversary has quit IRC
265 2018-04-03T19:16:35  *** Nothing4You has joined #bitcoin-dev
266 2018-04-03T19:16:42  <TyrfingMjolnir> How can I traverse the blocks looking at the timestamp, wallet source, wallet destination, amount?
267 2018-04-03T19:16:49  <TyrfingMjolnir> Is there a struct defined anywhere?
268 2018-04-03T19:17:08  *** TheAdversary has joined #bitcoin-dev
269 2018-04-03T19:17:45  *** Chris_Stewart_5 has quit IRC
270 2018-04-03T19:18:10  <TyrfingMjolnir> I'm here: https://github.com/bitcoin/bitcoin/blob/master/src/validation.cpp#L1098
271 2018-04-03T19:18:23  <TyrfingMjolnir> cd /opt/local/de
272 2018-04-03T19:18:27  <sipa> there is no such thing as "wallet source"
273 2018-04-03T19:20:58  <TyrfingMjolnir> But there are blocks in a file in data of bitcoin
274 2018-04-03T19:21:07  <TyrfingMjolnir> and some struct defined in bitcoin core
275 2018-04-03T19:21:24  <sipa> yes
276 2018-04-03T19:21:25  <TyrfingMjolnir> There has to be a to and from for each transaction, no?
277 2018-04-03T19:21:28  <sipa> no
278 2018-04-03T19:21:33  <TyrfingMjolnir> Where is this struct defined?
279 2018-04-03T19:21:36  <sipa> that's not how bitcoin transactions work
280 2018-04-03T19:21:40  <TyrfingMjolnir> So to and from is from context?
281 2018-04-03T19:21:48  <sipa> there is no "from"
282 2018-04-03T19:21:56  <sipa> transactions create and spend "coins"
283 2018-04-03T19:22:07  <sipa> each coin has an amount and an address (or script, more generally)
284 2018-04-03T19:22:24  <sipa> every transactions specifies which exact outputs from previous transactions it spends
285 2018-04-03T19:22:26  *** Hasimir has joined #bitcoin-dev
286 2018-04-03T19:22:34  <sipa> you can see this as metal coins of various sizes
287 2018-04-03T19:22:51  <sipa> and transactions that melt those coins down and cast them into different coins, with the same value overall
288 2018-04-03T19:22:55  <sipa> say i send you 1 BTC
289 2018-04-03T19:22:59  <sipa> you now have 1 BTC coin
290 2018-04-03T19:23:09  <sipa> you send 0.3 BTC to someone else
291 2018-04-03T19:24:07  <sipa> this means you create a tx which burns the 1 BTC coin, and creates 2 new coins: one of 0.3 BTC (assigned to your recipient) and one of 0.7 BTC (assigned to a different address of yourself)
292 2018-04-03T19:25:34  <TyrfingMjolnir> Where in the path or function to the class or struct that describes each transaction?
293 2018-04-03T19:25:53  <TyrfingMjolnir> sipa: Well explained, thanks.
294 2018-04-03T19:25:55  <sipa> https://github.com/bitcoin/bitcoin/blob/master/src/primitives/transaction.h
295 2018-04-03T19:26:10  <TyrfingMjolnir> thanks a heap
296 2018-04-03T19:26:14  *** sipa has left #bitcoin-dev
297 2018-04-03T19:29:40  *** paint-it-black has quit IRC
298 2018-04-03T19:31:17  *** meshcollider has joined #bitcoin-dev
299 2018-04-03T19:35:57  *** POJO has joined #bitcoin-dev
300 2018-04-03T19:39:40  *** Hasimir has quit IRC
301 2018-04-03T19:39:46  *** TheAdversary has quit IRC
302 2018-04-03T19:43:19  *** justanotheruser has joined #bitcoin-dev
303 2018-04-03T19:50:05  *** bugs_ has quit IRC
304 2018-04-03T19:50:11  *** Chris_Stewart_5 has joined #bitcoin-dev
305 2018-04-03T19:51:04  *** dafunkizdiz has joined #bitcoin-dev
306 2018-04-03T19:52:10  *** POJO has quit IRC
307 2018-04-03T19:56:29  *** paint-it-black_ has joined #bitcoin-dev
308 2018-04-03T19:57:31  <paint-it-black_> would some kind sole please copy the response to my question about example.c ?   .. the machine rebooted and it doesn't look like one can scroll up here
309 2018-04-03T20:02:51  <paint-it-black_> .. never mind, just found the log .. and ah, no one had answered anyway ...LOL
310 2018-04-03T20:03:33  *** POJO has joined #bitcoin-dev
311 2018-04-03T20:06:35  *** Chris_Stewart_5 has quit IRC
312 2018-04-03T20:09:17  *** colatkinson has joined #bitcoin-dev
313 2018-04-03T20:11:51  *** Dizzle has joined #bitcoin-dev
314 2018-04-03T20:17:02  *** satwo has quit IRC
315 2018-04-03T20:20:23  *** Chris_Stewart_5 has joined #bitcoin-dev
316 2018-04-03T20:28:09  *** Chris_Stewart_5 has quit IRC
317 2018-04-03T20:29:37  *** CheckDavid has joined #bitcoin-dev
318 2018-04-03T20:32:55  *** colatkinson has quit IRC
319 2018-04-03T20:39:36  *** colatkinson has joined #bitcoin-dev
320 2018-04-03T20:42:01  *** Chris_Stewart_5 has joined #bitcoin-dev
321 2018-04-03T20:48:40  *** xblau has quit IRC
322 2018-04-03T20:50:07  <paint-it-black_> trying to build a debug version of example for libblkmaker ... added a -g3 to the every line in Makefile.am before running automake but that isn't doing the trick ...
323 2018-04-03T20:50:28  <paint-it-black_> (debian/Ubuntu system)
324 2018-04-03T20:58:18  *** Dizzle has quit IRC
325 2018-04-03T21:09:36  *** justanotheruser has quit IRC
326 2018-04-03T21:10:09  *** priidu has quit IRC
327 2018-04-03T21:10:57  <paint-it-black_> to run the libblkmaker example in gdb:
328 2018-04-03T21:11:02  *** dafunkizdiz has quit IRC
329 2018-04-03T21:11:09  <paint-it-black_> gdb .lib/example
330 2018-04-03T21:11:12  <paint-it-black_> then (gdb) set environment LD_LIBRARY_PATH=/home/prevail/projects/btc/libblkmaker/.libs
331 2018-04-03T21:11:42  <paint-it-black_> set your absolute lib path of course
332 2018-04-03T21:15:21  *** DrFeelGood has quit IRC
333 2018-04-03T21:16:12  *** satwo has joined #bitcoin-dev
334 2018-04-03T21:24:38  *** colatkinson has quit IRC
335 2018-04-03T21:28:57  *** Chris_Stewart_5 has quit IRC
336 2018-04-03T21:29:33  *** justanotheruser has joined #bitcoin-dev
337 2018-04-03T21:31:50  *** satwo has quit IRC
338 2018-04-03T21:38:55  *** dafunkizdiz has joined #bitcoin-dev
339 2018-04-03T21:42:26  *** Chris_Stewart_5 has joined #bitcoin-dev
340 2018-04-03T21:49:53  *** Chris_Stewart_5 has quit IRC
341 2018-04-03T21:55:15  *** machine_learning is now known as stoopkid
342 2018-04-03T21:58:21  *** moneyball has joined #bitcoin-dev
343 2018-04-03T22:08:27  *** Randolf has quit IRC
344 2018-04-03T22:26:29  *** Giszmo has quit IRC
345 2018-04-03T22:26:52  *** DTZUZO has joined #bitcoin-dev
346 2018-04-03T22:27:51  *** Giszmo has joined #bitcoin-dev
347 2018-04-03T22:32:05  *** satwo has joined #bitcoin-dev
348 2018-04-03T22:34:13  *** dafunkizdiz has quit IRC
349 2018-04-03T22:38:10  *** CheckDavid has quit IRC
350 2018-04-03T22:42:29  *** dafunkizdiz has joined #bitcoin-dev
351 2018-04-03T22:42:52  *** satwo has quit IRC
352 2018-04-03T22:45:53  <TyrfingMjolnir> paint-it-black_: I believe it's called kind soul; sole is something below your feet.
353 2018-04-03T22:53:55  *** Randolf has joined #bitcoin-dev
354 2018-04-03T22:55:45  *** quitobro has quit IRC
355 2018-04-03T22:56:50  *** quitobro has joined #bitcoin-dev
356 2018-04-03T23:02:56  *** quitobro has quit IRC
357 2018-04-03T23:04:59  *** quitobro has joined #bitcoin-dev
358 2018-04-03T23:12:17  *** quitobro has quit IRC
359 2018-04-03T23:14:56  *** moneyball has quit IRC
360 2018-04-03T23:16:31  *** quitobro has joined #bitcoin-dev
361 2018-04-03T23:21:22  *** POJO has quit IRC
362 2018-04-03T23:22:08  *** moneyball has joined #bitcoin-dev
363 2018-04-03T23:26:49  *** satwo has joined #bitcoin-dev
364 2018-04-03T23:30:08  *** drexl has quit IRC
365 2018-04-03T23:32:47  *** DTZUZO has quit IRC
366 2018-04-03T23:34:05  *** paint-it-black_ has quit IRC
367 2018-04-03T23:52:48  *** jtimon has quit IRC