1 2018-01-07 00:40:48 <zw_> hello, in debug, updatetip lines have a version tag, what do these refer to
2 2018-01-07 05:06:41 <burtlo> i've got a wallet running, but it's frequently maxing out CPU even though my host has 6 cores. can someone explain, or point to more info about, the bitcoind options of "par", and/or help me understand how I can have my wallet run more efficiently?
3 2018-01-07 05:07:14 <burtlo> it's supposed to serve a faucet, but the faucet is often unable to get any attention from the wallet because the CPU usage is so high.
4 2018-01-07 06:37:55 <luke-jr> burtlo: is it sync'd?
5 2018-01-07 07:10:32 <burtlo> well, i _think_ so... it seems to be syncing all the time, by virtue of more and more transactions getting confirmed... is that what you mean?
6 2018-01-07 07:12:12 <burtlo> i'm tail-ing the debug.log, and there's a constant stream of activity: connecting, "trying to connect", "Relaying wtx", "Add to wallet", etc...
7 2018-01-07 07:12:21 <echeveria> Relaying wtx?
8 2018-01-07 07:12:30 <echeveria> you're running bitcoin from like, 2010.
9 2018-01-07 07:13:08 <echeveria> that log print literally hasn't existed since 2012, where on earth did you manage to find a client from 6 years ago?
10 2018-01-07 07:13:53 <echeveria> burtlo: long story short, the client software you have is uselessly old and won't ever be able to finish syncing.
11 2018-01-07 07:13:58 <burtlo> it was given to me
12 2018-01-07 07:14:14 <burtlo> 2012 from what i can see.
13 2018-01-07 07:14:35 <echeveria> yeah you might not want to take 'gifted' security critical software from half a decade ago :)
14 2018-01-07 07:14:36 <burtlo> i _do_ want to bring it up to modern, but i've been working with what i have so far
15 2018-01-07 07:14:47 <echeveria> ok, but that version is useless.
16 2018-01-07 07:14:48 <burtlo> thanks, echeveria, that's good to know, frankly
17 2018-01-07 07:14:54 <echeveria> it literally _can't_ ever finish syncing.
18 2018-01-07 07:15:34 <burtlo> #grimace #chuckle #smh
19 2018-01-07 07:19:14 <zw_> hi, i have a log qeustion actually -- whats 'version=...' refer to on new tip lines in debug.log
20 2018-01-07 07:19:49 <burtlo> zw_... is that question to me, or just in general?
21 2018-01-07 07:19:59 <zw_> in general
22 2018-01-07 07:21:04 <echeveria> well. it's logging the version.
23 2018-01-07 07:21:13 <echeveria> this shouldn't be surprising given the label.
24 2018-01-07 07:58:18 <molz> zw_, what does it show after "version"?
25 2018-01-07 07:59:13 <zw_> hex maybe
26 2018-01-07 08:00:58 <zw_> version=0x20000000
27 2018-01-07 08:01:18 <echeveria> it's the version of the block.
28 2018-01-07 08:01:27 <echeveria> again, this is very much in the label.
29 2018-01-07 08:02:36 <zw_> echeveria i don't understand what you're saying
30 2018-01-07 08:02:41 <echeveria> ok.
31 2018-01-07 08:02:48 <echeveria> it's a field called 'version'.
32 2018-01-07 08:02:56 <echeveria> it's printing the version of the block just accepted.
33 2018-01-07 08:03:06 <echeveria> just the same as in the name of the field. which is 'version'.
34 2018-01-07 08:06:35 <esotericnonsense> echeveria: could you please clarify? you seem to be stating that the version of the block is the version of the block, is that correct?
35 2018-01-07 08:07:17 <echeveria> esotericnonsense: depends on what version. in some versions the version is the version, you should be surprised if there's no version.
36 2018-01-07 08:07:36 <zw_> what
37 2018-01-07 08:07:44 <esotericnonsense> if only there existed a version number to alert you to these versioning issues
38 2018-01-07 08:08:38 <echeveria> maybe in another version.
39 2018-01-07 08:10:47 <echeveria> zw_: we're sort of running out of ways of describing this. the log print is literally just the version field in the block, printed out to you.
40 2018-01-07 08:11:19 <esotericnonsense> heh
41 2018-01-07 08:11:37 <esotericnonsense> the dictionary entry for 'version' I find hilarious for no apparent reason
42 2018-01-07 08:11:47 <esotericnonsense> 2. "a form or variant of a type or original"
43 2018-01-07 08:12:01 <esotericnonsense> like it's just tautologies all the way down
44 2018-01-07 08:12:50 <zw_> that is funny
45 2018-01-07 08:13:18 <molz> "When no soft forks are being signalled, miners should set the block version field to 0x20000000."
46 2018-01-07 08:13:34 <molz> https://bitcoincore.org/en/2016/06/08/version-bits-miners-faq/
47 2018-01-07 08:14:56 <zw_> nice, thanks molz
48 2018-01-07 08:34:46 <burtlo> so, pardon if this is ignorant, but i'm looking at the latest version of the bitcoin project, and i'm wondering if there is a discrete section of the code that deals with the specifics of the bitcoin coin itself. my hope is that it's within a narrow set of source files such that i can transplant what I have been given for this other coin. is this possible? i can't imagine that the specifics of BTC are peppered throughout the proj
49 2018-01-07 08:39:17 <burtlo> i see files such as: /src/qt/bitcoinunits.*
50 2018-01-07 08:40:20 <burtlo> ...or, if you know of any, docs on how the project is structured?
51 2018-01-07 08:58:42 <echeveria> burtlo: what's a bitcoin coin?
52 2018-01-07 09:02:07 <burtlo> that's my nomenclature, i guess, in that i call "bitcoin" a coin, as "ethereum" is a coin, and "litecoin", etc... how should i refer to them?
53 2018-01-07 09:03:56 <echeveria> you can call anything anything, but it doesn't help if nobody else does.
54 2018-01-07 09:04:21 <echeveria> the entire of the codebase is basically a definition of bitcoin.
55 2018-01-07 09:04:46 <burtlo> ok, understood
56 2018-01-07 09:05:02 <burtlo> i certainly want to speak in kind, so thanks for the education
57 2018-01-07 09:05:15 <echeveria> maybe take a look at something like the developer documentation.
58 2018-01-07 09:05:50 <echeveria> that'll give you a reasonable idea of a bunch of things. it doesn't sound like you're that familiar with it technically.
59 2018-01-07 09:06:10 <burtlo> i'll look again. i read to a point, but it got dense after a while. after reviewing things a bit, it'll be good to try again. thanks.
60 2018-01-07 09:07:26 <echeveria> if you have more specific questions I can answer them.
61 2018-01-07 09:09:20 <burtlo> thank you. i'll do my best to be more specific.
62 2018-01-07 09:09:27 <burtlo> ...and accurate
63 2018-01-07 09:11:00 <echeveria> it's not so much accuracy as you asked something that I'm not sure how to parse.
64 2018-01-07 09:12:24 <burtlo> kk