As discussed in issue #3. We currently use nub on-chain to eliminate potential duplicate signers, but this function has quadratic complexity. If we modify the off-chain code to always commit transactions with sorted and unique signers, we can replace the on-chain nub with a linear-complexity check that the list is sorted.
As discussed in issue #3. We currently use
nubon-chain to eliminate potential duplicatesigners, but this function has quadratic complexity. If we modify the off-chain code to always commit transactions with sorted and uniquesigners, we can replace the on-chainnubwith a linear-complexity check that the list is sorted.