Open
Description
We need working reference databases to use for testing, just like we have chosen-text and chosen-cipher tests in cryptography, and we have chosen-text tests for serialization. This will ensure that a breaking change in the chainstate or wallet format will be detected by tests, instead of depending on the circularity of creating and testing wallets in unit tests.