mirror of
https://github.com/dashpay/dash.git
synced 2024-12-30 22:35:51 +01:00
54 lines
1.0 KiB
C
54 lines
1.0 KiB
C
|
// Copyright (c) 2014-2016 The Dash Core developers
|
||
|
|
||
|
// Distributed under the MIT/X11 software license, see the accompanying
|
||
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||
|
#ifndef GOVERANCE_MISC_H
|
||
|
#define GOVERANCE_MISC_H
|
||
|
|
||
|
#include "main.h"
|
||
|
#include "governance.h"
|
||
|
#include "init.h"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class CBudgetVote;
|
||
|
|
||
|
/**
|
||
|
* 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;
|
||
|
// }
|
||
|
// };
|
||
|
|
||
|
#endif
|