Author: Jeremy 2014-07-16 17:56:54
Published on: 2014-07-16T17:56:54+00:00
Jeremy Rubin proposed a new transaction type that matches on script hashes similar to pay to script hash but checks for one of N scripts. The motivation behind this idea is to create "permission groups" where multiple groups can spend a utxo. Currently, expressing this would require additional costs in terms of complicated control flows. Therefore, Jeremy proposed the use of OP_HASH160 [20-byte-hash-value 1]...[20-byte-hash-value N] OP_N OP_MULTISCRIPTHASHVERIFY which could be spent with signatures and serialized script. While the permission group example is just one use case, there could be other interesting combinations as well. However, there is an implication in terms of increased utxo pool bloat and increased transaction complexity. Each 20 byte hash allows for a 500 byte script, but only one of the 500 byte scripts has to be permanently stored on the blockchain. Jeremy is looking forward to feedback regarding this preliminary idea.
Updated on: 2023-06-09T01:01:53.596974+00:00