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

multi: add gettxoutsetinfo JSON-RPC. #1909

Merged
merged 1 commit into from
Oct 29, 2019

Conversation

dnldd
Copy link
Member

@dnldd dnldd commented Sep 28, 2019

No description provided.

@dnldd
Copy link
Member Author

dnldd commented Sep 28, 2019

Tested on mainnet.

❯ ./ctl gettxoutsetinfo
{
  "height": 383750,
  "bestblock": "00000000000000001b2291b20427791e2c1fd0f719ceecc7d75c12aefb4bb728",
  "transactions": 604286,
  "txouts": 1426838,
  "serializedhash": "96f9ccb0a810aa7544239a0911a7ac396ff9038edb45a557f24ddd5780e4fb84",
  "disksize": 33318,
  "totalamount": 1044964547151793
}

Copy link
Member

@davecgh davecgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code itself looks good. However, the JSON-RPC API documentation needs to be updated as well.

blockchain/chainio.go Outdated Show resolved Hide resolved
rpcserver.go Outdated Show resolved Hide resolved
@dnldd dnldd force-pushed the gettxoutsetinfo_rpc branch 2 times, most recently from 1f34738 to cde93c9 Compare October 29, 2019 15:42
docs/json_rpc_api.mediawiki Outdated Show resolved Hide resolved
docs/json_rpc_api.mediawiki Outdated Show resolved Hide resolved
@davecgh davecgh merged commit 5105975 into decred:master Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants