Adds a sortedmulti()
descriptor as mentioned in #17023 (comment).
sortedmulti()
works in the same way as multi
does but sorts the pubkeys in the resulting scripts in lexicographic order as described in BIP67. Note that this does not add support for BIP67 nor is BIP67 fully supported by this descriptor (which is why it is not named multi67()
) as it does not require compressed pubkeys.
Tests from BIP67 were added and documentation was updated.