Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional RPC functions (and outputs) for more detail #125

Open
wants to merge 12 commits into
base: master0
from

Conversation

@galpHub
Copy link
Collaborator

commented Sep 19, 2019

Usage

./divi-cli getexpandedstatistics
# Returns some staking metrics, 24h transaction metrics and block sizes, UTXO set counts as well as useless UXTO counts.
# Also total burned fees for blocks (excluding treasury and lottery blocks)

./divi-cli totalinputsforblock <blockHeight>
# Adds up the total of input amounts for the block at that height

./divi-cli gettxoutsetinfo
# Now includes the distribution of UTXOs binned by magnitude in increasing order from top to bottom. The topmost bin covers the range from 10^-8 to 10^-7 and each bin is one order of magnitude higher. Also includes a couple of metrics quantifying a portion of the bytes being spent for storing UTXOs (both useless and useful, i.e. value>0)
divi/src/rpcblockchain.cpp Outdated Show resolved Hide resolved
divi/src/rpcblockchain.cpp Show resolved Hide resolved
divi/src/rpcblockchain.cpp Show resolved Hide resolved
divi/src/txdb.cpp Outdated Show resolved Hide resolved
divi/src/txdb.cpp Outdated Show resolved Hide resolved
galpHub added 4 commits Sep 19, 2019
divi/src/rpcblockchain.cpp Outdated Show resolved Hide resolved
galpHub and others added 3 commits Sep 19, 2019
@ChrisCates ChrisCates self-requested a review Sep 23, 2019
Copy link
Collaborator

left a comment

We need to document these RPC functions.

@99darwin

This comment has been minimized.

Copy link
Collaborator

commented Sep 23, 2019

The commands are documented through the help function. We should plan to add the same information to wiki.diviproject.org but that is a separate issue for https://github.com/docs.

@ChrisCates

This comment has been minimized.

Copy link
Collaborator

commented Sep 23, 2019

@99darwin, yes, should get docs prepared for the wiki.

@ChrisCates

This comment has been minimized.

Copy link
Collaborator

commented Sep 23, 2019

Just added a new issue here: DiviProject/docs#10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.