<commit_before>// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2015-2020 The Neutron Developers
//
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "rpcconsole.h"
#include "ui_rpcconsole.h"

#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include "main.h"
#include "util.h"

#ifdef USE_UPNP
// used to retrieve miniupnpc version
#include <miniupnpc/miniupnpc.h>
#endif

#ifdef ENABLE_WALLET
#include <db_cxx.h>
#endif

#include <QDir>
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <QStringList>
#include <QDesktopServices>

#include <openssl/crypto.h>


#ifdef USE_UPNP
    static const string MINIUPNPC_VERSION_NUM = strprintf("MiniUPnPc %s", MINIUPNPC_VERSION);
#else
    static const string MINIUPNPC_VERSION_NUM = strprintf("MiniUPnPc Disabled");
#endif

// TODO: make it possible to filter out categories (esp debug messages when implemented)<commit_msg>Add missing QAbstractItemView include to rpcconsole.cpp<commit_after>// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2015-2021 The Neutron Developers
//
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "rpcconsole.h"
#include "ui_rpcconsole.h"

#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include "main.h"
#include "util.h"

#ifdef USE_UPNP
// used to retrieve miniupnpc version
#include <miniupnpc/miniupnpc.h>
#endif

#ifdef ENABLE_WALLET
#include <db_cxx.h>
#endif

#include <QDir>
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <QStringList>
#include <QDesktopServices>
#include <QAbstractItemView>

#include <openssl/crypto.h>

#ifdef USE_UPNP
    static const string MINIUPNPC_VERSION_NUM = strprintf("MiniUPnPc %s", MINIUPNPC_VERSION);
#else
    static const string MINIUPNPC_VERSION_NUM = strprintf("MiniUPnPc Disabled");
#endif

// TODO: make it possible to filter out categories (esp debug messages when implemented)
{'fraction_non_alphanumeric': 0.11955593509820667, 'fraction_numerical': 0.02220324508966695, 'mean_word_length': 5.472375690607735, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7111403', 'n_tokens_mistral': 867, 'n_tokens_neox': 821, 'n_words': 228}