New standard transaction types: time to schedule a blockchain split?



Summary:

Gavin Andresen, a prominent Bitcoin developer, suggests whitelisting the basic CHECKMULTISIG form, which he considers uncontroversial. He discovered a bug while writing a unit test and stepping through the CHECKMULTISIG code. The issue lies in line 797 of the code, where the variable 'isig' is incorrectly defined as '++i' instead of 'i'. As a result, CHECKMULTISIG expects one extra item on the stack. To work around this problem, Andresen recommends using a standard transaction type with a specific scriptSig and scriptPubKey format.


Updated on: 2023-05-26T20:33:04.238097+00:00