log☇︎
100800+ entries in 0.037s
asciilifeform: (and with , i picture, much better detail than stock trb's log )
asciilifeform: and yes, if you want to debug, you gotta log. don't think the enemy doesn't log your plaintext.
asciilifeform: these are the smallest, by far, problems
asciilifeform: ben_vulpes: what's that do
asciilifeform: but this is a laugh.
asciilifeform: can ~infer~ , ~sometimes~, yes.
asciilifeform: and in response to what.
asciilifeform: or what was sent, and to whom
asciilifeform: but also, we never learn what came in , and from where
asciilifeform: and not only truncated (why?!) txid
asciilifeform: not only timestamp is missing, also
asciilifeform: ben_vulpes: as is screamingly obvious from the earlier thread with mircea_popescu -- the debug log is terrifyingly inadequate for ~any serious work
asciilifeform: but i will leave this to other folx for nao
asciilifeform: what the thing really needs is 'indicator lamp', i.e. a field in getstatus that shows last event that happened on each wire.
asciilifeform: yes, because you go on a month's voyage and come back to 0 clue.
asciilifeform: there is no prioritization because of trb's fundamentally idiotic uniprocess socket handling. ( if there is no preemption - there can be no meaningful prioritization ! ) ☟︎
asciilifeform: (i was unable to think of any reasonable way around this. if you silence the whine, you will never know that your wire peers dropped.)
asciilifeform: in fact if the peer on the other end of the wire goes down, you will get multi-MB whine in your log.
asciilifeform: the one thing you are guaranteed is that your node won't perma-drop the wire.
asciilifeform: now it is also important to understand the limitations of the current wires patch. there is ~no~ prioritization .
asciilifeform: and if you have a trb built with wires, it is 10min work (on client end), 10 seconds on the master.
asciilifeform: imho the Right Thing is, each node is wired to a handful of serious people.
asciilifeform: ( ideally this won't end up a star topology around this 1 poor box !! )
asciilifeform: congrats to ben_vulpes , the first d00d to request , and be issued, a wire to dulap.
asciilifeform: in pygmystan, they have not invented writing yet, gotta retell same yarn again and again and... again. we -- have writing.
asciilifeform: mrottenkolber: could try reading the logs
asciilifeform: !!up mrottenkolber
asciilifeform: evidence, evidently, is something to demand of mr.t only ) ☟︎
asciilifeform: (i don't recall seeing a 'ru mega-hack accusation ... no evidence' in the beobachter.
asciilifeform: meanwhile, völkischer beobachter entertains, https://archive.is/XajR5 << 'President Trump on Saturday angrily accused former president Barack Obama of orchestrating a “Nixon/Watergate” plot to tap the phones at his Trump Tower headquarters last fall in the run-up to the election .. no evidence ...'
asciilifeform: digested, as per the log, more or less immediately
asciilifeform: btw mircea_popescu your node spent ages trying to ~get hold of~ 419221. not to digest it.
asciilifeform: hence 'wires' etc.
asciilifeform: who don't ~have~ it.
asciilifeform: they're pseudos
asciilifeform: because - i dare say - they ain't nodes
asciilifeform: never gets.
asciilifeform: you see exactly what i described -- your node asks, and asks, and asks peers for it
asciilifeform: and if you grep this for 00000000000000000136 , guess what
asciilifeform: can only estimate, like archaeologist using carbon14 decay..
asciilifeform: 'recently' is a poor choice of word, i cannot say exactly when.
asciilifeform: ^ for convenient reading
asciilifeform: http://nosuchlabs.com/pub/wtf/1000000_since_419373.txt
asciilifeform: but interestingly, quite recently was able to reconnect to the 'first connected to' node, the idiocy i described yesterday, and sync just a bit.
asciilifeform: ~that~ was where the thing sat stalled, for eons
asciilifeform: mircea_popescu: there are 1955176872 lines of debug.log between block 419220 and 419221
asciilifeform: mircea_popescu: here, have some lulz:
asciilifeform: i have nfi in what shithole today anyone likes the americans.
asciilifeform: бНОПНЯ ВХРЮК
asciilifeform: aaa india
asciilifeform: phf: most of today is re mircea_popescu showed a trb node that's been wedged, in a peculiar way, since july. but the l0g will still be there later.
asciilifeform: phf: nothing is missing, you can go back to meditation cave if you like
asciilifeform: phf: he uploaded entire blk0036 in the end, see l0gz
asciilifeform: also the recipe is pretty simple. gpg over the pubkey and you're golden.
asciilifeform: i'll be around for most of tomorrow yea
asciilifeform: (if you ~only~ requested by height, anyone could put you on 1way voyage to pluto and you'll stay there.) ☟︎
asciilifeform: but ought to be able to ~sometimes~
asciilifeform: i did not say that it ought to request by height at all times.
asciilifeform: this is entirely tru
asciilifeform waits for gunzip
asciilifeform: 'lost connectivity' can mean blackhole, for this purpose.
asciilifeform: checksum pass btw.
asciilifeform: readwholethingplox
asciilifeform: lessee if mircea_popescu's l0g is consistent with above
asciilifeform: (82.7 MB/s) - “debug.wow.txt.gz” saved << aaah
asciilifeform: mircea_popescu: meanwhile i solved it with anal telekinesis !!111
asciilifeform: whipping to death, and throwing to dogs, is all things considered a merciful reward for someone who designs a system like this.
asciilifeform: clinch is : getheaders ALSO WANTS A HASH as starting point ! ALSO won't work by height !!
asciilifeform: which you are expected to do (because he was dropped as a child) using either a bastard's header, recursively as discussed earlier, or 'getheaders'
asciilifeform: to request a block from a peer, you have to somehow find out its header hash
asciilifeform: none!
asciilifeform: and i'll repeat, tardoshi offered NO way to request blocks BY HEIGHT !!
asciilifeform: the network has rotten to the point, where it probably is.
asciilifeform: and yeah this ought not to be necessary. but i suspect that it -- is.
asciilifeform: at this point i will recommend that -- when everyone has satisfied himself that 'wires' work -- every trb node oughta be wired to at least 1 known trb node
asciilifeform: i'll add that 'week' is merely a guess, from my arse; perhaps a couple of hours is enough, under the right circumstances ( idiot peers + sufficiently many blocks made in interval )
asciilifeform: though mircea_popescu's wedge is preventable, what trb really ought to do is start sending http://btc.yt/lxr/satoshi/source/src/main.cpp?v=makefiles#1735 to all peers, starting with any 'wires' if present, whenever it goes for >1hr without a new block
asciilifeform: tardoshi's block fetching mechanism is profoundly, inexperessibly retarded, and cannot be substantially changed without breaking protocol
asciilifeform: (whether succeeds will depend 100% on who the thing ends up connecting to on boot )
asciilifeform: : the idiot specialcase -- will trigger.
asciilifeform: this is also why mircea_popescu rebooting the node, will almost guarantee to bring it to life
asciilifeform: and, notice, it asks first-chance-strangerfuck for the blocks-from-genesis.
asciilifeform: tardoshi had a motherfucking SPECIAL CASE for 'i'm a new node'
asciilifeform: trinque: like this, http://btc.yt/lxr/satoshi/source/src/main.cpp?v=makefiles#1735
asciilifeform: it never asks anybody else !
asciilifeform: note that ProcessBlock() only ever asks ~the bastard-supplying peer~ for the bastard's prevblock. ☟︎
asciilifeform: ( and with each new block mined, this depth is 1 deeper ! )
asciilifeform: dollars to doughnuts, it lost connectivity for a week or two. at which point the necessary bastardry-recursion depth became longer than any of his node's peer's typical uptime.
asciilifeform: btw i am now nearly certain re what happened to mircea_popescu's box
asciilifeform: this routine is inherited from tardoshi btw, i did not invent it.
asciilifeform: it is also why i did not give bastardry a ban score !
asciilifeform: (it's effectively recursive. when bastard comes in, we ask for its predecessor. which, if it is also a bastard to us, triggers same process. ad infinitum, until we get the thing we actually want, which is our next block )
asciilifeform: btw mircea_popescu et al , is it obvious how http://btc.yt/lxr/satoshi/source/src/main.cpp?v=makefiles#1364 works ? or do i need to explain
asciilifeform: laters then
asciilifeform: let's see if anyone answered . gotta see the log.
asciilifeform: trb's response to an orphan is 'tell me mybestheight+1th block DAMNIT'
asciilifeform: likely, by a prb.
asciilifeform: and every time, it was refused.
asciilifeform: http://btc.yt/lxr/satoshi/source/src/main.cpp?v=makefiles#1358 << current mechanism.
asciilifeform: it still happens, see the quoted src