contrib/linearize: Guarantee that output is generated in-order
contrib/linearize: Guarantee that output is generated in-order

This was typically ensured implicitly by virtue of normal bitcoind
operation.  Adding an explicit check provides a stronger guarantee, and
it is cheap to add.

syscoin/syscoin,domob1812/crowncoin,syscoin/syscoin,Infernoman/crowncoin,syscoin/syscoin,Crowndev/crowncoin,Crowndev/crowncoin,Infernoman/crowncoin,syscoin/syscoin,domob1812/crowncoin,syscoin/syscoin,Crowndev/crowncoin,domob1812/crowncoin,domob1812/crowncoin,Infernoman/crowncoin,Crowndev/crowncoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,Crowndev/crowncoin,domob1812/crowncoin,Infernoman/crowncoin,Infernoman/crowncoin,Crowndev/crowncoin,Infernoman/crowncoin,domob1812/crowncoin