bitcoincore development – What does the Bitcoin Core linearize script do? What use cases would make use of it?


What does the Bitcoin Core linearize script do? The Bitcoin Core docs state it will:

Construct a linear, no-fork, best version of the Bitcoin blockchain.

By “linear, no-fork” blockchain does that mean throwing away orphan/stale blocks (blocks that were successfully mined but didn’t make it into the blockchain due to competing mined blocks)?

What use cases would make use of this linearize script?