Global Feed Post Login
Replying to Avatar jb55

did you know you can get the bitcoin whitepaper from your pruned node? Its stored in the utxoset permanently. Heres a one liner i created to extract it

seq 0 947 | (while read -r n; do bitcoin-cli gettxout 54e48e5f5c656b26c3bca14a8c95aa583d07ebe84dde3b7dd4a78f4e4186e713 $n | jq -r '.scriptPubKey.asm' | awk '{ print $2 $3 $4 }'; done) | tr -d '\n' | cut -c 17-368600 | xxd -r -p > bitcoin.pdf

This is why we prefer people use large OP_RETURNs instead of 947 outputs that can’t be pruned. OP_RETURNs are probably unspendable so they will never end up in your pruned nodes utxoset.

They also produce smaller blocks than inscriptions. Unfortunately they are 4x more expensive… but lifting the filter restriction is one small thing we can do to encourage it over other options that are much worse for bitcoin spam-wise.

You definitely don’t want illegal, unprunable stuff in your utxoset permanently, which is why i am running core v30 to do what i can to disincentivize this spam.

Avatar
jb55 3mo ago

This one line also destroys the contiguous data argument. for loops aren’t hard.

Reply to this note

Please Login to reply.

Discussion

Avatar
ynniv 3mo ago

the contiguous argument has always been absurd because it presumes that you have sophisticated tools to extract an output, but not simple ones to combine the results

Thread collapsed
Avatar
MrTea 3mo ago

Spoken like a true lawyer … err never mind

Thread collapsed