2016-12-20 14:26:45 +01:00
|
|
|
// Copyright (c) 2014-2017 The Dash Core developers
|
2016-04-19 18:51:15 +02:00
|
|
|
|
|
|
|
// Distributed under the MIT/X11 software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
2016-11-13 18:52:34 +01:00
|
|
|
#ifndef GOVERNANCE_MISC_H
|
|
|
|
#define GOVERNANCE_MISC_H
|
2016-04-19 18:51:15 +02:00
|
|
|
|
|
|
|
#include "main.h"
|
|
|
|
#include "governance.h"
|
|
|
|
#include "init.h"
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2016-05-23 19:53:05 +02:00
|
|
|
class CGovernanceVote;
|
2016-04-19 18:51:15 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Triggers and Settings - 12.2
|
|
|
|
* -----------------------------------
|
|
|
|
*
|
|
|
|
* This allows the network fine grained control of the p2p side, including but not limited to:
|
|
|
|
* - Which blocks are valid
|
|
|
|
* - What it costs to do various things on the network
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
// class CGovernanceTrigger
|
|
|
|
// {
|
|
|
|
// static &T IsBlockBanned(int n)
|
|
|
|
// {
|
|
|
|
|
|
|
|
// }
|
|
|
|
// };
|
|
|
|
|
|
|
|
// /*
|
|
|
|
|
|
|
|
|
|
|
|
// */
|
|
|
|
|
|
|
|
// class CGovernanceSettings
|
|
|
|
// {
|
|
|
|
// template<typename T>
|
|
|
|
// // strName=trigger, strParamater=ban-block ... obj= tigger.ban-block(args)
|
|
|
|
// static &T GetSetting(std::string strName, &T networkDefault)
|
|
|
|
// {
|
|
|
|
// /*
|
|
|
|
// - get setting from masternode network
|
|
|
|
// */
|
|
|
|
|
|
|
|
// return networkDefault;
|
|
|
|
// }
|
|
|
|
// };
|
|
|
|
|
2016-11-13 18:52:34 +01:00
|
|
|
#endif
|