1 2017-08-09T06:50:59 *** lightningbot has joined #bitcoin-dev
2 2017-08-09T06:53:29 *** Beef has joined #bitcoin-dev
3 2017-08-09T07:08:38 *** lightningbot has joined #bitcoin-dev
4 2017-08-09T07:13:21 *** yuriandropov has joined #bitcoin-dev
5 2017-08-09T07:13:52 *** yuriandropov has quit IRC
6 2017-08-09T07:15:55 *** BashCo has joined #bitcoin-dev
7 2017-08-09T07:20:05 *** epopt has quit IRC
8 2017-08-09T07:21:27 *** JackH has joined #bitcoin-dev
9 2017-08-09T07:33:32 *** Agro has quit IRC
10 2017-08-09T07:47:04 *** ThomasV has joined #bitcoin-dev
11 2017-08-09T07:50:30 *** sarva has quit IRC
12 2017-08-09T08:05:40 *** paveljanik has joined #bitcoin-dev
13 2017-08-09T08:06:03 *** paveljanik has quit IRC
14 2017-08-09T08:21:43 *** dakk has joined #bitcoin-dev
15 2017-08-09T08:26:28 *** nodweber has joined #bitcoin-dev
16 2017-08-09T08:43:16 *** nazarewk has joined #bitcoin-dev
17 2017-08-09T08:47:16 *** justan0theruser has quit IRC
18 2017-08-09T08:47:16 *** achow101 has quit IRC
19 2017-08-09T08:47:16 *** parazyd has quit IRC
20 2017-08-09T08:47:16 *** echonaut has quit IRC
21 2017-08-09T08:47:17 *** spinza has quit IRC
22 2017-08-09T08:47:17 *** waxwing has quit IRC
23 2017-08-09T08:47:17 *** thrasher` has quit IRC
24 2017-08-09T08:47:17 *** lnovy has quit IRC
25 2017-08-09T08:47:17 *** ryan-c has quit IRC
26 2017-08-09T08:47:17 *** dizko has quit IRC
27 2017-08-09T08:52:20 *** CheckDavid has joined #bitcoin-dev
28 2017-08-09T08:53:03 *** dconroy has joined #bitcoin-dev
29 2017-08-09T08:55:34 *** dabura667 has joined #bitcoin-dev
30 2017-08-09T08:55:50 *** JackH has quit IRC
31 2017-08-09T08:56:26 *** dabura667 has quit IRC
32 2017-08-09T08:58:57 *** nodweber has quit IRC
33 2017-08-09T09:07:32 *** fatalhalt has quit IRC
34 2017-08-09T09:09:43 *** fatalhalt has joined #bitcoin-dev
35 2017-08-09T09:15:54 *** one_zero has quit IRC
36 2017-08-09T09:30:38 *** DTZUZO has joined #bitcoin-dev
37 2017-08-09T09:31:21 *** echonaut has joined #bitcoin-dev
38 2017-08-09T09:31:21 *** achow101 has joined #bitcoin-dev
39 2017-08-09T09:31:27 *** lnovy has joined #bitcoin-dev
40 2017-08-09T09:31:27 *** dizko has joined #bitcoin-dev
41 2017-08-09T09:31:43 *** parazyd has joined #bitcoin-dev
42 2017-08-09T09:31:49 *** justan0theruser has joined #bitcoin-dev
43 2017-08-09T09:33:20 *** thrasher` has joined #bitcoin-dev
44 2017-08-09T09:33:25 *** ryan-c has joined #bitcoin-dev
45 2017-08-09T09:34:06 *** fatalhalt has quit IRC
46 2017-08-09T09:36:27 *** spinza has joined #bitcoin-dev
47 2017-08-09T09:38:37 *** fatalhalt has joined #bitcoin-dev
48 2017-08-09T09:39:59 *** SopaXorzTaker has joined #bitcoin-dev
49 2017-08-09T09:40:26 *** waxwing has joined #bitcoin-dev
50 2017-08-09T09:46:48 *** chjj has joined #bitcoin-dev
51 2017-08-09T09:47:46 *** one_zero has joined #bitcoin-dev
52 2017-08-09T09:53:38 *** JackH has joined #bitcoin-dev
53 2017-08-09T10:11:59 *** one_zero has quit IRC
54 2017-08-09T10:18:16 *** n8wachT has joined #bitcoin-dev
55 2017-08-09T10:25:45 *** JustTheDoctor has quit IRC
56 2017-08-09T10:33:11 *** ongolaBoy has joined #bitcoin-dev
57 2017-08-09T10:41:36 *** jouke has joined #bitcoin-dev
58 2017-08-09T10:55:49 *** tucenaber has quit IRC
59 2017-08-09T10:59:17 *** McLovinMcLovin has joined #bitcoin-dev
60 2017-08-09T11:10:00 *** McLovinMcLovin has quit IRC
61 2017-08-09T11:10:19 *** McLovinMcLovin has joined #bitcoin-dev
62 2017-08-09T11:30:16 *** ThomasV has quit IRC
63 2017-08-09T11:34:08 *** dconroy has quit IRC
64 2017-08-09T11:49:28 *** stalled has quit IRC
65 2017-08-09T11:50:24 *** czaanja_ has joined #bitcoin-dev
66 2017-08-09T12:05:08 <Chicago> dakk, Have you looked at any of the blocks on Testnet or on the blocks w/ SW on Litecoin's Main network? This links to one, https://twitter.com/SatoshiLite/status/862345830082138113 and this links to one from Bitcoin Test network, https://bitcointalk.org/index.php?topic=1758923.0
67 2017-08-09T12:20:56 *** ThomasV has joined #bitcoin-dev
68 2017-08-09T12:43:07 *** agricocb has quit IRC
69 2017-08-09T12:52:09 *** goatpig has quit IRC
70 2017-08-09T12:56:13 *** iv3c has joined #bitcoin-dev
71 2017-08-09T13:08:27 *** Mottengrotte has joined #bitcoin-dev
72 2017-08-09T13:12:18 *** Chris_Stewart_5 has joined #bitcoin-dev
73 2017-08-09T13:20:02 <dermoth> Hi... When I try to decode some of the largest transactions that made it into the chain using bitcoin-cli I get this error: _: line 12: bitcoin-cli: Argument list too long
74 2017-08-09T13:21:34 *** bugs_ has joined #bitcoin-dev
75 2017-08-09T13:26:52 <dermoth> this is os-level limitation I think, it there any other way to pass the tx, ex stdin?
76 2017-08-09T13:34:48 *** Guyver2 has joined #bitcoin-dev
77 2017-08-09T13:39:35 *** ThomasV has quit IRC
78 2017-08-09T13:50:51 <dakk> Chicago, thank you it's what I was looking for; I didn't known this explorer, the raw-hex feature is missing in almost all explorers
79 2017-08-09T14:02:37 *** stalled has joined #bitcoin-dev
80 2017-08-09T14:06:00 <Chicago> dakk, you're welcome. If you happen to want to parse the raw blk data manually, find this page http://james.lab6.com/2012/01/12/bitcoin-285-bytes-that-changed-the-world/ on archive.org. It goes a long way to making you read hex like Link, in The Matrix.
81 2017-08-09T14:08:30 <dermoth> I worked around using rpc directly...
82 2017-08-09T14:08:30 <dermoth> I think it'd be nice for bitcoin-cli to accept data from stdin
83 2017-08-09T14:09:31 <dermoth> oh it does? :)
84 2017-08-09T14:13:43 *** n8wachT has quit IRC
85 2017-08-09T14:15:16 <dakk> Chicago, this how-to is awesome, thank you again
86 2017-08-09T14:16:06 <Chicago> dakk, you're welcome - have fun. I recommend using a piece of paper with that Genesis block printed out so that you can take a ruler and underline the various sections -- and then label them for quick reference.
87 2017-08-09T14:16:50 <dakk> nice trick
88 2017-08-09T14:34:38 <jouke> Chicago, dakk: http://srv2.yogh.io/#block:last
89 2017-08-09T14:38:13 *** treehug88 has quit IRC
90 2017-08-09T14:41:53 *** ongolaBoy has quit IRC
91 2017-08-09T14:42:39 <Chicago> jouke, well that makes it easy
92 2017-08-09T14:42:48 <Chicago> so much for paper, pen and a ruler
93 2017-08-09T14:52:56 *** nazarewk has quit IRC
94 2017-08-09T14:53:57 <Chris_Stewart_5> dakk: You are working on the OCaml implemenation right?
95 2017-08-09T14:55:04 <dakk> Chris_Stewart_5, yep this is the library https://github.com/dakk/bitcoinml (and this is a full-node implementation wip: https://github.com/dakk/letchain/; just a toy atm)
96 2017-08-09T14:56:23 <Chris_Stewart_5> cool, I'm a OCaml fan glad to see it's coming along.
97 2017-08-09T14:58:21 <dakk> Chris_Stewart_5, great, one potential user for my lib :) if you are an ocaml dev, I also wrote a secp256k1 wrapper: https://github.com/dakk/secp256k1-ml
98 2017-08-09T15:11:18 *** CheckDavid has quit IRC
99 2017-08-09T15:18:01 *** Ahmed90 has joined #bitcoin-dev
100 2017-08-09T15:20:03 *** Chris_Stewart_5 has quit IRC
101 2017-08-09T15:26:24 *** epopt has joined #bitcoin-dev
102 2017-08-09T15:26:42 *** JackH has quit IRC
103 2017-08-09T15:28:54 *** Ahmed90 has quit IRC
104 2017-08-09T15:32:28 *** Chris_Stewart_5 has joined #bitcoin-dev
105 2017-08-09T15:46:25 *** danrobinson has joined #bitcoin-dev
106 2017-08-09T15:46:36 *** GypsyScotty has joined #bitcoin-dev
107 2017-08-09T15:48:45 *** damons has joined #bitcoin-dev
108 2017-08-09T15:58:13 *** PaulCape_ has joined #bitcoin-dev
109 2017-08-09T15:58:54 *** PaulCapestany has quit IRC
110 2017-08-09T16:00:19 *** BashCo has quit IRC
111 2017-08-09T16:00:54 *** BashCo has joined #bitcoin-dev
112 2017-08-09T16:01:49 *** Mottengrotte has quit IRC
113 2017-08-09T16:03:30 *** Murch has joined #bitcoin-dev
114 2017-08-09T16:05:07 *** BashCo has quit IRC
115 2017-08-09T16:08:07 *** ananteris has joined #bitcoin-dev
116 2017-08-09T16:19:45 *** BashCo has joined #bitcoin-dev
117 2017-08-09T16:32:43 *** abpa has joined #bitcoin-dev
118 2017-08-09T16:32:51 *** Dizzle has joined #bitcoin-dev
119 2017-08-09T16:38:13 *** ThomasV has joined #bitcoin-dev
120 2017-08-09T16:39:39 *** dakk has quit IRC
121 2017-08-09T16:44:13 *** paveljanik has joined #bitcoin-dev
122 2017-08-09T16:50:14 <Emcy_> What was the actual reasoning behind the 0.25bytes weight for segwits txns [giving a theoretical max hard cap of 4mb blocks]?
123 2017-08-09T16:50:46 <Emcy_> some people say its arbitrary, or has a reasoning other than technicals or something
124 2017-08-09T16:56:53 *** Victor_sueca has joined #bitcoin-dev
125 2017-08-09T16:57:24 *** Victorsueca has quit IRC
126 2017-08-09T16:57:30 *** Victor_sueca is now known as Victorsueca
127 2017-08-09T16:58:56 *** dakk has joined #bitcoin-dev
128 2017-08-09T17:02:57 *** ThomasV has quit IRC
129 2017-08-09T17:04:48 *** Chris_Stewart_5 has quit IRC
130 2017-08-09T17:06:00 *** ThomasV has joined #bitcoin-dev
131 2017-08-09T17:11:49 *** janko33 has joined #bitcoin-dev
132 2017-08-09T17:17:53 *** test123456 has joined #bitcoin-dev
133 2017-08-09T17:17:56 *** one_zero has joined #bitcoin-dev
134 2017-08-09T17:18:39 *** McLovinMcLovin has quit IRC
135 2017-08-09T17:22:12 *** Chris_Stewart_5 has joined #bitcoin-dev
136 2017-08-09T17:27:57 *** ThomasV has quit IRC
137 2017-08-09T17:39:07 *** priidu has joined #bitcoin-dev
138 2017-08-09T17:44:27 *** Chris_Stewart_5 has quit IRC
139 2017-08-09T17:46:11 *** Chris_Stewart_5 has joined #bitcoin-dev
140 2017-08-09T17:54:10 *** jimpo has joined #bitcoin-dev
141 2017-08-09T18:10:19 *** ekerstein has joined #bitcoin-dev
142 2017-08-09T18:12:24 *** blackwraith has joined #bitcoin-dev
143 2017-08-09T18:12:57 *** Victorsueca has quit IRC
144 2017-08-09T18:13:14 *** agricocb has joined #bitcoin-dev
145 2017-08-09T18:13:56 *** priidu has quit IRC
146 2017-08-09T18:14:06 *** Victorsueca has joined #bitcoin-dev
147 2017-08-09T18:16:35 *** jimpo has quit IRC
148 2017-08-09T18:17:25 *** sausage_factory has joined #bitcoin-dev
149 2017-08-09T18:18:36 *** blackwraith has quit IRC
150 2017-08-09T18:43:28 *** abpa has quit IRC
151 2017-08-09T18:47:29 *** Chris_Stewart_5 has quit IRC
152 2017-08-09T18:48:46 *** test123456 has quit IRC
153 2017-08-09T18:57:14 *** ginseng has joined #bitcoin-dev
154 2017-08-09T18:58:04 *** czaanja_ has quit IRC
155 2017-08-09T19:02:12 <ginseng> anyone with experience using berkeley databases know how to explore the data in a wallet.dat? i have been using the bsddb python module to explore it as a btree, but i just find a single key "main" with value '\x00\x00\x00\x02'
156 2017-08-09T19:02:38 *** ekerstein has quit IRC
157 2017-08-09T19:03:16 *** ThomasV has joined #bitcoin-dev
158 2017-08-09T19:04:31 <arubi> ginseng, I had success with the db-util package
159 2017-08-09T19:13:29 <arubi> ginseng, fwiw my past try at reverse engineering it a bit, it might save you some time :) https://gist.github.com/fivepiece/74b6f8bfa8816ee7e283d25a36947629
160 2017-08-09T19:14:31 <arubi> worth to mention that this is a regtest wallet
161 2017-08-09T19:15:12 *** abpa has joined #bitcoin-dev
162 2017-08-09T19:20:21 *** jimpo has joined #bitcoin-dev
163 2017-08-09T19:23:43 <ginseng> arubi: thanks for posting that. the comments you added are very helpful. i'm trying to replicate that with db_dump using -p to print out printable characters, it looks like you did more than this though to clean up the output
164 2017-08-09T19:27:05 *** Belxjander has quit IRC
165 2017-08-09T19:29:37 *** Belxjander has joined #bitcoin-dev
166 2017-08-09T19:34:25 *** ginseng has quit IRC
167 2017-08-09T19:35:52 <arubi> np, it's helpful to have walletdb.cpp open when navigating the file. if you manage to figure out dumps with script stuff, transactions, watchonly.. I'd love to follow up
168 2017-08-09T19:40:21 *** blackwraith has joined #bitcoin-dev
169 2017-08-09T19:42:07 *** sausage_factory has quit IRC
170 2017-08-09T19:42:41 *** cfields_ has quit IRC
171 2017-08-09T19:43:04 *** cfields has joined #bitcoin-dev
172 2017-08-09T19:47:54 *** goatpig has joined #bitcoin-dev
173 2017-08-09T19:49:05 <arubi> oh crap, I forgot that this dump was from the patch where you can set your own derivation path
174 2017-08-09T19:49:05 <arubi> I think that was it. if you read the logs ginseng, be advised
175 2017-08-09T19:50:06 <arubi> I think that was it :\ so long ago
176 2017-08-09T19:53:20 *** SopaXorzTaker has quit IRC
177 2017-08-09T19:54:16 *** chjj has quit IRC
178 2017-08-09T20:06:37 *** danrobinson has quit IRC
179 2017-08-09T20:17:36 *** ThomasV has quit IRC
180 2017-08-09T20:18:06 *** blackwraith has quit IRC
181 2017-08-09T20:19:53 *** JackH has joined #bitcoin-dev
182 2017-08-09T20:23:05 *** ThomasV has joined #bitcoin-dev
183 2017-08-09T20:36:36 *** ThomasV has quit IRC
184 2017-08-09T20:53:29 *** ptolemaus has joined #bitcoin-dev
185 2017-08-09T20:54:03 <ptolemaus> when I make some btc escrow transactions and take shares myself
186 2017-08-09T20:54:25 <ptolemaus> should I create a new address for each share?
187 2017-08-09T20:55:11 <ptolemaus> coz if I were to collect and transfer all these cockroach shares then I would pay like 50 ct for each coz of transaction fees
188 2017-08-09T20:56:21 <ptolemaus> if I just put it on 1 address I could save a lot of dinero then
189 2017-08-09T20:58:06 *** priidu has joined #bitcoin-dev
190 2017-08-09T21:02:25 *** jimpo has quit IRC
191 2017-08-09T21:04:33 <dermoth> ptolemaus, no
192 2017-08-09T21:05:11 <ptolemaus> then put it on multiple or really just one?
193 2017-08-09T21:05:20 <dermoth> even if you have a single address, each output will end up a tx input
194 2017-08-09T21:05:33 <dermoth> the transaction has to identify each previous transaction with unspent fund
195 2017-08-09T21:05:52 <ptolemaus> oh right
196 2017-08-09T21:06:08 <ptolemaus> inputs are utfo anyway
197 2017-08-09T21:06:21 <dermoth> it doesn'T matter it it's the same address or different, the resulting TX will be the same size
198 2017-08-09T21:06:21 <dermoth> what you may want is to use the key type that comes with the smallest txin size
199 2017-08-09T21:06:38 *** jimpo has joined #bitcoin-dev
200 2017-08-09T21:07:22 <dermoth> (which I'd have to check which is...)
201 2017-08-09T21:07:25 <ptolemaus> what might one be?
202 2017-08-09T21:07:45 <ptolemaus> just one so I can search it and check what exists
203 2017-08-09T21:09:23 <dermoth> I believe P2SH is what you want
204 2017-08-09T21:10:27 <dermoth> when Segwit is activated, P2SH-P2WPKH will be even better (and clients doesn't have to support Segwit to sent to those addresses)
205 2017-08-09T21:10:43 <ptolemaus> P2SH is used on inputs?
206 2017-08-09T21:13:27 <dermoth> p2sh means you send to a script hash, then txin provides the script and its signature
207 2017-08-09T21:13:27 <dermoth> https://en.bitcoin.it/wiki/Transaction#Input
208 2017-08-09T21:13:37 * dermoth ducks
209 2017-08-09T21:14:23 *** janko33 has quit IRC
210 2017-08-09T21:18:33 <dermoth> oh... no bot spamming for every url here :)
211 2017-08-09T21:19:52 *** chjj has joined #bitcoin-dev
212 2017-08-09T21:33:13 <ptolemaus> dermoth, thank you
213 2017-08-09T21:34:18 *** Giszmo has joined #bitcoin-dev
214 2017-08-09T21:42:36 *** Xozl has quit IRC
215 2017-08-09T21:47:16 *** bugs_ has quit IRC
216 2017-08-09T21:53:48 *** Guyver2 has quit IRC
217 2017-08-09T21:59:16 *** JackH has quit IRC
218 2017-08-09T22:04:09 *** JackH has joined #bitcoin-dev
219 2017-08-09T22:09:45 *** goatpig has quit IRC
220 2017-08-09T22:10:21 *** Giszmo has quit IRC
221 2017-08-09T22:12:41 *** JackH has quit IRC
222 2017-08-09T22:18:06 *** segy_ has joined #bitcoin-dev
223 2017-08-09T22:21:58 *** segy has quit IRC
224 2017-08-09T22:21:58 *** segy_ is now known as segy
225 2017-08-09T22:22:57 *** priidu has quit IRC
226 2017-08-09T22:28:27 *** jimpo has quit IRC
227 2017-08-09T22:28:44 *** ptolemaus has quit IRC
228 2017-08-09T22:35:37 *** jimpo has joined #bitcoin-dev
229 2017-08-09T22:36:20 *** Dizzle has quit IRC
230 2017-08-09T22:47:12 *** segy_ has joined #bitcoin-dev
231 2017-08-09T22:50:27 *** segy has quit IRC
232 2017-08-09T22:50:28 *** segy_ is now known as segy
233 2017-08-09T22:51:51 *** danrobinson has joined #bitcoin-dev
234 2017-08-09T23:15:44 *** agricocb has quit IRC
235 2017-08-09T23:28:28 *** jimpo has quit IRC
236 2017-08-09T23:29:46 *** jimpo has joined #bitcoin-dev
237 2017-08-09T23:41:51 *** agricocb has joined #bitcoin-dev
238 2017-08-09T23:48:08 *** Xozl has joined #bitcoin-dev
239 2017-08-09T23:56:56 *** Murch has quit IRC
240 2017-08-09T23:58:48 *** Belxjander has quit IRC
241 2017-08-09T23:59:42 *** abpa has quit IRC