-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
5.1.0.0, 2020-11-01, mandatory, "Gladys"
Added - rpc: Add out-of-sync status to "getinfo" and "getblockchaininfo" #1925 (@cyrossignol) - gui: add autocomplete to rpc console #1927 (@Pythonix) - consensus: Add checkpoint post block v11 transition #1919 (@cyrossignol) - researcher: Add -forcecpid configuration option #1935 (@cyrossignol) - gui: Adds detection if version is below last mandatory #1939 (@jamescowens) - contract: Reimplement legacy administrative contract validation #1943 (@cyrossignol) - voting: Add poll choices to "gettransaction" RPC contract output #1948 (@cyrossignol) Changed - doc: Fix link in build-openbsd.md #1924 (@Pythonix) - voting: Decrease poll duration to 90 days #1936 (@cyrossignol) - refactor: Revert init order to fix rejected net messages @1941 (@cyrossignol) - refactor: port amount.h #1937 (@div72) - refactor: Normalize boost::filesystem to fs namespace #1942 (@cyrossignol) - accrual: Apply accrual for new CPIDs from existing snapshots #1944 (@cyrossignol) - accrual: Reset research account when disconnecting first block #1947 (@cyrossignol) Removed - refactor: Clean up transitional code for block version 11 #1933 (@cyrossignol) Fixed - Modify depends packages for openSUSE and other Redhat like distributions and fix mingw bdb53 compile #1932 (@jamescowens) - contract: Fix ability to reorganize contracts #1934 (@cyrossignol) - accrual: Fix snapshot accrual for new CPIDs #1931 (@cyrossignol) - rpc: Clean up getblockstats #1938 (@jamescowens) - scraper, rpc: Correct missing mScraperStats initialization in ConvergedScraperStats (@jamescowens)
- Loading branch information
1 parent
0e7166e
commit d4990f8
Showing
106 changed files
with
925 additions
and
2,540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright (c) 2009-2010 Satoshi Nakamoto | ||
// Copyright (c) 2009-2018 The Bitcoin Core developers | ||
// Distributed under the MIT software license, see the accompanying | ||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||
|
||
#ifndef BITCOIN_AMOUNT_H | ||
#define BITCOIN_AMOUNT_H | ||
|
||
#include <stdint.h> | ||
|
||
/** Amount in halfords (Can be negative) */ | ||
typedef int64_t CAmount; | ||
|
||
static const CAmount COIN = 100000000; | ||
static const CAmount CENT = 1000000; | ||
|
||
/** No amount larger than this (in Halford) is valid. | ||
* | ||
* Note that this constant is *not* the total money supply, which in Gridcoin | ||
* currently happens to be less than 2,000,000,000 GRC for various reasons, but | ||
* rather a sanity check. As this sanity check is used by consensus-critical | ||
* validation code, the exact value of the MAX_MONEY constant is consensus | ||
* critical; in unusual circumstances like a overflow bug that allowed | ||
* for the creation of coins out of thin air modification could lead to a fork. | ||
* */ | ||
static const CAmount MAX_MONEY = 2000000000 * COIN; | ||
inline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); } | ||
|
||
#endif // BITCOIN_AMOUNT_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.