CompressedScript

This saves us from making many heap allocations when serializing and deserializing compressed scripts.

Synopsis

Declared in <compressor.h>

using CompressedScript = prevector<33, unsigned char>;

Description

This prevector size is determined by the largest .resize() in the CompressScript function. The largest compressed script format is a compressed public key, which is 33 bytes.