pull down to refresh
1 sat \ 1 reply \ @kilianbuhn 18 Mar 2022 \ on: I want to say signatures take up X% of the blockchain. Who can help me find X? bitcoin
Here is a link to the structure of a block: https://www.oreilly.com/library/view/mastering-bitcoin/9781491902639/ch07.html#:~:text=Structure%20of%20a%20Block&text=The%20block%20is%20made%20of,contains%20more%20than%20500%20transactions.
So there you can calculate the space that can be taken up by transaction. It gets difficult because not all blocks have only transactions in the payload.
Then you have to multiply with the byte sizes inside each transaction:https://www.oreilly.com/library/view/mastering-bitcoin/9781491902639/ch05.html
Unfortunately this can also vary...
Thanks, I did also end up there myself :p
I even found some python parsers online that do the jobhttps://github.com/ragestack/blockchain-parser
The difficult part actually is to parse the input script.
But in the end just asked https://twitter.com/0xB10C and he help me out. :X
https://transactionfee.info/charts/bitcoin-script-total-signature-size/