asciilifeform: another tickle : what'll happen if someone were to mine a block that 1) has a coinbase equal to one of these magical coinbases + 2 ) spends same ?
asciilifeform: unless it was in ye olde otc or whatever folx inhabited in the olden dayz.
asciilifeform: i suppose in the one where nobody revalidates the chain, ever ?
asciilifeform: even the comment on ln 756-7 is nonsensical, 'This is only possible if this transaction was completely spent, so erasing it would be a no-op anway.' in what universe is erasing the ancestor of a valid tx a 'no-op' ?
asciilifeform: whereas it was not, but merely papered over.
asciilifeform: i read the code, again and again, and it would seem like 968-984 is the whole of the crutch. and in classic nsa style, the comment misdirects the reader to think that the 'bug' was 'fixed'.
asciilifeform: a reorg will remove the overwritten tx entirely
asciilifeform: mircea_popescu: also it is not clear to me that reorgs actually handle this case
asciilifeform: sooo per my reckoning, you can have sane-trb-indexer, but now every tx gotta have a field for 'was replaced?' -- and if bit is set, indexer goes and looks at the collision table, the previous lookup now 'didn't count'
asciilifeform: now you have mutilated the history. entirely legally.
asciilifeform: also it is not clear to me that trb ever... worked, in the customary sense of the word. what, for instance, happens if you actually carry out the -- entirely legal per all known btctrons -- replacement of a ~spent~ coinbase tx ?
asciilifeform: but possibly now mircea_popescu sees what asciilifeform meant by 'trbi is much EASIER problem than working-trb'
asciilifeform: the way i read ln. 968, miners TODAY are apparently more than welcome to create a duplicate coinbase, so long as it is a dupe of a ~spent~ coinbase.
asciilifeform: (making the id entirely worthless, and dragging in the worst of both worlds, you now ALSO have to remember the position. why not ONLY store the position ?!)
asciilifeform: the 'unless spent' is riotously idiotic, it means that a txid does NOT, even today, guarantee to uniquely identify a tx.
asciilifeform: so if you make a 'tx that has same hash as ANY known tx to date which != this tx' you have broken the pistol, forked from the old semantics.
asciilifeform: and the 'unless those are already completely spent' thing substantially complicates, if not prevents, a sane indexing scheme
asciilifeform: but it only applies the rule after certain timestamp of block
asciilifeform: this is not an original discovery, there's a magic case for it in trb
asciilifeform: and that replacement of 'spent' tx is even permitted still.
asciilifeform: and are cemented into the 'grandfather's pistol'
asciilifeform: mircea_popescu: not related, but gotta ask before mircea_popescu goes back to sleep, (believe or not) i just today noticed that duplicate coinbases actually existed.
asciilifeform: this is not unlike to say that 'if the only response tumour cell encounters in the organism is an army of killer tcells, there can be no cancer.' well yes.
asciilifeform: the folx who had 0 to do with disassembling su
asciilifeform: or 'resistance through culture' in mircea_popesculandia
asciilifeform: has to do with the observation re kitchen intellectuals
asciilifeform: 'female state' will go away when physically disassembled, not by effort of folx talking, for and against.
asciilifeform: asciilifeform for instance went for years reading ~no noose at all.
asciilifeform: this was actually what was in my head when qntra first appeared, 'why do this'
asciilifeform: mircea_popescu: there was a name for this, 'kitchen intellectuals'☟︎
asciilifeform: but mircea_popescu is stingy re the concretes, and asciilifeform likes concretes.
asciilifeform: i won't argue ' asciilifeform knows Moar Fact from reading völkischer beobachter than mircea_popescu from spy network ', that'd be riotously stupid