storage: option to index types of inner p2sh scripts
recognize type of multisig scripts with more than 3 keys