a111: Logged on 2017-02-25 23:22 mircea_popescu: basically nodes are the digital equivalent of women : men fuck them so the state can have babies. hurr durr, pill plox.
a111: Logged on 2017-02-25 23:39 mircea_popescu: you could, in theory.
mircea_popescu: provisioning nodes on the basis of "the minimum number needed" is insanity.
jhvh1: BingoBoingo: Bitstamp BTCUSD last: 1142.22, vol: 6191.70566313 | BTC-E BTCUSD last: 1128.554, vol: 5174.1881 | Bitfinex BTCUSD last: 1142.1, vol: 17915.48912693 | BTCChina BTCUSD last: 1092.001456, vol: 4756.02690000 | Kraken BTCUSD last: 1140.23, vol: 2321.4936139 | Volume-weighted last average: 1133.52004477
deedbot: sdfsdfasdf voiced for 30 minutes.
deedbot: mark_00123 voiced for 30 minutes.
deedbot: btcreal voiced for 30 minutes.
mircea_popescu: "A 17-year-old transgender boy won a Texas state girls wrestling title on Saturday".
mircea_popescu: also cnnleaks.com if anyone still somehow gives a shit about the fake media orgs.
mircea_popescu: also, apparently trump will not invite un security council to wh gagglemeets either. nor the correspondents dinner.
a111: Logged on 2017-02-21 22:51 asciilifeform: phf's logger swallows without burping
a111: Logged on 2016-12-03 01:35 phf:
http://btcbase.org/log/2016-09-28#1549612 << so normal action is ^AACTION ... ^A, turns that when the line is too long it gets cut off (which is normal behavior) but in case of action none of client seem to do the regular split, meanwhile the irc server cutsoff terminating ^A, which breaks most parsers (including mine)
phf: since then fixed on btcbase
mircea_popescu: "ProcessBlock (res == 1) took : 167839ms; db write wait: 130117ms; db read wait: 21201ms" lelz
a111: Logged on 2017-02-24 22:24 asciilifeform: there are no substantial 'other large parts', detectably
mircea_popescu: the problem with prb is that it's run by a specific sort of retard.
mircea_popescu: that specific sort of retard is specified as follows : "i heard about bitcoin yesterday, and i have a solution!".
mircea_popescu: "i observed something on three blocks on one machine and here's the 100% conclusion ; tune in tomorrow for another one that a) fails to reference how i was wrong yesterday or address why and b) offer another 100% plus measures to be taken" is entirely undistinguishable.
mircea_popescu: you just said this ; yourself ; above. in discussing "type 1" you are engaging in pure nytimes-ism.
mircea_popescu: and this isn't the first time we run into the problem of ... let's call them sloppy run "experiments". but the second, this week.
a111: Logged on 2016-12-29 23:20 asciilifeform: type2 ( pete_dushenski's ) is the garden variety shitflood. which is sometimes solved by ip ban, but only in the case of 'shrapnel addressed to occupant', i.e. idiot prb nodes wildly spamming crapolade, and not in the 'bullet with your name on it' case, where somebody actually has a sybil constellation drowning your trb node in liquishit, with no SINGLE ip misbehaving in any way
mircea_popescu: which can be briefly summarized as "alf : omg all blackhole is disk wait for db ; mp : thatr's a factor, there's more" repeated a dozen times.
mircea_popescu: and i'll point out that the problem here isn't the work, or the thought, but the fucking packaging. you get overexcited and oversignal. it detracts from very valuable stuff.
mircea_popescu: now then : a fix for the db would significantly improve a few classes of block verification delays ; and it would alleviate blackhole-like behaviour due to that, node's frozen checking a new block. there's at least 3 different dos vectors for other nodes, and a) the foregoing wouldn't help ; b) if it helped the enemy could easily upregulate the crapflood to compensate.
☟︎ mircea_popescu: the other problem is that a good db fix is a very large project, because bitcoin is written insanely. and our fs db isn't moving, last i heard a month ago someone was going to try and profile an extx
☟︎ mircea_popescu: there is that. perhaps a better indexing scheme could be had. hence the fucking symlinks
mircea_popescu: but your file = block (in the fs sense) = block (in bitcoin sense)
mircea_popescu: but i have nfi whether this is even feasible, because this'd be step 2, after the "hey, what happens if you fill a disk with symlinks" EXPERIMENT returns some fucking results.
mircea_popescu: but the reason it's mired in "first, experiment, profile" is because this is EXACTLY the sort of thing which should theoretically work out of the box on a modern nix, and ABSOLUTELY never does, at all. central lizard fodder.
mircea_popescu: if it works on ext4 it can be implemented on fucking tape.
mircea_popescu: there is that. i'm just saying, you can have nonrewritable media, whatevs.
mircea_popescu: yes, but blocks once written don't change. that's the non-rewritable part.
mircea_popescu: and there's actually some benefit for the network not even physically being capable to accept reorgs deeper than x.
a111: Logged on 2016-12-19 18:18 ben_vulpes: asciilifeform: if martians produce longest chain with greatest difficulty i think by the rules of the game they own bitcoin
mircea_popescu: there's a difference between extension and reorg, however.
mircea_popescu: one's like "you were in a coma for the past thirty years, here's what happened that you don't remember" ; the other's like "you had a hallucinatory episode, your history for the past x period is bad and you'll have to rewrite it".
mircea_popescu: the one during the original split with the idiots who were there baptised as power rangers
a111: Logged on 2013-05-13 22:39 mircea_popescu: it's screwed wtf.
mircea_popescu: asciilifeform no, this is the one where the idiot miners "updated" and then the update failed and then usgavin gave them some of the bitcoin usg stole to compensate for the lost mining.
mircea_popescu: and then the usual usgtards were all over "oh, wow, you broke it and then you were "right on it and omg fixed it you're like power rangers" and so...
a111: Logged on 2017-02-26 19:26 mircea_popescu: now then : a fix for the db would significantly improve a few classes of block verification delays ; and it would alleviate blackhole-like behaviour due to that, node's frozen checking a new block. there's at least 3 different dos vectors for other nodes, and a) the foregoing wouldn't help ; b) if it helped the enemy could easily upregulate the crapflood to compensate.
a111: Logged on 2017-02-26 19:14 asciilifeform: the 'type 2' (non-verification) blackhole goes right back to the fundamental question of 'something to all comers', how much disk thrashing does a derp get to invoke simply by coming up with a not-yet-banned ip and a pseudonode.
mircea_popescu: we aren't actually following a purpose here, like "have a good bitcoin". we're merely proceeding from cause : db is broken and THEREFORE must be fixed. not BECAUSE it would bla bla ; but therefore.
mircea_popescu: in this sense your house is broken design, randos could tp it every hour.
mircea_popescu: so give it some time, it just got released like two days ago
jurov: asciilifeform: have you tried to merely neuter fsync?
jurov: fsync waits on data to be written to disk. and with all modern filesystems, this means flushing all kinds of metadata. too
jurov: fsync is only remotely related to journal
jurov: random corruption happens only if power is yanked
jurov: you can stop the daemon every day, call sync and backup the db, and start it. max 24hrs of work lost.
jurov: using spinning rust is not a cheap hack?
a111: Logged on 2017-02-19 03:54 asciilifeform: (iirc we had a thread where i described how corporate ameritards, if given a problem like phuctor, would happily soak up a few $mil and megawatt of iron)
jurov: You run some service that needs five-nines availability? I'm fine with some of my nodes being down for few minutes to have known-good state backed up.
jurov: what 400 GB? who said you have to copy whole blockchain every time?
jurov: "entire fs is subject to random rot if my app won't checkpoint its files by calling fsync all the time" is NOT true. where did you get such silly notion?
jurov: waitwhat, it *writes* to old blk_... files?
jurov: if enemy can reorg half of your blk_files, some sync latency os least of your problems
jurov: no detection. unclean shutdown -> restore backup
mircea_popescu: there ~may~ be some optimizations that can be applied as-is to turn a jfs into something more appropriate for bitcoining than the "middle of the road" setting it ships with.
jurov: Suppose i shutdown bitcoind and backup .bitcoin using rsync (so that all files with recent mtime are backed up).. you say this won't work?
mircea_popescu: not necessarily in the sense of turning it off or altogether
mircea_popescu: index-in-ram is actually how you run a large, infrastructural like node.
mircea_popescu: jurov shutdown of node can readily take > 15 minutes ; and can't even be initiated if the node is, eg, in db lock because block eating.
mircea_popescu: asciilifeform i don't really do blockchain.info style "public support". i think i have the stuff somewhere, i'll have to dig for it. basically it's, blk* live on /sda ; blkindex.dat and friends live on /sdb which happens to be a ramdisk.
mircea_popescu: the paths are hardcoded to .bitcoin/ in stock satoshib, not the end of the world to change them
mircea_popescu: i will note that this is an expensive and unrewarding activity that i personally discontinued cca 2014.
mircea_popescu: no but i mean, a 30gb ramdisk node to support the general public's mistaken notions and unwarranted pretensions... meh.
mircea_popescu: this is why i say expensive, it's not a case of "random vps hur durr".
jurov: random bitfippage its purely your hallucination
jurov: but this will happen if, and only if, power is cut. if i sync once per day and backup the x, the backup will keep the x forever
jurov: this is unsolvable problem?
jurov: i said i do sync, then backup
jurov: this means x is safely on disk
jurov: i'll use another node. or you're supposed to have a precious one and only one?
jurov: yes, it will sit as a brick and i'm fine with it.
jurov: i'm still waiting for explanation how did you came to double digit downtimes.
jurov: you mean your disks are capable only 350kB/s read rate?
jurov: if enemy can cause 1TB of incrememntal data daily, then we failed miserably
jurov: and can trb live with terabyte tx index at all?
jurov: looky, i am just saying that right now it eats, say, a minute per block, which is 144 minute unreachability daily anyway. and am proposing short term tradeoff of having the unreachability shorted once per day.
jurov: i don't get why that bothers you so much
jurov: *shorter once per day
mircea_popescu: anyway, no the ramdisk thing doesn't work indefinitely, soon enough the block index will exceed the commodously available ram
jurov: asciilifeform et al.: @ -> ' at ' mailinglist mangling fixed (it was only HTML output, nothing else was mangled)
a111: Logged on 2017-02-26 19:26 asciilifeform: dbenv.set_cachesize(4, 0, 1); // 4GB of contiguous cache
mircea_popescu: this needs to run over many, as in thousands, of blocks.
mircea_popescu: it's been dead for about a year or so, but anyway, "oh i know, i'll make yet another fake wot website. because i'm a jew and we're fucking stupid congenitally." or some shit.
mircea_popescu: anyway, there's an old time bitcoin scammer that keeps pushing these