diff options
Diffstat (limited to 'src/kernel/chainparams.h')
-rw-r--r-- | src/kernel/chainparams.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/chainparams.h b/src/kernel/chainparams.h index 7a5539bc71..05ebd07ec7 100644 --- a/src/kernel/chainparams.h +++ b/src/kernel/chainparams.h @@ -93,6 +93,7 @@ public: const Consensus::Params& GetConsensus() const { return consensus; } const MessageStartChars& MessageStart() const { return pchMessageStart; } uint16_t GetDefaultPort() const { return nDefaultPort; } + std::vector<int> GetAvailableSnapshotHeights() const; const CBlock& GenesisBlock() const { return genesis; } /** Default value for -checkmempool and -checkblockindex argument */ @@ -183,4 +184,6 @@ protected: ChainTxData chainTxData; }; +std::optional<ChainType> GetNetworkForMagic(const MessageStartChars& pchMessageStart); + #endif // BITCOIN_KERNEL_CHAINPARAMS_H |