1 2017-02-09T00:08:47  *** chjj has quit IRC
  2 2017-02-09T00:22:25  *** chjj has joined #bitcoin-dev
  3 2017-02-09T00:24:46  *** Starduster has quit IRC
  4 2017-02-09T00:28:17  *** agricocb has joined #bitcoin-dev
  5 2017-02-09T00:29:09  *** Newyorkadam has joined #bitcoin-dev
  6 2017-02-09T00:34:03  *** Newyorkadam has quit IRC
  7 2017-02-09T00:36:56  *** harai has quit IRC
  8 2017-02-09T00:40:38  *** Giszmo has quit IRC
  9 2017-02-09T00:44:25  *** harai has joined #bitcoin-dev
 10 2017-02-09T00:48:30  *** cluelessperson has joined #bitcoin-dev
 11 2017-02-09T00:54:17  *** paracyst_ is now known as paracyst
 12 2017-02-09T01:00:19  *** abpa has quit IRC
 13 2017-02-09T01:19:00  <bsm117532> My bitcoin node is having trouble with a testnet fork that happened at height 1086627.  Does anyone know a good place to find info about forks (especially long ones) that happened on testnet and may be wreaking havoc with my code?
 14 2017-02-09T01:27:31  *** cyphase has quit IRC
 15 2017-02-09T01:32:31  *** cyphase has joined #bitcoin-dev
 16 2017-02-09T01:55:18  *** oleganza has quit IRC
 17 2017-02-09T01:55:44  *** impulse has quit IRC
 18 2017-02-09T02:04:03  *** blueness has quit IRC
 19 2017-02-09T02:04:10  *** kristofferR has joined #bitcoin-dev
 20 2017-02-09T02:21:06  *** Giszmo has joined #bitcoin-dev
 21 2017-02-09T02:28:50  *** Chris_Stewart_5 has quit IRC
 22 2017-02-09T02:31:28  *** NewLiberty_ has quit IRC
 23 2017-02-09T02:32:46  *** harai has quit IRC
 24 2017-02-09T02:42:59  *** blueness has joined #bitcoin-dev
 25 2017-02-09T02:50:17  *** harai has joined #bitcoin-dev
 26 2017-02-09T02:52:34  *** NewLiberty_ has joined #bitcoin-dev
 27 2017-02-09T02:54:41  *** HostFat_ has joined #bitcoin-dev
 28 2017-02-09T02:55:55  *** NewLiberty_ is now known as NewLiberty
 29 2017-02-09T02:56:37  *** DougieBot5000_ has joined #bitcoin-dev
 30 2017-02-09T02:57:01  *** DougieBot5000 has quit IRC
 31 2017-02-09T02:57:01  *** DougieBot5000_ is now known as DougieBot5000
 32 2017-02-09T02:57:44  *** blueness has quit IRC
 33 2017-02-09T02:58:17  *** HostFat__ has quit IRC
 34 2017-02-09T02:58:50  *** instagibbs has quit IRC
 35 2017-02-09T02:59:57  *** Wayward has quit IRC
 36 2017-02-09T02:59:57  *** sparetire has quit IRC
 37 2017-02-09T03:00:05  *** dermoth has quit IRC
 38 2017-02-09T03:00:45  *** dermoth has joined #bitcoin-dev
 39 2017-02-09T03:02:30  *** Wayward has joined #bitcoin-dev
 40 2017-02-09T03:04:41  *** blueness has joined #bitcoin-dev
 41 2017-02-09T03:05:04  *** sparetire has joined #bitcoin-dev
 42 2017-02-09T03:05:19  *** instagibbs has joined #bitcoin-dev
 43 2017-02-09T03:11:35  *** blueness has quit IRC
 44 2017-02-09T03:15:28  *** harai has quit IRC
 45 2017-02-09T03:16:24  *** Subo1977 has joined #bitcoin-dev
 46 2017-02-09T03:17:18  *** blueness has joined #bitcoin-dev
 47 2017-02-09T03:20:19  *** Delta_ has quit IRC
 48 2017-02-09T03:24:53  *** Giszmo has quit IRC
 49 2017-02-09T03:28:08  *** impulse has joined #bitcoin-dev
 50 2017-02-09T03:28:34  *** jtimon has quit IRC
 51 2017-02-09T03:29:29  *** harai has joined #bitcoin-dev
 52 2017-02-09T03:32:18  *** harai has joined #bitcoin-dev
 53 2017-02-09T03:34:41  *** harai has quit IRC
 54 2017-02-09T03:35:32  *** harai has joined #bitcoin-dev
 55 2017-02-09T03:37:51  *** harai has quit IRC
 56 2017-02-09T03:39:13  *** harai has joined #bitcoin-dev
 57 2017-02-09T03:41:18  *** harai has quit IRC
 58 2017-02-09T03:42:09  *** harai has joined #bitcoin-dev
 59 2017-02-09T03:44:04  *** harai has quit IRC
 60 2017-02-09T03:47:31  *** NewLiberty has quit IRC
 61 2017-02-09T03:52:07  *** NewLiberty has joined #bitcoin-dev
 62 2017-02-09T03:58:24  *** harai has joined #bitcoin-dev
 63 2017-02-09T04:01:26  *** harai has quit IRC
 64 2017-02-09T04:05:24  *** blueness has quit IRC
 65 2017-02-09T04:13:10  *** echonaut has quit IRC
 66 2017-02-09T04:13:33  *** echonaut has joined #bitcoin-dev
 67 2017-02-09T04:17:08  *** NewLiberty has quit IRC
 68 2017-02-09T04:22:00  *** blueness has joined #bitcoin-dev
 69 2017-02-09T04:30:11  *** twistedline has joined #bitcoin-dev
 70 2017-02-09T05:07:52  *** janko33 has joined #bitcoin-dev
 71 2017-02-09T05:10:06  *** harai has joined #bitcoin-dev
 72 2017-02-09T05:12:50  *** harai has quit IRC
 73 2017-02-09T05:14:58  *** harai has joined #bitcoin-dev
 74 2017-02-09T05:16:52  *** harai has quit IRC
 75 2017-02-09T05:18:13  *** harai has joined #bitcoin-dev
 76 2017-02-09T05:20:00  *** harai has quit IRC
 77 2017-02-09T05:23:36  *** harai has joined #bitcoin-dev
 78 2017-02-09T05:27:30  *** harai has quit IRC
 79 2017-02-09T05:32:03  *** harai has joined #bitcoin-dev
 80 2017-02-09T05:33:48  *** harai has quit IRC
 81 2017-02-09T05:36:47  *** harai has joined #bitcoin-dev
 82 2017-02-09T05:37:22  *** O01eg has quit IRC
 83 2017-02-09T05:38:16  *** Dizzle has joined #bitcoin-dev
 84 2017-02-09T05:39:46  *** harai has quit IRC
 85 2017-02-09T05:42:57  *** harai has joined #bitcoin-dev
 86 2017-02-09T05:45:58  *** harai has joined #bitcoin-dev
 87 2017-02-09T05:46:16  *** btiefert has quit IRC
 88 2017-02-09T05:47:38  *** harai has quit IRC
 89 2017-02-09T05:48:30  *** harai has joined #bitcoin-dev
 90 2017-02-09T05:50:12  *** harai has quit IRC
 91 2017-02-09T05:54:03  *** harai has joined #bitcoin-dev
 92 2017-02-09T05:56:19  *** harai has quit IRC
 93 2017-02-09T05:57:11  *** harai has joined #bitcoin-dev
 94 2017-02-09T05:59:07  *** harai has quit IRC
 95 2017-02-09T06:01:08  *** [7] has quit IRC
 96 2017-02-09T06:01:32  *** TheSeven has joined #bitcoin-dev
 97 2017-02-09T06:07:42  *** janko33 has quit IRC
 98 2017-02-09T06:12:05  *** segy has quit IRC
 99 2017-02-09T06:17:20  *** luke-jr has quit IRC
100 2017-02-09T06:21:53  *** luke-jr has joined #bitcoin-dev
101 2017-02-09T06:24:10  *** oleganza has joined #bitcoin-dev
102 2017-02-09T06:29:15  *** jl2012_ has joined #bitcoin-dev
103 2017-02-09T06:29:48  *** wallet42_ has joined #bitcoin-dev
104 2017-02-09T06:33:08  *** wallet42 has quit IRC
105 2017-02-09T06:33:08  *** jl2012 has quit IRC
106 2017-02-09T06:33:09  *** paveljanik has quit IRC
107 2017-02-09T06:33:09  *** NicolasDorier has quit IRC
108 2017-02-09T06:33:09  *** Wayward has quit IRC
109 2017-02-09T06:33:09  *** waxwing has quit IRC
110 2017-02-09T06:33:17  *** jl2012_ is now known as jl2012
111 2017-02-09T06:33:22  *** wallet42_ is now known as wallet42
112 2017-02-09T06:34:41  *** NicolasDorier has joined #bitcoin-dev
113 2017-02-09T06:34:47  *** Wayward has joined #bitcoin-dev
114 2017-02-09T06:36:19  *** easye has quit IRC
115 2017-02-09T06:46:01  *** oleganza has quit IRC
116 2017-02-09T06:46:04  *** easye has joined #bitcoin-dev
117 2017-02-09T06:46:56  <wumpus> I doubt testnet forks are documented anywhere
118 2017-02-09T06:47:44  <wumpus> testnet (in contrast to mainnnet) is not usually considered something to watch closely and chronicle about
119 2017-02-09T06:48:54  *** harai has joined #bitcoin-dev
120 2017-02-09T06:58:45  *** segy has joined #bitcoin-dev
121 2017-02-09T07:08:16  *** cannon-c has joined #bitcoin-dev
122 2017-02-09T07:10:52  *** spinza has quit IRC
123 2017-02-09T07:14:06  *** waxwing has joined #bitcoin-dev
124 2017-02-09T07:17:32  *** Dizzle has quit IRC
125 2017-02-09T07:18:07  *** Dizzle has joined #bitcoin-dev
126 2017-02-09T07:19:35  *** chjj has quit IRC
127 2017-02-09T07:56:31  *** fredrin has quit IRC
128 2017-02-09T08:05:37  *** Dizzle has quit IRC
129 2017-02-09T08:09:25  *** BashCo has quit IRC
130 2017-02-09T08:15:40  *** mountaingoat has quit IRC
131 2017-02-09T08:29:22  *** mountaingoat has joined #bitcoin-dev
132 2017-02-09T08:30:00  *** BashCo has joined #bitcoin-dev
133 2017-02-09T08:35:47  *** nazarewk has joined #bitcoin-dev
134 2017-02-09T08:38:48  *** nazarewk has quit IRC
135 2017-02-09T08:39:01  *** nazarewk has joined #bitcoin-dev
136 2017-02-09T08:41:16  *** nazarewk has quit IRC
137 2017-02-09T08:41:55  *** nazarewk has joined #bitcoin-dev
138 2017-02-09T08:45:58  *** nazarewk has quit IRC
139 2017-02-09T08:46:11  *** nazarewk has joined #bitcoin-dev
140 2017-02-09T08:49:13  *** ThomasV has joined #bitcoin-dev
141 2017-02-09T08:56:38  *** RxMcDonald has joined #bitcoin-dev
142 2017-02-09T09:12:35  *** reBrain has joined #bitcoin-dev
143 2017-02-09T09:14:03  *** spinza has joined #bitcoin-dev
144 2017-02-09T09:24:45  *** reBrain has quit IRC
145 2017-02-09T09:46:10  *** mountaingoat has quit IRC
146 2017-02-09T10:00:32  <TZander> bsm117532: did you consider using the regtest  network for testing?
147 2017-02-09T10:01:10  <TZander> bsm117532: I stopped using testnet a long time ago, its too unpredictable to use for testing.
148 2017-02-09T10:01:39  <TZander> unpredictable in a way that isn't realistic, like 1000 block reorgs :)
149 2017-02-09T10:06:42  *** mountaingoat has joined #bitcoin-dev
150 2017-02-09T10:12:46  *** sword_smith has joined #bitcoin-dev
151 2017-02-09T10:28:42  *** reBrain has joined #bitcoin-dev
152 2017-02-09T10:39:01  *** d9b4bef9 has quit IRC
153 2017-02-09T10:39:19  *** reBrain has quit IRC
154 2017-02-09T10:39:30  *** reBrain has joined #bitcoin-dev
155 2017-02-09T10:40:08  *** d9b4bef9 has joined #bitcoin-dev
156 2017-02-09T10:42:27  *** BashCo has quit IRC
157 2017-02-09T10:47:19  *** Belkaar has quit IRC
158 2017-02-09T10:50:44  *** CheckDavid has joined #bitcoin-dev
159 2017-02-09T10:51:18  *** Belkaar has joined #bitcoin-dev
160 2017-02-09T10:54:16  *** reBrain has quit IRC
161 2017-02-09T10:55:53  *** BashCo has joined #bitcoin-dev
162 2017-02-09T10:58:30  *** McLovinMcLovin has joined #bitcoin-dev
163 2017-02-09T11:08:25  *** Guyver2 has joined #bitcoin-dev
164 2017-02-09T11:08:35  *** blueness has quit IRC
165 2017-02-09T11:10:18  *** blueness has joined #bitcoin-dev
166 2017-02-09T11:23:09  *** easye has quit IRC
167 2017-02-09T11:23:40  *** easye has joined #bitcoin-dev
168 2017-02-09T11:28:01  *** McLovinMcLovin has quit IRC
169 2017-02-09T11:28:04  *** blueness has quit IRC
170 2017-02-09T11:45:38  *** ax0 has joined #bitcoin-dev
171 2017-02-09T11:51:13  *** blueness has joined #bitcoin-dev
172 2017-02-09T12:06:30  *** ThomasV has quit IRC
173 2017-02-09T12:13:59  *** cannon-c has quit IRC
174 2017-02-09T12:14:14  <RxMcDonald> anyone using QT as ide?
175 2017-02-09T12:15:55  <RxMcDonald> which is the logger header?
176 2017-02-09T12:17:13  *** blueness has quit IRC
177 2017-02-09T12:23:05  *** mnk has joined #bitcoin-dev
178 2017-02-09T12:26:36  *** Guyver2 has quit IRC
179 2017-02-09T12:40:08  *** cannon-c has joined #bitcoin-dev
180 2017-02-09T12:48:17  *** paveljanik has joined #bitcoin-dev
181 2017-02-09T13:16:11  *** cannon-c has quit IRC
182 2017-02-09T13:23:03  *** agricocb has quit IRC
183 2017-02-09T13:33:40  *** reBrain has joined #bitcoin-dev
184 2017-02-09T13:40:09  *** Sosumi has joined #bitcoin-dev
185 2017-02-09T13:42:52  *** reBrain has quit IRC
186 2017-02-09T13:49:48  *** agricocb has joined #bitcoin-dev
187 2017-02-09T13:56:01  *** Chris_Stewart_5 has joined #bitcoin-dev
188 2017-02-09T13:56:12  *** PaulCapestany has quit IRC
189 2017-02-09T13:58:43  *** PaulCapestany has joined #bitcoin-dev
190 2017-02-09T14:01:53  *** jtimon has joined #bitcoin-dev
191 2017-02-09T14:05:10  <TZander> RxMcDonald: I use QtCreator yes
192 2017-02-09T14:05:23  <TZander> logger is util.h
193 2017-02-09T14:05:59  *** ax0 has quit IRC
194 2017-02-09T14:06:07  <RxMcDonald> TZander: oh, thanks
195 2017-02-09T14:08:21  *** twistedline has quit IRC
196 2017-02-09T14:11:16  *** kristofferR has quit IRC
197 2017-02-09T14:16:35  <RxMcDonald> TZander: can you use QT for developing the whole thing or you need another editor for editing the files under /src etc?
198 2017-02-09T14:18:28  <wumpus> you can use qt creator for editing the whole thing, an editor is an editor, you'll need to add files to a project specific to that program, probably, and figure out how to set up building
199 2017-02-09T14:19:16  <RxMcDonald> Yeah but followed the instructions in the readme and it says it can't find some files, i.e. just left the file selection when importing
200 2017-02-09T14:21:06  <wumpus> you should be able to add all the .cpp and .h files
201 2017-02-09T14:24:08  <RxMcDonald> wumpus: from the parent directory?
202 2017-02-09T14:25:01  <RxMcDonald> files are in the /src folder, and the qt project is inside of it
203 2017-02-09T14:30:22  <RxMcDonald> nvm
204 2017-02-09T14:32:15  <RxMcDonald> now it says QT can't find boost
205 2017-02-09T14:33:16  <RxMcDonald> also including util.h and it can't find Logprintf("...
206 2017-02-09T14:34:49  *** Burrito has joined #bitcoin-dev
207 2017-02-09T14:39:34  <RxMcDonald> alright fixed that I guess
208 2017-02-09T14:58:25  *** Giszmo has joined #bitcoin-dev
209 2017-02-09T14:58:46  *** btiefert has joined #bitcoin-dev
210 2017-02-09T15:01:34  *** ThomasV has joined #bitcoin-dev
211 2017-02-09T15:05:05  *** spinza has quit IRC
212 2017-02-09T15:08:18  *** bugs_ has joined #bitcoin-dev
213 2017-02-09T15:15:09  *** Giszmo has quit IRC
214 2017-02-09T15:20:16  *** wasi has quit IRC
215 2017-02-09T15:20:44  *** wasi has joined #bitcoin-dev
216 2017-02-09T15:28:46  <TZander> RxMcDonald: I have a perl script that generates a couple of .pro files which I then open in the project.
217 2017-02-09T15:29:16  <TZander> The only thing I need to do manually is remove their 'run qmake' line in the build settings.  Which you only have to do once on opening.
218 2017-02-09T15:29:58  <TZander> so, yeah, I edit and use auto complete and all that goodness. Compile and run it in a debugger. All from within the app.
219 2017-02-09T15:40:35  *** spinza has joined #bitcoin-dev
220 2017-02-09T15:43:20  *** kristofferR has joined #bitcoin-dev
221 2017-02-09T15:44:14  *** CheckDavid has quit IRC
222 2017-02-09T16:01:16  <RxMcDonald> nice TZander, that's what I'm loooking for, I'm going to keep at it later when I get home
223 2017-02-09T16:01:29  *** RxMcDonald has quit IRC
224 2017-02-09T16:11:26  *** priidu has quit IRC
225 2017-02-09T16:16:51  *** porquilho has joined #bitcoin-dev
226 2017-02-09T16:18:05  *** mnk has quit IRC
227 2017-02-09T16:22:35  *** DonRichie has quit IRC
228 2017-02-09T16:25:07  *** DonRichie has joined #bitcoin-dev
229 2017-02-09T16:31:20  *** Starduster has joined #bitcoin-dev
230 2017-02-09T16:41:28  *** nazarewk has quit IRC
231 2017-02-09T16:45:24  *** abpa has joined #bitcoin-dev
232 2017-02-09T16:54:23  *** sword_smith has quit IRC
233 2017-02-09T17:01:13  *** sanket1729 has joined #bitcoin-dev
234 2017-02-09T17:02:27  <sanket1729> Hey!
235 2017-02-09T17:02:52  <sanket1729> Would this be the place where I can discuss non-formulated rough ideas?
236 2017-02-09T17:05:39  *** oleganza has joined #bitcoin-dev
237 2017-02-09T17:11:17  *** NewLiberty has joined #bitcoin-dev
238 2017-02-09T17:12:16  <bsm117532> TZander: can't really test with regtest when multiple clients are involved...
239 2017-02-09T17:22:12  *** Xanather has joined #bitcoin-dev
240 2017-02-09T17:25:47  *** BashCo has quit IRC
241 2017-02-09T17:25:53  *** ongolaBoy has joined #bitcoin-dev
242 2017-02-09T17:27:47  *** Giszmo has joined #bitcoin-dev
243 2017-02-09T17:36:20  *** mnk has joined #bitcoin-dev
244 2017-02-09T17:38:50  *** sanket1729 has quit IRC
245 2017-02-09T17:39:50  *** Giszmo has quit IRC
246 2017-02-09T17:43:20  *** janko33 has joined #bitcoin-dev
247 2017-02-09T17:46:17  *** BashCo has joined #bitcoin-dev
248 2017-02-09T17:48:19  *** ThomasV has quit IRC
249 2017-02-09T18:45:34  *** chjj has joined #bitcoin-dev
250 2017-02-09T18:53:54  *** molz_ has joined #bitcoin-dev
251 2017-02-09T18:56:40  *** mol has quit IRC
252 2017-02-09T19:12:09  *** markus-k has quit IRC
253 2017-02-09T19:14:04  *** markus-k has joined #bitcoin-dev
254 2017-02-09T19:15:58  *** cyphase has quit IRC
255 2017-02-09T19:16:50  *** MichaelMeyer has joined #bitcoin-dev
256 2017-02-09T19:23:12  *** priidu has joined #bitcoin-dev
257 2017-02-09T19:31:24  *** porquilho has quit IRC
258 2017-02-09T19:36:32  *** chjj has quit IRC
259 2017-02-09T19:45:11  <TZander> bsm117532: why not? Did you manage to connect them to each other?
260 2017-02-09T19:46:57  <bsm117532> Honestly I never have figured out regtest mode.  You can connect multiple regtest instances?
261 2017-02-09T19:47:35  <arubi> this is how bitcoin tests are done :)
262 2017-02-09T19:47:56  <TZander> sure, regtest is the same software, just using a different set of parameters so you can mine with practically no difficulty.
263 2017-02-09T19:47:57  <arubi> well, maybe not with it being python, but very similar I guess
264 2017-02-09T19:48:51  <TZander> essentially you pass a set of paramters to each instance. Each is given a unique port number to listen on and you can then connect them.
265 2017-02-09T19:49:10  <arubi> bsm117532, you can set them at IPs 127.10.0.{1..10}, each to his own ip, that way you don't have to mess with ports and such
266 2017-02-09T19:49:56  <arubi> keep a .conf file for each node, set 'uacomment=reg{1..10}' for each, and bind to an IP in the range
267 2017-02-09T19:50:36  <bsm117532> Hmmm... I might just have to do that.  I'm concerned about testnet reorgs during our beta test.  And unfortunately I can't run on mainnet because I need segwit...
268 2017-02-09T19:50:38  *** chjj has joined #bitcoin-dev
269 2017-02-09T19:50:41  <arubi> call bitcoind\-cli with the different .confs, you can alias reg{1..10}-cli to say reg1-cli -conf=$HOME/.bitcoin/reg1.conf
270 2017-02-09T19:50:52  <TZander> bsm117532: http://pastebin.com/2dyNMFtS
271 2017-02-09T19:51:57  <arubi> protip: set datadirs to /dev/shm/...,  ultra fast regtest stuff
272 2017-02-09T19:52:53  *** Xanather has quit IRC
273 2017-02-09T19:55:00  <bsm117532> Hmmm...hmmm...is there any problem with having a long-running regtest network?  (up to months...)
274 2017-02-09T19:55:36  <arubi> no :)
275 2017-02-09T19:56:16  <bsm117532> Hmmmm....hhhhmmmmm....
276 2017-02-09T19:56:46  <bsm117532> TZander, arubi thanks guys
277 2017-02-09T19:57:25  <arubi> cheers, just a small detail, blocks 751 and onwards activate new rules, so before that you have "old bitcoin"
278 2017-02-09T19:57:51  <arubi> (things might be activated at different blocks before though, not sure)
279 2017-02-09T19:59:19  <bsm117532> Yeah I need to figure out which soft forks have been deployed.  Obviously I need the regtest to have SPV activated...
280 2017-02-09T19:59:27  <bsm117532> err...segwit rather.
281 2017-02-09T19:59:42  <arubi> that's 751 last time I actually checked
282 2017-02-09T19:59:50  <bsm117532> Ok, will investigate...
283 2017-02-09T20:00:06  <arubi> right now I have an init script that mines 751, then sends 100 to a second node for "stuff"
284 2017-02-09T20:00:57  <arubi> so I don't have a ton of outputs on a work node.  block halving is very quick, I think every 50 blocks so by the time you mined 751 you have most of it :)
285 2017-02-09T20:01:46  <arubi> er, reward halving.
286 2017-02-09T20:17:04  *** reBrain has joined #bitcoin-dev
287 2017-02-09T20:21:36  *** Giszmo has joined #bitcoin-dev
288 2017-02-09T20:25:17  <bsm117532> How can I get regtest mode to simulate mining over time, instead of immediately generating blocks?
289 2017-02-09T20:26:09  <achow101> bsm117532: write a script that just loops through sleep ten minutes and then mine a block
290 2017-02-09T20:26:34  <bsm117532> That was my first idea...that' really the best way to do it?
291 2017-02-09T20:27:41  <achow101> I don't think you can configure core to change the difficulty for regtest, so I think that's the best way to do it
292 2017-02-09T20:28:20  <achow101> you could change the regtest difficulty but you would have to change the source and compile
293 2017-02-09T20:28:28  <bsm117532> Well it's wasteful to make it *actually* mine...doing it on a timer would be better...
294 2017-02-09T20:28:33  <arubi> generate sha256 from /dev/urandom and only 'generate 1' when diff is good :)
295 2017-02-09T20:28:39  <arubi> s/target
296 2017-02-09T20:28:51  <arubi> ah well
297 2017-02-09T20:30:34  <arubi> why does the timing matter though?  blocks could also be seconds apart.  maybe you could set 'blocknotify='regtest-cli generate 1' for perfect timing :)
298 2017-02-09T20:30:42  <arubi> set it on a mainnet node that is
299 2017-02-09T20:32:03  <bsm117532> And now we're going to exercise whether my frankenstien of python-bitcoinlib, bcoin, and bitcoin core can all talk to each other in regtest mode...
300 2017-02-09T20:35:03  *** ThomasV has joined #bitcoin-dev
301 2017-02-09T20:37:07  <bsm117532> arubi: that's hilarious.  Also I just might do that...  blocknotify='sleep 600; bitcoin-cli -regtest generate 1'
302 2017-02-09T20:38:44  <arubi> 'blocknotify='sleep $(possion); bitcoin-cli -regtest generate 1' :)
303 2017-02-09T20:41:45  <bsm117532> what's $(poisson)?  Also it's a geometric distribution, not poisson IIRC...
304 2017-02-09T20:43:39  *** Giszmo has quit IRC
305 2017-02-09T20:44:16  <arubi> guess so, I guess it's just the number of the blocks mined in a duration, not the actual time between them if you wanna "wait it out".  $(possion) is just a mock function to return the time to sleep :)
306 2017-02-09T20:51:08  *** ThomasV has quit IRC
307 2017-02-09T21:01:29  *** Giszmo has joined #bitcoin-dev
308 2017-02-09T21:15:25  <bsm117532> I was just wondering if you had such a function...written in bash... :-P
309 2017-02-09T21:16:26  *** twistedline_ has quit IRC
310 2017-02-09T21:22:14  <arubi> haha, unfortunately not that one.  I have a mainnet node so if I wanted 1:1 timing I'd set 'blocknotify="regtest-cli generate 1" in my mainnet.conf, and if I really wanted to control the timing I'd try to interface with SetMockTime() from util.h :)
311 2017-02-09T21:24:43  <arubi> probably only moderately difficult to trace the 'genrate #' call and change 'curtime' to something else
312 2017-02-09T21:26:21  <arubi> ah it's called utiltime.h now
313 2017-02-09T21:28:48  *** twistedline_ has joined #bitcoin-dev
314 2017-02-09T21:40:04  *** MichaelMeyer has quit IRC
315 2017-02-09T21:41:03  *** reBrain has quit IRC
316 2017-02-09T21:41:35  *** Guyver2 has joined #bitcoin-dev
317 2017-02-09T21:42:44  *** blueness has joined #bitcoin-dev
318 2017-02-09T21:44:02  *** frank1e has joined #bitcoin-dev
319 2017-02-09T21:44:20  *** frank1e has quit IRC
320 2017-02-09T21:44:59  *** MichaelMeyer has joined #bitcoin-dev
321 2017-02-09T21:47:30  *** justan0theruser has quit IRC
322 2017-02-09T22:06:36  *** janko33 has quit IRC
323 2017-02-09T22:50:20  *** droark has quit IRC
324 2017-02-09T22:52:28  *** airbreather has quit IRC
325 2017-02-09T22:54:43  *** blueness has quit IRC
326 2017-02-09T22:57:13  *** blueness has joined #bitcoin-dev
327 2017-02-09T23:05:51  *** bugs_ has quit IRC
328 2017-02-09T23:16:26  *** musalbas has quit IRC
329 2017-02-09T23:16:48  *** musalbas has joined #bitcoin-dev
330 2017-02-09T23:41:42  *** justanotheruser has joined #bitcoin-dev