Show Idle (>14 d.) Chans


← 2020-07-05 | 2020-07-11 →
08:01 jurov !w poll
08:01 watchglass Polling 12 nodes...
08:01 watchglass 205.134.172.27:8333 : Alive: (0.033s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=638284 (Operator: asciilifeform)
08:01 watchglass 205.134.172.26:8333 : Alive: (0.082s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=638284
08:01 watchglass 108.31.170.3:8333 : (pool-108-31-170-3.washdc.fios.verizon.net) Alive: (0.048s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=638284 (Operator: asciilifeform)
08:01 watchglass 205.134.172.4:8333 : (172-4.core.ai.net) Alive: (0.144s) V=70001 (/therealbitcoin.org:0.7.0.1/) Jumpers=0x1 (TRB-Compat.) Blocks=638284
08:01 watchglass 205.134.172.6:8333 : (172-6.core.ai.net) Alive: (0.157s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=638284
08:01 watchglass 208.94.240.42:8333 : Alive: (0.107s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=638284
08:01 watchglass 192.151.158.26:8333 : Alive: (0.182s) V=70001 (/therealbitcoin.org:0.7.0.1/) Jumpers=0x1 (TRB-Compat.) Blocks=638284
08:01 watchglass 143.202.160.10:8333 : Alive: (0.223s) V=70001 (/therealbitcoin.org:0.7.0.1/) Jumpers=0x1 (TRB-Compat.) Blocks=638284
08:01 watchglass 213.109.238.156:8333 : Alive: (0.398s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=638284
08:01 watchglass 188.121.168.69:8333 : (rev-188-121-168-69.radiolan.sk) Alive: (0.311s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=638284
08:01 watchglass 103.36.92.112:8333 : (terebe.ns01.net) Alive: (0.623s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=638284
08:01 watchglass 176.9.59.199:8333 : Busy? (No answer in 20 sec.) (Operator: jurov)
~ 2 hours 40 minutes ~
10:42 whaack It may be worth listing python2.7 as a required dependency here http://thebitcoin.foundation/trb-howto.html . I had trouble building boost with python 2.6.6 http://ztkfg.com/2020/07/building-trb-on-centos-69-notes-on-a-few-gotchas/
10:45 asciilifeform whaack: recall that jfw's variant removes 'rotor' build system (i.e. the item which auto-built all deps, incl. the correct gcc, boost & deps, etc.) afaik it is meant to use on his linux, where all of these items are already present.
10:55 jurov asciilifeform: but foundation's build does use rotor
10:56 asciilifeform aha
10:56 asciilifeform unless i misread, tho, whaack was using jfw's variant.
10:57 whaack yes, I was using jfw's variant
10:57 asciilifeform ( which, if built on anything other than musltronic linux, will give you a 'bad old days' dynamically linked bin, with unknown dysfunctions, depending on yer linux )
11:01 jurov For the record, I should mention that rotor needs glibc <2.28 on build system because it moved some include files which break the bootstraping of m4.
11:04 asciilifeform jurov: indeed it aint a 100% pill against arbitrarily broken build env. may have other sharp edges also. but does give reproducible bin when builds -- which a rotorless trb on arbitrary linuxen will not.
11:05 whaack Argh, I see. So perhaps it is a mistake to build trb w/ jfw's patch unless you are on a known environment.
11:06 asciilifeform whaack: it was specifically meant for use on his distro, is my understanding.
11:06 asciilifeform whaack: if you want his other patches but aint using his linux, you will have to manually fork.
11:17 whaack asciilifeform: I understand that jfw's patches are made for his linux (or atleast a "sane" environment) but I'm not sure what you mean about having to manually fork.
11:22 jurov asciilifeform: but the link http://ztkfg.com/2020/07/building-trb-on-centos-69-notes-on-a-few-gotchas/ implies jfw did in fact use rotor, he built it on centos 6.9
11:22 jurov where do you get the notion he ran bitcoind make directly on some musl system?
11:25 jurov whaack: thx for headsup, i'll dig some centos machine and try it
11:37 jurov ahh asciilifeform meant this: http://fixpoint.welshcomputing.com/2020/build-system-overhaul-for-bitcoind/
11:40 jurov it says explicitly "it makes both development and deployment much less painful, with a sane starting system as the price of admission."
11:43 jurov and centos isn't quite there
~ 17 minutes ~
12:01 asciilifeform right
12:01 asciilifeform removing rotor is Right Thing ~if and only if~ you already have a working musltronic linux.
12:02 asciilifeform (there's 0 point to it, simply burns cpu, if you already have the static libs, correct gcc, etc)
12:06 asciilifeform whaack: while yer tuned in, on tangent : it aint practical to 'make trb watch ALL addrs' as enumerated set. (would need a rather different data structure) but you don't actually need to , for block explorer. afaik all of the traditional ones were made simply via cutting up blocks and throwing into ordinary db -- for humans reading via www, it is generally fast
12:06 snsabot Logged on 2020-05-15 14:28:07 asciilifeform: guaranteed o(1) access.
12:06 asciilifeform enuff
12:08 asciilifeform whaack: fwiw i posted a while ago example block & tx parser in ada. imho illustrates the format adequately. for other langs there are examples on various www.
12:09 asciilifeform ( note however that my example does not do anything with scripts , other than storing'em )
~ 19 minutes ~
12:29 whaack asciilifeform: digesting the above, thanks
~ 31 minutes ~
13:00 whaack asciilifeform: Alright, let me see if I understand. (I haven't digested the ADA code, not knowing any ADA myself.) To make a block explorer, as the term is generally used, one needs to provide a way to lookup all txn's related to an address and that address's UTXO set, in O(1) or at least <2s time. One should also be able to give a txid (which is the same as a tx hash, right?) and receive the
13:00 whaack details of that txn. These two O(1) lookups are the block explorer's two main jobs. To do this, you essentially need to create new index's on trb's db. Had satoshi coded the thing sanely this may have been a real easy task / something that comes shipped with trb, but unfortunately that is not the case. There are two ways to go about creating the index for tx hash -> txn data. You could have
13:00 whaack another db monitoring trb. This db copies all of the txn data it sees in trb (we'll say 100 blocks deep to ignore reorgs) and creates an index on txn hash. Or you could potentially save space by not copying the txn data, and instead storing a map of (txn hash -> location-of-txn-data-in-trb) . And I understand you describe a plan for this last strategy in your above link.
~ 16 minutes ~
13:16 asciilifeform whaack: almost anything you try, is likely to work 9000x better in erry way than the original -- where he used lotsa variably-lengthed data structures, with variably-long fields, and stored'em verbatim
13:19 asciilifeform whaack: the reason i picked 'store compact/fixed-length indices to trb-style representations' is that it was intended to work as replacement for bdb in trb. (given as other nodes demand the traditional format, you gotta be able to obtain representation of arbitrary items in orig. form)
13:20 asciilifeform whereas if yer baking a www block-viewer thing, you can simply parse the orig. blocks and keep in whatever format you like (e.g. traditional sqlistic db)
13:20 whaack asciilifeform: right, that's my plan, using jfw's gbw-node as my starting point
13:21 * asciilifeform not read enuff of jfw's published item to know whether it contains 100% of the req'd pieces
13:23 asciilifeform iirc he had a generator which produced trb-style 'classical' tx, but not arbitrary eater for existing tx
13:24 asciilifeform whaack: in what are you writing yer proggy ?
13:26 whaack asciilifeform: it is still being planned, but i believe it will be a fork of gbw-node so python2.7
13:35 asciilifeform a
~ 6 hours 54 minutes ~
20:30 shinohai http://logs.nosuchlabs.com/log/therealbitcoin/2020-07-08#1000809 <<< not sure how I missed this, but neato asciilifeform
20:30 snsabot Logged on 2020-07-08 12:08:31 asciilifeform: whaack: fwiw i posted a while ago example block & tx parser in ada. imho illustrates the format adequately. for other langs there are examples on various www.
~ 1 hours 23 minutes ~
21:53 asciilifeform shinohai: was a '17 item, orig. published as tarball
21:56 asciilifeform shinohai: originally it ended up blocked on a gnarly gnat problem, since solved.
← 2020-07-05 | 2020-07-11 →