mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 05:32:22 +02:00
Instead of treating the descriptor ID as something which has a meaning which can be verified, treat the ID read from disk as some opaque blob used solely to identify and tie together specific records from disk. This removes the usage of the ID for duplication checks or comparison, and removes the check that the read ID matches a computed ID. When writing new descriptors to disk, the ID is still calculated from the old Descriptor ID method for backwards compatibility. But this fact is opaque to all further usages of the ID.