1 2015-01-01 01:21:12 <uphoria> Hey there
  2 2015-01-01 01:21:28 <uphoria> So I've been tasked with creating a purely testing altcoin
  3 2015-01-01 01:21:44 <uphoria> where did "pchMessageStart" end up in src/chainparams.cpp?
  4 2015-01-01 01:22:17 <maaku> uphoria: ##altcoin-dev
  5 2015-01-01 01:22:47 <phantomcircuit> uphoria, grep
  6 2015-01-01 01:23:22 <uphoria> phantomcircuit: oh, derp :( I was matching whole word. Thank you
  7 2015-01-01 01:23:28 <uphoria> maaku: roger, I will keep all future discussion in there
  8 2015-01-01 01:23:29 <uphoria> thanks :)
  9 2015-01-01 01:51:45 <SoCo_cpp> So I have some changes committed to my git. I want to submit them for review. I'm not familiar with this process. It seems like you just put your changes in a branch, push them, then create a pull request on github, yet pushing the branch's changes returns a 403 error. Mailing list are an annoying mess, do I have to go through all that?
 10 2015-01-01 01:52:49 <gmaxwell> SoCo_cpp: you need to follow the instrucions for pushing. You need to use an authenticated upload mechenism.
 11 2015-01-01 01:53:53 <SoCo_cpp> gmaxwell where do I find those instructions?
 12 2015-01-01 01:54:36 <SoCo_cpp> I am atempting to push as my authenticated github user to the repository.
 13 2015-01-01 01:56:06 <SoCo_cpp> fatal: unable to access 'https://SoCoCpp@github.com/bitcoin/bitcoin.git/': The requested URL returned error: 403
 14 2015-01-01 01:56:06 <SoCo_cpp> remote: Permission to bitcoin/bitcoin.git denied to SoCoCpp.
 15 2015-01-01 01:58:56 <gmaxwell> lol you cannot push to bitcoin/bitcoin.
 16 2015-01-01 01:59:04 <gmaxwell> you need to push to _your_ repository on github.
 17 2015-01-01 01:59:56 <SoCo_cpp> oh. I see. Yeah I seen that there was a compare between forks in the pull request thing.
 18 2015-01-01 02:21:05 <Luke-Jr> ACTION ponders if you can push to a PR on bitcoin/bitcoin directly
 19 2015-01-01 02:29:05 <maaku> it would be very restful if you could push to bitcoin/pulls and have it autogenerate a PR
 20 2015-01-01 02:31:05 <Luke-Jr> ACTION wonders how long until someone makes a decentralised GitHub :P
 21 2015-01-01 04:50:52 <op_mul> Luke-Jr: I don't think that's what you want. it's nice that github handles all the malware/spam/abuse stuff for us
 22 2015-01-01 04:55:43 <Luke-Jr> op_mul: I do. What malware/spam/abuse stuff does GitHub handle?
 23 2015-01-01 04:56:01 <Luke-Jr> op_mul: a decentralised system could still have a central official repo
 24 2015-01-01 04:59:34 <op_mul> Luke-Jr: who decides what comments are spam? who removes all of the typosquat names with malware on them?
 25 2015-01-01 05:00:38 <Luke-Jr> op_mul: github doesn't solve that for us
 26 2015-01-01 05:01:03 <Luke-Jr> whoever owns the server with the issue/PR/whatever-is-being-commented-on controls the former
 27 2015-01-01 05:01:10 <Luke-Jr> and no need for names.
 28 2015-01-01 05:18:06 <op_mul> Luke-Jr: the logistics of making that function anywhere near as smoothly as github are just insane. at least with github it's pretty frictionless.
 29 2015-01-01 05:19:51 <op_mul> how about I fork bitcoin into gitcoin, and we'll go from there.
 30 2015-01-01 05:19:55 <Luke-Jr> op_mul: hence why I'm not suggesting it as something we do to make our life easier. it would probably be a project on the level of Bitcoin
 31 2015-01-01 05:25:56 <dzyk> Hi. I need help with bitcoin.
 32 2015-01-01 05:26:12 <dzyk> Happy new year!
 33 2015-01-01 05:26:13 <Luke-Jr> dzyk: #bitcoin
 34 2015-01-01 05:26:18 <dzyk> 2015
 35 2015-01-01 05:27:16 <dzyk> Im about python emplementation bitcoin core
 36 2015-01-01 05:27:28 <Luke-Jr> what?
 37 2015-01-01 05:29:54 <dzyk> Python realization of bitcoin core. Its not have
 38 2015-01-01 05:31:28 <Luke-Jr> you're going to have to use better English, if you want me to understand you at least..
 39 2015-01-01 05:31:52 <op_mul> Luke-Jr: maybe you should brush up on your russian instead.
 40 2015-01-01 05:32:08 <Luke-Jr> op_mul: he isn't speaking Russian, although that would be an option as well
 41 2015-01-01 05:32:21 <Luke-Jr> unfortunately, Russian is not even on my list of languages I intend to learn at the moment
 42 2015-01-01 05:32:38 <dzyk> What you think about python implement of bitcoind?
 43 2015-01-01 05:32:56 <Luke-Jr> dzyk: I think one exists, but I don't recall what its name is.
 44 2015-01-01 05:33:04 <op_mul> pycoin?
 45 2015-01-01 05:33:09 <Luke-Jr> that might be it
 46 2015-01-01 05:33:42 <dzyk> Pycoin its only client. Its used bitcoind.
 47 2015-01-01 05:36:46 <dzyk> Bitcoin have critical because its monopoly server for blokchain
 48 2015-01-01 05:38:41 <dzyk> Do you understand me?
 49 2015-01-01 05:40:03 <Luke-Jr> dzyk: Bitcoin requires a monopoly algorithm to work
 50 2015-01-01 05:42:20 <dzyk> Yes. Its true. Bitcoin have critical, becouse its a monopoly algorithm to work in cpp, only cpp. Dont have python btc core for example
 51 2015-01-01 05:43:21 <Luke-Jr> dzyk: irrelevant
 52 2015-01-01 05:43:40 <Luke-Jr> any Python port would need to emulate C++ to be correct
 53 2015-01-01 05:43:46 <dzyk> Burcoind - its btc monopily server for blokchain
 54 2015-01-01 05:45:24 <dzyk> Sorry true "bitcoind"
 55 2015-01-01 05:47:30 <dzyk> (Luke-Jr) any Python port would need to emulate C++ to be correct. But we have control for source code and many people.
 56 2015-01-01 05:48:21 <dzyk> For example we change linux core for scam bitcoind
 57 2015-01-01 05:50:56 <dzyk> U undstnd me?
 58 2015-01-01 05:55:04 <Luke-Jr> nope
 59 2015-01-01 05:57:49 <dzyk> (Luke-Jr) its shot answer:-)
 60 2015-01-01 05:57:57 <dzyk> Short
 61 2015-01-01 06:00:03 <dzyk> I think that anb can substitute linux core.
 62 2015-01-01 06:00:05 <op_mul> dzyk: have you seen this part of the forums? https://bitcointalk.org/index.php?board=10.0
 63 2015-01-01 06:00:34 <op_mul> you might have more luck there.
 64 2015-01-01 06:01:34 <Luke-Jr> dzyk: Linux is not a consensus system.
 65 2015-01-01 06:01:47 <dzyk> I have topic there. See link
 66 2015-01-01 06:03:15 <Luke-Jr> op_mul: doubt it; development left the forums a long tiem ago
 67 2015-01-01 06:03:24 <dzyk> (Luke-Jr) dzyk: Linux is not a consensus system. What it is? We have single linux core.
 68 2015-01-01 06:03:25 <Luke-Jr> oh, Russian subforum. maybe
 69 2015-01-01 06:03:40 <Luke-Jr> dzyk: Linux is an operating system kernel.
 70 2015-01-01 06:05:00 <dzyk> Ok. Evrika. We need btc operating system.
 71 2015-01-01 06:05:24 <Luke-Jr> that doesn't make sense
 72 2015-01-01 06:06:08 <op_mul> Luke-Jr: yes. you probably can't relate, but getting across technical terms in a language that's not your primary is challenging at the best of times. I would sound like even more of an idiot in german, for example.
 73 2015-01-01 06:06:30 <Luke-Jr> op_mul: your English seems pretty good.
 74 2015-01-01 06:06:49 <dzyk> Sens only for safety.
 75 2015-01-01 06:06:53 <Luke-Jr> oh, I read that backward I guess
 76 2015-01-01 08:39:48 <robbak> cfields: I'm back online, if you have anything you want me to try. I built it using clang35, but had the same problems, but I probably missed something.
 77 2015-01-01 10:07:31 <midnightmagic> sync on my PPC host continues: so far from 2014-12-28 01:14:50 to 2015-01-01 10:08:03
 78 2015-01-01 10:08:54 <midnightmagic> 14000 blocks to go..
 79 2015-01-01 10:19:29 <Luke-Jr> midnightmagic: do you by chance know which commits are needed on top of 0.10 to get BE support?
 80 2015-01-01 10:19:29 <op_mul> midnightmagic: faster or slower than my powermac G4?
 81 2015-01-01 10:20:29 <gmaxwell> Luke-Jr: the PR that wumpus created.
 82 2015-01-01 10:20:37 <gmaxwell> It has everything.
 83 2015-01-01 10:20:40 <Luke-Jr> gmaxwell: nothing in master yet?
 84 2015-01-01 10:20:49 <Luke-Jr> I saw at least something for depends/
 85 2015-01-01 10:20:56 <gmaxwell> (well I think some of it went into master, in fact so perhaps not everything for 0.10)
 86 2015-01-01 10:21:07 <gmaxwell> maybe/maybe not I forget.
 87 2015-01-01 10:21:34 <gmaxwell> really its immature and undertested enough that you might as well run master.
 88 2015-01-01 10:21:50 <gmaxwell> e.g. I doubt anyone has run pulltester against it yet.
 89 2015-01-01 10:22:03 <op_mul> I could probably win some award for crappiest bitcoin node if I used my G4. 544MB of memory in it's three (yes, three) memory slots.
 90 2015-01-01 10:24:13 <Luke-Jr> gmaxwell: hmm, so probably not worth trying to get BE supported for 0.10 on Gentoo
 91 2015-01-01 10:25:28 <gmaxwell> Luke-Jr: I wouldn't recommend it. Next version.
 92 2015-01-01 10:33:01 <wumpus> speaking of BE support, need some ACKs here https://github.com/bitcoin/bitcoin/pull/5490
 93 2015-01-01 10:39:21 <wumpus> it is the (trivial) preparation necessary and improves the clarity code in any case by separating uint256s used for arithmetic (which are rare) and uint256/160 which are just binary blobs
 94 2015-01-01 10:39:42 <midnightmagic> Luke-Jr: I'm currenty running from.. mm.. 2014_12_bigendian from https://github.com/laanwj/bitcoin.git
 95 2015-01-01 10:40:46 <midnightmagic> although, it *appears* as though interrupting a block sync at the wrong time by reconfiguring the network interface breaks it. I don't know if that's a real issue in the mainline code yet, I don't have a machine clean enough where I can just do that right now.
 96 2015-01-01 10:40:49 <wumpus> but as there are quite some spread-out code changes it is a lot of work to keep rebasing it
 97 2015-01-01 10:41:33 <midnightmagic> but with a clean connection it's stable so far. :)
 98 2015-01-01 10:41:51 <midnightmagic> 13166 btc       20   0 1343m 1.2g 3736 S  93.0 49.7   3356:31 bitcoind
 99 2015-01-01 10:41:59 <midnightmagic> that's not too bad in terms of memory footprint.
100 2015-01-01 10:42:34 <midnightmagic> oh yeah, gmax was curious about my avr32 machine re: libsec
101 2015-01-01 10:42:46 <wumpus> the actual changes after that to make bigendian compatibility are much more contained and easier to rebase
102 2015-01-01 10:43:05 <wumpus> (ie, #5510)
103 2015-01-01 10:43:48 <wumpus> good to hear midnightmagic
104 2015-01-01 10:44:07 <gmaxwell> midnightmagic: you had some AVR32 host with lots of ram, no?
105 2015-01-01 10:44:18 <midnightmagic> not "lots" but "lots" for an avr32 board.
106 2015-01-01 10:44:28 <midnightmagic> I think it was 32MB? or.. maybe 64MB.
107 2015-01-01 10:44:52 <midnightmagic> ah. 32MB.
108 2015-01-01 10:45:05 <gmaxwell> 2MB should be enough for libsecp256k1 as it is. (eventually I expect we'll gain a lowmem mode that makes the memory usage very small, at the expense of performance.
109 2015-01-01 10:45:57 <midnightmagic> cool I'll try it out. I think I even have a toolchain on it.
110 2015-01-01 10:46:45 <wumpus> now that secp256k1 no longer depends on libgmp, it's very easy to cross compile with just a toolchain
111 2015-01-01 10:47:25 <midnightmagic> wumpus: did you see I got a segfault+coredump from before?
112 2015-01-01 10:47:34 <wumpus> midnightmagic: no
113 2015-01-01 10:47:48 <gmaxwell> wumpus: I'd shared it before, it was a leveldb checksum fail.
114 2015-01-01 10:48:00 <wumpus> oh, that one, yes sure I've seen that
115 2015-01-01 10:48:06 <midnightmagic> k
116 2015-01-01 12:37:03 <midnightmagic> I'm running the tests/bench_* secp tests on the avr32 machine now
117 2015-01-01 12:37:10 <gmaxwell> oh wow!
118 2015-01-01 12:37:13 <midnightmagic> turns out there is no native toolchain installed.
119 2015-01-01 12:37:30 <midnightmagic> so, sadly, I had to cross-compile it on my do-everything-because-it's-awesome superhost
120 2015-01-01 12:38:26 <midnightmagic> time ./tests 1 => real    6m 2.87s, sys     0m 0.55s
121 2015-01-01 12:43:54 <sipa> can you compile with --enable-benchmarks
122 2015-01-01 12:43:59 <sipa> and run bench_verify
123 2015-01-01 12:46:10 <Diablo-D3> lol
124 2015-01-01 12:46:13 <Diablo-D3> several hours later
125 2015-01-01 12:51:03 <Luke-Jr> … several hours later is pretty fast for testing on AVR32 for the first time, IMO
126 2015-01-01 12:51:17 <Luke-Jr> considering GCC doesn't even support it stock
127 2015-01-01 13:06:56 <midnightmagic> sipa: Those are taking much longer. I just finished bench_inv:
128 2015-01-01 13:07:18 <midnightmagic> min 8421.042us / avg 8424.852us / max 8457.452us : real    28m 4.97s
129 2015-01-01 13:10:37 <midnightmagic> oh wow, is he making fun of me for taking a few hours getting the software compiled for it?
130 2015-01-01 13:12:09 <aschildbach> I'm trying to compile bitcoin v0.10.0rc1, but autogen.sh complains about sources in subdirectories and fails
131 2015-01-01 13:12:32 <Luke-Jr> aschildbach: … specifically? pastebin
132 2015-01-01 13:12:38 <aschildbach> Also "Libtool library used but 'LIBTOOL' is undefined"
133 2015-01-01 13:12:58 <gmaxwell> aschildbach: that sounds like you do not have libtool installed.
134 2015-01-01 13:14:03 <aschildbach> vs1YVTgx is the paste
135 2015-01-01 13:16:37 <aschildbach> hm indeed installing it helps
136 2015-01-01 13:17:26 <michagogo> aschildbach: those complaints are warnings, not errors
137 2015-01-01 13:17:48 <gmaxwell> I wonder if we need to update build instructions to make it clear you need libtool installed.
138 2015-01-01 13:19:00 <wumpus> libtool was added to the dependencies in build-unix
139 2015-01-01 13:19:02 <Luke-Jr> you don't unless you use git, AFAIK
140 2015-01-01 13:19:14 <Luke-Jr> assuming we package configure
141 2015-01-01 13:19:19 <wumpus> we do
142 2015-01-01 13:19:24 <wumpus> but by far most people build from git
143 2015-01-01 13:19:25 <gmaxwell> Luke-Jr: make dist indeed packages configure.
144 2015-01-01 13:20:15 <aschildbach> I see its mentioned in build-unix.md. I'm not sure why it was uninstalled during my last Ubuntu upgrade.
145 2015-01-01 13:20:31 <wumpus> well it wasn't required in 0.9
146 2015-01-01 13:20:42 <wumpus> so if this is your first 0.10 build that makes sense
147 2015-01-01 13:20:47 <aschildbach> Ah ok that might explain
148 2015-01-01 13:21:41 <wumpus> libtool is mostly required because of libbitcoinconsensus, but I don't think the build works without it at all
149 2015-01-01 13:22:41 <Luke-Jr> s/the build/autogen
150 2015-01-01 13:23:36 <wumpus> IIRC libtool is actually called during the build (see make V=1)
151 2015-01-01 13:23:58 <wumpus> sure, it won't even pass configure without it, but say you uninstalled it after configuring... :-)
152 2015-01-01 13:24:32 <Luke-Jr> maybe I'm remembering something else
153 2015-01-01 13:25:01 <wumpus> could be that the autogen bootstrapping copies a libtool script into your tree so it's not required at the system level anymore, I don't know
154 2015-01-01 13:27:59 <wumpus> I vaguely remember there was a pull open at some point to make autogen.sh give a clearer error if libtool isn't installed, which is the right idea, but I think it was eventually closed because of implementation problems
155 2015-01-01 13:28:40 <wumpus> (ie, worked only in very specific setups/distributions)
156 2015-01-01 13:34:00 <btcdrak> wumpus I'm thinking we need a much more concise compile instruction. This libtool dep is tripping up a lot of people.
157 2015-01-01 13:34:09 <aschildbach> It would also help if build processes would suppress all messages that look like problems but in fact aren't any, like these messages about subdirectories.
158 2015-01-01 13:36:37 <michagogo> btcdrak: it shouldn't trip up anyone who reads 0.10's build-Unix
159 2015-01-01 13:39:57 <btcdrak> but they dont. it is too long
160 2015-01-01 13:41:52 <Luke-Jr> if ! libtool 2>/dev/null; then echo 'Install libtool'; exit 1; fi
161 2015-01-01 14:06:39 <midnightmagic> bench_verify is still running. :)
162 2015-01-01 14:06:47 <midnightmagic> hah. that's hilarious
163 2015-01-01 14:14:18 <gmaxwell> it would almost be better to let the errors happen normally _then_ have it tell you to install libtool, so that it teaches you what missing libtool looks like.
164 2015-01-01 14:14:51 <gmaxwell> having encountered that many times before when I put bitcoin on the novena a day ago I wasn't even phased for a moment by the libtool error (and didn't even think to suggest we make it have a better one)
165 2015-01-01 14:15:00 <gmaxwell> midnightmagic: yea, the default tests are perhaps a bit long on slow hosts.
166 2015-01-01 14:55:59 <wumpus> while developing my asm implementation for ARM I had also scaled down the # iterations for the bench, it sacrifices some precision but sometimes you only need a ballpark number
167 2015-01-01 14:56:44 <gmaxwell> really only so many are needed on x86 because its so fast and system noise dominates if your test only runs for 1 second. :P
168 2015-01-01 14:57:13 <Diablo-D3> gmaxwell: yeah, a test should run for at least 60 seconds
169 2015-01-01 14:57:23 <Diablo-D3> just so it drowns out noise from typical human time lengths
170 2015-01-01 14:57:24 <wumpus> btcdrak: IMO the build instructions are about as concise as it gets without sacrificing completeleness, but you're welcome to try
171 2015-01-01 14:57:46 <Diablo-D3> gmaxwell: why don't you just continue running the test until x time has elapsed
172 2015-01-01 14:58:14 <Diablo-D3> and to minimize noise from gettimeofday, only check every 1k or 10k or w/e iterations
173 2015-01-01 14:58:49 <wumpus> you could do a small run first, scale the time to that
174 2015-01-01 14:59:05 <wumpus> that also helps pre-seeding the caches
175 2015-01-01 15:01:12 <Diablo-D3> in during #bitcoin-dev improves testing to cross off "develop more software" on our new years revolutionist list
176 2015-01-01 20:30:49 <michagogo> Erm
177 2015-01-01 20:31:10 <michagogo> Why does v0.10.0rc1 that I have running know that the build date is 2014-12-23 20:14:37 +0100?
178 2015-01-01 20:33:30 <michagogo> erm
179 2015-01-01 20:33:52 <michagogo> that's 13 minutes before the tag?
180 2015-01-01 20:33:53 <michagogo> o_O
181 2015-01-01 20:35:16 <michagogo> Shouldn't that say 2013-06-01 00:00:00?
182 2015-01-01 20:35:29 <michagogo> ACTION is confused
183 2015-01-01 21:01:34 <JWU42> trying QT on my win desktop (latest RC) and had it crash and now I see (in bottom left hand corner) "No block source available..."
184 2015-01-01 21:01:46 <JWU42> nothing that looks horrible in debug.log
185 2015-01-01 21:02:08 <michagogo> JWU42: give it a couple minutes
186 2015-01-01 21:02:21 <michagogo> it can sometimes take a bit of time to find peers
187 2015-01-01 21:02:28 <JWU42> it has 8 peers
188 2015-01-01 21:02:32 <michagogo> erm
189 2015-01-01 21:02:56 <JWU42> ACTION knows bitcoind so-so  just haven't used the QT on a desktop for a long time
190 2015-01-01 21:02:57 <michagogo> I thought "no block source available" usually means no peers
191 2015-01-01 21:03:04 <michagogo> maybe I had it wrong
192 2015-01-01 21:03:08 <JWU42> I wasn't sure and thought the same
193 2015-01-01 21:03:23 <JWU42> I think the DB got fubared during the crash
194 2015-01-01 21:03:50 <JWU42> stuck at 319705
195 2015-01-01 21:03:53 <JWU42> so close
196 2015-01-01 21:04:18 <michagogo> https://github.com/bitcoin/bitcoin/blob/e5153095ea410dd07770c0327447856488bfd137/src/qt/bitcoingui.cpp#L657
197 2015-01-01 21:04:22 <michagogo>             // Case: not Importing, not Reindexing and no network connection
198 2015-01-01 21:17:44 <hegemoOn> happy new year to everyone :)
199 2015-01-01 21:33:16 <JWU42> deleted peers.dat and that error message is gone
200 2015-01-01 21:33:36 <JWU42> seems there is still some underlying DB issue
201 2015-01-01 21:36:48 <michagogo> JWU42: did you delete it, or move it out?
202 2015-01-01 21:37:10 <michagogo> If something's wrong with it, maybe analyzing it would have been useful
203 2015-01-01 21:37:19 <michagogo> (just guessing... no idea, really)
204 2015-01-01 21:49:28 <JWU42> no change though  still stuck
205 2015-01-01 21:50:07 <JWU42> guess I'll delete the blocks and start fresh
206 2015-01-01 23:10:47 <xabbix> If my client is fully synced with txindex=0, when I turn txindex=1 I'm required to reindex block data, does this mean that all block/tx data currently existing will be deleted and sync will begin as if I just started the client for the first time?
207 2015-01-01 23:11:06 <gwillen> xabbix: reindex doesn't mean redownload
208 2015-01-01 23:11:10 <gwillen> it will keep the blocks it already has
209 2015-01-01 23:11:21 <gwillen> it just has to reprocess them all
210 2015-01-01 23:11:30 <xabbix> awesome, thanks.
211 2015-01-01 23:58:58 <xabbix> Can I get information ONLY about my wallet transactions via the gettransaction command? Even if I have set txindex=1?