You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge bitcoin#28669: test: check assumeutxo file for changed outpoint index + de-duplications
d322368 test: De-dublicate/optimize assumeutxo test for further extensions (Fabian Jahr)
0a576d6 test: check au file with changed outpoint index (Fabian Jahr)
Pull request description:
Also doing some de-duplications. I kept the second commit separate for now as I am not 100% if this is overdoing it and makes it harder to reason about. But it also makes it easier to add more cases where we change more data.
ACKs for top commit:
maflcko:
lgtm ACK d322368
achow101:
ACK d322368
Tree-SHA512: be950a34b0ed50cb58459df47cff6513df19d834bf81815572cd26b10dee26e6f80866f0c44023cf246aafbbd256e62d23ce903e8b07fdff2297bc7065799bb8
expected_log=f"bad snapshot - coins left over after deserializing 298 coins"ifoff==-1elsef"bad snapshot format or truncated snapshot after deserializing 299 coins"
assert_raises_rpc_error(-32603, "Unable to load UTXO snapshot", self.nodes[1].loadtxoutset, bad_snapshot_path)
93
+
expected_error(log_msg=f"bad snapshot - coins left over after deserializing 298 coins"ifoff==-1elsef"bad snapshot format or truncated snapshot after deserializing 299 coins")
94
+
95
+
self.log.info(" - snapshot file with alternated UTXO data")
0 commit comments