1 2015-08-12 05:31:03 <phantomcircuit> Are there gitian arm binaries?
2 2015-08-12 05:36:16 <Luke-Jr> no
3 2015-08-12 07:20:39 <drazisil> Looking in https://github.com/bitcoin/bitcoin/blob/0.11/src/chainparams.cpp#L56, where is the merkleroot for testnet and regtest? am I blind? Looking for the genesis txid for those two.
4 2015-08-12 07:21:50 <Luke-Jr> it won't be there, but calculated
5 2015-08-12 07:22:28 <drazisil> would it change, or do I just mash the values together?
6 2015-08-12 07:39:34 <wumpus> merkleroot is the same for all three networks
7 2015-08-12 07:42:31 <drazisil> thank you
8 2015-08-12 07:44:10 <wumpus> eg. the coinbase transaction of the genesis block is not dependent on the chain
9 2015-08-12 07:45:12 <drazisil> that makes my testing a lot easier.
10 2015-08-12 07:45:31 <wumpus> what are you testing?
11 2015-08-12 07:46:38 <drazisil> https://github.com/drazisil/jsonrpcbitcoin (yes, I'm aware several probably already exist)
12 2015-08-12 07:48:32 <wumpus> oh, a client library, right :)
13 2015-08-12 07:48:38 <drazisil> yep
14 2015-08-12 07:49:30 <confessedminer_> halo, is there has any else way to earn bitcoin...except miner??
15 2015-08-12 07:50:51 <drazisil> confessedminer_: try #bitcoin
16 2015-08-12 07:50:54 <wumpus> if we knew one, why would we tell you :)
17 2015-08-12 07:51:40 <confessedminer_> i thought...can sharing some idea??? since i have bandwidth and few servers...
18 2015-08-12 07:51:47 <confessedminer_> ok...sori...
19 2015-08-12 10:31:22 <olalonde> Anyone knows what happened to http://brainwallet.org?
20 2015-08-12 10:37:57 <midnightmagic> olalonde: This isn't really the place to ask for it, but.. https://rya.nc/cracking_cryptocurrency_brainwallets.pdf happened to it.
21 2015-08-12 11:03:34 <olalonde> mmmm nothing new there but ok
22 2015-08-12 11:03:58 <midnightmagic> apparently, brainwallet closed up shop shortly after defcon.
23 2015-08-12 11:06:00 <olalonde> Ok
24 2015-08-12 11:06:38 <olalonde> The tools were handy :( Found a mirror anyways
25 2015-08-12 12:31:05 <MrTratta> does anyone use bitcoind-ncurses for testnet?
26 2015-08-12 13:31:15 <jonasschnelli> MrTratta: I have once played around with it.
27 2015-08-12 13:32:39 <MrTratta> jonasschnelli, it dies as soon as i start it against my testnet node but works fine against my prod node. From my grepping for testnet I found enough code that suggests testnet should be supported but didn't look into it further yet
28 2015-08-12 13:33:41 <jonasschnelli> MrTratta: looking into the code i can see multiple "if 'testnet' "
29 2015-08-12 13:33:50 <MrTratta> exactly
30 2015-08-12 13:33:55 <jonasschnelli> What crash report / exception do you get?
31 2015-08-12 13:34:57 <MrTratta> File "/home/sn/bitcoindtestnet-ncurses/monitor.py", line 59, in draw_window if block_subsidy: # this will fail after block 420,000. TODO: stop being lazy and do it properly
32 2015-08-12 13:35:44 <MrTratta> the comment is a clue I guess
33 2015-08-12 13:36:02 <MrTratta> in testnet we are past height=530024
34 2015-08-12 13:41:27 <jonasschnelli> MrTratta: just change L56 for for a quick fix
35 2015-08-12 13:41:38 <jonasschnelli> elif state['mininginfo']['blocks'] < 600000: (or similar)
36 2015-08-12 13:43:14 <jonasschnelli> I mean it's ugly code... but you could add a testnet if and add the correct halfing block from 25 to 12.5
37 2015-08-12 13:47:13 <MrTratta> I actually don't need to use it right now anymore, i just used the debug.log for my needs but I'll have a look in a bit and maybe raise an issue on the github page
38 2015-08-12 13:47:46 <MrTratta> thank you for the hax
39 2015-08-12 13:50:31 <MrTratta> jonasschnelli, actually it fails later, TypeError: unsupported operand type(s) for -: 'Decimal' and 'float' - as per the TODO: it should stop being lazy and do it properly :)
40 2015-08-12 13:50:48 <jonasschnelli> Probably... yes. :)
41 2015-08-12 13:56:41 <MrTratta> have a quick hack fix now, will provide it in the issue report
42 2015-08-12 13:59:16 <jonasschnelli> MrTratta: Yeah. It will very likely break on mainnet next july (mainnet having)
43 2015-08-12 14:03:00 <MrTratta> jonasschnelli, https://github.com/azeteki/bitcoind-ncurses/issues/18
44 2015-08-12 14:03:46 <jonasschnelli> MrTratta: little markup hint: use ```diff (to get colored diffs in markup)
45 2015-08-12 14:03:59 <MrTratta> jonasschnelli, thanks I missed that
46 2015-08-12 14:04:28 <jonasschnelli> looks better!
47 2015-08-12 14:07:12 <MrTratta> indeed. Interestingly bitcoind-ncurses shows on testnet: "WARNING: abnormally high number of blocks generated, 80 blocks received in the last 4 hours (24 expected)", I see people are still taking advantage of different rules in testnet to mine much faster
48 2015-08-12 14:13:11 <jonasschnelli> MrTratta: testnet block interval can be very strange. Maybe a miner with some hashpower tests on testnet.
49 2015-08-12 14:13:59 <jonasschnelli> If a new chines mine quicky tests on testnet (with 1000+ asics), this can shortly produce unexpected amounts of blocks
50 2015-08-12 14:18:22 <MrTratta> jonasschnelli, i recall someone on reddit claiming to be behind it and suggesting they used some testnet peculiarity to make it happen. Not sure if they are using heavy duty asics though
51 2015-08-12 16:17:19 <dgenr8> cat azbr
52 2015-08-12 17:16:42 <phantomcircuit> MrTratta, that was me
53 2015-08-12 17:16:46 <phantomcircuit> I AM KING OF TESTNET
54 2015-08-12 17:16:50 <phantomcircuit> (AND ALSO CHEATING A BUNCH)
55 2015-08-12 17:17:16 <phantomcircuit> i have so many testnet outputs that my wallet is super slow
56 2015-08-12 17:17:18 <phantomcircuit> lol
57 2015-08-12 17:21:00 <jouke> phantomcircuit: how many? :)
58 2015-08-12 17:22:53 <phantomcircuit> jouke, 1m+ testnet coins
59 2015-08-12 17:22:59 <jouke> :o
60 2015-08-12 17:23:35 <phantomcircuit> "balance": 1260260.64673734,
61 2015-08-12 17:23:38 <phantomcircuit> nom nom coins
62 2015-08-12 17:35:50 <jcorgan> sell them on ebay
63 2015-08-12 17:36:30 <phantomcircuit> jcorgan, well the other reason is to enforce that testnet coins are worthless
64 2015-08-12 17:36:50 <phantomcircuit> if anybody sets up a testnet exchange you can expect there to be significant sell side pressure :P
65 2015-08-12 17:38:02 <jcorgan> "get your bitcoin testnet collectible coins before the chain is reset"
66 2015-08-12 17:39:35 <jcorgan> you could even sell spots on a registry to have testnet coinbases named after people, and i'm sure there would be takers
67 2015-08-12 18:25:53 <helo> would it be practical at all to implement a setdebug rpc command to change the debug level without restarting?
68 2015-08-12 18:41:09 <Luke-Jr> helo: probably trivial
69 2015-08-12 18:44:24 <harding> helo: that would be nice.
70 2015-08-12 18:46:57 <jonasschnelli> helo: +1 for setdebug rpc!
71 2015-08-12 18:48:56 <Luke-Jr> I wonder if it would be better to just add a generic "change mapArgs" RPCâ¦
72 2015-08-12 18:49:07 <Luke-Jr> with no promise it works outside of well-defined situations :p
73 2015-08-12 18:49:35 <s3gfault> anyone think the Ethreum VM is stable and bug free?
74 2015-08-12 18:49:59 <s3gfault> I'd like to make a PR to merge it into Bitcoin and replace script with it. Any support?
75 2015-08-12 18:51:00 <Luke-Jr> s3gfault: softfork or hardfork?
76 2015-08-12 18:51:14 <Luke-Jr> s3gfault: I doubt it's stable though..
77 2015-08-12 18:51:27 <s3gfault> hardfork, so we can drop block times as well
78 2015-08-12 18:51:40 <Luke-Jr> uh, we can't drop block timestamps..
79 2015-08-12 18:52:10 <Luke-Jr> for a hardfork, you'll need to really test it good before a PR IMO
80 2015-08-12 18:52:26 <Luke-Jr> I would discourage going that direction in any case.
81 2015-08-12 18:54:08 <s3gfault_> i meant retarget time
82 2015-08-12 18:55:00 <s3gfault_> I think we'll need to find some ways to compete with GHOST and EVM if they start gaining traction
83 2015-08-12 18:55:31 <s3gfault_> http://frontier.ether.camp/transaction/9c81f44c29ff02/vmtrace#291
84 2015-08-12 18:55:51 <s3gfault_> I could only wish to have something like that in a bitcoin contract
85 2015-08-12 18:56:33 <rodarmor> s3gfault_: I'm not seeing anything on that page, what is it?
86 2015-08-12 18:57:08 <s3gfault_> it's an interactive VM trace of an ethereum contract, shows the stack, memory, op codes, program counter, gas used, etc
87 2015-08-12 18:57:33 <s3gfault_> just try this and click vmtrace http://frontier.ether.camp/transaction/9c81f44c29ff02/
88 2015-08-12 18:57:59 <rodarmor> neato!
89 2015-08-12 18:59:18 <s3gfault_> the block size debate seems like small potatoes to this sort of functionality (again, if it is stable and bug free of course).
90 2015-08-12 19:00:15 <phantomcircuit> s3gfault_, ahaha
91 2015-08-12 19:00:20 <s3gfault_> jonass, its like BTC, mBTC, etc. just units
92 2015-08-12 19:00:52 <phantomcircuit> <s3gfault> anyone think the Ethreum VM is stable and bug free?
93 2015-08-12 19:00:53 <phantomcircuit> lol no
94 2015-08-12 19:00:55 <phantomcircuit> <s3gfault> I'd like to make a PR to merge it into Bitcoin and replace script with it. Any support?
95 2015-08-12 19:00:57 <phantomcircuit> lol no
96 2015-08-12 19:00:59 <phantomcircuit> <s3gfault> hardfork, so we can drop block times as well
97 2015-08-12 19:01:00 <phantomcircuit> lol no
98 2015-08-12 19:01:45 <s3gfault_> right... so why do you think not?
99 2015-08-12 19:01:55 <s3gfault_> I've only started goign through the go client code
100 2015-08-12 19:02:00 <helo> s3gfault_: all of that crazy stuff would be fine in a sidechain, i think
101 2015-08-12 19:03:01 <jonasschnelli> s3gfault_: okay. I see. Still wonder why they have chosen SZABO and FINNEY...
102 2015-08-12 19:04:14 <s3gfault_> named after nick szabo and hal finney
103 2015-08-12 19:04:28 <phantomcircuit> helo, absolutely!
104 2015-08-12 19:05:28 <s3gfault_> helo: agreed, but after 50% of BTC moves to that sidechain, it becomes the defacto main chain anyway.
105 2015-08-12 19:06:21 <s3gfault_> and with a fully working EVM i can't think of any reason to ever use another chain
106 2015-08-12 19:06:38 <s3gfault_> i suppose this is just the only way to implement Ethereum politically?
107 2015-08-12 19:06:49 <s3gfault_> Bitcoin politics aren't my forte
108 2015-08-12 19:07:33 <helo> being in a sidechain isolates people that may not trust something so difficult to prove safe from exposure to it
109 2015-08-12 19:08:01 <s3gfault_> My other concern is their plans to switch to PoS and use blockchain sharding. Vlad Zamfir and Vitalik suspect 100,000+ TPS and 1 second block times are possible
110 2015-08-12 19:08:17 <s3gfault_> sidechains would have to remain on 1mb 10min blocks
111 2015-08-12 19:08:34 <helo> and how many validating nodes will there be?
112 2015-08-12 19:08:41 <s3gfault_> 1000+
113 2015-08-12 19:09:11 <s3gfault_> I suppose the economic incentives need to be such that validators remain a minimum % of nodes
114 2015-08-12 19:09:59 <s3gfault_> And I'm guessing there's 0 political will to ever change Bitcoin's consensus algorithim away from SHA256 hashing. Just thinking out loud here about long term threats
115 2015-08-12 19:13:03 <paveljanik> OMG
116 2015-08-12 19:13:16 <helo> s3gfault_: there has been a lot of consideration and discussion justifying the view that the current block consensus mechanism is good
117 2015-08-12 19:14:01 <s3gfault> I don't think theres any need to take Ethereum seriously now. But should be on Devs radar if it reaches milestones (i.e. 1 year no failures, market cap grows larger than bitcoin, POS implementation successful for 1+ year with 10 second blocks, 10,000 TPS, etc)
118 2015-08-12 19:14:28 <s3gfault> if those things don't happen we can just merrily go about our ways
119 2015-08-12 19:14:32 <helo> i'm pretty sure everyone's well aware of it :)
120 2015-08-12 19:14:55 <s3gfault> well, thats good. i'm overly concerned perhaps
121 2015-08-12 19:15:40 <s3gfault> helo: Have you seen this:
122 2015-08-12 19:15:42 <s3gfault> https://blog.ethereum.org/2015/08/01/introducing-casper-friendly-ghost/
123 2015-08-12 19:16:40 <s3gfault_> sorry, keep disconnecting...
124 2015-08-12 19:16:44 <s3gfault_> helo: have you seen this? https://blog.ethereum.org/2015/08/01/introducing-casper-friendly-ghost/
125 2015-08-12 19:24:42 <helo> this is really pretty offtopic in here...
126 2015-08-12 19:25:59 <paveljanik> Imagine a bare multisig TX 1-of-2 (like todays testnet3's 642611512cf7ec6e007a8c982ac293443cb034a2c08d99b971e618c326c2e56c) where the second pubkey is 0 in the output script. Is this spendable or will the script engine refuse to run correctly with the pubkey of 0 on validation? Do you have any idea what is the purpose of similar transactions?
127 2015-08-12 19:28:53 <helo> if it is spendable, i would guess something is requiring multisig, but only one party cares about having any control
128 2015-08-12 19:33:59 <paveljanik> in fact it is not 0 but invalid pubkey...
129 2015-08-12 20:17:59 <paveljanik> and does such party have a control at all in this case?
130 2015-08-12 20:18:03 <paveljanik> I'll have to try myself.