forked from dogecoin/dogecoin
-
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.
blockstats: only take block hashes as input
Only take a block hash string as input to getblockstats, to retain strong typing. - Renames "hash_or_height" argument to "hash" - Changes first param to be a string for dogecoin-cli - Fixes tests to use hashes instead of heights - Removes tests about bad heights given - Adds test to ensure heights aren't supported - Adjusts help text to support only hashes
- Loading branch information
1 parent
ec04014
commit 59dcc34
Showing
3 changed files
with
28 additions
and
38 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