Bitmask Sighash Modes

Allow arbitrary, miner-rewritable bitmasks of transaction inputs and outputs.

Principal Investigator: Glenn Willen

The new CHECKSIG2 operator allows arbitrary, miner-rewritable bitmasks of inputs and outputs. This allows for more complex contractual pre-commitment schemes, such as signed offers with change in a distributed asset exchange.