Static method for getting the list of subdomain operations accepted at a given txid.
    Includes unaccepted subdomain operations

def get_subdomain_ops_at_txid(txid, db_path=None, zonefiles_dir=None):
    """
    Static method for getting the list of subdomain operations accepted at a given txid.
    Includes unaccepted subdomain operations
    """
    opts = get_blockstack_opts()
    if not is_subdomains_enabled(opts):
        return []

    if db_path is None:
        db_path = opts['subdomaindb_path']

    if zonefiles_dir is None:
        zonefiles_dir = opts['zonefiles']

    db = SubdomainDB(db_path, zonefiles_dir)
    return db.get_subdomain_ops_at_txid(txid)