Currently, the multisig descriptor constructions are limited to 16 keys only possibly because of template parsing reasons. Under p2sh context, such scripts would be invalid anyway because of 520-byte rule, but we can support up to 20 keys for CHECKMULTISIG in witness script context. 


} else {
            if (was_optional) ret += ") ";
            was_optional = false;
        }
        ret += arg.ToString( true);
    }
    if (was_optional) ret += " )";
    ret += "\n";
    
    ret += m_description;
    
    Sections sections;
    for (size_t i{0}; i < m_args.size(); ++i) {
        const auto& arg = m_args.at(i);
        if (arg.m_hidden) break; 
        if (i == 0) ret += "\nArguments:\n";
        
        sections.m_sections.emplace_back(::ToString(i + 1) + ". " + arg.GetFirstName(), arg.ToDescriptionString());
        sections.m_max_pad = std::max(sections.m_max_pad, sections.m_sections.back().m_left.size());
        
        sections.Push(arg);
    }
    ret += sections.ToString();
    
    ret += m_results.ToDescriptionString();
    
    ret += m_examples.ToDescriptionString();
    return ret;
}
UniValue RPCHelpMan::GetArgMap() const