1 2012-08-28 00:43:55 <osmosis> is there any python code to convert a raw transcation into json?
2 2012-08-28 00:45:11 <BlueMatt> pynode could do it, but you'd have to write the json stuff, or 0.7 of the satoshi client has it
3 2012-08-28 00:45:42 <osmosis> i could probably use getrawtransaction in bitcoind 0.7
4 2012-08-28 00:45:53 <osmosis> yah
5 2012-08-28 00:49:42 <Evilmax> hi
6 2012-08-28 00:49:44 <Evilmax> someone can tell me if exists some software (platfomr) for a btc trade site costruction?
7 2012-08-28 00:49:51 <Evilmax> what kind of software they use?
8 2012-08-28 00:52:07 <osmosis> Evilmax, maybe https://gitorious.org/bitcoin-markets/bitcoin-markets
9 2012-08-28 00:52:45 <Evilmax> ok tnx
10 2012-08-28 00:52:47 <osmosis> Evilmax, or http://gitorious.org/intersango
11 2012-08-28 00:52:48 <Evilmax> now i see
12 2012-08-28 01:09:39 <Luke-Jr> someone should test IBD with 0.7rc1 IMO
13 2012-08-28 01:14:03 <gmaxwell> Luke-Jr: Good call, I did one a while back. I'll try it now.
14 2012-08-28 01:14:31 <Luke-Jr> someone reported problems with next-test IBD, but I see the same buffer changes in 0.7
15 2012-08-28 01:15:13 <eian> IBD?
16 2012-08-28 01:15:29 <jgarzik> Initial Block Download (aka network sync)
17 2012-08-28 01:15:33 <eian> thanks
18 2012-08-28 01:18:53 <Luke-Jr> on another note, I'm thinking I may need to just say stable backport support is limited to English :/
19 2012-08-28 01:19:01 <Luke-Jr> Qt Linguist files are not merge-happy
20 2012-08-28 01:35:58 <freewil> this seems misleading...
21 2012-08-28 01:36:00 <freewil> Add -onlynet to prevent connections to a given network
22 2012-08-28 01:36:10 <freewil> https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes.txt#L63
23 2012-08-28 01:37:22 <gmaxwell> freewil: er, onlynet does what it says
24 2012-08-28 01:37:49 <gmaxwell> freewil: good spotting.
25 2012-08-28 01:37:53 <freewil> so i can give it a network like 192.168.1.0 and it WONT connect to that?
26 2012-08-28 01:38:19 <gmaxwell> freewil: no, no. e.g. -onlynet=ipv6 use ipv6 only
27 2012-08-28 01:38:58 <freewil> ok, thats even less clear then
28 2012-08-28 01:39:36 <gmaxwell> the commandline help is reasonably clear
29 2012-08-28 01:39:37 <gmaxwell> init.cpp: " -onlynet=<net> " + _("Only connect to nodes in network <net> (IPv4, IPv6 or Tor)") + "\\n" +
30 2012-08-28 01:40:01 <freewil> yeah that works
31 2012-08-28 01:40:07 <gmaxwell> The release notes just need to be fixed.
32 2012-08-28 01:44:56 <gmaxwell> okay, what happened here? http://pastebin.com/sA5NSLQ3
33 2012-08-28 01:45:09 <gmaxwell> ;;bc,blocks
34 2012-08-28 01:45:09 <gribble> 196024
35 2012-08-28 01:45:33 <gmaxwell> it was looking normal then a big run of SetBestChain in a row
36 2012-08-28 01:45:40 <gmaxwell> it's now stuck at "blocks" : 180458,
37 2012-08-28 01:46:47 <gmaxwell> Huston, we have a problem.
38 2012-08-28 02:08:24 <midnightmagic> Could it be possible that the seeming dust transactions which appear to do nothing are actually txn relay delay measurements in an effort to try to map out the network?
39 2012-08-28 02:08:51 <gmaxwell> perhaps.
40 2012-08-28 02:08:52 <midnightmagic> So everybody assumes "yeah laundry" but in reality they're serving a purpose?
41 2012-08-28 02:09:18 <gmaxwell> "laundry" that creates more than a trivial amount of blockchain traffic is wrongheaded in any case.
42 2012-08-28 02:09:46 <Luke-Jr> midnightmagic: you can measure it without sending
43 2012-08-28 02:10:05 <midnightmagic> @i2p account was tweeting about a possible attack going on there too
44 2012-08-28 02:10:32 <midnightmagic> Luke-Jr: If you generate blocks..?
45 2012-08-28 02:10:41 <gmaxwell> So... yea.. on my IBD fetch test, it trucked along fine to about 180450 and then got stuck until a random peer gave me a block. Amusingly I think it was telling me about an old block. Now I'm fetching very slowly over the network instead of from a fast peer.
46 2012-08-28 02:10:50 <Luke-Jr> midnightmagic: no, anyone can
47 2012-08-28 02:11:02 <midnightmagic> Luke-Jr: Time insertions?
48 2012-08-28 02:11:10 <gmaxwell> I can't tell why it stopped pulling from the fast local peer, nothing in my logs (on either the IBD node or the peer it was pulling from) makes that clear.
49 2012-08-28 02:11:38 <Luke-Jr> gmaxwell: fast connection = buffer overflow faster?
50 2012-08-28 02:11:47 <Luke-Jr> slow connection = takes time to fill buffer, which you empty faster
51 2012-08-28 02:11:56 <gmaxwell> there was no buffer error messages. And it made it all the way to 180xxx.
52 2012-08-28 02:12:14 <gmaxwell> On either the peer or the node itself.
53 2012-08-28 02:12:27 <gmaxwell> I'm thinking that perhaps it got disrupted by a new block on the network.
54 2012-08-28 02:15:05 <Luke-Jr> perhaps
55 2012-08-28 02:15:35 <midnightmagic> Luke-Jr: Okay, I give up. I have two nodes connecting to radically different peers. How do I get a message with full fanout from one node to eventually hit another without generating blocks and without spending bitcoins in a txn (and potentially paying fees)?
56 2012-08-28 02:16:04 <gmaxwell> Unrelated, this doesn't look good: http://pastebin.com/2qZYTY0z
57 2012-08-28 02:16:33 <gmaxwell> midnightmagic: I know a way to do that, but I'd rather not mention it in public due to beans-in-nose factor.
58 2012-08-28 02:16:43 <midnightmagic> ok
59 2012-08-28 02:16:48 <Luke-Jr> lol
60 2012-08-28 02:26:41 <osmosis> how can I get libboost1.37-dev for ubuntu 12.04
61 2012-08-28 02:28:18 <jgarzik> gmaxwell: the IBD download code is so hacky
62 2012-08-28 02:28:31 <gmaxwell> jgarzik: I believe you've misspelled broken.
63 2012-08-28 02:28:41 <jgarzik> gmaxwell: a magic 'inv' prompts you to continue, IFF everything goes peachy
64 2012-08-28 02:28:44 <MagicalTux> could anyone kill satoshidice or get miners to put more txs in blocks ?
65 2012-08-28 02:28:54 <MagicalTux> (just saying)
66 2012-08-28 02:29:03 <jgarzik> gmaxwell: if you don't get to the point where the magic 'inv' is sent, you're stuck
67 2012-08-28 02:29:20 <gmaxwell> jgarzik: in any case, it started again, so it's not the end of the world. but god knows what happened. :(
68 2012-08-28 02:29:49 <jgarzik> I think it needs a sanity timeout -- if nothing's happened within 30 seconds, try asking another peer
69 2012-08-28 02:29:57 <gmaxwell> (and also, I eventually started the node with connect/listen=0 so I could pull the @#$@ thing locall and not wait a week to get this node back up)
70 2012-08-28 02:32:28 <gmaxwell> midnightmagic: did you see this? http://arxiv.org/abs/1208.2534
71 2012-08-28 02:35:49 <Luke-Jr> MagicalTux: PM ;p
72 2012-08-28 02:38:23 <midnightmagic> gmaxwell: I did not, thanks for the link.
73 2012-08-28 02:46:27 <gmaxwell> I .. think, in fact, the ibd logic may end up making it pull from the slowest peer. because it looks like block announcements from delayed peers interrupt the pull and switch the puller to the late announcer.
74 2012-08-28 02:48:23 <jgarzik> gmaxwell: the magic inv is quite similar to non-magic inv's...
75 2012-08-28 02:49:28 <gmaxwell> OH M YGOD!
76 2012-08-28 02:49:35 <gmaxwell> https://bitcointalk.org/index.php?topic=103172.msg1138884#msg1138884
77 2012-08-28 02:49:58 <jgarzik> wow
78 2012-08-28 02:52:09 <amiller> hm
79 2012-08-28 02:54:23 <midnightmagic> gmaxwell: It looks like that paper is assuming the observers know their location on the graph, and that the graph edges are known or mapped out (as in the case of the KwaZulu-Natal province (SA) cholera outbreak they used as an example.)
80 2012-08-28 02:54:32 <Luke-Jr> gmaxwell: ?
81 2012-08-28 02:55:04 <midnightmagic> holy crap he posted
82 2012-08-28 02:55:07 <gmaxwell> midnightmagic: Correct, yea I mentioned that when I linked to it previously as a further justification for peer rotation. If the network is constantly changing it should be harder to map.
83 2012-08-28 02:55:27 <gmaxwell> Luke-Jr: I was oh my goding at there being a post from Hal.
84 2012-08-28 02:55:34 <Luke-Jr> ah
85 2012-08-28 03:02:31 <midnightmagic> gmaxwell: So that paper would be step #2 in my theoretical douchebag mapping the network toolbox..
86 2012-08-28 03:02:51 <gmaxwell> midnightmagic: right.
87 2012-08-28 03:03:12 <gmaxwell> first extract graph, then use timings from sparse observers to locate sources on the graph.
88 2012-08-28 03:33:03 <wumpus> sipa: pushed new sigs, they match now
89 2012-08-28 04:35:11 <bitfoo> quick q: how do I compute difficulty from nBits?
90 2012-08-28 04:35:56 <ersi> Hm, does the 'old 0.6.3' client not time out connections after a while? Or was suspending the 'puter just a bad idea, with bitcoin-qt runnin'?
91 2012-08-28 04:36:28 <amiller> bitfoo, some good resources for that are here: https://en.bitcoin.it/wiki/Difficulty
92 2012-08-28 04:37:02 <bitfoo> amiller, oh, thanks! searched for "nbits" on the wiki but didn't find this one.