![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include "chainparamsbase.h"
#include "consensus/params.h"
#include "primitives/block.h"
#include "protocol.h"
#include <vector>
Go to the source code of this file.
Classes | |
struct | CDNSSeedData |
struct | SeedSpec6 |
struct | CCheckpointData |
class | CChainParams |
Typedefs | |
typedef std::map< int, uint256 > | MapCheckpoints |
Functions | |
const CChainParams & | Params () |
CChainParams & | Params (const std::string &chain) |
void | SelectParams (const std::string &chain) |
typedef std::map<int, uint256> MapCheckpoints |
Definition at line 26 of file chainparams.h.
const CChainParams& Params | ( | ) |
Return the currently selected parameters. This won't change after app startup, except for unit tests.
Definition at line 424 of file chainparams.cpp.
Referenced by AcceptToMemoryPoolWorker(), CNetFulfilledRequestManager::AddFulfilledRequest(), AppInit2(), CConnman::BeginMessage(), CBitcoinExtKeyBase< K, Size, Type >::CBitcoinExtKeyBase(), CPrivateSendServer::ChargeFees(), CheckBlockHeader(), CMasternodeBroadcast::CheckOutpoint(), CGovernanceManager::CheckPostponedObjects(), CSporkMessage::CheckSignature(), ConnectBlock(), CConnman::ConnectNode(), ContextualCheckBlock(), ContextualCheckBlockHeader(), ContextualCheckTransaction(), CMasternodeBroadcast::Create(), CreateNewBlock(), CHDChain::DeriveChildExtKey(), BitcoinUnits::description(), DisconnectBlocks(), CMasternodeMan::DsegUpdate(), FlushStateToDisk(), generate(), CBitcoinAddress::Get(), CConnman::GetAddedNodeInfo(), getblock(), getblockchaininfo(), GetBlockSubsidy(), getblocktemplate(), getgovernanceinfo(), CBitcoinAddress::GetIndexKey(), getinfo(), CBitcoinAddress::GetKeyID(), CHDPubKey::GetKeyPath(), ClientModel::getLastBlockDate(), GetListenPort(), GetMasternodePayment(), CPrivateSend::GetMaxPoolTransactions(), getmininginfo(), GetNetworkHashPS(), GetNextWorkRequired(), CSuperblock::GetPaymentsLimit(), getrawtransaction(), CActiveMasternode::GetStatus(), gettxoutproof(), ClientModel::getVerificationProgress(), HelpMessage(), invalidateblock(), PaymentServer::ipcParseCommandLine(), IsBlockPayeeValid(), IsBlockValueValid(), CGovernanceObject::IsCollateralValid(), CTxLockVote::IsExpired(), CTxLockCandidate::IsExpired(), IsInitialBlockDownload(), CMasternode::IsInputAssociatedWithPubkey(), CBitcoinAddress::IsScript(), CBitcoinAddress::IsValid(), CBitcoinSecret::IsValid(), CSuperblock::IsValidBlockHeight(), CMasternode::IsValidNetAddr(), LoadBlockIndexDB(), CBlockTreeDB::LoadBlockIndexGuts(), main(), CActiveMasternode::ManageState(), CActiveMasternode::ManageStateInitial(), CActiveMasternode::ManageStateLocal(), CGovernanceManager::MasternodeRateCheck(), BitcoinUnits::name(), CZMQPublishRawBlockNotifier::NotifyBlock(), PrepareShutdown(), CMasternodeMan::ProcessMasternodeConnections(), CMasternodeMan::ProcessMessage(), ProcessMessage(), ProcessMessages(), CMasternodeSync::ProcessTick(), CFlatDB< T >::Read(), CMasternodeConfig::read(), CAddrDB::Read(), CBanDB::Read(), CNode::ReceiveMsgBytes(), reconsiderblock(), ReprocessBlocks(), CGovernanceManager::RequestGovernanceObject(), CGovernanceManager::RequestGovernanceObjectVotes(), CInstantSend::ResolveConflicts(), rest_block(), rest_tx(), CWallet::ScanForWalletTransactions(), SelectParams(), SendMessages(), CBitcoinAddress::Set(), RPCConsole::setClientModel(), setgenerate(), CBitcoinSecret::SetKey(), CBitcoinExtKeyBase< K, Size, Type >::SetKey(), setmocktime(), CMasternodeBroadcast::SimpleCheck(), submitblock(), CConnman::ThreadDNSAddressSeed(), ThreadImport(), CConnman::ThreadOpenAddedConnections(), CConnman::ThreadOpenConnections(), ThreadSendAlert(), ModalOverlay::tipUpdate(), CGovernanceManager::UpdateCachesAndClean(), CDSNotificationInterface::UpdatedBlockTip(), BitcoinGUI::updateHeadersSyncProgressLabel(), CMasternode::UpdateLastPaid(), CGovernanceObject::UpdateSentinelVariables(), UpdateTip(), verifychain(), PaymentServer::verifyNetwork(), CFlatDB< T >::Write(), CAddrDB::Write(), and CBanDB::Write().
CChainParams& Params | ( | const std::string & | chain | ) |
Definition at line 429 of file chainparams.cpp.
void SelectParams | ( | const std::string & | chain | ) |
Sets the params returned by Params() to those for the given BIP70 chain name.
std::runtime_error | when the chain is not supported. |
Definition at line 441 of file chainparams.cpp.
Referenced by AppInit(), AppInitRawTx(), PaymentServer::ipcParseCommandLine(), and main().