Open shesek opened 7 months ago
Bitcoin's consensus rules allows for output indexes larger than u16, which would result in an overflow prior to this fix.
This recently happened with a transaction on testnet: https://blockstream.info/testnet/tx/ca3b75556430e1adf9e9790bce9c73a3d9afdb42305588e64c65b258c06c05c9
Based on @junderw's https://github.com/mempool/electrs/pull/75. Thanks!
This PR branch is based on top of #67, which should get merged first.
Note that this change requires a full database reindex.
utACK 8a695383c7628acfd2b4ba84ca15b7acb4aed759, code review
Rebased.
Any ETA on merging this obviously necessary fix?
Bitcoin's consensus rules allows for output indexes larger than u16, which would result in an overflow prior to this fix.
This recently happened with a transaction on testnet: https://blockstream.info/testnet/tx/ca3b75556430e1adf9e9790bce9c73a3d9afdb42305588e64c65b258c06c05c9
Based on @junderw's https://github.com/mempool/electrs/pull/75. Thanks!
This PR branch is based on top of #67, which should get merged first.
Note that this change requires a full database reindex.