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
Currently, it's possible to replay duplicate utxos on separate networks. If we make the hashes require the network, this will enforce unique signatures per network.
The text was updated successfully, but these errors were encountered:
Description
---
Add a lazy static value that allows us to access what the current
network is globally, so we can use the network byte to create network &
domain-specific hashers.
Motivation and Context
---
This prevents the spending of duplicated UTXO's across networks as the
hashes would compute differently based on the network byte.
Closes: #5652
How Has This Been Tested?
---
CI
Breaking Changes
---
- [ ] None
- [x] Requires data directory on base node to be deleted
- [x] Requires hard fork
- [x] Other - Please specify
This will invalidate all previous hashes on the network, and require
both a network reset, with full data directory deletion.
Currently, it's possible to replay duplicate utxos on separate networks. If we make the hashes require the network, this will enforce unique signatures per network.
The text was updated successfully, but these errors were encountered: