1 2017-07-01 00:53:26	0|AdrianG|whats the alt stack for in bitcoin script?
 2 2017-07-01 00:54:20	0|luke-jr|AdrianG: an alternate stack
 3 2017-07-01 00:55:13	0|AdrianG|so its a two-stack pushdown automata then?
 4 2017-07-01 00:55:58	0|AdrianG|are the stacks fully equivalent?
 5 2017-07-01 00:56:22	0|sipa|bitcoin script is not a pushdown automata
 6 2017-07-01 00:56:31	0|sipa|because it has OP_PICK
 7 2017-07-01 00:57:52	0|sipa|code has access to all elements, always, not just the top
 8 2017-07-01 00:58:06	0|luke-jr|AdrianG: no, the alt stack is wiped between scripts, and has fewer opcodes to use it
 9 2017-07-01 00:58:26	0|AdrianG|sipa: that sounds like it would be a superset of a PDA then?
10 2017-07-01 01:07:22	0|sipa|it also follows intructions, not a state transition table
11 2017-07-01 02:31:20	0|gmaxwell|AdrianG: you can rewrite any script using the altstack without it (just using pick).  The altstack is there for the same reason that it's there in any forth implementation-- its a convenience and can result in fewer operations for some things.
12 2017-07-01 02:31:40	0|gmaxwell|apparently you've heard this craig wright stuff, it's pure gibberish.
13 2017-07-01 02:33:24	0|gmaxwell|(he was sending it to me on reddit several weeks ago too: https://people.xiph.org/~greg/temp/DSScamamoto.png )
14 2017-07-01 02:34:07	0|gmaxwell|AdrianG: his gibbering is basically trying to argue that script is universal but you don't need any of this technobable to show that, all you need to show is that it has a controlled-not.
15 2017-07-01 02:34:40	0|gmaxwell|That doesn't mean much of anything interesting though because there are very tight limits on how much computation you can do (which is why it isn't turing complete)
16 2017-07-01 02:36:25	0|gmaxwell|Wright is doing some pattern matching with finite state machines, where there is a well known result that one equipt with two 'stacks' (which are not like the forth-like stacks in bitcoin, but are simple things where you can only access the top elements) can be universal.
17 2017-07-01 03:43:23	0|BlueMatt|gmaxwell: no wonder wright hates you....you dont trivially fall for stupid technobabble like so many others
18 2017-07-01 06:50:28	0|wumpus|craig wright hates us all
19 2017-07-01 06:50:47	0|wumpus|but yes that's a good thing
20 2017-07-01 06:52:50	0|wumpus|results from yesterday's benchmark sync up to block 430241: 0.14.2 took 08:12:29 (29549s), master took 06:20:57 (22857s), so ~23% faster
21 2017-07-01 06:53:46	0|wumpus|really neat
22 2017-07-01 06:55:18	0|wumpus|both with default dbcache setting
23 2017-07-01 07:37:17	0|wumpus|going to time catch-up syncs from there to tip as well
24 2017-07-01 07:39:01	0|wumpus|might be interesting to plot the validation times per block w/ debug=bench too
25 2017-07-01 09:01:40	0|wumpus|not only is the sync faster, it seems to have less impact on the rest of the system, catching up the chain used to make any other things like browsing impossible on this system. Doesn't seem to be so much a CPU difference  (CPU wasn't maxed out in either case) but memory usage/IO related.
26 2017-07-01 09:05:24	0|gmaxwell|yea, I've noticed that too. Some of it I think might be the big peak memory usage and gigantic all at once writes was blowing out buffers.
27 2017-07-01 09:06:40	0|wumpus|indeed!
28 2017-07-01 09:23:46	0|phantomcircuit|the configure scripts dont seem to be able to find db5.3 on gentoo
29 2017-07-01 09:23:48	0|phantomcircuit|luke-jr, any idea what's wrong here?
30 2017-07-01 09:24:24	0|phantomcircuit|(and yes i know it's supported to be db 4.8 but i have a wallet that's 5.3)
31 2017-07-01 09:24:47	0|luke-jr|nope, sorry
32 2017-07-01 09:24:59	0|luke-jr|I assume you used --with-incompatible-bdb?
33 2017-07-01 09:25:32	0|phantomcircuit|yeah
34 2017-07-01 09:25:48	0|phantomcircuit|checking the config.log there's no mention of even looking for 5.3
35 2017-07-01 09:25:56	0|phantomcircuit|i wonder if something got removed on accident
36 2017-07-01 23:36:14	0|kanzure|"frustrating that the RPC isn't versioned and massively breaking changes like this are just introduced without any versioning and/or flags"  i guess something like that could work, shouldn't getblock start throwing up warnings at least even if not versioned?
37 2017-07-01 23:36:35	0|kanzure|s/shouldn't/couldn't/ is more accurately my question.
38 2017-07-01 23:42:31	0|sipa|kanzure: ?
39 2017-07-01 23:42:35	0|sipa|what is the context?
40 2017-07-01 23:42:48	0|sipa|we try very hard not to break RPC
41 2017-07-01 23:42:54	0|kanzure|btcd issue tracker someone is complaining about getblock/testnet/segwit
42 2017-07-01 23:43:03	0|sipa|oh, btcd
43 2017-07-01 23:44:16	0|kanzure|yes but the complaint is about bitcoind rpc versioning not btcd rpc versioning
44 2017-07-01 23:44:47	0|sipa|hmm, what was broken?