Page MenuHomePhabricator

[rpc] getblockchaininfo: add size_on_disk, prune_target_size, automatic_pruning
AbandonedPublic

Authored by nakihito on Mar 23 2019, 00:00.

Details

Reviewers
jasonbcox
deadalnix
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Summary

Fix pruneheight help text.
Move fPruneMode block to match output ordering with help text.
Add functional tests for new fields in getblockchaininfo.

Backport of PR11367
https://github.com/bitcoin/bitcoin/pull/11367/

Completes T462

Dependent on D2730

Test Plan

make check
test_runner.py
getblockchaininfo should show "size_on_disk" and, when prune is on, "prune_target"

Diff Detail

Repository
rABC Bitcoin ABC
Branch
BackportPR11367
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5283
Build 8628: Bitcoin ABC Buildbot (legacy)
Build 8627: arc lint + arc unit