assumeutxo: Deserialize trailing byte instead of Txid
From the core#29612 review:
nit: I think this should check that the stream is completely empty, no? I suspect that a trailing byte will be left undetected, so it may be better to deserialize a std::byte here?
https://github.com/bitcoin/bitcoin/pull/30167/changes/1f1f9984555d49f07ae20cb3a8153a177c546beb
assumeutxo: Add network magic ctor param to SnapshotMetadata
This prevents SnapshotMetadata from using any globals implicitly.
test: Add coverage for txid coins count check when loading snapshot