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

#include "bignum.h"
#include "sync.h"
#include "net.h"
#include "script.h"

#include <list>

class CWallet;
class CBlock;
class CBlockIndex;
class CKeyItem;
class CReserveKey;

class CAddress;
class CInv;
class CRequestTracker;
class CNode;

static const unsigned int MAX_BLOCK_SIZE = 1000000;
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
static const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
static const unsigned int MAX_ORPHAN_TRANSACTIONS = MAX_BLOCK_SIZE/100;
static const unsigned int MAX_INV_SZ = 50000;
static const mpq MIN_TX_FEE = mpq("50000/1");
static const mpq MIN_RELAY_TX_FEE = mpq("10000/1");
static const int64 I64_MAX_MONEY = 9999999999999999LL;
static const mpz MPZ_MAX_MONEY = mpz("9999999999999999");
static const mpq MPQ_MAX_MONEY = mpq("9999999999999999/1");
static const int EQ_HEIGHT = 161280;
static const mpq TITHE_RATIO = mpq("4/5");
static const mpq TITHE_AMOUNT = MPQ_MAX_MONEY * TITHE_RATIO / EQ_HEIGHT;
static const mpz INITIAL_SUBSIDY = mpq("15916928404");
static const int DEMURRAGE_RATE = 1048576;
inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= I64_MAX_MONEY); }
inline bool MoneyRange(mpz zValue) { return (zValue >= 0 && zValue <= MPZ_MAX_MONEY); }
inline bool MoneyRange(mpq qValue) { return (qValue >= 0 && qValue <= MPQ_MAX_MONEY); }
static const int COINBASE_MATURITY = 100;<commit_msg>Fixed type casting error that was breaking compilation.<commit_after>// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef FREICOIN_MAIN_H
#define FREICOIN_MAIN_H

#include "bignum.h"
#include "sync.h"
#include "net.h"
#include "script.h"

#include <list>

class CWallet;
class CBlock;
class CBlockIndex;
class CKeyItem;
class CReserveKey;

class CAddress;
class CInv;
class CRequestTracker;
class CNode;

static const unsigned int MAX_BLOCK_SIZE = 1000000;
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
static const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
static const unsigned int MAX_ORPHAN_TRANSACTIONS = MAX_BLOCK_SIZE/100;
static const unsigned int MAX_INV_SZ = 50000;
static const mpq MIN_TX_FEE = mpq("50000/1");
static const mpq MIN_RELAY_TX_FEE = mpq("10000/1");
static const int64 I64_MAX_MONEY = 9999999999999999LL;
static const mpz MPZ_MAX_MONEY = mpz("9999999999999999");
static const mpq MPQ_MAX_MONEY = mpq("9999999999999999/1");
static const int EQ_HEIGHT = 161280;
static const mpq TITHE_RATIO = mpq("4/5");
static const mpq TITHE_AMOUNT = MPQ_MAX_MONEY * TITHE_RATIO / EQ_HEIGHT;
static const mpz INITIAL_SUBSIDY = mpz("15916928404");
static const int DEMURRAGE_RATE = 1048576;
inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= I64_MAX_MONEY); }
inline bool MoneyRange(mpz zValue) { return (zValue >= 0 && zValue <= MPZ_MAX_MONEY); }
inline bool MoneyRange(mpq qValue) { return (qValue >= 0 && qValue <= MPQ_MAX_MONEY); }
static const int COINBASE_MATURITY = 100;
{'fraction_non_alphanumeric': 0.09769775678866588, 'fraction_numerical': 0.0808736717827627, 'mean_word_length': 5.874239350912779, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 6, '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': '2579624', 'n_tokens_mistral': 1426, 'n_tokens_neox': 1200, 'n_words': 346}