BIP147 minor error



Summary:

In a post to the bitcoin-dev mailing list, Sergio Demian Lerner pointed out a minor error in BIP147. The rule states that total sigop cost should be less than or equal to 80,000, but the code implements a different formula. This has led to an example of nSigOps = 1 and nWitSigOps = 79999 being flagged as an error by the code, even though it is not an error by BIP definition.


Updated on: 2023-06-11T04:32:20.620929+00:00