1 2012-09-08 00:02:52 <gmaxwell> sipa: 25326 txouts spent.
   2 2012-09-08 00:03:17 <jrmithdobbs> looks like AI_ADDRCONFIG is a linuxism everyone but openbsd has implemented
   3 2012-09-08 00:03:19 <jrmithdobbs> annoying
   4 2012-09-08 00:03:33 <sipa> gmaxwell: hmm?
   5 2012-09-08 00:03:46 RainbowDashh has quit (Ping timeout: 244 seconds)
   6 2012-09-08 00:04:15 <sipa> jrmithdobbs: i suppose an #ifdef AI_ADDRCONFIG is the solution :)
   7 2012-09-08 00:04:19 <sipa> it's optional anyway
   8 2012-09-08 00:04:45 <gmaxwell> sipa: your txidlist, those txids spent a total of 25326 txouts.
   9 2012-09-08 00:06:12 <sipa> gmaxwell: i suppose how many different addresses those txouts were sent to is more interesting
  10 2012-09-08 00:06:28 AEonCIpher has joined
  11 2012-09-08 00:06:41 <sipa> also, i assume it's not just one piece of software
  12 2012-09-08 00:07:07 <sipa> the last ones seem to pad to 21 bytes for R and S unconditionally
  13 2012-09-08 00:07:14 <sipa> the early ones are just weird
  14 2012-09-08 00:07:36 <gmaxwell> sipa: hm. can you give me just the last ones? or do you only have those few of those?
  15 2012-09-08 00:07:38 <Optimo> ;;ticker
  16 2012-09-08 00:07:38 <gribble> Best bid: 11, Best ask: 11.09791, Bid-ask spread: 0.09791, Last trade: 11, 24 hour volume: 35535, 24 hour low: 10.9544, 24 hour high: 11.21
  17 2012-09-08 00:07:44 <Optimo> whoops sry
  18 2012-09-08 00:07:55 <sipa> gmaxwell: the list is sorted chronologically
  19 2012-09-08 00:09:31 <sipa> gmaxwell: unconditionally padded ones start with 30460221 in hex
  20 2012-09-08 00:10:08 <jrmithdobbs> hrm, what's min bdb needed?
  21 2012-09-08 00:10:23 <sipa> jrmithdobbs: 4.6 or 4.7 i guess
  22 2012-09-08 00:10:27 <jrmithdobbs> is 4.6 not new enougH?
  23 2012-09-08 00:10:41 <jrmithdobbs> or is this doing something dumb like grabbing db.h out of /usr/include
  24 2012-09-08 00:10:44 <sipa> get any errors?
  25 2012-09-08 00:11:04 Zarutian has quit (Quit: Zarutian)
  26 2012-09-08 00:11:06 <jrmithdobbs> b.cpp: In member function 'bool CDBEnv::Open(boost::filesystem::path)':
  27 2012-09-08 00:11:06 <jrmithdobbs> db.cpp:92: error: 'class DbEnv' has no member named 'log_set_config'
  28 2012-09-08 00:11:06 <jrmithdobbs> db.cpp:92: error: 'DB_LOG_AUTO_REMOVE' was not declared in this scope
  29 2012-09-08 00:11:06 <jrmithdobbs> db.cpp: In member function 'void CDBEnv::MakeMock()':
  30 2012-09-08 00:11:06 <jrmithdobbs> db.cpp:127: error: 'class DbEnv' has no member named 'log_set_config'
  31 2012-09-08 00:11:08 <jrmithdobbs> db.cpp:127: error: 'DB_LOG_IN_MEMORY' was not declared in this scope
  32 2012-09-08 00:11:21 <sipa> yeah, just comment that out
  33 2012-09-08 00:11:48 <jrmithdobbs> sipa: do you think 4.7/4.8 would fix it?
  34 2012-09-08 00:12:03 <sipa> yes
  35 2012-09-08 00:12:14 <sipa> 4.8 certainly
  36 2012-09-08 00:13:24 <jrmithdobbs> sipa: openbsd ports only has 4.6 ... probably an oracle protest i assume ;p
  37 2012-09-08 00:14:01 <jrmithdobbs> sipa: is there a db define for version to key the #if's off of?
  38 2012-09-08 00:14:14 <jrmithdobbs> sipa: trying to fix it right if I'm going to bother fixing it
  39 2012-09-08 00:14:30 <jrmithdobbs> (the build, your code isn't broken, to clarify ;p)
  40 2012-09-08 00:15:04 <sipa> that IN_MEMORY thing is necessary for the unit tests
  41 2012-09-08 00:15:14 form_ has quit (Ping timeout: 265 seconds)
  42 2012-09-08 00:16:16 <sipa> without the autoremove, log files will grow until shutdown
  43 2012-09-08 00:16:27 <sipa> so i guess for good operation both are necessary now
  44 2012-09-08 00:16:44 RainbowDashh has joined
  45 2012-09-08 00:21:15 <jrmithdobbs> sipa: hrm, well, that means no openbsd port (as in actual port, not a working build) is possible for now
  46 2012-09-08 00:21:36 <jrmithdobbs> let me see if they're revving it for 5.2
  47 2012-09-08 00:21:49 <jrmithdobbs> *uprevving
  48 2012-09-08 00:24:47 <jrmithdobbs> no love, still going to be 4.6 for 5.2
  49 2012-09-08 00:25:03 <sipa> no bdb 5.* either?
  50 2012-09-08 00:25:24 <jrmithdobbs> no
  51 2012-09-08 00:25:29 <jrmithdobbs> probing to find out why
  52 2012-09-08 00:25:35 <jrmithdobbs> I have a bad feeling it's an oracle/license thing
  53 2012-09-08 00:28:37 <denisx> cool, I build bitcoind with clang and it worked!
  54 2012-09-08 00:28:53 <denisx> built
  55 2012-09-08 00:29:28 <gmaxwell> denisx: tests pass?
  56 2012-09-08 00:30:12 <denisx> gmaxwell: what tests?
  57 2012-09-08 00:31:06 <sipa> make -f makefile.unix test_bitcoind; ./test_bitcoind
  58 2012-09-08 00:31:33 <sipa> make -f makefile.unix test_bitcoin; ./test_bitcoin
  59 2012-09-08 00:32:53 <jrmithdobbs> sipa: ya only hold up is this bdb thing and a minor patch to not use AI_ADDRCONFIG if it's not defined
  60 2012-09-08 00:32:57 <jrmithdobbs> for openbsd
  61 2012-09-08 00:33:18 <gmaxwell> sipa: go find etotheipi
  62 2012-09-08 00:33:24 <jrmithdobbs> much less than I expected, actually didn't need denisx's makefile modifications if I just use gmake ;p
  63 2012-09-08 00:33:34 <sipa> gmaxwell: armory?
  64 2012-09-08 00:33:35 <gmaxwell> sipa: one of the top scriptpubkeys spent is 1ArmoryXcfq7TnCSuZa9fQjRYwJ4bkRKfv
  65 2012-09-08 00:33:42 <sipa> ahaa
  66 2012-09-08 00:34:01 <sipa> nice detective work
  67 2012-09-08 00:35:00 <gmaxwell> I was starting to guess armory before the smoking gun...
  68 2012-09-08 00:36:05 <denisx> jrmithdobbs: maybe I should try that too
  69 2012-09-08 00:36:21 <jrmithdobbs> BOOST_INCLUDE_PATH=/usr/local/include BOOST_LIB_PATH=/usr/local/lib BDB_INCLUDE_PATH=/usr/local/include/db4 BDB_LIB_PATH=/usr/local/lib gmake -f makefile.unix USE_UPNP= bitcoind 2>&1
  70 2012-09-08 00:36:26 <jrmithdobbs> denisx: probably need to define all that
  71 2012-09-08 00:36:46 <jrmithdobbs> (openbsd doesn't -I/usr/local/include -L/usr/local/lib by default, freebsd does iirc)
  72 2012-09-08 00:38:12 <sipa> gmaxwell: i'll send a mail?
  73 2012-09-08 00:38:17 <jrmithdobbs> denisx: note that's bash/ksh wont work in csh
  74 2012-09-08 00:38:26 <jrmithdobbs> denisx: you'll have to define and export all that in t/csh
  75 2012-09-08 00:38:55 <gmaxwell> sipa: sounds like a plan. you might want to pick some 1ArmoryXcfq7TnCSuZa9fQjRYwJ4bkRKfv txn to point to?
  76 2012-09-08 00:39:01 <gmaxwell> (in case its just some versions)
  77 2012-09-08 00:39:25 <jrmithdobbs> sipa: i'll just build 4.8 manually for now to see if the basics work
  78 2012-09-08 00:43:27 RainbowDashh has quit (Ping timeout: 264 seconds)
  79 2012-09-08 00:43:49 <sipa> gmaxwell: good
  80 2012-09-08 00:43:59 RainbowDashh has joined
  81 2012-09-08 00:49:01 onefourone is now known as root2_
  82 2012-09-08 00:49:37 <jrmithdobbs> lol awesome, maybe it's not a license issue
  83 2012-09-08 00:49:42 <jrmithdobbs> In file included from db.h:14, from db.cpp:6:
  84 2012-09-08 00:49:42 <jrmithdobbs> /opt/OpenBSD/5.1/amd64/db4-4.6.8.30/include/db_cxx.h: At global scope:
  85 2012-09-08 00:49:56 <jrmithdobbs> /opt/OpenBSD/5.1/amd64/db4-4.6.8.30/include/db_cxx.h:1237: error: expected class-name before '{' token
  86 2012-09-08 00:50:18 copumpkin has quit (Ping timeout: 244 seconds)
  87 2012-09-08 00:50:53 copumpkin has joined
  88 2012-09-08 00:51:03 <jrmithdobbs> that line is just a { ... the one before it is class _exported DbException : public __DB_STD(exception)
  89 2012-09-08 00:52:23 root2_ is now known as root2
  90 2012-09-08 00:55:40 <sipa> probably __DB_STD(exception) expanding to some unexpected value
  91 2012-09-08 00:56:10 <jrmithdobbs> ah! it's actually a bug in the clean target not destroying obj/build.h and obj/db.d
  92 2012-09-08 00:56:13 <jrmithdobbs> i think
  93 2012-09-08 00:56:37 <jrmithdobbs> or not, but that's a bug too, bleh
  94 2012-09-08 00:57:55 Zarutian has joined
  95 2012-09-08 00:58:26 <jrmithdobbs> trynig to figure out how the hell bdb 4.8 built if g++ can't even parse that header
  96 2012-09-08 00:59:54 <jrmithdobbs> sipa: will *all* of the unit tests fail without that IN_MEMORY def?
  97 2012-09-08 01:00:24 <sipa> jrmithdobbs: there's an easy workaround, if you allow it to create file-backed databases for the tests
  98 2012-09-08 01:00:40 <sipa> you'd need to make MakeMock() a dummy for that, i guess
  99 2012-09-08 01:03:39 <sipa> they were added for the block creation unit tests, but perhaps more than that uses it right now
 100 2012-09-08 01:05:49 <jrmithdobbs> sipa: thinking the path of least resistance might be to build with clang
 101 2012-09-08 01:06:56 <jrmithdobbs> sipa: it's packaged so might be less hassle, we'll see!
 102 2012-09-08 01:18:29 gavinandresen has quit (Quit: gavinandresen)
 103 2012-09-08 01:19:17 <jrmithdobbs> hooray! after a workaround -DHAVE_CXX_STDHEADERS it builds with clang and db 4.8.30
 104 2012-09-08 01:20:15 <jrmithdobbs> or not, failed linking, bah
 105 2012-09-08 01:25:03 Mobius_ has joined
 106 2012-09-08 01:26:03 MobiusL has quit (Ping timeout: 276 seconds)
 107 2012-09-08 01:26:37 Mobius_ is now known as MobiusL
 108 2012-09-08 01:31:56 gjs278 has quit (Remote host closed the connection)
 109 2012-09-08 01:32:32 vigilyn has quit (Read error: Connection reset by peer)
 110 2012-09-08 01:34:06 osmosis has quit (Quit: Leaving)
 111 2012-09-08 01:34:21 gjs278 has joined
 112 2012-09-08 01:37:04 <jrmithdobbs> ok this is epic ... clang version: http://pastebin.com/TrwmFJRM
 113 2012-09-08 01:40:43 <jrmithdobbs> gcc 4.6 (system cc) version: http://pastebin.com/x2MZRaEK
 114 2012-09-08 01:41:12 <jrmithdobbs> so segfault on main.cpp with clang, and OOM on bitcoinrpc.cpp with gcc
 115 2012-09-08 01:41:13 <jrmithdobbs> lolol
 116 2012-09-08 01:42:00 <jrmithdobbs> (that machine has 16G of ram, though any individual process is limited to ~8G on 64bit openbsd and ulimit -v is 528384
 117 2012-09-08 01:42:32 gjs278 has quit (Remote host closed the connection)
 118 2012-09-08 01:44:46 <jrmithdobbs> ah, 512M ulimit
 119 2012-09-08 01:44:54 <jrmithdobbs> bump to 2G lets see what happens
 120 2012-09-08 01:45:11 <jrmithdobbs> got past bitcoinrpc!
 121 2012-09-08 01:46:33 <jrmithdobbs> Luke-Jr: to answer your question there's a missing include for thread name i think, finally got it to the point of building that
 122 2012-09-08 01:46:36 <jrmithdobbs> util.cpp: In function 'void RenameThread(const char*)':
 123 2012-09-08 01:46:38 <jrmithdobbs> util.cpp:1291: error: 'pthread_set_name_np' was not declared in this scope
 124 2012-09-08 01:47:08 <Luke-Jr> jrmithdobbs: yeah, denisx found that a while ago :p
 125 2012-09-08 01:47:17 <Luke-Jr> #include <pthread_np.h>
 126 2012-09-08 01:47:24 <denisx> #include <pthread_np.h>
 127 2012-09-08 01:47:25 niko has quit (Read error: Connection reset by peer)
 128 2012-09-08 01:47:30 <denisx> damn, too slow ;)
 129 2012-09-08 01:48:31 <jrmithdobbs> Luke-Jr: didn't notice, but you need both pthread.h and pthread_np.h
 130 2012-09-08 01:49:07 <sipa> what does np stand for?
 131 2012-09-08 01:49:20 <sipa> gmaxwell: alan will fix it in his next release :)
 132 2012-09-08 01:49:24 <gmaxwell> hurrah
 133 2012-09-08 01:49:35 <jrmithdobbs> sipa: not sure "not portable" i think
 134 2012-09-08 01:49:43 <jrmithdobbs> sipa: from other stuff in the manpage
 135 2012-09-08 01:49:57 <jrmithdobbs> it's a bsd-ism
 136 2012-09-08 01:49:58 <sipa> jrmithdobbs: ok, glad i didn't get "non-deterministic polynomial"
 137 2012-09-08 01:50:32 <jrmithdobbs> now if i can get the linker to find the damned boost libs i think i got this
 138 2012-09-08 01:51:44 gjs278 has joined
 139 2012-09-08 01:51:49 Motest031 has joined
 140 2012-09-08 01:52:07 <jrmithdobbs> ah! bitten by boost_thread-mt again!
 141 2012-09-08 01:52:12 Motest003 has quit (Ping timeout: 252 seconds)
 142 2012-09-08 01:52:18 <jrmithdobbs> (just like rh)
 143 2012-09-08 01:53:13 <sipa> BlueMatt: what is bitcoind-comparison.patch ?
 144 2012-09-08 01:53:18 <Luke-Jr> lol sipa
 145 2012-09-08 01:53:38 <sipa> ?
 146 2012-09-08 01:53:54 <jrmithdobbs> what is -l dl?
 147 2012-09-08 01:54:05 <gmaxwell> jrmithdobbs: libdl (for dlopen)
 148 2012-09-08 01:54:31 Maged has quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
 149 2012-09-08 01:54:37 <Luke-Jr> [01:43:49] <sipa> jrmithdobbs: ok, glad i didn't get "non-deterministic polynomial"
 150 2012-09-08 01:54:40 <gmaxwell> (I'm actually not sure what we need it for in bitcoin)
 151 2012-09-08 01:55:09 <Luke-Jr> if I had to guess, I'd blame Qt or boost
 152 2012-09-08 01:55:28 <gmaxwell> I would have guessed QT.
 153 2012-09-08 01:55:34 <jrmithdobbs> gmaxwell: ya, we don't for bitcoind at least
 154 2012-09-08 01:55:53 <gmaxwell> as I can't see _boost_ of all things actually deferring any work to runtime at all. :P
 155 2012-09-08 01:55:58 <sipa> neither bitcoind or bitcoin-qt here refer to the dlopen symbol
 156 2012-09-08 01:56:23 <gmaxwell> cargocult cflags?
 157 2012-09-08 01:56:30 <jrmithdobbs> i'll try building without it on debian here in a sec and if that works i think it should be removed from the makefile.unix at least
 158 2012-09-08 01:56:47 <jrmithdobbs> don't know about cmake/qt stuff
 159 2012-09-08 01:57:22 <denisx> freebsd also does not need it
 160 2012-09-08 01:57:23 <sipa> bitcoin-qt.pro doesn't even refer to dl
 161 2012-09-08 01:57:29 <sipa> just makefile.unix
 162 2012-09-08 01:58:28 <jrmithdobbs> probably some ancient relic then
 163 2012-09-08 01:59:27 paraipan has quit (Quit: Saliendo)
 164 2012-09-08 01:59:44 <sipa> just built without; works fine
 165 2012-09-08 01:59:49 <jrmithdobbs> hrm, so close but linker is finding wrong bdb
 166 2012-09-08 02:00:02 <jrmithdobbs> right headers wrong library at link time ;p
 167 2012-09-08 02:00:42 <gmaxwell> [OT] http://gcc.gnu.org/wiki/cauldron2012  Vtable-security and ASan in GCC sound pretty exciting.
 168 2012-09-08 02:00:59 <jrmithdobbs> what is -Wl,-Bdynamic ?
 169 2012-09-08 02:01:46 <gmaxwell> jrmithdobbs: the makefile used to link some things statically.. the linker flags there flip it back to dynamic for some stuff that was dynamic.
 170 2012-09-08 02:02:44 <jrmithdobbs> gmaxwell: so, more ancient relics, k
 171 2012-09-08 02:03:17 nsh has quit (Ping timeout: 240 seconds)
 172 2012-09-08 02:06:32 <jrmithdobbs> stupid think find the right bdb goddamn it, w/e, i need to step away from this i'm missing something stupid at this point, everything's built just not linked ;p
 173 2012-09-08 02:07:33 one_zero has joined
 174 2012-09-08 02:08:22 CodesInChaos has quit (Ping timeout: 260 seconds)
 175 2012-09-08 02:09:19 <Luke-Jr> I think it still does link some things statically?
 176 2012-09-08 02:10:14 Greee has quit (Ping timeout: 248 seconds)
 177 2012-09-08 02:10:23 RainbowDashh has quit (Remote host closed the connection)
 178 2012-09-08 02:10:40 RainbowDashh has joined
 179 2012-09-08 02:10:42 <gmaxwell> I dunno about qt but I don't think anything is on my systems for bitcoind.
 180 2012-09-08 02:11:25 MC1984 has quit (Ping timeout: 244 seconds)
 181 2012-09-08 02:13:58 Obsi has quit (Ping timeout: 260 seconds)
 182 2012-09-08 02:14:19 nsh has joined
 183 2012-09-08 02:14:30 nsh has quit (Changing host)
 184 2012-09-08 02:14:30 nsh has joined
 185 2012-09-08 02:15:01 <jrmithdobbs> Luke-Jr: not for bitcoind at least it doesnt
 186 2012-09-08 02:15:25 <jrmithdobbs> Luke-Jr: there's still an option to (STATIC=1 enables old behaviour, STATIC=all tries to do everything statically)
 187 2012-09-08 02:15:57 <jrmithdobbs> well, if STATIC is defined and isn't all it enables old behaviour
 188 2012-09-08 02:18:10 <jrmithdobbs> aha! it's because the openbsd db4 port installs the libs directly in /usr/local/lib even though the headers are /usr/local/include/db4 ... so it's finding the wrong bdb since boost is also in /usr/local/lib, I think re-ordering the -L's for boost/bdb will fix
 189 2012-09-08 02:19:24 <jrmithdobbs> hmmmm nope
 190 2012-09-08 02:30:34 maqr has joined
 191 2012-09-08 02:39:56 fiesh has quit (Ping timeout: 245 seconds)
 192 2012-09-08 02:42:38 <jrmithdobbs> fine, i'll give in and build 5.x because apparently even not specifying -L/usr/local/lib (boost link path) until after the -l db_cxx doesn't change gcc's behaviour
 193 2012-09-08 02:42:54 <jrmithdobbs> that is annoying.
 194 2012-09-08 02:43:12 fiesh has joined
 195 2012-09-08 02:49:29 <jrmithdobbs> oh christ, it's more stupid than i thought, apparently ./configure --prefix= isn't enough to get bdb to build the c++ bindings, lol
 196 2012-09-08 02:57:54 kjj_ has quit (Ping timeout: 268 seconds)
 197 2012-09-08 02:59:26 <jrmithdobbs> tests building nw
 198 2012-09-08 02:59:27 <jrmithdobbs> now
 199 2012-09-08 02:59:48 graingert has quit (Quit: Leaving)
 200 2012-09-08 03:01:27 kjj_ has joined
 201 2012-09-08 03:03:42 skeledrew has quit (Remote host closed the connection)
 202 2012-09-08 03:04:03 skeledrew has joined
 203 2012-09-08 03:05:39 nsh- has joined
 204 2012-09-08 03:05:42 ErnestoJuarell has joined
 205 2012-09-08 03:06:27 <jrmithdobbs> ok, bitcoind and test_bitcoin are building now, lets see if test_bitcoin succeeds
 206 2012-09-08 03:07:31 <jrmithdobbs> hrm, bitcoind -printtoconsole; will run (with bitcoin.conf setup right with the password and standard stuff) but ./test_bitcoin thows this:
 207 2012-09-08 03:07:34 <jrmithdobbs>  LD_LIBRARY_PATH=/opt/OpenBSD/5.1/amd64/db4-4.8.30/lib ./test_bitcoin
 208 2012-09-08 03:07:36 <jrmithdobbs> Test setup error: system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Invalid argument
 209 2012-09-08 03:08:22 Z0rZ0rZ0r__ has joined
 210 2012-09-08 03:09:32 nsh has quit (Ping timeout: 246 seconds)
 211 2012-09-08 03:09:54 Z0rZ0rZ0r_ has quit (Ping timeout: 246 seconds)
 212 2012-09-08 03:10:40 denisx has quit (Quit: denisx)
 213 2012-09-08 03:15:41 <jrmithdobbs> does rpc not start listening until after IBD now?
 214 2012-09-08 03:15:50 <jrmithdobbs> cause it's downloading the block chain but can't getinfo
 215 2012-09-08 03:16:02 <jrmithdobbs> and netstat doesn't think the normal ports be open
 216 2012-09-08 03:16:42 <gmaxwell> jrmithdobbs: rpc should respond, ... sounds like some thread is wedged.
 217 2012-09-08 03:18:27 <jrmithdobbs> i'll see where it's at once i can actually read the log after the IBD, it *looks* like it's kinda working sans rpc atm though
 218 2012-09-08 03:19:02 <jrmithdobbs> and it's already halfway through 2011 on IBD (e3 2650 ;p)
 219 2012-09-08 03:20:29 <jrmithdobbs> gmaxwell: bitcoind doesn't need an explicit rpcbind= right? it defaults to 127.0.0.1 that's just the gui isn't it?
 220 2012-09-08 03:22:10 <jrmithdobbs> oh i think I know, just found a regression
 221 2012-09-08 03:22:13 <jrmithdobbs> i think
 222 2012-09-08 03:23:01 <jrmithdobbs> sipa: I think enabling ipv6 changed behaviour of default value of rpcbind ... looking at my debian host it's only binding to 8332 on :: not v4 any more and I don't have an explicit rpcbind= on commandline *or* in bitcoin.conf
 223 2012-09-08 03:23:33 <jrmithdobbs> (and this openbsd box doesn't have v6 configured but the stack isn't disabled)
 224 2012-09-08 03:24:18 RainbowDashh has quit (Quit: <NAME> said 2 hours, 58 minutes ago in <CHANNEL>: your quit message is really long)
 225 2012-09-08 03:25:27 <jrmithdobbs> also, nice, i think this box is going to hit the satoshidice hellpoint in <30 minutes over the internet
 226 2012-09-08 03:25:34 <jrmithdobbs> heh
 227 2012-09-08 03:26:05 <jrmithdobbs> (.7 node <-> .7 node)
 228 2012-09-08 03:26:16 neofutur has left ()
 229 2012-09-08 03:28:41 <jrmithdobbs> Luke-Jr: I don't think the thread naming is working on openbsd
 230 2012-09-08 03:29:19 <jrmithdobbs> Luke-Jr: will know more after IBD
 231 2012-09-08 03:29:20 <Luke-Jr> [23:10:15] <jrmithdobbs> Luke-Jr: as long as that string is null terminated it'll work
 232 2012-09-08 03:29:26 <Luke-Jr> :p
 233 2012-09-08 03:29:38 <jrmithdobbs> Luke-Jr: ya, i'm not sure cause, from what I can tell there's only one thread running ;p
 234 2012-09-08 03:29:47 <Luke-Jr> O.o
 235 2012-09-08 03:30:17 <jrmithdobbs> it's almost to the first satoshidice block of death
 236 2012-09-08 03:31:01 <jrmithdobbs> ~height=165085
 237 2012-09-08 03:31:19 RainbowDashh has joined
 238 2012-09-08 03:31:19 RainbowDashh has quit (Changing host)
 239 2012-09-08 03:31:19 RainbowDashh has joined
 240 2012-09-08 03:33:31 B0g4r7_ has joined
 241 2012-09-08 03:34:17 B0g4r7_ is now known as B0gr47
 242 2012-09-08 03:35:19 [7] has quit (Disconnected by services)
 243 2012-09-08 03:35:23 <jrmithdobbs> weird, it got to height=171000 and then paused for like 10 min
 244 2012-09-08 03:35:27 TheSeven has joined
 245 2012-09-08 03:36:12 <gmaxwell> jrmithdobbs: lost the connection?
 246 2012-09-08 03:36:16 B0gr47 is now known as B0g4r7_
 247 2012-09-08 03:36:53 <jrmithdobbs> gmaxwell: it changed peers it was seeding from it seems ya, not sure why it disconnected though it was seeding off my own node
 248 2012-09-08 03:37:01 <jrmithdobbs> restarted and picked back up
 249 2012-09-08 03:37:05 Obsi has joined
 250 2012-09-08 03:37:13 <gmaxwell> jrmithdobbs: anything helpful in the logs of your node?
 251 2012-09-08 03:37:17 <jrmithdobbs> but ya, with a *good* seeding peer IBD is millions times faster now
 252 2012-09-08 03:37:20 <jrmithdobbs> gmaxwell: i'm looking
 253 2012-09-08 03:37:36 <jrmithdobbs> i think it's also on a slightly-pre-rc1 build
 254 2012-09-08 03:38:42 <jrmithdobbs> ya there's a disconnecting node, weird
 255 2012-09-08 03:39:34 <gmaxwell> thats .. not good.
 256 2012-09-08 03:39:57 <jrmithdobbs> also, i think i just found another ipv6 problem
 257 2012-09-08 03:40:10 <jrmithdobbs> we're propigating link-local addresses
 258 2012-09-08 03:40:38 <jrmithdobbs> 2012-09-08_03:30:08.05046 accepted connection MYHOMEIP:55685
 259 2012-09-08 03:40:39 <jrmithdobbs> 2012-09-08_03:30:08.05047 send version message: version 60002, blocks=197791, us=69.41.162.72:8333, them=MYHOMEIP:55685, peer=66.68.159.33:55685
 260 2012-09-08 03:40:41 <jrmithdobbs> 2012-09-08_03:30:08.05048 receive version message: version 60002, blocks=171192, us=69.41.162.72:8333, them=[fe80:1::92e2:baff:fe0c:419c]:8333, peer=MYHOMEIP:55685
 261 2012-09-08 03:40:42 nsh has joined
 262 2012-09-08 03:40:45 <jrmithdobbs> 2012-09-08_03:30:08.05049 received getdata for: tx 4873458733393e71e3c7
 263 2012-09-08 03:40:45 <jrmithdobbs> where MYHOMEIP is v4
 264 2012-09-08 03:42:09 RainbowD_ has joined
 265 2012-09-08 03:42:19 RainbowDashh has quit (Disconnected by services)
 266 2012-09-08 03:42:20 RainbowD_ is now known as RainbowDashh
 267 2012-09-08 03:43:06 nsh- has quit (Ping timeout: 260 seconds)
 268 2012-09-08 03:48:55 D34TH has quit (Read error: Connection reset by peer)
 269 2012-09-08 03:49:37 <tcatm> I'm going to shut down the blockchain mirror soon.
 270 2012-09-08 03:51:57 <jrmithdobbs> tcatm: ?
 271 2012-09-08 03:52:23 <tcatm> http://eu1.bitcoincharts.com/blockchain/
 272 2012-09-08 03:52:52 <jrmithdobbs> tcatm: why?
 273 2012-09-08 03:53:06 BTCTrader has joined
 274 2012-09-08 03:53:19 <tcatm> The whole server will be shut down and I have to plans to migrate that service.
 275 2012-09-08 03:53:50 <tcatm> Also, recent clients seem fast enough to download the chain on their own.
 276 2012-09-08 03:54:30 <jrmithdobbs> tcatm: only if you get lucky and hit a good upgraded peer for the initial download
 277 2012-09-08 03:54:33 <jrmithdobbs> very lucky
 278 2012-09-08 03:54:52 <gmaxwell> jrmithdobbs: so lets fix that. :P
 279 2012-09-08 03:55:09 <jrmithdobbs> gmaxwell: i agree, but how do you make people upgrade? ;p
 280 2012-09-08 03:55:47 <tcatm> People who don't upgrade probably have the chain already ;)
 281 2012-09-08 03:55:58 <jrmithdobbs> gmaxwell: so, so far what i can tell is on openbsd it's never binding to anything at all and it's broadcast it's address an ipv6 ll one to the peers it connects to
 282 2012-09-08 03:56:01 <jrmithdobbs> heh
 283 2012-09-08 03:56:06 <jrmithdobbs> that should be interesting to track down
 284 2012-09-08 03:56:53 <jrmithdobbs> even with -bind= and -rpcbind=
 285 2012-09-08 03:57:15 <jrmithdobbs> also, damn, fuck satoshi dice
 286 2012-09-08 03:57:31 <jrmithdobbs> that starts crawling the moment it gets to june this year
 287 2012-09-08 03:58:04 <gmaxwell> jrmithdobbs: fortunately ultraprune + leveldb make a big improvement.
 288 2012-09-08 03:58:24 <jrmithdobbs> gmaxwell: leveldb is slotted for .8 right?
 289 2012-09-08 03:58:53 <jrmithdobbs> gmaxwell: and is everything getting taken out of bdb or just some? (because if bdb is gone .8 can have an openbsd port ;p)
 290 2012-09-08 03:59:16 <gmaxwell> jrmithdobbs: we'll need it for wallet compatiblity.
 291 2012-09-08 03:59:40 <Luke-Jr> gmaxwell: well, downgrading isn't possible anyway, right?
 292 2012-09-08 03:59:58 <jrmithdobbs> gmaxwell: could be a build time option to not have though, couldn't it? for completely new clients that don't need old wallet compat
 293 2012-09-08 03:59:59 <Luke-Jr> maybe just an extra binary that does the upgrade once..
 294 2012-09-08 04:00:16 <jrmithdobbs> Luke-Jr: not a bad idea
 295 2012-09-08 04:00:21 <Luke-Jr> or does LevelDB require -upgradewallet?
 296 2012-09-08 04:00:42 <gmaxwell> walletconverter.exe enh?   Well we also don't have the new wallet yet. Using the existing wallet code with leveldb is probably not a path we really should go down.
 297 2012-09-08 04:00:59 <Luke-Jr> speaking of wallet, that's slated to use an append-only custom format that isn't done yet..
 298 2012-09-08 04:01:18 <jrmithdobbs> gmaxwell: fair enough, openbsd port may just have to wait for .9/.10/1.0 ;p
 299 2012-09-08 04:02:02 <Luke-Jr> why not .11? <.<
 300 2012-09-08 04:02:11 * Luke-Jr wonders if we're really that close to 1.0 yet
 301 2012-09-08 04:02:19 <jrmithdobbs> Luke-Jr: i just meant whatever comes after .9 by that, heh
 302 2012-09-08 04:02:48 <gmaxwell> Luke-Jr: you saw that coverage report? ... we're not close to 1.0 :P
 303 2012-09-08 04:02:53 freakazoid has joined
 304 2012-09-08 04:03:46 <Luke-Jr> gmaxwell: well, 1.0 doesn't usually mean bug-free; just complete basic features
 305 2012-09-08 04:04:35 <jrmithdobbs> i definitely think new wallet rework should happen before anything gets called 1.0
 306 2012-09-08 04:04:37 <gmaxwell> Luke-Jr: testing coverage doesn't mean bug free either— I think 1.0 also implies a basic level of stability, every change doesn't break something else.
 307 2012-09-08 04:04:42 <Luke-Jr> jrmithdobbs: I'm sure it will
 308 2012-09-08 04:04:54 <gmaxwell> And it's awful hard to actually have that if you can't even easily run through all the code.
 309 2012-09-08 04:05:15 <jrmithdobbs> i need to start taking notes about these issues so i don't forget
 310 2012-09-08 04:05:32 * Luke-Jr is just idly pondering, nothing noteworthy :p
 311 2012-09-08 04:06:29 <gmaxwell> Luke-Jr: oh hey, while I remember, were you going to do anything about the nextorder being left uninitilized?
 312 2012-09-08 04:06:37 rdponticelli has quit (Read error: Connection reset by peer)
 313 2012-09-08 04:06:41 <Luke-Jr> gmaxwell: oh right <.<
 314 2012-09-08 04:06:58 Obsi has quit (Ping timeout: 268 seconds)
 315 2012-09-08 04:07:00 <Luke-Jr> I have to actually look at it and figure out what it does again, been so long since I did anything but rebase that
 316 2012-09-08 04:07:05 <jrmithdobbs> seriously, fuck satoshi dice, the last 3 months take longer than the entirety of the rest of the chain, haha
 317 2012-09-08 04:07:08 <gmaxwell> I didn't push the patch I have it because I thought you might have made other mistakes in that class that I missed, and that you should probably look too.
 318 2012-09-08 04:09:48 <Luke-Jr> walletdb.cpp:135,136 <-- wtf was I thinking? >_<
 319 2012-09-08 04:09:56 <Luke-Jr>     int64& nOrderPosNext = pwallet->nOrderPosNext;
 320 2012-09-08 04:09:57 <Luke-Jr>     nOrderPosNext = 0;
 321 2012-09-08 04:09:59 <Luke-Jr> oh
 322 2012-09-08 04:10:01 <Luke-Jr> I see, nm
 323 2012-09-08 04:10:18 * Luke-Jr ponders if he can make his editor bold the & or something
 324 2012-09-08 04:10:52 ErnestoJuarell has quit (Quit: Leaving)
 325 2012-09-08 04:11:27 <Luke-Jr> gmaxwell: I concur just initializing it to 0 sounds good
 326 2012-09-08 04:11:44 <Luke-Jr> gmaxwell: want me to cook up the pullreq?
 327 2012-09-08 04:12:14 <jgarzik> to satoshi, I think 1.0 included SPV
 328 2012-09-08 04:12:50 <Luke-Jr> jgarzik: aha, that makes good sense
 329 2012-09-08 04:13:23 <Luke-Jr> actually, do C++ member variables really not get implicitly initialized when created?
 330 2012-09-08 04:13:32 <Luke-Jr> there's a lot of those on CWallet already
 331 2012-09-08 04:14:43 <Luke-Jr> but I suppose those are objects - seems odd to treat them differently by type though
 332 2012-09-08 04:14:48 <gmaxwell> Luke-Jr: sure, just make sure you check that you don't need to do the same for the timestamps, etc.
 333 2012-09-08 04:14:50 knotwork has quit (Ping timeout: 246 seconds)
 334 2012-09-08 04:16:12 <jrmithdobbs> weee up to 192300
 335 2012-09-08 04:16:20 <gmaxwell> Luke-Jr: (also, now I forget if that variable had/needed seralization; sorry, I looked at this while on the plane and didn't take notes beyond what I /msged you)
 336 2012-09-08 04:17:15 <jrmithdobbs> i will never understand how people can actually be productive on planes
 337 2012-09-08 04:17:30 <jrmithdobbs> although, i learned some interesting stuff watching a dell vp's laptop on the last flight, lol
 338 2012-09-08 04:17:35 <jrmithdobbs> (he should be fired)
 339 2012-09-08 04:18:26 <gmaxwell> jrmithdobbs: the most awesome time I had on a flight was where I was sitting next to someone who worked for the competition— though I'm pretty sure he didn't know I knew— and he kept gawking and gawking.
 340 2012-09-08 04:18:37 <Luke-Jr> gmaxwell: crap, I think you're right on that too
 341 2012-09-08 04:18:37 <gmaxwell> So I fired up impress and started making slides for fantastic imaginary products.
 342 2012-09-08 04:18:46 <jgarzik> hehehe
 343 2012-09-08 04:18:46 <jrmithdobbs> gmaxwell: lol
 344 2012-09-08 04:19:08 <gmaxwell> I never got validation that he reported back with them... but I like to think he did. :)
 345 2012-09-08 04:19:11 <jrmithdobbs> gmaxwell: this dude was not only writing up emails (no wifi on flight either) but had a stack of printed emails
 346 2012-09-08 04:19:31 <jrmithdobbs> gmaxwell: if by competition you mean who I think you do, he did
 347 2012-09-08 04:19:35 <jrmithdobbs> that company is evil internally
 348 2012-09-08 04:19:50 <jgarzik> that's always a facepalm moment.  the wife and I always talk about how many US legislators correspond via email using a printer + dictation to a secretary
 349 2012-09-08 04:19:56 <jgarzik> sad
 350 2012-09-08 04:20:29 <jgarzik> a lot of US judges are still stuck in the "print out my email" era of Internet
 351 2012-09-08 04:20:56 <jrmithdobbs> ya, until i actually started taking flights in the last couple years i thought that era was a myth
 352 2012-09-08 04:21:20 <jrmithdobbs> and when i realized it not only wasn't a myth, but still occurring ..... i just have no words
 353 2012-09-08 04:22:09 <gmaxwell> jrmithdobbs: yes.
 354 2012-09-08 04:22:34 <jrmithdobbs> gmaxwell: ya, you can be sure he did
 355 2012-09-08 04:23:15 <jrmithdobbs> gmaxwell: especially if the flight was from or to RTP
 356 2012-09-08 04:25:26 <gmaxwell> It was probably a CLT / SJC flight, but it was a long time back so I really don't know.
 357 2012-09-08 04:26:42 <jrmithdobbs> this gets really really really slow around height=194000
 358 2012-09-08 04:26:49 <jrmithdobbs> using -connect=
 359 2012-09-08 04:27:22 dvide has quit ()
 360 2012-09-08 04:27:43 <gmaxwell> jrmithdobbs: well the highest checkpoint is at 193000
 361 2012-09-08 04:28:15 <jrmithdobbs> gmaxwell: that explains it
 362 2012-09-08 04:28:25 knotwork has joined
 363 2012-09-08 04:29:53 Diablo-D3 has quit (Ping timeout: 244 seconds)
 364 2012-09-08 04:32:11 <Luke-Jr> gmaxwell: ok, I suck. why does it seem like CWalletDB is not allowed to access CWallet? :/
 365 2012-09-08 04:32:54 stamit has joined
 366 2012-09-08 04:33:12 <stamit> hello. i just came so that i can get banned from this channel too
 367 2012-09-08 04:33:20 <Luke-Jr> …
 368 2012-09-08 04:33:27 <stamit> what i'd like to say is that gmaxwell is a prick
 369 2012-09-08 04:33:32 arij has quit (Ping timeout: 252 seconds)
 370 2012-09-08 04:33:40 <jrmithdobbs> well aren't you cute
 371 2012-09-08 04:34:03 <stamit> and that paypal people deserve to be mugged
 372 2012-09-08 04:34:46 <stamit> perhaps gmaxwell should also be castrated, because of his helping with the internet tradition that says i am to be treated like shit
 373 2012-09-08 04:35:01 <stamit> which has been happening for a lot of time now
 374 2012-09-08 04:35:16 <Luke-Jr> stamit: adults are trying to get things done, so stfu k?
 375 2012-09-08 04:35:31 <Luke-Jr> ;)
 376 2012-09-08 04:35:38 <stamit> i'm a total adult, like 10 years over the age of 18
 377 2012-09-08 04:36:03 <stamit> but i decide to act like a kid, because i don't feel like being an adult with some people
 378 2012-09-08 04:36:34 <stamit> such as gmaxwell
 379 2012-09-08 04:36:44 <Luke-Jr> that's your problem
 380 2012-09-08 04:37:01 <stamit> oh no, it's gmaxwells
 381 2012-09-08 04:37:16 <stamit> sorry, "actually, it's yours"
 382 2012-09-08 04:37:48 <LolcustBackup> just say no to drugs, stamit
 383 2012-09-08 04:38:00 MadSweeney has quit (Quit: MadSweeney)
 384 2012-09-08 04:38:04 <stamit> i think people like gmaxwell should visit some kind of mental health professional, or just anyone who will be in the position of putting them in their place
 385 2012-09-08 04:38:15 <stamit> gmaxwell should get some drugs
 386 2012-09-08 04:38:32 BitcoinBaltar has quit (Remote host closed the connection)
 387 2012-09-08 04:38:38 nathaniel has quit (Ping timeout: 260 seconds)
 388 2012-09-08 04:38:56 <LolcustBackup> did he gently caress your gf, stamit ?
 389 2012-09-08 04:38:59 <jrmithdobbs> LolcustBackup: we don't just say no, we're too busy saying YA to drinkin straight out the eight bottle ... do I look like a motherfuckin role model? To any kids looking up to me: life aint nothin but bitches and money
 390 2012-09-08 04:39:07 <jrmithdobbs> i have got to stop listening to that album on repeat
 391 2012-09-08 04:39:16 <LolcustBackup> =))
 392 2012-09-08 04:39:31 <stamit> he didn't gently caress my gf, since i have no gf
 393 2012-09-08 04:39:41 BitcoinBaltar has joined
 394 2012-09-08 04:39:45 <stamit> he just went with the people who make sure i have no gf
 395 2012-09-08 04:40:17 <jrmithdobbs> also, adding punctionation to nwa lyrics makes me feel dirty for some reason
 396 2012-09-08 04:40:27 <jrmithdobbs> discuss.
 397 2012-09-08 04:40:55 <LolcustBackup> I think that stamit's extended loneliness is a more viable topic
 398 2012-09-08 04:41:16 <stamit> discuss gmaxwells prickness. why isn't he banned a few times, so he can see how it is?
 399 2012-09-08 04:41:31 <stamit> like a total "no please please don't!" situation
 400 2012-09-08 04:41:49 <stamit> the problem is he'd be fine with it. like laughing and seeing it as fun
 401 2012-09-08 04:42:53 <stamit> any women in -dev, btw?
 402 2012-09-08 04:43:19 <stamit> i bet here it's not 95%, but more like 99.9%
 403 2012-09-08 04:44:22 <LolcustBackup> I didn't know a person could get that butthurt over a ban
 404 2012-09-08 04:44:49 <stamit> some people are watching
 405 2012-09-08 04:45:00 <stamit> and smiling at this, and at me
 406 2012-09-08 04:45:22 <stamit> it's my career as a "troll". this is how trolls work
 407 2012-09-08 04:45:37 <copumpkin> stamit: this is crazy
 408 2012-09-08 04:45:39 <copumpkin> oh good
 409 2012-09-08 04:46:13 stamit has joined
 410 2012-09-08 04:46:24 <stamit> github.com/stamit/food
 411 2012-09-08 04:46:39 <jrmithdobbs> stamit: that was for disgracing the troll label
 412 2012-09-08 04:46:42 <jgarzik> stamit: this channel is for bitcoin development discussion
 413 2012-09-08 04:47:50 <stamit> jrmithdobbs: "disgracing the troll label"? you are saying i am not fit to be called a troll?
 414 2012-09-08 04:47:56 <jrmithdobbs> indeed
 415 2012-09-08 04:48:06 <copumpkin> trolling is a art, you know
 416 2012-09-08 04:48:18 <stamit> oh my, how disenfranchising
 417 2012-09-08 04:48:26 <copumpkin> this is the channel for development, and that form of art is not appreciated in here
 418 2012-09-08 04:48:46 <stamit> speaking of development, anyone doing any PHP?
 419 2012-09-08 04:48:55 <copumpkin> nah, I only do haskell :(
 420 2012-09-08 04:49:03 <stamit> haskell isn't bad
 421 2012-09-08 04:49:09 <copumpkin> oh I love it
 422 2012-09-08 04:49:58 <stamit> i used to like it too, but i haven't done much with it
 423 2012-09-08 04:50:13 <stamit> very nice language, but maybe not super-fast like C++
 424 2012-09-08 04:50:26 <copumpkin> you should pick it up again :) it'll give you something to do other than harass gmaxwell in unrelated channels :P
 425 2012-09-08 04:50:26 <stamit> i downloaded the GHC but haven't used it much
 426 2012-09-08 04:50:32 <copumpkin> it can be pretty fast
 427 2012-09-08 04:50:45 <copumpkin> and there's a bitcoin implementation in development by roconnor in haskell
 428 2012-09-08 04:50:49 <copumpkin> pure haskell from scratch!
 429 2012-09-08 04:50:49 nsh- has joined
 430 2012-09-08 04:50:59 <copumpkin> I have one too, but mine is in way worse shape than his
 431 2012-09-08 04:51:57 <Luke-Jr> copumpkin: is roconnor's public anywhere?
 432 2012-09-08 04:52:01 <copumpkin> yeah
 433 2012-09-08 04:52:07 <copumpkin> darcs get r6.ca/Purecoin
 434 2012-09-08 04:52:12 <copumpkin> oh wait, maybe uppercase C
 435 2012-09-08 04:52:20 <copumpkin> nah, I guess lowercase
 436 2012-09-08 04:52:26 <copumpkin> but you need darcs to get it
 437 2012-09-08 04:52:40 <copumpkin> I can put a copy of the repo up somewhere if you don't want to bother with darcs
 438 2012-09-08 04:53:31 <copumpkin> https://dl.dropbox.com/u/361503/Purecoin.zip
 439 2012-09-08 04:53:51 <Luke-Jr> I have darcs
 440 2012-09-08 04:53:57 <copumpkin> ok :)
 441 2012-09-08 04:54:11 <copumpkin> well, my zip file is for everyone else's benefit then!
 442 2012-09-08 04:54:31 <Luke-Jr> I asked because someone PM'd me on Gitorious about starting a Haskell impl
 443 2012-09-08 04:54:35 nsh has quit (Ping timeout: 250 seconds)
 444 2012-09-08 04:54:39 <Luke-Jr> so I wanted to tell them about roconnor's
 445 2012-09-08 04:54:44 <copumpkin> aha
 446 2012-09-08 05:05:05 <sipa> jrmithdobbs: you running ultraprune?
 447 2012-09-08 05:05:26 <jrmithdobbs> huh? not afaik
 448 2012-09-08 05:05:47 <jrmithdobbs> sipa: why?
 449 2012-09-08 05:06:08 <sipa> because you said it's so much faster
 450 2012-09-08 05:06:11 <jrmithdobbs> no i think it was donated by woz
 451 2012-09-08 05:06:21 <sipa> ?
 452 2012-09-08 05:06:22 <jrmithdobbs> errr wrong chan
 453 2012-09-08 05:07:54 <jrmithdobbs> welp, just had a full successful from scratch blockchain download on openbsd
 454 2012-09-08 05:07:57 <jrmithdobbs> progress
 455 2012-09-08 05:08:10 <jrmithdobbs> now to figure out why it's not bind()ing to anything
 456 2012-09-08 05:08:24 <jrmithdobbs> and transmitting an ipv6 ll address as it's peer addr
 457 2012-09-08 05:08:34 <jrmithdobbs> (machine doesn't even have working v6)
 458 2012-09-08 05:09:47 <jrmithdobbs> sipa: did you see those two things about v6 btw? the one i just mentioned and the fact that it seems on dual stack hosts it changes the default value of rpcbind= when it's not specified?
 459 2012-09-08 05:10:08 <jrmithdobbs> sipa: it binds to :: but not v4 at all
 460 2012-09-08 05:11:08 <Dagger2> jrmithdobbs: on Linux with net.ipv6.bindv6only = 0, binding only to :: is enough to accept connections on v4 too
 461 2012-09-08 05:11:16 <Dagger2> (not sure what the situation on FBSD is)
 462 2012-09-08 05:11:42 <sipa> jrmithdobbs: i never touched the RPC code
 463 2012-09-08 05:11:45 <jrmithdobbs> Dagger2: openbsd, and i think it's causing this problem i'm seeing
 464 2012-09-08 05:11:53 <sipa> someone else did; and it uses boost magic
 465 2012-09-08 05:11:56 <jrmithdobbs> but i'll sort it
 466 2012-09-08 05:12:11 <jrmithdobbs> sipa: you know who did?
 467 2012-09-08 05:12:18 <jrmithdobbs> (I'll look if you don't remember)
 468 2012-09-08 05:12:19 <sipa> 'muggenhor'
 469 2012-09-08 05:12:58 <Dagger2> uh, whoop. well, the statement wasn't wrong :)
 470 2012-09-08 05:14:39 <jrmithdobbs> i'm going to rebuild removing the thread naming stuff that i was originally trying to test for luke and see if that thread acts correctly
 471 2012-09-08 05:14:50 <jrmithdobbs> now that I can actually see the damned logs since the blockchain downloaded successfully
 472 2012-09-08 05:17:17 <jrmithdobbs> am I missing something to run the test suite? it's build and ./test_bitcoin right?
 473 2012-09-08 05:17:26 <sipa> yes
 474 2012-09-08 05:17:53 <sipa> make -f makefile.unix test_bitcoin && ./test_bitcoin
 475 2012-09-08 05:18:01 <jrmithdobbs> $ LD_LIBRARY_PATH=/opt/OpenBSD/5.1/amd64/db4-4.8.30/lib route -nT1 exec ./test_bitcoin
 476 2012-09-08 05:18:04 <jrmithdobbs> Test setup error: system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Invalid argument
 477 2012-09-08 05:18:15 <sipa> ieuw
 478 2012-09-08 05:18:20 <jrmithdobbs> (the route bit puts it in the right rdomain so it has internet access if needed)
 479 2012-09-08 05:18:53 <sipa> nah, unit tests don't need internet
 480 2012-09-08 05:19:09 <jrmithdobbs> k well even taking the route exec off it throws that same error
 481 2012-09-08 05:19:27 <jrmithdobbs> (needs LD_LIBRARY_PATH or it dynamically links against the wrong libdb_cxx)
 482 2012-09-08 05:20:04 <jrmithdobbs> i'm not familiar with the test code at all and am a little scared to look
 483 2012-09-08 05:29:15 <jrmithdobbs> ok, um, how do i get any useful debugging info out of the test suite?
 484 2012-09-08 05:30:15 <sipa> do the tests succeed?
 485 2012-09-08 05:30:23 <jrmithdobbs> no it gives that error and never runs them
 486 2012-09-08 05:30:39 <jrmithdobbs> Test setup error: system_error produced by: ::sigaltstack( &sigstk, 0 ) != -1: Invalid argument
 487 2012-09-08 05:31:28 <jrmithdobbs> gdb isn't useful because i can't figure out where to set the breakpoint since there's no main ;p
 488 2012-09-08 05:32:18 <jrmithdobbs> oh, lol
 489 2012-09-08 05:32:20 <jrmithdobbs> http://redmine.furax.org/issues/202
 490 2012-09-08 05:32:30 <jrmithdobbs> so fuck, no test suite for me
 491 2012-09-08 05:33:36 toffoo has joined
 492 2012-09-08 05:34:05 <jrmithdobbs> ok there's a workaround but i need to rebuild boost, haha
 493 2012-09-08 05:34:08 <jrmithdobbs> http://old.nabble.com/Boost-unit-test-framework-%2B-sigaltstack-td32369962.html
 494 2012-09-08 05:36:17 <jrmithdobbs> i'll mess with it more tomorrow maybe, i've got it able to work as a client and blockchain downloader/validator (rpc isn't binding so isn't usable yet, ha)
 495 2012-09-08 05:41:31 RainbowD_ has joined
 496 2012-09-08 05:41:57 RainbowDashh has quit (Disconnected by services)
 497 2012-09-08 05:41:58 RainbowD_ is now known as RainbowDashh
 498 2012-09-08 05:43:07 <jrmithdobbs> oh snap
 499 2012-09-08 05:43:09 <jrmithdobbs> working
 500 2012-09-08 05:44:10 <jrmithdobbs> rpc thing was a red herring, i forget because of crazy rdomain stuff the firewall doesn't just pass everything on localhost, lol
 501 2012-09-08 05:44:44 <jrmithdobbs> i'll get a patched version of boost up and going tomorrow to make sure the tests pass though
 502 2012-09-08 05:45:01 <jrmithdobbs> Luke-Jr: as far as the thread naming thing? doesn't do anything useful at all on openbsd
 503 2012-09-08 05:45:41 <jrmithdobbs> Luke-Jr: it doesn't hurt anything, but I don't think ps/top fully show threads / thread details correctly yet ;p
 504 2012-09-08 05:45:49 stamit has left ()
 505 2012-09-08 05:47:52 <jrmithdobbs> http://pastebin.com/uwK6d2np
 506 2012-09-08 05:55:17 ThomasV has joined
 507 2012-09-08 05:56:48 AEonCIpher has quit (Quit: AEonCIpher)
 508 2012-09-08 05:57:19 nsh has joined
 509 2012-09-08 05:57:51 nsh- has quit (Ping timeout: 245 seconds)
 510 2012-09-08 06:07:23 freakazoid has quit (Ping timeout: 240 seconds)
 511 2012-09-08 06:13:15 Gladamas has quit (Quit: Reconnect in 5 minutes)
 512 2012-09-08 06:14:20 AEonCIpher has joined
 513 2012-09-08 06:25:08 sgornick has quit (Quit: Ex-Chat)
 514 2012-09-08 06:30:43 Obsi has joined
 515 2012-09-08 06:34:06 AlexWaters has quit (Ping timeout: 245 seconds)
 516 2012-09-08 06:38:58 random_cat has quit (Remote host closed the connection)
 517 2012-09-08 06:40:51 random_cat has joined
 518 2012-09-08 06:42:15 AlexWaters has joined
 519 2012-09-08 06:46:16 AEonCIpher has quit (Quit: AEonCIpher)
 520 2012-09-08 06:53:20 RazielZ has joined
 521 2012-09-08 07:04:35 ThomasV has quit (Ping timeout: 246 seconds)
 522 2012-09-08 07:12:07 topace has quit (Read error: Connection reset by peer)
 523 2012-09-08 07:14:25 AEonCIpher has joined
 524 2012-09-08 07:28:43 MC1984 has joined
 525 2012-09-08 07:37:42 RazielZ has quit (Ping timeout: 248 seconds)
 526 2012-09-08 07:37:43 Turingi has joined
 527 2012-09-08 07:37:43 Turingi has quit (Changing host)
 528 2012-09-08 07:37:43 Turingi has joined
 529 2012-09-08 07:58:13 ThomasV has joined
 530 2012-09-08 07:59:54 form_ has joined
 531 2012-09-08 08:01:45 MadSweeney has joined
 532 2012-09-08 08:06:32 EPiSKiNG- has joined
 533 2012-09-08 08:08:41 Obsi has quit (Ping timeout: 272 seconds)
 534 2012-09-08 08:30:48 firelegend has joined
 535 2012-09-08 08:32:18 <firelegend> Most peculiar thing...I base58 decode a wif private key, chop off last 4 bytes as well as the first and then turn it into an integer
 536 2012-09-08 08:32:45 <firelegend> Then do ec multiplication in java..and somewhere it fails
 537 2012-09-08 08:35:29 <firelegend> And because my Android rom is broken, any failure means total OS freeze and I have to reboot the phone
 538 2012-09-08 08:47:16 tastynaysty has quit (Ping timeout: 250 seconds)
 539 2012-09-08 08:57:13 devrandom has quit (Remote host closed the connection)
 540 2012-09-08 09:01:38 has_many has quit (Ping timeout: 244 seconds)
 541 2012-09-08 09:03:56 has_many has joined
 542 2012-09-08 09:04:01 devrandom has joined
 543 2012-09-08 09:13:03 JZavala has quit (Ping timeout: 260 seconds)
 544 2012-09-08 09:17:13 extor has joined
 545 2012-09-08 09:18:35 <extor>  __      __| |__    ___    ____  ||
 546 2012-09-08 09:18:35 <extor>  \ \ /\ / /| '_ \  / _ \  / _` | ||
 547 2012-09-08 09:18:35 <extor>   \ V  V / | | | || (_) || (_| | ||
 548 2012-09-08 09:18:35 <extor>    \_/\_/  |_| |_| \___/  \__,_| ::
 549 2012-09-08 09:18:35 <extor>              .---. .---.
 550 2012-09-08 09:18:36 <extor>             :     : o   :      $250,000,000 WORTH OF BITCOINS IN MY POCKET
 551 2012-09-08 09:18:38 <extor>         _..-:   o :     :-.._    /   1,000 FOR YOU
 552 2012-09-08 09:18:40 <extor>     .-''  '  `---' `---' "   ``-.      10,000 FOR YOU
 553 2012-09-08 09:18:42 <extor>   .'   "   '  "  .    "  . '  "  `.       MOST OF THE REST FOR ME!
 554 2012-09-08 09:18:44 <extor>  :   '.---.,,.,...,.,.,.,..---.  ' ;        THANKS BITFLOOR.COM!
 555 2012-09-08 09:18:46 <extor>  `. " `.                     .' " .'
 556 2012-09-08 09:18:48 <extor>   `.  '`.                   .' ' .'
 557 2012-09-08 09:18:50 <extor>    `.    `-._           _.-' "  .'  .----.
 558 2012-09-08 09:18:52 <extor>      `. "    '"--...--"'  . ' .'  .'  o   `.
 559 2012-09-08 09:18:56 <extor>      .'`-._'    " .     " _.-'`. :       o  :
 560 2012-09-08 09:18:58 <extor>    .'      ```--.....--'''    ' `:_ o       :
 561 2012-09-08 09:19:00 <extor> . '    "     '         "     "   ; `.;";";";'
 562 2012-09-08 09:19:02 <extor> ;         '       "       '     . ; .' ; ; ;
 563 2012-09-08 09:19:04 <extor> ;     '         '       '   "    .'      .-'
 564 2012-09-08 09:19:06 <extor> '  "     "   '      "           "    _.-'
 565 2012-09-08 09:20:49 extor has left ("Leaving")
 566 2012-09-08 09:21:29 CodesInChaos has joined
 567 2012-09-08 09:23:28 da2ce7 has joined
 568 2012-09-08 09:26:00 stamit has joined
 569 2012-09-08 09:28:48 <edcba> $250,000 no ?
 570 2012-09-08 09:28:49 da2ce7 has quit (Ping timeout: 255 seconds)
 571 2012-09-08 09:29:03 Joric has joined
 572 2012-09-08 09:32:45 <Phoebus> yeah
 573 2012-09-08 09:32:56 <Phoebus> He can't math.
 574 2012-09-08 09:33:16 <lianj> does not compute
 575 2012-09-08 09:33:16 <Phoebus> Need to write him a perl script for that too.. >.>
 576 2012-09-08 09:35:00 <stamit> sure there isn't anyone into PHP around here?
 577 2012-09-08 09:39:07 <stamit> someone should be willing to play with me
 578 2012-09-08 09:39:16 <stamit> <-- lonely
 579 2012-09-08 09:42:29 hnz has quit (Ping timeout: 244 seconds)
 580 2012-09-08 09:46:33 <Phoebus> Aww stamit...
 581 2012-09-08 09:46:51 <Phoebus> No I wouldn't say I PHP, I use it but I am definitely not a PHP dev.
 582 2012-09-08 09:47:19 <stamit> i haven't been one for a long time now
 583 2012-09-08 09:47:42 <stamit> i'd just want to have some kind of project going on
 584 2012-09-08 09:48:20 <stamit> someone interested in something from me
 585 2012-09-08 09:49:06 <stamit> like try the thing, make suggestions, or whatever
 586 2012-09-08 09:50:11 <stamit> for a few bitcoins maybe
 587 2012-09-08 09:53:35 da2ce7 has joined
 588 2012-09-08 09:55:29 hnz has joined
 589 2012-09-08 09:56:33 <stamit> i had another, c++ project, which i was thinking i'd release, but only if someone appreciates it
 590 2012-09-08 10:02:11 da2ce7 has quit (Ping timeout: 268 seconds)
 591 2012-09-08 10:23:40 jdnavarro has joined
 592 2012-09-08 10:31:15 <firelegend> stamit: what is it about?
 593 2012-09-08 10:31:30 <stamit> food
 594 2012-09-08 10:31:40 <stamit> github.com/stamit/food
 595 2012-09-08 10:33:25 <firelegend> I believe the project is in php.
 596 2012-09-08 10:33:39 <stamit> you were talking about the c++ thing?
 597 2012-09-08 10:33:41 PhantomSpark has joined
 598 2012-09-08 10:33:45 <stamit> that was for bitcoin trading
 599 2012-09-08 10:34:07 <stamit> mainly on mtgox
 600 2012-09-08 10:34:51 <amiller> okay i think i got it. this is a new idea that combines proof-of-stake, p2pool, and is parameter-free.
 601 2012-09-08 10:35:35 <amiller> transactions indicate a "minimum stake" in order to be committed in a block
 602 2012-09-08 10:36:21 PhantomSpark has quit (2!~kvirc@pool-71-251-16-25.nycmny.fios.verizon.net|Ping timeout: 246 seconds)
 603 2012-09-08 10:37:37 <amiller> the 'stake' for a block is the sum of the proof-of-work difficulty, and a "fork bet," in bitcoins, that the miner himself places in the block
 604 2012-09-08 10:38:26 <amiller> if the block makes it into the main chain, then the fork bets are still available to spend
 605 2012-09-08 10:39:51 <amiller> however, if there are stale blocks, and those get 'eaten' by a later block in the main chain, then the "fork bet" is added to a pot that pays out to winning miners later on
 606 2012-09-08 10:41:31 AEonCIpher has quit (Quit: AEonCIpher)
 607 2012-09-08 10:41:35 <amiller> notice that this is the first proposal that should actually be called "proof of stake", because it's the first one that actually involves miners putting something at stake
 608 2012-09-08 10:41:56 <amiller> it makes attacks more expensive, but unlike the other proof-of-nonstake proposals, a failed attack costs nothing
 609 2012-09-08 10:42:21 <amiller> er, costs something rather than nothing
 610 2012-09-08 10:43:42 paraipan has joined
 611 2012-09-08 10:49:43 <amiller> i still have to come up with an explanation for how the quantities of work and bitcoins are related, so i can explain how that "sum" works, and how the pot pays out
 612 2012-09-08 10:49:57 b00tkitz has joined
 613 2012-09-08 10:50:14 firelegend has quit (Ping timeout: 248 seconds)
 614 2012-09-08 10:51:39 <amiller> but the idea is that miners should be afraid to work at a low difficulty because they have a much greater chance of losing their own bitcoins
 615 2012-09-08 10:52:31 <amiller> okay here's the justification for this:
 616 2012-09-08 10:54:36 <amiller> if actual cost of work is stable (commoditized mining), and the price of a bitcoin is stable, then there's a stable conversion between bitcoins and work
 617 2012-09-08 10:54:45 RainbowD_ has joined
 618 2012-09-08 10:55:10 RainbowDashh has quit (Disconnected by services)
 619 2012-09-08 10:55:25 <amiller> boom, bitcoin theorem.
 620 2012-09-08 10:57:11 RainbowD_ is now known as RainbowDashh
 621 2012-09-08 11:00:47 djoot has quit (Ping timeout: 240 seconds)
 622 2012-09-08 11:06:59 rdponticelli has joined
 623 2012-09-08 11:12:30 Smooblush has joined
 624 2012-09-08 11:19:32 djoot has joined
 625 2012-09-08 11:19:33 djoot has quit (Changing host)
 626 2012-09-08 11:19:33 djoot has joined
 627 2012-09-08 11:21:08 datagutt has joined
 628 2012-09-08 11:24:08 wolfherld has joined
 629 2012-09-08 11:24:20 RainbowDashh has quit (Read error: Connection reset by peer)
 630 2012-09-08 11:30:36 <amiller> okay so the miner knows his 'upside' when he works on the block, since he can see all the fees and bonuses etc he's going to get
 631 2012-09-08 11:31:06 <amiller> he also knows his downside, since that's the amount of bitcoins he put in
 632 2012-09-08 11:31:31 <amiller> the ratio of his upside to downside is used as a multiplier against his hash difficulty
 633 2012-09-08 11:32:09 <amiller> for the purposes of meeting the fee requirements
 634 2012-09-08 11:32:18 <amiller> er the minimum difficulty threshold
 635 2012-09-08 11:37:15 Fnar has quit (Ping timeout: 246 seconds)
 636 2012-09-08 11:40:45 Diablo-D3 has joined
 637 2012-09-08 11:42:17 wolfherld has quit (Quit: Leaving)
 638 2012-09-08 11:42:43 wolfherld has joined
 639 2012-09-08 11:46:26 wolfherld has quit (Client Quit)
 640 2012-09-08 11:47:38 t7 has joined
 641 2012-09-08 11:59:58 graingert has joined
 642 2012-09-08 12:01:04 AEonCIpher has joined
 643 2012-09-08 12:01:15 toffoo has quit ()
 644 2012-09-08 12:01:16 t7 has quit (Remote host closed the connection)
 645 2012-09-08 12:01:42 t7 has joined
 646 2012-09-08 12:06:27 lelantos has joined
 647 2012-09-08 12:07:12 da2ce7 has joined
 648 2012-09-08 12:19:25 t7 has quit (Remote host closed the connection)
 649 2012-09-08 12:19:47 t7 has joined
 650 2012-09-08 12:20:28 D34TH has joined
 651 2012-09-08 12:20:29 D34TH has quit (Changing host)
 652 2012-09-08 12:20:29 D34TH has joined
 653 2012-09-08 12:31:05 Greee has joined
 654 2012-09-08 12:46:33 <sipa> amiller: interesting
 655 2012-09-08 12:47:23 <sipa> amiller: so you get a block-DAG, with only coinbases/transactions in the main chain being valid, but stakes from the non-main-chain also being counted?
 656 2012-09-08 12:47:39 <amiller> right
 657 2012-09-08 12:47:55 <sipa> no matter what, do do need a conversion factor between work and coins though, and that sounds hard to avoid
 658 2012-09-08 12:48:02 <sipa> without a magic constant
 659 2012-09-08 12:48:26 <amiller> the "market" is the only acceptable parameter oracle
 660 2012-09-08 12:48:36 <sipa> indeed
 661 2012-09-08 12:48:47 <amiller> so the conversion factor between work and coins needs to be set by the users in their transactions somehow
 662 2012-09-08 12:49:44 <amiller> first of all let me just declare an assumption flat out: no matter what, if you have a bitcoin, then there's a way for miners to eventually take it from you
 663 2012-09-08 12:50:07 <amiller> if you die, then you eventually no longer have an influence in the economy
 664 2012-09-08 12:50:35 <amiller> so the way this works is that every utxo is associated with 1) a bitcoin value, and 2) a work value
 665 2012-09-08 12:50:54 dvide has joined
 666 2012-09-08 12:51:13 <amiller> miners nibble at UTXOs either by using their bitcoins (stake) to bet against them, or by performing a lot of work
 667 2012-09-08 12:54:02 ahihi2 has joined
 668 2012-09-08 12:56:51 denisx has joined
 669 2012-09-08 13:01:58 brwyatt is now known as brwyatt|Away
 670 2012-09-08 13:03:03 gjs278 has quit (Remote host closed the connection)
 671 2012-09-08 13:10:09 coblee has quit (Ping timeout: 244 seconds)
 672 2012-09-08 13:16:11 gjs278 has joined
 673 2012-09-08 13:21:41 TD has joined
 674 2012-09-08 13:21:57 Zarutian has quit (Remote host closed the connection)
 675 2012-09-08 13:22:20 Zarutian has joined
 676 2012-09-08 13:32:51 D34TH_ has joined
 677 2012-09-08 13:34:26 one_zero has quit ()
 678 2012-09-08 13:36:01 D34TH has quit (Ping timeout: 276 seconds)
 679 2012-09-08 13:37:40 AEonCIpher has left ()
 680 2012-09-08 13:39:12 D34TH_ is now known as D34TH
 681 2012-09-08 13:39:22 D34TH has quit (Changing host)
 682 2012-09-08 13:39:22 D34TH has joined
 683 2012-09-08 13:42:10 <denisx> is it ok that bitcoind{bitcoin-msghand} needs 90% cpu while downloading the last 2000 blocks?
 684 2012-09-08 13:42:29 <sipa> no, it should use 100%
 685 2012-09-08 13:42:42 <sipa> if it's not, it should be made faster
 686 2012-09-08 13:42:57 <sipa> oh, message handler?
 687 2012-09-08 13:43:10 <sipa> yes, that's the thread that receives and processes blocks
 688 2012-09-08 13:43:12 <sipa> sounds right
 689 2012-09-08 13:43:48 <denisx> ok
 690 2012-09-08 13:51:53 Motest003 has joined
 691 2012-09-08 13:51:57 Motest031 has quit (Ping timeout: 272 seconds)
 692 2012-09-08 13:52:36 <sipa> ;;bc,blocks
 693 2012-09-08 13:52:37 coblee has joined
 694 2012-09-08 13:52:38 <gribble> 197855
 695 2012-09-08 13:54:27 Z0rZ0rZ0r__ has quit (Quit: Leaving)
 696 2012-09-08 14:03:22 Maccer has quit (Excess Flood)
 697 2012-09-08 14:07:21 aq83 has quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
 698 2012-09-08 14:13:06 Maccer has joined
 699 2012-09-08 14:14:26 aq83 has joined
 700 2012-09-08 14:16:18 aq83 has quit (Client Quit)
 701 2012-09-08 14:17:00 aq83 has joined
 702 2012-09-08 14:25:56 Ramokk has joined
 703 2012-09-08 14:29:21 Ramokk has quit (Client Quit)
 704 2012-09-08 14:30:48 <sipa> gmaxwell: some of the recent non-armory non-DER signatures I found, look very strange
 705 2012-09-08 14:31:00 <sipa> they have an extremely low R value
 706 2012-09-08 14:31:40 <sipa> like they're brute-forced to have many zeroes
 707 2012-09-08 14:32:37 <sipa> like the second input of http://blockchain.info/tx-index/9ce2dd7a13f9183128a410d777341ff09b407c0e09c46cc5986c05546c893d49
 708 2012-09-08 14:36:15 <sipa> it'd take several million tries to create such a signature :S
 709 2012-09-08 14:39:58 shamoon has joined
 710 2012-09-08 14:40:17 <shamoon> still trying to figure out how i can know the bounty size of a transaction?
 711 2012-09-08 14:40:21 <shamoon> i know that it IS a bounty
 712 2012-09-08 14:40:25 <shamoon> becuase the vin is coinbase
 713 2012-09-08 14:44:43 <sipa> txfee = sum(txout values) - sum(txin values)
 714 2012-09-08 14:44:54 <shamoon> and the rest is a bounty?
 715 2012-09-08 14:45:04 <shamoon> for a coinbase transaction?
 716 2012-09-08 14:45:10 <sipa> i have no idea what you mean by bounty, if it not fee
 717 2012-09-08 14:45:16 <shamoon> the block reward
 718 2012-09-08 14:45:17 <shamoon> sorry
 719 2012-09-08 14:45:19 <kjj_> subsidy
 720 2012-09-08 14:45:22 <sipa> 50 BTC
 721 2012-09-08 14:45:26 <sipa> constant
 722 2012-09-08 14:45:30 <sipa> the first 210000 blocks
 723 2012-09-08 14:45:38 <sipa> then 25 BTC the second 210000 blocks
 724 2012-09-08 14:45:43 <shamoon> so i just need to calculate based on mod 21000?
 725 2012-09-08 14:45:46 <shamoon> 210000
 726 2012-09-08 14:45:52 <sipa> not mod
 727 2012-09-08 14:45:53 <shamoon> well, not mod, but divisibility
 728 2012-09-08 14:45:55 <shamoon> i suppose
 729 2012-09-08 14:46:12 <sipa> it's 50*100000000 >> (height / 210000)
 730 2012-09-08 14:46:20 <shamoon> awesome
 731 2012-09-08 14:46:21 <shamoon> thanks!
 732 2012-09-08 14:46:56 shamoon has quit (Remote host closed the connection)
 733 2012-09-08 14:48:17 PiZZaMaN2K has quit (away!~PiZZaMaN2@host-72-2-137-170.csinet.net|Read error: Connection reset by peer)
 734 2012-09-08 15:02:04 vigilyn has joined
 735 2012-09-08 15:03:03 Greee has quit (Ping timeout: 248 seconds)
 736 2012-09-08 15:03:20 Turingi has left ("Leaving")
 737 2012-09-08 15:16:21 denisx has quit (Quit: denisx)
 738 2012-09-08 15:19:49 copumpkin has quit (Quit: Computer has gone to sleep.)
 739 2012-09-08 15:20:40 paraipan has quit (Ping timeout: 276 seconds)
 740 2012-09-08 15:21:57 rdponticelli_ has joined
 741 2012-09-08 15:22:18 benjamindees has joined
 742 2012-09-08 15:22:37 rdponticelli has quit (Ping timeout: 276 seconds)
 743 2012-09-08 15:24:52 barbarousrelic has joined
 744 2012-09-08 15:27:27 rdponticelli_ is now known as rdponticelli
 745 2012-09-08 15:30:48 tastynaysty has joined
 746 2012-09-08 15:32:56 paraipan has joined
 747 2012-09-08 15:43:05 copumpkin has joined
 748 2012-09-08 15:48:19 <da2ce7_d> sipa about: BIP 32, maybe there should be a feild to contain the block-hight of the first transaction that is related to wallet.  This would speedup re-scans.
 749 2012-09-08 15:49:09 <OneEyed> Strange, all electrum servers seem to lag behind, none of them shows me tx 382fa9c9e214bf4bacf9903d3c9950b56ecef9c088ad2b82bdaba62e53e6211a as confirmed while it got 3 confirmations according to blockchain.info
 750 2012-09-08 15:49:34 <sipa> da2ce7_d: that'd be a layer violation in my opinion; a secret key has no business knowing it's being used for transactions that belong in some block chain
 751 2012-09-08 15:49:51 <sipa> da2ce7_d: doesn't mean wallets can't contain that info as metadata of course
 752 2012-09-08 15:53:54 random_cat has quit (Remote host closed the connection)
 753 2012-09-08 15:54:48 <da2ce7_d> maybe it would be possible to encode the block-high at time created into a derived random password.  So people only need to copy their 'wallet code,' and the re-scans can be faster.
 754 2012-09-08 15:55:36 random_cat has joined
 755 2012-09-08 15:55:57 <da2ce7_d> with those 8 word random passwords, it may be nice to not keep any-info on your pc, and recan every time you use your wallet.
 756 2012-09-08 15:56:51 <sipa> i'm not a fan of the the-blockchain-is-your-wallet ideas
 757 2012-09-08 15:58:53 <sipa> sure, it's nice as a safeguard against losing money, but rescanning gigabytes of data just to have your wallet - which, imho, will contain more private information over time than what just can (or should) be encoded inside transactions - is not scalable
 758 2012-09-08 16:00:02 <da2ce7_d> hmm to me it seems awfully tempting to go to any computer, type my 8 (or so) words in, wait 2min, then hey-presto, you have everything to spend coins. close bitcoin -> everthing from ram is deleted.
 759 2012-09-08 16:00:11 arij has joined
 760 2012-09-08 16:00:56 arij has quit (Changing host)
 761 2012-09-08 16:00:56 arij has joined
 762 2012-09-08 16:01:06 <sipa> it's certainly a tempting idea, but i just don't believe it scales
 763 2012-09-08 16:02:11 <sipa> it becomes viable when people commit to a merkle tree of address-indexed utxo's
 764 2012-09-08 16:02:22 <sipa> (like eto's idea)
 765 2012-09-08 16:03:28 <da2ce7_d> :) well that sounds very nice.
 766 2012-09-08 16:04:06 <da2ce7_d> 6.3 I had took about 3min to do rescan (when changing wallets) today, so it wasn't so bad.
 767 2012-09-08 16:08:07 rdponticelli has quit (Ping timeout: 276 seconds)
 768 2012-09-08 16:10:12 Cablesaurus has joined
 769 2012-09-08 16:12:38 PiZZaMaN2K has joined
 770 2012-09-08 16:13:22 <da2ce7_d> well OT is comming along nicely, :)  It is hard to beleve that less than 1 year ago I didn't even know how to program any langurage, now I'm coing C++
 771 2012-09-08 16:15:37 <sipa> haha
 772 2012-09-08 16:19:48 <da2ce7_d> oh where is the link to gmaxwell's 'state of things' post?
 773 2012-09-08 16:20:05 <sipa> ?
 774 2012-09-08 16:21:22 denisx has joined
 775 2012-09-08 16:23:59 <da2ce7_d> oh reading the scrollback sombody said that there was a post about the 'progress to 1.0'
 776 2012-09-08 16:24:37 vampireb has quit (Quit: Lost terminal)
 777 2012-09-08 16:24:50 rdponticelli has joined
 778 2012-09-08 16:24:54 <da2ce7_d> [13:56:35] <gmaxwell> Luke-Jr: you saw that coverage report? ... we're not close to 1.0 :P
 779 2012-09-08 16:27:38 Karmaon_ has joined
 780 2012-09-08 16:27:38 Karmaon_ has quit (Changing host)
 781 2012-09-08 16:27:38 Karmaon_ has joined
 782 2012-09-08 16:28:55 Karmaon has quit (Ping timeout: 252 seconds)
 783 2012-09-08 16:30:36 <sipa> da2ce7_d: coverage report != state of things
 784 2012-09-08 16:30:54 <sipa> it's just a report on the % of code covered by unit tests
 785 2012-09-08 16:31:10 Raccoon has quit (Ping timeout: 244 seconds)
 786 2012-09-08 16:33:27 Raccoon has joined
 787 2012-09-08 16:35:54 AEonCIpher has joined
 788 2012-09-08 16:37:29 AEonCIpher has quit (Client Quit)
 789 2012-09-08 16:38:27 AEonCIpher has joined
 790 2012-09-08 16:53:27 torsthaldo has joined
 791 2012-09-08 16:59:49 B0g4r7__ has joined
 792 2012-09-08 17:02:05 B0g4r7_ has quit (Ping timeout: 276 seconds)
 793 2012-09-08 17:07:39 rdponticelli has quit (Ping timeout: 246 seconds)
 794 2012-09-08 17:08:47 DaQatz has quit (Read error: Operation timed out)
 795 2012-09-08 17:10:06 torsthaldo has quit (Remote host closed the connection)
 796 2012-09-08 17:12:04 graingert has quit (Ping timeout: 252 seconds)
 797 2012-09-08 17:17:17 wizkid057 has quit (Ping timeout: 250 seconds)
 798 2012-09-08 17:20:34 wizkid057 has joined
 799 2012-09-08 17:21:50 Gladamas has joined
 800 2012-09-08 17:29:30 RazielZ has joined
 801 2012-09-08 17:35:25 da2ce7_d2 has joined
 802 2012-09-08 17:35:35 da2ce724 has joined
 803 2012-09-08 17:35:47 benjamindees has left ("Leaving")
 804 2012-09-08 17:37:51 da2ce7 has quit (Ping timeout: 252 seconds)
 805 2012-09-08 17:38:04 da2ce7_d has quit (Ping timeout: 264 seconds)
 806 2012-09-08 17:48:56 bitcoinbulletin has quit (Remote host closed the connection)
 807 2012-09-08 17:54:35 jouke has quit (Quit: ff irssi opnieuw opstarten :x)
 808 2012-09-08 17:56:08 Jouke has joined
 809 2012-09-08 17:57:40 <sipa> just implemented parallel signature checking in ultraprune
 810 2012-09-08 17:57:47 <sipa> %CPU = 561
 811 2012-09-08 17:59:10 bitcoinbulletin has joined
 812 2012-09-08 18:01:24 <denisx> nice
 813 2012-09-08 18:03:25 <amiller> sipa, awesome
 814 2012-09-08 18:08:32 <denisx> sipa: so the speedup is depending on the number of cores?
 815 2012-09-08 18:09:48 <sipa> denisx: more or less; benchmarking now
 816 2012-09-08 18:10:11 <sipa> only after the last checkpoint, obviously, as before that, sig checks were disabled alltogether
 817 2012-09-08 18:10:40 <sipa> hmm, is there no limit on the number of sigops in a transaction?
 818 2012-09-08 18:13:27 bonks has quit (Quit: leaving)
 819 2012-09-08 18:13:57 <jgarzik> sipa: each script is limited...
 820 2012-09-08 18:15:11 <jgarzik> block and script, but not tx
 821 2012-09-08 18:15:17 <sipa> right
 822 2012-09-08 18:17:36 bonks has joined
 823 2012-09-08 18:20:10 Cablesaurus has quit (Quit: On the other hand, you have different fingers.)
 824 2012-09-08 18:20:33 JudgeTheDude has joined
 825 2012-09-08 18:20:42 JudgeTheDude has quit (Read error: Connection reset by peer)
 826 2012-09-08 18:30:29 B0g4r7__ has quit (Ping timeout: 276 seconds)
 827 2012-09-08 18:37:48 <denisx> sipa: is libmemav really needed?
 828 2012-09-08 18:37:54 <denisx> for leveldb
 829 2012-09-08 18:38:07 <sipa> for tests
 830 2012-09-08 18:38:17 <denisx> because there is a leveldb for freebsd, but not libmemav
 831 2012-09-08 18:38:26 <sipa> libmemenv you mean
 832 2012-09-08 18:38:43 <denisx> yes
 833 2012-09-08 18:38:46 <sipa> and it's in the bitcoin source tree
 834 2012-09-08 18:38:56 <sipa> i don't think it has many dependencies
 835 2012-09-08 18:39:10 <denisx> I know, but it does not build easily
 836 2012-09-08 18:39:51 <sipa> what goes wrong?
 837 2012-09-08 18:40:20 <denisx> problems with little/big-endian detection
 838 2012-09-08 18:40:25 <sipa> anyway, you can disable it for now
 839 2012-09-08 18:41:09 <sipa> and comment out the section in leveldb.cpp which calls leveldb::NewMemEnv
 840 2012-09-08 18:43:15 <jgarzik> sipa, denisx: this may be helpful: https://svn.apache.org/repos/asf/incubator/ooo/trunk/main/sal/inc/osl/endian.h
 841 2012-09-08 18:43:22 jurov has quit (away!xzbnxup@84.245.71.31|Ping timeout: 252 seconds)
 842 2012-09-08 18:43:31 jurovz has joined
 843 2012-09-08 18:43:37 <jgarzik> each OS has its own place for [__]BYTE_ORDER
 844 2012-09-08 18:44:16 <gmaxwell> sipa: does your parallel sig checking also make the checking async with other processing?
 845 2012-09-08 18:45:24 <sipa> gmaxwell: yes
 846 2012-09-08 18:45:34 <sipa> though i just ran into a deadlock :(
 847 2012-09-08 18:46:44 jurovz is now known as jurov
 848 2012-09-08 18:46:59 <sipa> gmaxwell: only for blocks though; not yet for mempool transactions
 849 2012-09-08 18:48:35 RazielZ has quit (Ping timeout: 244 seconds)
 850 2012-09-08 18:49:42 MadSweeney has quit (Quit: MadSweeney)
 851 2012-09-08 19:05:08 <denisx> sipa: simply commting out "penv = leveldb::NewMemEnv(leveldb::Env::Default());" ?
 852 2012-09-08 19:05:42 <sipa> yes
 853 2012-09-08 19:06:54 tastynaysty2 has joined
 854 2012-09-08 19:07:03 <denisx> ok, it compiled
 855 2012-09-08 19:07:09 <denisx> using the freebsd leveldb package
 856 2012-09-08 19:08:07 <denisx> sipa: can I run it with the normal .bitcoin directory or do I need to move stuff away?
 857 2012-09-08 19:08:25 <sipa> better run with an empty datadir
 858 2012-09-08 19:08:41 <sipa> except for wallet.dat and peers.dat, there isn't anything shared anyway
 859 2012-09-08 19:09:46 tastynaysty has quit (Ping timeout: 244 seconds)
 860 2012-09-08 19:10:00 <denisx> core dumped
 861 2012-09-08 19:10:35 <sipa> ow :)
 862 2012-09-08 19:11:30 <D34TH> im getting errors in my debug.log, give me a sec and ill grab it and pastebin
 863 2012-09-08 19:12:05 [\\\] has quit (Ping timeout: 276 seconds)
 864 2012-09-08 19:12:32 <D34TH> http://pastebin.com/wewerkHQ
 865 2012-09-08 19:12:38 <D34TH> omg
 866 2012-09-08 19:12:39 RazielZ has joined
 867 2012-09-08 19:12:45 <D34TH> we werk HQ
 868 2012-09-08 19:12:48 <D34TH> loled
 869 2012-09-08 19:19:34 rdponticelli has joined
 870 2012-09-08 19:22:52 Joric has quit ()
 871 2012-09-08 19:29:03 Obsi has joined
 872 2012-09-08 19:38:44 <denisx> sipa: ok, the core dumped because I didnt move the old stuff away ;)
 873 2012-09-08 19:38:55 <denisx> now with a fresh start it runs very smooth
 874 2012-09-08 19:38:57 <sipa> still shouldn't happen...
 875 2012-09-08 19:39:05 <denisx> it is already at 130k blocks
 876 2012-09-08 19:40:06 <denisx> 20-30 blocks/s
 877 2012-09-08 19:40:20 <denisx> and this is only a small atom
 878 2012-09-08 19:41:07 <Luke-Jr> 09/06/12 00:22:16 InvalidChainFound: invalid block=0000000000000307872e  height=197438  work=463673661699243878724
 879 2012-09-08 19:41:09 <Luke-Jr> 09/06/12 00:22:16 InvalidChainFound:  current best=000000000000008cb385  height=197437  work=463663179059113555912
 880 2012-09-08 19:41:10 <Luke-Jr> 09/06/12 00:22:16 ERROR: SetBestChain() : SetBestChainInner failed
 881 2012-09-08 19:41:12 <Luke-Jr> 09/06/12 00:22:16 ERROR: AcceptBlock() : AddToBlockIndex failed
 882 2012-09-08 19:41:13 <Luke-Jr> 09/06/12 00:22:16 ERROR: ProcessBlock() : AcceptBlock FAILED
 883 2012-09-08 19:41:17 <Luke-Jr> would be nice if bitcoind explained why it thought the block was invalid
 884 2012-09-08 19:44:35 <midnightmagic> I agree.
 885 2012-09-08 19:44:43 <denisx> me too strongly!
 886 2012-09-08 19:44:57 <sipa> indeed, i thought it did
 887 2012-09-08 19:45:41 md2k7 has joined
 888 2012-09-08 19:46:29 <kjj_> well, mostly it does.  but a few of the calls return false instead of giving detailed error messages
 889 2012-09-08 19:48:29 <md2k7> does "testnet restarted in 0.7" mean that I have to compile my own bitcoin to use funds from testnet faucet, as the newest release is 0.6.3? (block height on my 0.6.3 testnet client is 81185, block height on blockexplorer is 23571)
 890 2012-09-08 19:48:59 <sipa> it's just separate testnets
 891 2012-09-08 19:49:06 <sipa> blockexplorer is already on the new one
 892 2012-09-08 19:49:18 <sipa> but the old one still exists and runs (... well, a bit)
 893 2012-09-08 19:49:19 <md2k7> but the testnet faucet too, apparently
 894 2012-09-08 19:49:32 <md2k7> so the only way to get coins there is to mine them, right?
 895 2012-09-08 19:50:04 <sipa> i wouldn't use the old testnet anyway, but if you do, you'll probably have to mine them yes
 896 2012-09-08 19:53:16 <BlueMatt> sipa: patch to make bitcoind run the altcoin that the block-chain-acceptance tester thinggy uses
 897 2012-09-08 19:53:51 <sipa> ah, i see
 898 2012-09-08 19:54:12 <Luke-Jr> btw, we've had about 5+ orphans thanks to whatever this problem is
 899 2012-09-08 19:54:12 * sipa wonders whether that isn't better integrated in mainline
 900 2012-09-08 19:54:57 MC1984 has quit (Ping timeout: 245 seconds)
 901 2012-09-08 19:56:44 <BlueMatt> sipa: na, the chain the tester tool should just be mined and have real nonces
 902 2012-09-08 19:57:10 <BlueMatt> we dont need a -secondtestnetfortesting option
 903 2012-09-08 19:57:17 <sipa> riight
 904 2012-09-08 19:57:56 MC1984 has joined
 905 2012-09-08 19:58:06 <Luke-Jr> found 3 cases that don't print errors:
 906 2012-09-08 19:58:08 <Luke-Jr> +                        return error("ConnectBlock() : contains overwriting transaction, forbidden by BIP 30");
 907 2012-09-08 19:58:10 <Luke-Jr> +        return error("ConnectBlock() : coinbase pays itself too much (actual=%lld vs limit=%lld)", (long long)vtx[0].GetValueOut(), (long long)GetBlockValue(pindex->nHeight, nFees));
 908 2012-09-08 19:58:11 <Luke-Jr> +        error("SetBestChain() : WriteHashBestChain failed");
 909 2012-09-08 19:58:22 <Luke-Jr> somehow, I'm suspicious of the 2nd
 910 2012-09-08 20:01:54 Maccer has quit (Excess Flood)
 911 2012-09-08 20:04:06 brwyatt is now known as Away!~brwyatt@brwyatt.net|brwyatt
 912 2012-09-08 20:04:10 OneFixt has quit (Read error: Connection reset by peer)
 913 2012-09-08 20:04:11 skeledrew has quit (Read error: Connection reset by peer)
 914 2012-09-08 20:04:27 OneFixt has joined
 915 2012-09-08 20:04:28 skeledrew has joined
 916 2012-09-08 20:05:55 PK has joined
 917 2012-09-08 20:06:30 xisalty has joined
 918 2012-09-08 20:07:17 PiZZaMaN2K is now known as PiZZaMaN2K|away
 919 2012-09-08 20:10:02 md2k7 has quit (Remote host closed the connection)
 920 2012-09-08 20:10:12 md2k7 has joined
 921 2012-09-08 20:18:05 <denisx> what is the last checkpoint?
 922 2012-09-08 20:19:32 <sipa> 168k in 0.6.3, 193k in 0.7.0
 923 2012-09-08 20:19:56 <denisx> ok, I'm behind that
 924 2012-09-08 20:20:09 <denisx> now the cpu is at more than 100% sometimes
 925 2012-09-08 20:20:23 usagi has quit (Ping timeout: 248 seconds)
 926 2012-09-08 20:21:04 <denisx> its still very fast
 927 2012-09-08 20:23:42 PK is now known as PK|London
 928 2012-09-08 20:25:40 maqr has quit (Quit: leaving)
 929 2012-09-08 20:26:37 ThomasV has quit (Remote host closed the connection)
 930 2012-09-08 20:26:53 maqr has joined
 931 2012-09-08 20:27:09 ThomasV has joined
 932 2012-09-08 20:27:35 usagi has joined
 933 2012-09-08 20:37:08 <Luke-Jr> http://pastebin.com/0srU8pNA
 934 2012-09-08 20:38:59 <sipa> what's that?
 935 2012-09-08 20:42:44 <eian> that's his number, so call him maybe
 936 2012-09-08 20:44:06 xisalty is now known as Stallman
 937 2012-09-08 20:44:56 Stallman is now known as xisalty
 938 2012-09-08 20:45:02 xisalty has quit (Changing host)
 939 2012-09-08 20:45:02 xisalty has joined
 940 2012-09-08 20:45:02 xisalty has quit (Changing host)
 941 2012-09-08 20:45:02 xisalty has joined
 942 2012-09-08 20:46:30 <denisx> sipa: looks like a block
 943 2012-09-08 20:47:05 AEonCIpher has quit (Quit: AEonCIpher)
 944 2012-09-08 20:47:12 <Luke-Jr> sipa: the invalid block
 945 2012-09-08 20:47:38 <sipa> and what's invalid about it?
 946 2012-09-08 20:47:43 <Luke-Jr> that's the question
 947 2012-09-08 20:47:59 <sipa> run a node patched with your checks, and submitblock() it?
 948 2012-09-08 20:48:16 <Luke-Jr> it's no longer on the prevblock
 949 2012-09-08 20:48:32 <sipa> ah
 950 2012-09-08 20:48:37 <denisx> skip that check ;)
 951 2012-09-08 20:49:43 <sipa> add an RPC call switchtochain() that takes a block hash, searches it in mapBlockIndex, and then SetBestChain's to it
 952 2012-09-08 20:49:46 <Luke-Jr> total coinbase output: 50.01
 953 2012-09-08 20:49:54 rdponticelli has quit (Ping timeout: 246 seconds)
 954 2012-09-08 20:50:31 B0g4r7_ has joined
 955 2012-09-08 20:51:37 Maccer has joined
 956 2012-09-08 20:52:38 <Luke-Jr> no fees
 957 2012-09-08 20:52:43 [\\\] has joined
 958 2012-09-08 20:52:52 <Luke-Jr> wtf
 959 2012-09-08 20:53:21 <gmaxwell> did cut off some fee paying transactions but not update the total?
 960 2012-09-08 20:53:36 <Luke-Jr> gmaxwell: it shouldn't have :/
 961 2012-09-08 20:53:37 <gmaxwell> thats a bit tricky for blocktemplate miners...
 962 2012-09-08 20:54:26 <Luke-Jr> the only scenario it should have made such a small block would be if there were no fees really
 963 2012-09-08 20:55:32 <Luke-Jr> wish I had the input parameters now to try to reproduce this
 964 2012-09-08 20:59:48 <Luke-Jr> sipa: since I know you hate using the term orphaned blocks, did you ever come up with an alternate term? :p
 965 2012-09-08 20:59:54 <sipa> stale blocks
 966 2012-09-08 20:59:58 <Luke-Jr> ok
 967 2012-09-08 21:00:48 <OneEyed> alternate block? lost block? superseded block (because that's what it is)?
 968 2012-09-08 21:01:29 <sipa> Luke-Jr: in main.cpp there's a line "BitcoinMiner : generated block is stale", authored by satoshi
 969 2012-09-08 21:01:34 <sipa> so i figure that's the term he used
 970 2012-09-08 21:01:45 Obsi has quit (Quit: No Ping reply in 180 seconds.)
 971 2012-09-08 21:01:58 <OneEyed> sipa: I have the feeling that it applies to a block before it is broadcasted, right?
 972 2012-09-08 21:02:10 <sipa> hmm, perhaps
 973 2012-09-08 21:02:17 <OneEyed> sipa: for me (but English is not my native language), stale means more "moot, out of date"
 974 2012-09-08 21:02:24 <OneEyed> Meaning it should not be published
 975 2012-09-08 21:02:34 <sipa> well, i'm not native english either
 976 2012-09-08 21:03:15 <Luke-Jr> stale makes sense to me, in the context of stale shares
 977 2012-09-08 21:03:37 <sipa> it's stale in the sense that the effects of that block are no longer active
 978 2012-09-08 21:05:06 <jrmithdobbs> so ya, this is working on openbsd, rebuilding boost with some patches so the unit tests work (unrelated to bitcoin) to verify it really is working like it seems to be
 979 2012-09-08 21:05:16 <jrmithdobbs> but it's been running overnight and still goin strong
 980 2012-09-08 21:05:27 <jrmithdobbs> (bitcoind that is))
 981 2012-09-08 21:05:47 <eian> do nodes relay transactions without fees?
 982 2012-09-08 21:05:49 kuzetsa has joined
 983 2012-09-08 21:05:56 <kuzetsa> sipa: serriously? --- http://pastebin.com/93qS2Kpd
 984 2012-09-08 21:06:43 <denisx> jrmithdobbs: today I built bitcoind with ultraprune on freebsd! ;)
 985 2012-09-08 21:07:27 <sipa> kuzetsa: stale blocks are perfectly valid, but simply not considered active
 986 2012-09-08 21:07:35 <jrmithdobbs> denisx: with or without your makefile? ;p
 987 2012-09-08 21:07:44 <sipa> and since they are part of the block tree, they do have parents
 988 2012-09-08 21:07:45 barbarousrelic has left ()
 989 2012-09-08 21:07:45 <denisx> jrmithdobbs: with
 990 2012-09-08 21:08:04 <jrmithdobbs> denisx: i've got it building with makefile.unix with some very minor changes (and fixed some things being missed by the clean target as a bonus)
 991 2012-09-08 21:08:42 <jrmithdobbs> once i get unit tests working and write up a 'how to build on openbsd' i'll setup a pull req
 992 2012-09-08 21:08:47 <kuzetsa> "not considered active" so like... abandoned?
 993 2012-09-08 21:08:54 <kuzetsa> orphaned perhaps? :P
 994 2012-09-08 21:08:57 <denisx> deadtreeblocks
 995 2012-09-08 21:09:00 <kuzetsa> heh
 996 2012-09-08 21:09:05 <sipa> kuzetsa: they're abandoned, but not by their parents :)
 997 2012-09-08 21:09:19 <kuzetsa> "dead" or "abandoned" sure doesn't sound any more valid than orphan
 998 2012-09-08 21:09:32 <kuzetsa> the parents are dead
 999 2012-09-08 21:09:42 <sipa> yes, and that's not true for stale blocks
1000 2012-09-08 21:09:44 <kuzetsa> rejected / shunned by the network in favor of the other fork
1001 2012-09-08 21:09:52 <kuzetsa> hmm?
1002 2012-09-08 21:10:00 <kuzetsa> is this something different than when the blockchain forks?
1003 2012-09-08 21:10:04 <sipa> no
1004 2012-09-08 21:10:20 <kuzetsa> I don't understand why you're saying "stale"
1005 2012-09-08 21:10:23 <sipa> a blockchain fork is when two different chains are active according to different nodes
1006 2012-09-08 21:10:27 <kuzetsa> it seems less accurate than "orphan"
1007 2012-09-08 21:10:43 <kuzetsa> sipa: yeah. that sounds correct.
1008 2012-09-08 21:10:44 <sipa> because an orpahn block already has a meaning, and one that makes much more sense: a block whose parents are not known
1009 2012-09-08 21:11:00 <kuzetsa> huh?
1010 2012-09-08 21:11:02 <sipa> and that is a term that has forever been used in the source code
1011 2012-09-08 21:11:03 <kuzetsa> what does that mean
1012 2012-09-08 21:11:09 <kuzetsa> I don't understand the explaination you just gave
1013 2012-09-08 21:11:14 <sipa> if i send you a block
1014 2012-09-08 21:11:20 <sipa> and you don't know its parent yet
1015 2012-09-08 21:11:37 <sipa> then you'll ask me for the parents leading back to the genesis block (or until some point you already know)
1016 2012-09-08 21:11:50 <kuzetsa> uhm
1017 2012-09-08 21:11:55 <gmaxwell> the word you might want is extinct: it will have no more descendants.
1018 2012-09-08 21:11:56 <sipa> but as long as you did not get all parents, your node considered that block an orpahn
1019 2012-09-08 21:12:13 <kuzetsa> can't the parent block be resolved / identified in a deterministic way?
1020 2012-09-08 21:12:21 <kuzetsa> or am I misunderstanding the way the blockchain works
1021 2012-09-08 21:12:28 <sipa> a block contains the hash of its parent
1022 2012-09-08 21:12:35 <kuzetsa> uh huh
1023 2012-09-08 21:12:44 <kuzetsa> so if you send a block, I don'have to ask
1024 2012-09-08 21:12:48 <kuzetsa> it's in the block
1025 2012-09-08 21:12:58 <sipa> that parent may or may not be known to you
1026 2012-09-08 21:13:06 <midnightmagic> extinct. Ooh I like that one. :)
1027 2012-09-08 21:13:09 <midnightmagic> extinct fork.
1028 2012-09-08 21:13:09 <kuzetsa> oh nevermind this. I have new DR WHO on my DVR / gonna watch it.
1029 2012-09-08 21:13:16 <sipa> have fun
1030 2012-09-08 21:13:21 <kuzetsa> likewise.
1031 2012-09-08 21:13:29 <sipa> gmaxwell: hmmm nice one, but not entirely accurate (there's always a chance of reorganising back to it)
1032 2012-09-08 21:13:30 <kuzetsa> I'll just have to learn whatever change in jargon happens
1033 2012-09-08 21:13:44 <kuzetsa> either consensus will accept or reject your new suggested wording
1034 2012-09-08 21:13:51 <sipa> well i'm suppose i'm the only one being pedantic
1035 2012-09-08 21:13:52 <midnightmagic> orphan block truly has an unknown parent. stale block is one for an old, obsoleted fork, and a better name for those are extinct forks.
1036 2012-09-08 21:13:53 kuzetsa has left ()
1037 2012-09-08 21:14:18 <sipa> but if people want to call stale blocks orphan, i'd rather have a different word for orphan to avoid ambuigity
1038 2012-09-08 21:14:20 <jrmithdobbs> i thought new dr who wasn't until later today
1039 2012-09-08 21:14:30 <midnightmagic> ah, yeah I think sipa is right. :)
1040 2012-09-08 21:14:31 <jrmithdobbs> that is much more important than any of the above
1041 2012-09-08 21:14:43 <midnightmagic> orphan shouldn't be applied to a stale block.
1042 2012-09-08 21:14:48 jdnavarro has quit (Ping timeout: 244 seconds)
1043 2012-09-08 21:15:03 Maccer has quit (Ping timeout: 240 seconds)
1044 2012-09-08 21:15:35 <jrmithdobbs> he must be in the uk, it's not on my dvr yet :(
1045 2012-09-08 21:19:12 coblee has quit (Ping timeout: 260 seconds)
1046 2012-09-08 21:19:39 ZenInTexas has joined
1047 2012-09-08 21:22:06 ThomasV has quit (Quit: Quitte)
1048 2012-09-08 21:23:37 Maccer has joined
1049 2012-09-08 21:26:22 Gladamas_laptop has joined
1050 2012-09-08 21:27:22 phantomcircuit has joined
1051 2012-09-08 21:30:01 <Luke-Jr> hmm
1052 2012-09-08 21:30:21 <Luke-Jr> if there were 2 txns, the 2nd of which had a fee, I can see Eloipool possibly making a block with just the 1st feeless one
1053 2012-09-08 21:30:29 <Luke-Jr> but it *should* adjust the coinbasevalue for the fee
1054 2012-09-08 21:31:31 <md2k7> how do I turn a bitcoin address (public key) into a CKeyID?
1055 2012-09-08 21:32:46 <sipa> CBitcoinAddress(string).GetKeyID()
1056 2012-09-08 21:33:01 <md2k7> sipa: thanks, I knew it had to be sth simple :)
1057 2012-09-08 21:33:13 <sipa> but beware there are bitcoin addresses that do not correspond to a key
1058 2012-09-08 21:34:47 skeledrew has quit (Quit: Instantbird 1.3a1pre -- http://www.instantbird.com)
1059 2012-09-08 21:35:05 B0g4r7_ has quit (Ping timeout: 276 seconds)
1060 2012-09-08 21:35:16 skeledrew has joined
1061 2012-09-08 21:35:28 <Luke-Jr> hey, it's md2k7 :p
1062 2012-09-08 21:35:44 B0g4r7_ has joined
1063 2012-09-08 21:35:53 <Luke-Jr> the guy who made me add a new non-standard license to the license list :p
1064 2012-09-08 21:38:01 <Luke-Jr> hmm, this is very odd
1065 2012-09-08 21:38:05 <Luke-Jr> all our blocks seem to be 2 txn lately
1066 2012-09-08 21:39:14 * Luke-Jr scratches his head
1067 2012-09-08 21:41:26 <denisx> Luke-Jr: sounds like off-by-one error ;)
1068 2012-09-08 21:41:34 <denisx> did you start at zero? ;)
1069 2012-09-08 21:42:05 <helo> hah
1070 2012-09-08 21:43:14 <Luke-Jr> ?
1071 2012-09-08 21:44:15 <sipa> ;;bc,blocks
1072 2012-09-08 21:44:15 <gribble> 197904
1073 2012-09-08 21:47:41 RazielZ has quit (Quit: Leaving)
1074 2012-09-08 21:48:50 <sipa> 6.3 blocks/s after the last checkpoint
1075 2012-09-08 21:51:11 <md2k7> Luke-Jr: :D should I say beer-ware license next time, so there is less clutter?
1076 2012-09-08 21:51:56 PK has quit (London!~PK@pdpc/supporter/active/pk|Quit: Leaving)
1077 2012-09-08 21:52:50 coblee has joined
1078 2012-09-08 21:53:08 <Luke-Jr> md2k7: MIT would be ideal I think since that's what everything else is
1079 2012-09-08 21:53:28 <Luke-Jr> BEER-WARE is indeed already a license tho
1080 2012-09-08 21:54:00 <Luke-Jr> but it implies assigning copyright to some phk@login.dkuug.dk
1081 2012-09-08 21:54:25 <md2k7> feel free to make it MIT if you like
1082 2012-09-08 21:55:28 <OneEyed> Luke-Jr: what do you mean? You can change the name of the copyright holder in the beerware license, phk is not the one who invented it
1083 2012-09-08 21:56:02 <OneEyed> (according to Wikipedia, John Bristor used in in 1987, before PHK did his revision 42)
1084 2012-09-08 21:57:04 <OneEyed> (I remember phk saying something like "I am probably the free software developer who has benefited the most of the license put on the software I wrote, at least in terms of beers")
1085 2012-09-08 22:00:02 <Luke-Jr> md2k7: https://github.com/bitcoin/bitcoin/pull/1803
1086 2012-09-08 22:00:28 rdponticelli has joined
1087 2012-09-08 22:02:26 jurov is now known as jurov|away
1088 2012-09-08 22:02:42 balrog has quit (Ping timeout: 246 seconds)
1089 2012-09-08 22:06:07 <md2k7> Luke-Jr: your devotion of time to have precise license attribution is impressive ;)
1090 2012-09-08 22:09:37 balrog has joined
1091 2012-09-08 22:09:45 tower has quit (Disconnected by services)
1092 2012-09-08 22:09:57 tower has joined
1093 2012-09-08 22:15:04 Obsi has joined
1094 2012-09-08 22:15:42 Gladamas_laptop has quit (Read error: Connection reset by peer)
1095 2012-09-08 22:19:41 Joric has joined
1096 2012-09-08 22:23:54 MC-Eeepc has joined
1097 2012-09-08 22:24:46 MC1984 has quit (Ping timeout: 246 seconds)
1098 2012-09-08 22:27:17 <md2k7> is there any more docs on OP_CHECKMULTISIG than in https://en.bitcoin.it/wiki/BIP_0011?
1099 2012-09-08 22:27:47 <md2k7> "if it's implemented, someone somehow must have tested it", right?
1100 2012-09-08 22:30:46 <gmaxwell> md2k7: um, BIP_0011 didn't create OP_CHECKMULTISIG.
1101 2012-09-08 22:30:51 <gmaxwell> It's been there since the start.
1102 2012-09-08 22:32:06 <md2k7> oh, fun. so Satoshi's the one to explain it
1103 2012-09-08 22:32:17 copumpkin has quit (Quit: Computer has gone to sleep.)
1104 2012-09-08 22:32:28 <md2k7> he obviously didn't like creating docs for his stuff, well who does?
1105 2012-09-08 22:32:55 <md2k7> I've just fooled around with createrawtransaction
1106 2012-09-08 22:33:33 <md2k7> but I can't get my "custom" OP_CHECKMULTISIG transaction signed with signrawtransaction, it doesn't do anything. Should it?
1107 2012-09-08 22:33:58 <md2k7> (returns me the same hex I fed into it)
1108 2012-09-08 22:34:36 <sipa> it will only sign inputs to outputs it recognizes
1109 2012-09-08 22:34:57 <sipa> unsure of it will work for non-P2SH multisigs
1110 2012-09-08 22:50:18 edcba has quit (Ping timeout: 272 seconds)
1111 2012-09-08 22:58:05 copumpkin has joined
1112 2012-09-08 22:58:36 RainbowDashh has joined
1113 2012-09-08 23:01:25 lelantos has quit (Quit: Lämnar)
1114 2012-09-08 23:02:54 snapattack has joined
1115 2012-09-08 23:08:29 datagutt has quit (Quit: Computer has gone to sleep.)
1116 2012-09-08 23:09:41 MadSweeney has joined
1117 2012-09-08 23:09:57 CodesInChaos has quit (Ping timeout: 255 seconds)
1118 2012-09-08 23:13:09 md2k7 has quit (Ping timeout: 244 seconds)
1119 2012-09-08 23:16:24 <nanotube> nice work on the in-client console, btw. :)
1120 2012-09-08 23:18:06 md2k7 has joined
1121 2012-09-08 23:19:07 <sipa> ls
1122 2012-09-08 23:19:21 <snapattack> ls
1123 2012-09-08 23:19:22 <snapattack> lol
1124 2012-09-08 23:19:46 <snapattack> nano, what are you referring to?
1125 2012-09-08 23:20:47 <nanotube> snapattack: 0.7rc2 bitcoin client
1126 2012-09-08 23:20:49 <nanotube> ;;ls
1127 2012-09-08 23:20:49 <gribble> What do you think I am, a shell?
1128 2012-09-08 23:20:51 <nanotube> :)
1129 2012-09-08 23:20:53 sudog has quit (Remote host closed the connection)
1130 2012-09-08 23:21:32 sudog has joined
1131 2012-09-08 23:22:07 Joric has quit ()
1132 2012-09-08 23:23:30 <snapattack> nanotube: awesome
1133 2012-09-08 23:27:50 rdponticelli_ has joined
1134 2012-09-08 23:28:50 rdponticelli has quit (Ping timeout: 276 seconds)
1135 2012-09-08 23:36:38 rdponticelli_ is now known as rdponticelli
1136 2012-09-08 23:36:48 TD has quit (Quit: TD)
1137 2012-09-08 23:38:16 snapattack has quit (Ping timeout: 245 seconds)
1138 2012-09-08 23:39:03 md2k7 has quit (Quit: Konversation terminated!)
1139 2012-09-08 23:41:49 <sipa> nanotube: haha
1140 2012-09-08 23:41:59 <sipa> i started typing on thr wrong keyboard :)
1141 2012-09-08 23:42:30 <nanotube> heh
1142 2012-09-08 23:47:43 EPiSKiNG- has quit (Ping timeout: 246 seconds)
1143 2012-09-08 23:48:24 nsh has quit (Ping timeout: 248 seconds)
1144 2012-09-08 23:55:28 nsh has joined