1 2016-12-14T00:00:01 *** iv3c has quit IRC
2 2016-12-14T00:00:53 *** iv3c has joined #bitcoin-dev
3 2016-12-14T00:13:48 *** Tykling has joined #bitcoin-dev
4 2016-12-14T00:15:23 *** jtimon has quit IRC
5 2016-12-14T00:18:54 *** wasi has quit IRC
6 2016-12-14T00:24:29 *** wasi has joined #bitcoin-dev
7 2016-12-14T00:47:50 *** gnubeard has joined #bitcoin-dev
8 2016-12-14T00:54:21 *** gnubeard has quit IRC
9 2016-12-14T01:07:06 *** cyphase has quit IRC
10 2016-12-14T01:11:57 *** cyphase has joined #bitcoin-dev
11 2016-12-14T01:24:08 *** herzmeister has quit IRC
12 2016-12-14T01:24:28 *** herzmeister has joined #bitcoin-dev
13 2016-12-14T01:34:05 *** PRab has joined #bitcoin-dev
14 2016-12-14T01:36:37 *** brg444 has quit IRC
15 2016-12-14T01:37:54 *** brg444 has joined #bitcoin-dev
16 2016-12-14T01:38:24 *** brg444 has quit IRC
17 2016-12-14T01:43:04 *** igno_peverell has quit IRC
18 2016-12-14T01:58:14 *** Chris_Stewart_5 has quit IRC
19 2016-12-14T01:59:12 *** abpa has quit IRC
20 2016-12-14T02:13:41 *** Chris_Stewart_5 has joined #bitcoin-dev
21 2016-12-14T02:13:48 *** harai_ has quit IRC
22 2016-12-14T02:17:38 *** NewLiberty has quit IRC
23 2016-12-14T02:22:33 *** DonRichie has quit IRC
24 2016-12-14T02:24:55 *** DonRichie has joined #bitcoin-dev
25 2016-12-14T02:34:30 *** NewLiberty has joined #bitcoin-dev
26 2016-12-14T02:37:24 *** HostFat_ has joined #bitcoin-dev
27 2016-12-14T02:41:09 *** HostFat has quit IRC
28 2016-12-14T02:46:17 *** Giszmo has quit IRC
29 2016-12-14T02:49:14 *** Newyorkadam has joined #bitcoin-dev
30 2016-12-14T02:50:00 *** adam3us has joined #bitcoin-dev
31 2016-12-14T02:52:08 *** Chris_Stewart_5 has quit IRC
32 2016-12-14T02:52:30 *** herzmeister has quit IRC
33 2016-12-14T02:52:58 *** herzmeister has joined #bitcoin-dev
34 2016-12-14T02:54:43 *** Chris_Stewart_5 has joined #bitcoin-dev
35 2016-12-14T03:07:29 *** PRab has quit IRC
36 2016-12-14T03:27:08 *** abpa has joined #bitcoin-dev
37 2016-12-14T03:44:54 *** Chris_Stewart_5 has quit IRC
38 2016-12-14T03:47:35 *** Chris_Stewart_5 has joined #bitcoin-dev
39 2016-12-14T03:55:46 *** abpa has quit IRC
40 2016-12-14T03:58:25 *** Subo1977 has joined #bitcoin-dev
41 2016-12-14T03:59:06 *** jn has quit IRC
42 2016-12-14T04:01:57 *** Delta_ has quit IRC
43 2016-12-14T04:05:09 *** mnk has joined #bitcoin-dev
44 2016-12-14T04:08:08 *** sh_smith has quit IRC
45 2016-12-14T04:08:14 *** Newyorkadam has quit IRC
46 2016-12-14T04:10:52 *** HostFat_ has quit IRC
47 2016-12-14T04:16:59 *** gnubeard has joined #bitcoin-dev
48 2016-12-14T04:18:11 *** gnubeard has quit IRC
49 2016-12-14T04:18:24 *** iv3c has quit IRC
50 2016-12-14T04:27:48 *** sh_smith has joined #bitcoin-dev
51 2016-12-14T04:34:19 *** wasi has quit IRC
52 2016-12-14T04:35:46 *** GAit has quit IRC
53 2016-12-14T04:43:17 *** GAit has joined #bitcoin-dev
54 2016-12-14T04:44:44 *** wasi has joined #bitcoin-dev
55 2016-12-14T05:01:42 *** O01eg has quit IRC
56 2016-12-14T05:06:18 *** chainey has quit IRC
57 2016-12-14T05:08:37 *** janko33 has joined #bitcoin-dev
58 2016-12-14T05:15:08 *** TheSeven has quit IRC
59 2016-12-14T05:15:35 *** TheSeven has joined #bitcoin-dev
60 2016-12-14T05:16:38 *** harai_ has joined #bitcoin-dev
61 2016-12-14T05:21:16 *** harai_ has quit IRC
62 2016-12-14T05:35:03 *** NewLiberty has quit IRC
63 2016-12-14T05:52:45 *** justanotheruser has quit IRC
64 2016-12-14T05:54:19 *** wasi has quit IRC
65 2016-12-14T05:55:19 *** wasi has joined #bitcoin-dev
66 2016-12-14T06:02:26 *** justanotheruser has joined #bitcoin-dev
67 2016-12-14T06:02:33 *** priidu has joined #bitcoin-dev
68 2016-12-14T06:03:57 *** mnk has quit IRC
69 2016-12-14T06:09:13 *** harai_ has joined #bitcoin-dev
70 2016-12-14T06:11:01 *** arubi has joined #bitcoin-dev
71 2016-12-14T06:12:29 *** priidu has quit IRC
72 2016-12-14T06:12:42 *** janko33 has quit IRC
73 2016-12-14T06:19:16 *** NewLiberty has joined #bitcoin-dev
74 2016-12-14T06:33:04 *** mnk has joined #bitcoin-dev
75 2016-12-14T06:38:24 *** ploop has quit IRC
76 2016-12-14T06:38:42 *** ploop has joined #bitcoin-dev
77 2016-12-14T06:50:12 *** aalex has quit IRC
78 2016-12-14T06:50:53 *** aalex has joined #bitcoin-dev
79 2016-12-14T06:51:24 *** wasi has quit IRC
80 2016-12-14T06:58:12 *** wasi has joined #bitcoin-dev
81 2016-12-14T07:00:11 *** dermoth has quit IRC
82 2016-12-14T07:01:05 *** dermoth has joined #bitcoin-dev
83 2016-12-14T07:11:14 *** paveljanik has quit IRC
84 2016-12-14T07:14:12 *** netsin has quit IRC
85 2016-12-14T07:22:00 *** mnk has quit IRC
86 2016-12-14T07:23:51 *** paveljanik has joined #bitcoin-dev
87 2016-12-14T07:32:17 *** ongolaBoy has joined #bitcoin-dev
88 2016-12-14T07:33:02 *** Chris_Stewart_5 has quit IRC
89 2016-12-14T07:53:21 *** BashCo has quit IRC
90 2016-12-14T07:53:55 *** BashCo has joined #bitcoin-dev
91 2016-12-14T07:58:21 *** BashCo has quit IRC
92 2016-12-14T08:10:12 *** Chris_Stewart_5 has joined #bitcoin-dev
93 2016-12-14T08:20:39 *** paveljanik has quit IRC
94 2016-12-14T08:26:58 *** BashCo has joined #bitcoin-dev
95 2016-12-14T08:31:26 *** nazarewk has joined #bitcoin-dev
96 2016-12-14T08:38:12 *** nazarewk has quit IRC
97 2016-12-14T08:47:46 *** netsin has joined #bitcoin-dev
98 2016-12-14T08:49:14 *** ThomasV has joined #bitcoin-dev
99 2016-12-14T09:07:38 *** mnk has joined #bitcoin-dev
100 2016-12-14T09:15:42 *** nazarewk has joined #bitcoin-dev
101 2016-12-14T09:53:49 *** nazarewk has quit IRC
102 2016-12-14T09:56:36 *** nazarewk has joined #bitcoin-dev
103 2016-12-14T10:04:05 *** harai_ has quit IRC
104 2016-12-14T10:09:45 *** JackH has joined #bitcoin-dev
105 2016-12-14T10:26:37 *** rubensayshi has joined #bitcoin-dev
106 2016-12-14T10:31:29 *** ThomasV has quit IRC
107 2016-12-14T10:44:50 *** mnk has quit IRC
108 2016-12-14T11:04:54 *** ThomasV has joined #bitcoin-dev
109 2016-12-14T12:01:03 *** alferz has joined #bitcoin-dev
110 2016-12-14T12:04:35 *** jtimon has joined #bitcoin-dev
111 2016-12-14T12:09:27 *** alferz has quit IRC
112 2016-12-14T12:27:06 *** BashCo_ has joined #bitcoin-dev
113 2016-12-14T12:28:35 *** ongolaBoy has quit IRC
114 2016-12-14T12:30:38 *** BashCo has quit IRC
115 2016-12-14T12:56:24 *** alferz has joined #bitcoin-dev
116 2016-12-14T13:00:36 *** alferz has quit IRC
117 2016-12-14T13:04:53 *** agricocb has quit IRC
118 2016-12-14T13:05:37 *** alferz has joined #bitcoin-dev
119 2016-12-14T13:13:25 *** blueness_ has quit IRC
120 2016-12-14T13:14:10 *** mnk has joined #bitcoin-dev
121 2016-12-14T13:16:29 *** ThomasV has quit IRC
122 2016-12-14T13:27:13 *** agricocb has joined #bitcoin-dev
123 2016-12-14T13:49:10 *** ThomasV has joined #bitcoin-dev
124 2016-12-14T14:16:14 *** To7 has quit IRC
125 2016-12-14T14:21:09 *** mnk has quit IRC
126 2016-12-14T14:27:39 *** BashCo_ has quit IRC
127 2016-12-14T14:28:52 *** BashCo has joined #bitcoin-dev
128 2016-12-14T14:29:20 *** Giszmo has joined #bitcoin-dev
129 2016-12-14T14:50:02 *** paveljanik has joined #bitcoin-dev
130 2016-12-14T14:51:42 *** TomMc has joined #bitcoin-dev
131 2016-12-14T14:59:20 *** gribble has quit IRC
132 2016-12-14T15:01:49 *** agricocb has quit IRC
133 2016-12-14T15:03:11 *** bugs_ has joined #bitcoin-dev
134 2016-12-14T15:03:34 *** agricocb has joined #bitcoin-dev
135 2016-12-14T15:05:04 *** Giszmo has quit IRC
136 2016-12-14T15:06:27 *** Giszmo has joined #bitcoin-dev
137 2016-12-14T15:07:37 *** gribble has joined #bitcoin-dev
138 2016-12-14T15:07:37 *** ChanServ sets mode: +o gribble
139 2016-12-14T15:27:15 *** BashCo_ has joined #bitcoin-dev
140 2016-12-14T15:30:22 *** BashCo has quit IRC
141 2016-12-14T16:09:29 *** ThomasV has quit IRC
142 2016-12-14T16:09:59 *** MoALTz has joined #bitcoin-dev
143 2016-12-14T16:38:36 *** nazarewk has quit IRC
144 2016-12-14T16:47:17 *** abpa has joined #bitcoin-dev
145 2016-12-14T16:56:27 *** To7 has joined #bitcoin-dev
146 2016-12-14T16:57:58 *** agricocb has quit IRC
147 2016-12-14T17:04:58 *** janko33 has joined #bitcoin-dev
148 2016-12-14T17:07:26 *** TomMc has quit IRC
149 2016-12-14T17:17:47 *** harai_ has joined #bitcoin-dev
150 2016-12-14T17:19:38 *** TomMc has joined #bitcoin-dev
151 2016-12-14T17:31:19 *** TomMc has quit IRC
152 2016-12-14T17:40:06 *** atroxes has quit IRC
153 2016-12-14T17:40:51 *** atroxes has joined #bitcoin-dev
154 2016-12-14T17:47:44 *** TomMc has joined #bitcoin-dev
155 2016-12-14T17:48:10 *** BashCo_ has quit IRC
156 2016-12-14T17:48:45 *** BashCo has joined #bitcoin-dev
157 2016-12-14T17:53:33 *** BashCo has quit IRC
158 2016-12-14T17:55:16 *** TomMc has quit IRC
159 2016-12-14T17:57:08 *** TomMc has joined #bitcoin-dev
160 2016-12-14T18:22:08 *** igno_peverell has joined #bitcoin-dev
161 2016-12-14T18:23:51 *** BashCo has joined #bitcoin-dev
162 2016-12-14T18:48:10 *** ThomasV has joined #bitcoin-dev
163 2016-12-14T19:02:24 *** TomMc has quit IRC
164 2016-12-14T19:16:44 *** TomMc has joined #bitcoin-dev
165 2016-12-14T19:27:52 *** NewLiberty_ has joined #bitcoin-dev
166 2016-12-14T19:29:34 *** NewLiberty has quit IRC
167 2016-12-14T19:36:51 *** NewLiberty_ has quit IRC
168 2016-12-14T19:43:20 *** mnk has joined #bitcoin-dev
169 2016-12-14T19:54:26 *** mnk has quit IRC
170 2016-12-14T19:56:18 *** clopez has quit IRC
171 2016-12-14T19:58:20 *** clopez has joined #bitcoin-dev
172 2016-12-14T20:04:26 *** CheckDavid has joined #bitcoin-dev
173 2016-12-14T20:05:17 <stiell> If I understand BIP 114 (MAST) correctly, there are only two ways to provide data to a script: either as part of the witness data (where it is unsigned) for the individual input, or as a push operation in every single branch where it is used. I'm working on a contract that makes use of data that is updated very often and must be signed in some way. The only way I've found to do this is to make a tx
174 2016-12-14T20:05:20 <stiell> (off-chain) for every update, which outputs to a newly generated MAST where each branch contains a push operation with the new data. Due to the number of branches, this may be expensive. Is there some other possible solution that I'm missing?
175 2016-12-14T20:11:44 *** snowden69 has joined #bitcoin-dev
176 2016-12-14T20:15:15 *** priidu has joined #bitcoin-dev
177 2016-12-14T20:21:57 *** MoALTz has quit IRC
178 2016-12-14T20:25:19 <arubi> stiell, I just read your question and still parsing. just curious, what type of data?
179 2016-12-14T20:26:54 <arubi> I mean, a number? (maybe sequence is good?), a single push? (maybe op_return?)
180 2016-12-14T20:30:04 <stiell> arubi: a hash, the root of a Merkle tree whose various leaf nodes are evaluated depending on the branch in the MAST.
181 2016-12-14T20:31:29 <arubi> is it a different root than the one already in scriptpubkey? I'm missing something
182 2016-12-14T20:31:49 <stiell> arubi: I don't think a script is able to access the data in another script's op_return?
183 2016-12-14T20:32:16 <stiell> arubi: yes, this is non-script data in a Merkle tree.
184 2016-12-14T20:32:35 <arubi> if a checksig operation is done in that script, and the checksig is not "single" or "none", then it does sign that op_return output
185 2016-12-14T20:33:16 <stiell> by evaluated, I mean used as stack data in the script.
186 2016-12-14T20:33:31 <arubi> oh, as an input
187 2016-12-14T20:34:14 <arubi> hmm
188 2016-12-14T20:35:02 *** snowden69 has quit IRC
189 2016-12-14T20:35:08 <arubi> so when is that data determined?
190 2016-12-14T20:35:23 *** snowden69 has joined #bitcoin-dev
191 2016-12-14T20:35:57 <arubi> you say it's updated, were the possible "update states" determined before the input for this tx was signed?
192 2016-12-14T20:38:41 <stiell> The data is some state passed back and forth between two parties. Each party performs some partially secret computation on the data and passes along a tx that can later be used to validate that the secret computation was correct.
193 2016-12-14T20:39:16 <arubi> is it like lightning? I still feel like I'm missing a big part of it
194 2016-12-14T20:41:21 <stiell> I suppose it creates something like a state channel. The point is to make sure each party's secret computations are according to certain rules, otherwise they lose their funds to the other party once the secret data is revealed.
195 2016-12-14T20:41:41 <arubi> oh so there's also penalty
196 2016-12-14T20:42:07 <arubi> I'd love to see that contract :)
197 2016-12-14T20:42:35 *** reBrain has joined #bitcoin-dev
198 2016-12-14T20:43:56 <arubi> put it this way, there's one way that I know to get data signed as part of an input, and it's by using sequence numbers and things like CSV
199 2016-12-14T20:44:26 <stiell> So when one party wants to terminate the protocol, they reveal their secret key and force the other party to reveal theirs via the contract. With that key they can examine every computation made by the other player. If something was against the rules, they can publish the off-chain tx that followed the update, along with proof that a rule was broken, to redeem the funds.
200 2016-12-14T20:45:50 <arubi> how does one party force the other to reveal their key?
201 2016-12-14T20:48:59 <arubi> grr, sorry stiell, ride is here. very cool stuff.. will probably be back tomorrow
202 2016-12-14T20:50:15 <stiell> The proof-of-cheat MAST contains a subscript that pushes the other party's secret key to the stack. Only the hash of this subscript is public at first, and is enough to build the MAST. To force the other party to reveal their key, they publish a pre-signed tx which requires the other party to provide the data matching this hash, otherwise it times out and they lose the funds.
203 2016-12-14T20:56:33 *** shurdeek has joined #bitcoin-dev
204 2016-12-14T21:01:35 *** reBrain has quit IRC
205 2016-12-14T21:10:25 *** shurdeek has left #bitcoin-dev
206 2016-12-14T21:13:50 *** twistedline has quit IRC
207 2016-12-14T21:14:55 *** wasi has quit IRC
208 2016-12-14T21:27:37 *** Chris_Stewart_5 has quit IRC
209 2016-12-14T21:30:20 *** Chris_Stewart_5 has joined #bitcoin-dev
210 2016-12-14T21:39:02 *** Chris_Stewart_5 has quit IRC
211 2016-12-14T21:41:33 *** Chris_Stewart_5 has joined #bitcoin-dev
212 2016-12-14T21:46:26 *** ThomasV has quit IRC
213 2016-12-14T21:53:17 *** Raziel has quit IRC
214 2016-12-14T21:55:32 *** MoALTz has joined #bitcoin-dev
215 2016-12-14T22:08:16 *** Raziel has joined #bitcoin-dev
216 2016-12-14T22:09:15 *** abpa has quit IRC
217 2016-12-14T22:11:39 *** chjj has quit IRC
218 2016-12-14T22:16:17 *** abpa has joined #bitcoin-dev
219 2016-12-14T22:24:45 *** chjj has joined #bitcoin-dev
220 2016-12-14T22:28:07 *** blackwraith has joined #bitcoin-dev
221 2016-12-14T22:29:17 *** priidu has quit IRC
222 2016-12-14T22:32:54 *** CheckDavid has quit IRC
223 2016-12-14T22:34:10 *** belcher has quit IRC
224 2016-12-14T22:46:31 *** belcher has joined #bitcoin-dev
225 2016-12-14T22:46:39 *** sausage_factory has joined #bitcoin-dev
226 2016-12-14T22:47:30 *** bugs_ has quit IRC
227 2016-12-14T22:47:56 *** blackwraith has quit IRC
228 2016-12-14T22:53:23 *** blueness_ has joined #bitcoin-dev
229 2016-12-14T23:05:38 *** blackwraith has joined #bitcoin-dev
230 2016-12-14T23:05:47 *** TomMc has quit IRC
231 2016-12-14T23:06:50 *** sausage_factory has quit IRC
232 2016-12-14T23:09:59 *** janko33 has quit IRC
233 2016-12-14T23:28:02 *** d9b4bef9 has quit IRC
234 2016-12-14T23:28:40 *** sausage_factory has joined #bitcoin-dev
235 2016-12-14T23:29:08 *** d9b4bef9 has joined #bitcoin-dev
236 2016-12-14T23:30:13 *** blackwraith has quit IRC
237 2016-12-14T23:35:12 *** TomMc has joined #bitcoin-dev
238 2016-12-14T23:40:49 *** herzmeister has quit IRC
239 2016-12-14T23:43:04 *** herzmeister has joined #bitcoin-dev
240 2016-12-14T23:46:58 *** sausage_factory has quit IRC
241 2016-12-14T23:47:54 *** priidu has joined #bitcoin-dev