asciilifeform: at no point did asciilifeform make a physical 'pile' to determine the correct answer, it was arrived at on paper, with pen
asciilifeform: the choice is constrained by the peak & avg. drains of the other components
asciilifeform: asciilifeform, drawing up FUCKGOATS, had to pick what voltage regulator to use, they come in wide variety of max & peak voltage and current ratings
asciilifeform: fails because did not pray to vishnu correctly ?
asciilifeform: why does he fail, if not from refusing to agree to a verifiable expectation of correct function ?
asciilifeform: then mircea_popescu's 'serious engineer' includes docker rat
asciilifeform: what does 'serious engineer' even mean, if not 'cares about this'
asciilifeform: at the design stage, there is an expectation, engineer knows in advance that if the thing buckles under any number of tanks that its surface might contain: stalin will shoot him
asciilifeform: shifting from a conceptual to a present 'this is the bridge you have, motherfuckers, drive' is dirty thinking.
asciilifeform: that's called an african pile of shit, or, charitably, 'junkyard wars' contest. not engineering.
asciilifeform: bridge holds 100 tanks indefinitely, or 500 for 30 minutes. is an expectation.
asciilifeform: failure is not a defined concept absent expectations.
asciilifeform: however ! looks like we ~do~ have a fixed-size element: the script.
asciilifeform: (there is no way to demonstrate the destruction of coin in any permanent way, so this tx will remain relevant for so long as bitcoin marches along)
asciilifeform: otherwise, as mircea_popescu said, nodice.
asciilifeform: phf: no, see, you gotta know max size to make array.
asciilifeform: mircea_popescu: if you haven't guessed, i have an incomplete one here (currently calling in my head 'nqb', 'not quite bitcoin') and was trying to adapt it to the very simple task of eating the existing blocks and parsing out the tx.
asciilifeform: and it is possible to compute a mintx.
asciilifeform: because block header tells us tx count.
asciilifeform: now on the other hand, it may be possible to calculate max tx size IN GIVEN block
asciilifeform: this is pretty monstrous, it means that if you want no-heap (proper adatron) handling of tx, you gotta preallocate 1MB for EVERY SINGLE ONE when reading'em
asciilifeform: and any other size you want, below that.
asciilifeform: (and given that the scripts can be -- each -- individually anything up to 10000 -- you can have, theoretically, 1MB tx)
asciilifeform: where i is the number of inputs, and o -- of outputs.
asciilifeform: the equation i've come up with, is --assuming all scripts occupy their maximal size, 10000 bytes-- : 14+i*(10043)+(10011)*o
asciilifeform: ( for a certain purpose i need to calculate the max bytefootprint of a tx )
asciilifeform: anybody know where ? or are they capped strictly by the block cap
asciilifeform: unrelatedly, i have combed trb src for a cap on tx input and output maxima, and found none
asciilifeform: ah in usa for some reason these called 'sybian', after one common brand
asciilifeform: as i currently understand, both x and y would have to be valid tx, for anything to happen (if y is invalid, it will not be mined).
asciilifeform: mircea_popescu: the obvious interesting sequel to the q, is what would be the first symptom of a colliding pair of tx having been fired.
asciilifeform: just as i described for 'tx vs larval-tx' disjunction.
asciilifeform: given that a tx is >256bits long, these pair necessarily exist.
asciilifeform: mircea_popescu: all you need is an x, y, x!=y, where sha256(sha256(x))==sha256(sha256(y)), and x is a valid tx
asciilifeform: nobody but mircea_popescu , hence the q
asciilifeform: mircea_popescu: unrelatedly, didja ever calculate what would happen to trb (or for that matter prb) if one were to produce a colliding txid ?