Reduce blockchain size removing some verification scripts
Summary or problem description
We can reduce the blockchain size removing some Blocks.VerificationScript , when the verification script it's not present, it will be taken from the storage, so we can use this feature for reduce the blocks size. Also we can improve wallets in order to check if the verification script it's already stored.
Do you have any solution you want to propose? #1963
Neo Version
- Neo 3
Side note: out of 700 bytes of an empty preview3 testnet block 253 is a verification script. So for an empty block that's 36% of its size.
it was improved consensus messages too in #1963 , ~but they require a manual deploy of the verification script~
Side note: out of 700 bytes of an empty preview3 testnet block 253 is a verification script. So for an empty block that's 36% of its size.
This looks quite related @roman-khimov : https://github.com/neo-project/neo/issues/921
Kinda, but it's very problematic to me in that with this enabled you can't differentiate between dead network (as in CNs unable to produce a block) and network waiting for transactions. So it's important to have the network ticking even with empty blocks.
Also, it directly affects GAS distribution.