forked from litecoin-project/litecoin
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change count type used by gettxoutsetinfo
Fixed an issue where negative numbers were displayed when obtaining Circulating supply changing CAmount (is a int64_t) to arith_uint256 for nTotalAmount in CCoinsStats to prevent overflow Because the maximum value when using int64_t is 9223372036854775807 The code is referenced from Dogecoin
- Loading branch information
1 parent
e310aa6
commit 11f3cc5
Showing
3 changed files
with
14 additions
and
2 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
11f3cc5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
04:12:28

gettxoutsetinfo
04:13:12

{
"height": 9983425,
"bestblock": "7b20731882fb65aebf844e3db9e3885b290283e0cb428f563cd66247bf2d5c80",
"transactions": 8423179,
"txouts": 22773931,
"bytes_serialized": 911853004,
"hash_serialized": "e82d5a785ba8a48c1e0b46db8f64aba0a6f0375af64b81004cd3d21249bb20ba",
"total_amount": 94568273021.14715231
}