<commit_before><commit_msg>list registrars example<commit_after>
#include <iostream>

#include "ethrpc/Provider.hpp"
#include "bitprofile/MasterRegistrar.hpp"


using namespace BitProfile;


int main(int argc, char **argv)
{

    Ethereum::Connector::Provider provider;
    provider.connect();

    MasterRegistrar registrar(provider, BitProfile::MasterRegistrar::Test_Net);
    MasterRegistrar::URIList list = registrar.getURIList();

    std::cout<<"registrars : "<<std::endl;
    for(MasterRegistrar::URIList::Iterator it = list.begin(), end = list.end(); it!=end; ++it)
    {
        std::cout<<"* "<<it->toString()<<std::endl;
    }

    std::cout<<std::endl;

    return 0;
}

{'fraction_non_alphanumeric': 0.16422287390029325, 'fraction_numerical': 0.001466275659824047, 'mean_word_length': 4.887931034482759, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1754690', 'n_tokens_mistral': 231, 'n_tokens_neox': 224, 'n_words': 40}