def slog_blocks(slogfiles, pattern='**/*-blocks.csv'):
    df = pd.concat((type2sign(pd.read_csv(p)[['type', 'blockHeight', 'blockTime']]) for p in slogfiles.glob(pattern)))
    df = byChain(df)
    key = ['chain', 'blockHeight', 'blockTime']
    df = df[key].sort_values(key).drop_duplicates()
    return df.reset_index(drop=True)
def slog_blocks(slogfiles, pattern='**/*-blocks.csv'):
    df = pd.concat((type2sign(pd.read_csv(p)[['type', 'blockHeight', 'blockTime']]) for p in slogfiles.glob(pattern)))
    df = byChain(df)
    key = ['chain', 'blockHeight', 'blockTime']
    df = df[key].sort_values(key).drop_duplicates()
    return df.reset_index(drop=True)