Changeset View
Changeset View
Standalone View
Standalone View
src/chainparamsbestchainmainnet.h
- This file was added.
// Copyright (c) 2019 The Bitcoin developers | |||||
// Distributed under the MIT software license, see the accompanying | |||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | |||||
// This file is autogenerated. See /contrib/devtools/generate-chainparams.sh | |||||
deadalnix: Use the same format as for other generated files so they actually are recognized as generated… | |||||
#ifndef BITCOIN_CHAINPARAMSBESTCHAINMAINNET_H | |||||
#define BITCOIN_CHAINPARAMSBESTCHAINMAINNET_H | |||||
#include <uint256.h> | |||||
static inline uint256 GetMainNetMinimumChainWork() { | |||||
return uint256S( | |||||
"000000000000000000000000000000000000000000f22fbd89943b5f5104e4ec"); | |||||
}; | |||||
deadalnixUnsubmitted Not Done Inline ActionsWhy aren't these constants? Also, what is inline supposed to achieve here? deadalnix: Why aren't these constants? Also, what is inline supposed to achieve here? | |||||
static inline uint256 GetMainNetDefaultAssumeValid() { | |||||
return uint256S( | |||||
"00000000000000000401095ca2933cc4729484965e66e6a9f8e937070cc8e971"); | |||||
}; | |||||
#endif // BITCOIN_CHAINPARAMSBESTCHAINMAINNET_H |
Use the same format as for other generated files so they actually are recognized as generated (and also because there is no point reinventing the wheel every time you need a wheel).