1 2014-06-28 00:01:14 <phantomcircuit> dsnrk, invalid ping?
  2 2014-06-28 00:01:33 <AndersAA> phantomcircuit: "ProcessMessages(tx, 1 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length"
  3 2014-06-28 00:01:39 <dsnrk> that ^
  4 2014-06-28 00:02:07 <AndersAA> Flooding debug.log with that crap.
  5 2014-06-28 00:02:29 <phantomcircuit> AndersAA, any idea what the packet data actually is?
  6 2014-06-28 00:02:39 <phantomcircuit> wait
  7 2014-06-28 00:02:44 <phantomcircuit> is that the bits of proof things?
  8 2014-06-28 00:03:07 <AndersAA> phantomcircuit: unlikely.
  9 2014-06-28 00:03:36 <dsnrk> phantomcircuit: < dsnrk> ugh, I don't know. he has written his own full node which he is selling to people to use behind web wallets and exchanges and things. I tried to talk him out of letting it talk with the real network, but that seems to have failed badly.
 10 2014-06-28 00:04:12 <dsnrk> it's a guy named Canuck24. wrote a full node to avoid having to run 32 altcoin daemons.
 11 2014-06-28 00:04:20 <phantomcircuit> ohhh
 12 2014-06-28 00:04:26 <phantomcircuit> well
 13 2014-06-28 00:04:34 <phantomcircuit> if you did that right it would be valuable
 14 2014-06-28 00:04:39 <dsnrk> it sucks though. it's somehow a full node without executing scripts.
 15 2014-06-28 00:04:41 <phantomcircuit> but you'd still have to run the daemons
 16 2014-06-28 00:05:04 <phantomcircuit> sounds like he did it lol wrong
 17 2014-06-28 00:05:33 <AndersAA> What's a good packet inspector for CLI Debian?
 18 2014-06-28 00:09:11 <phantomcircuit> AndersAA, tcpdump
 19 2014-06-28 00:09:46 <sipa> ;;nethash
 20 2014-06-28 00:09:47 <gribble> 1.72688358042
 21 2014-06-28 00:10:02 <AndersAA> phantomcircuit: Thank!
 22 2014-06-28 00:10:06 <AndersAA> *Thanks
 23 2014-06-28 00:10:24 <phantomcircuit> *Tanks
 24 2014-06-28 00:10:32 <phantomcircuit> VROOM VROOM
 25 2014-06-28 00:13:04 <AndersAA> I miss "Scorched Earth"...
 26 2014-06-28 00:13:22 <justanotheruser> AndersAA: ?
 27 2014-06-28 00:13:56 <AndersAA> justanotheruser: Totally OT. Just about the tanks typo. http://en.wikipedia.org/wiki/Scorched_Earth_(video_game)
 28 2014-06-28 00:14:36 <justanotheruser> oh, I thought you were talking about scorched earth transactions
 29 2014-06-28 00:16:07 <dsnrk> same.
 30 2014-06-28 00:20:52 <dgenr8> petertodd just got a notification on his phone (scorched earth)
 31 2014-06-28 00:24:15 <justanotheruser> dgenr8: more likely because you just highlighted him
 32 2014-06-28 00:31:14 <justanotheruser> But if he does come by, I would like to see his writeup on appcoins
 33 2014-06-28 01:01:30 <AndersAA> Been logging packets from the "annoying node" a while now and of course it's not connecting anymore. Would really like to see what the heck was going on..
 34 2014-06-28 01:03:02 <dsnrk> from what I understand, the ping message is meant to have a nonce for the peer to return in the pong
 35 2014-06-28 01:03:23 <dsnrk> https://github.com/bitcoin/bips/blob/master/bip-0031.mediawiki
 36 2014-06-28 01:03:46 <sipa> after a particular version number, yes
 37 2014-06-28 01:05:23 <AndersAA> It identifies as 70002 but no subver string.
 38 2014-06-28 01:06:18 <dsnrk> subver is just for humans I think, could be anything
 39 2014-06-28 01:11:55 <AndersAA> Could this part of the spec have been misunderstood? "If the client chooses to never overlap pings in this way it should simply set the nonce value to zero." If you think this issue is OT, let me know.
 40 2014-06-28 01:12:34 <dsnrk> from talking to the person who made the client they didn't realise the ping needed to have a nonce at all
 41 2014-06-28 01:13:18 <SomeoneWeird> lol
 42 2014-06-28 01:14:15 <AndersAA> SomeoneWeird: +1
 43 2014-06-28 01:22:11 <kazcw> AndersAA: what do pings have to do with it? the debug message you posted says it's a tx message. so it's not even that they didn't understand the spec, 1-byte tx messages mean the implementation isn't doing what its writer thinks it is
 44 2014-06-28 01:25:02 <AndersAA> kazcw: Good point. Thanks for clearing that up. I must be tired -- I'll keep logging packets and see if anything turns up.
 45 2014-06-28 03:25:32 <warren> The second parameter of listsinceblock doesn't seem to actually work.
 46 2014-06-28 03:25:40 <warren> Docs say it is supposed to limit the output transactions with that number of confirmations or more.
 47 2014-06-28 03:25:44 <warren> It shows all including zero conf.
 48 2014-06-28 10:18:51 <AndersAA> dsnrk: Taking a look at the captured packets in wireshark it looks like junk data, junk commands with a tx thrown in. No idea what's really going on. No pings, just malformed tx with no payload.
 49 2014-06-28 10:21:56 <dsnrk> AndersAA: another user and I jumped on the message as being a ping because I'd had issues with a user sending dodgy stuff to me in the past. could very well be the same person doing something different badly or just a coincidence.
 50 2014-06-28 10:31:31 <AndersAA> Could be. My packet analysis skills aren't really up there but compared to normal protocol packets it just looks like nonsense and besides a malformed version message nothing really makes sense. Shouldn't bitcoind just drop these complete nonsense nodes sending invalid commands?
 51 2014-06-28 10:33:10 <sipa> unknown commands are ignored
 52 2014-06-28 10:33:14 <sipa> easy uogradability
 53 2014-06-28 10:34:48 <AndersAA> example: \022\317\334\001\371\276\264\331tx for a command name. And I suppose it's not really ignored when it's flooding debug.log
 54 2014-06-28 10:34:53 <GAit> what is the alternative? having clients knowing what commands a certain versions knows and avoid asking things they don't otherwise they get cut off and even banned?
 55 2014-06-28 10:37:10 <AndersAA> GAit: No, ignoring should be fine. Except it's not ignoring this.
 56 2014-06-28 10:38:25 <AndersAA> It's probably just Skynet trying to figure out how to talk to Bitcoin...
 57 2014-06-28 10:40:37 <dsnrk> sipa: your graphs are a little broken again, I don't think we had 45% growth in a week.
 58 2014-06-28 10:40:45 <sipa> i know
 59 2014-06-28 10:40:59 <sipa> my bitcoind quit after i ran out of disk space
 60 2014-06-28 10:41:06 <dsnrk> sorry, didn't know if you knew or not
 61 2014-06-28 10:41:14 <sipa> no way you could have
 62 2014-06-28 11:54:50 <Anduck> anyone know if armory supports bip32?
 63 2014-06-28 11:57:58 <Anduck> or will in the near future
 64 2014-06-28 11:59:58 <sipa> ;;nethahs
 65 2014-06-28 11:59:59 <gribble> Error: "nethahs" is not a valid command.
 66 2014-06-28 12:00:02 <sipa> ;;nethash
 67 2014-06-28 12:00:03 <gribble> 122733668.983
 68 2014-06-28 12:18:58 <Happzz> how can i minimize the disk fragmentation bitcoin-qt causes?
 69 2014-06-28 12:19:16 <sipa> does it hurt you?
 70 2014-06-28 12:20:11 <Happzz> it doesn't help its launch times
 71 2014-06-28 12:20:15 <sipa> since 0.8 the blockchain files are preallocated in batches to prevent some fragmentation already
 72 2014-06-28 12:20:40 <buZz> Happzz: make a ramdrive and put the blockchain in there if you want to minimize startup time
 73 2014-06-28 12:21:25 <sipa> just decrease the selftest at startup (-checkblocks=N) with N a number of blocks
 74 2014-06-28 12:21:45 <sipa> 0 will make it check all blocks though
 75 2014-06-28 12:22:10 <Happzz> according to the debug log, it checks 288 now. what would be a much lower yet "safe" alternative?
 76 2014-06-28 12:22:27 <Happzz> the minimum you consider safe
 77 2014-06-28 12:23:00 <sipa> if you know yourbhardware works fine, and you didn't crash at previous shutdown, anythih
 78 2014-06-28 12:23:06 <sipa> sorry for typing
 79 2014-06-28 12:23:55 <Happzz> so -checkblocks=1 is considered safe?
 80 2014-06-28 12:24:33 <btc123> hey guys
 81 2014-06-28 12:25:08 <btc123> how can i convert a ecc key genereated with openssl into hex format that begins with 04?
 82 2014-06-28 12:26:19 <btc123> the output of openssl ecparam -genkey -name secp256k1 isn't right format
 83 2014-06-28 12:29:30 <btc123> gives pem file
 84 2014-06-28 12:30:46 <sipa> Happzz: if you consider that safe
 85 2014-06-28 12:31:11 <sipa> it exists to prevent you from accidentally running with an incorrect state, unknowingly, and being forked off afterwards because of it
 86 2014-06-28 12:32:35 <Happzz> sipa hence my question, what's the minimum YOU consider safe enough to use
 87 2014-06-28 12:38:55 <arubi> btc123, ` openssl ecparam -name secp256k1 -genkey -noout | openssl ec -pubout -text `
 88 2014-06-28 12:40:39 <sipa> that throws away the private key though :)
 89 2014-06-28 12:41:06 <arubi> this one is prettier (with private key) : openssl ecparam -name secp256k1 -genkey -noout | openssl ec -pubout -text -noout
 90 2014-06-28 12:46:26 <btc123> arubi, you're awesome. spent 2 hrs trying to figure this out
 91 2014-06-28 12:46:29 <btc123> thanks so much
 92 2014-06-28 12:47:21 <sipa> arubi: any idea how to get a compressed pubkey out of it?
 93 2014-06-28 12:48:09 <sipa> it's easy enough to do yourself (drop the last 32 bytes of the pubkey, and turn the 04 into a 02 if the last (dropped) byte was even, 03 if it was odd)
 94 2014-06-28 12:48:30 <arubi> add -conv_form compressed to the end of the command
 95 2014-06-28 12:48:35 <arubi> "-conv_form compressed"
 96 2014-06-28 12:48:38 <sipa> cool
 97 2014-06-28 12:49:22 <arubi> yep, I implemented the entire privkey -> address process in bash so I've read a lot of man pages :)
 98 2014-06-28 12:49:33 <sipa> haha
 99 2014-06-28 12:51:44 <btc123> arubi, haha l33t. is that on github? ;)
100 2014-06-28 12:53:11 <btc123> how do i remove the colons ?
101 2014-06-28 12:53:19 <arubi> I don't have a github repo btc123 , but I can pastebin the code for you.
102 2014-06-28 12:53:22 <btc123> pipe to sed or is there a command?
103 2014-06-28 12:53:33 <btc123> arubi: that would be awesome!
104 2014-06-28 12:56:02 <arubi> btc123, http://pastebin.com/Q1C0ZxPX . It wasn't simple. the base58 conversion drove me crazy, but I'm pretty sure you could run that on any modern gnu without external dependencies
105 2014-06-28 13:00:31 <Luke-Jr> arubi: bc :p
106 2014-06-28 13:00:55 <sipa> or even more hardcore: dc
107 2014-06-28 13:00:59 <arubi> I used bc :P
108 2014-06-28 13:01:21 <Luke-Jr> arubi: not sure bc counts as "without external dependencies"
109 2014-06-28 13:01:52 <arubi> bc is not default..?
110 2014-06-28 13:02:02 <Luke-Jr> define default
111 2014-06-28 13:02:14 <Luke-Jr> I had to manually install it.
112 2014-06-28 13:02:24 <sipa> "any modern gnu" is pretty vague, but does it matter?
113 2014-06-28 13:02:31 <arubi> really :(
114 2014-06-28 13:03:01 <Luke-Jr> arubi: Python is more default than bc these days ;)
115 2014-06-28 13:03:19 <arubi> sure, but python has been done again and again :p
116 2014-06-28 13:05:16 <btc123> ./keys.sh: line 16: 1: command not found
117 2014-06-28 13:05:24 <arubi> which distribution are you running Luke-Jr ?
118 2014-06-28 13:05:25 <btc123> ubu 13.10
119 2014-06-28 13:05:37 <Luke-Jr> arubi: Gentoo
120 2014-06-28 13:06:57 <arubi> I see.. learned something today :) .  btc123 , you have to mark the script as executable
121 2014-06-28 13:07:17 <sipa> i don't think that's the problem
122 2014-06-28 13:07:21 <arubi> chmod +x keys.sh , but this is basic command line stuff and OT
123 2014-06-28 13:08:00 <sipa> yes, #bitcoin please
124 2014-06-28 13:24:45 <arubi> (sipa_ you were right, it was the formatting)
125 2014-06-28 13:35:08 <hearn> https://github.com/bitcoinj/bitcoinj/network/members
126 2014-06-28 13:35:13 <hearn> some of the alt coin names are hilarious
127 2014-06-28 13:35:19 <hearn> mediterraneancoinj?
128 2014-06-28 13:35:30 <hearn> zetacoinj?
129 2014-06-28 13:35:39 <hearn> kryptkoinj?
130 2014-06-28 13:35:47 <hearn> there aren't going to be any cool names left for actually worthy alt coins
131 2014-06-28 13:40:42 <arubi> p
132 2014-06-28 13:44:52 <PK> hearn: is yabacoin taken already? Yet-Another-Blockchain-Alternative-coin would be a neat name.
133 2014-06-28 13:47:19 <ShawnLeary> YabaDabaDoCoin
134 2014-06-28 13:47:38 <ThomasV> !seen slush
135 2014-06-28 13:47:39 <gribble> slush was last seen in #bitcoin-dev 33 weeks, 0 days, 16 hours, 5 minutes, and 7 seconds ago: <slush> hopefully its just a problem of bci
136 2014-06-28 13:47:45 <ShawnLeary> using the FF - BC6000 Algo
137 2014-06-28 13:48:19 <PK> Can you buy brontosaurus burgers with it?
138 2014-06-28 14:00:28 <btc123> where did the first byte of 73 come from ? https://en.bitcoin.it/wiki/Protocol_specification#alert
139 2014-06-28 14:01:19 <btc123> is it a typo in the sample alert? no explanation on the wiki. also, do alerts require message headers?
140 2014-06-28 14:01:29 <btc123> doesn't say that either, i thought i'd clear the wiki up
141 2014-06-28 14:03:25 <sipa> alerts are messages like everything else, so yes
142 2014-06-28 14:04:09 <btc123> sipa, do you know where that '73'  byte comes from?
143 2014-06-28 14:04:17 <btc123> in the sample alert
144 2014-06-28 14:04:50 <sipa> i suppose it's a typo or some unnecessarily cooy pasted byte
145 2014-06-28 14:05:23 <btc123> yeah, looks like it
146 2014-06-28 14:09:02 <btc123> where did the main network magic bytes come from? randomly chosen?
147 2014-06-28 14:09:38 <sipa> yes
148 2014-06-28 14:10:01 <hearn> or they might have meaning for satoshi
149 2014-06-28 15:33:54 <kanzure> is there any chance of https://github.com/bitcoin/bitcoin/pull/4425 becoming a log injection vulnerability? ("Display unknown commands received.")
150 2014-06-28 15:34:17 <kanzure> are there other network-supplied strings injected into the logs elsewhere?
151 2014-06-28 15:38:00 <sipa> no, the string is sanitized before being printed
152 2014-06-28 15:38:10 <kanzure> thanks
153 2014-06-28 16:07:33 <jtimon> why some times nTime is unsigned int and others is int64_t ?
154 2014-06-28 16:07:54 <jtimon> when does it need to be int64_t ?
155 2014-06-28 16:11:11 <jtimon> for example, in  ClientModel::getLastBlockDate(), both types are used like if the type didn't mattered
156 2014-06-28 16:38:00 <sipa> jtimon: generally, it is a 64-bit type everywhere, except in CBlockHeader (and CTransaction's nLockTime) because of historic reasons
157 2014-06-28 16:38:18 <sipa> which will need some hack when the field overflows
158 2014-06-28 16:38:49 <jtimon> ok, so 64-bit is preferred
159 2014-06-28 16:38:56 <sipa> yes
160 2014-06-28 20:50:05 <ProfMac> while following the code for handling new blocks, I found something sort of like GetPutInventory ( "inv" ...other stuff) and I can't seem to locate it again searching on github.
161 2014-06-28 22:18:00 <dcb__> Hi guys, checkout a chrome extension i just created
162 2014-06-28 22:18:01 <dcb__> BTC Ticker for chrome: https://chrome.google.com/webstore/detail/btc-ticker/dhhaddhalbbbojbagjjpeepmbipiodhh
163 2014-06-28 22:18:45 <tommygunner> no
164 2014-06-28 22:24:49 <gmaxwell> ACTION collects bets that that is malware…
165 2014-06-28 22:25:34 <midnightmagic> ACTION does not take that bet
166 2014-06-28 22:29:59 <GAit> ACTION reads other projects from developer: web override -> .. allows you to create custom scripts and have them automatically injected to any webpage!
167 2014-06-28 22:30:12 <GAit> no kidding
168 2014-06-28 22:30:46 <GAit> no red flags
169 2014-06-28 22:32:08 <gmaxwell> hahah
170 2014-06-28 22:32:19 <gmaxwell> so a bc.i wallet stealer most likely then. :)
171 2014-06-28 23:44:43 <dsnrk> ah what the fuck
172 2014-06-28 23:44:55 <dsnrk> yeah that URL is not something you want to go near