mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Merge fa5ed18946
into c5e44a0435
This commit is contained in:
commit
060dfb8563
1 changed files with 3 additions and 1 deletions
|
@ -854,7 +854,9 @@ std::optional<int> GetPruneHeight(const BlockManager& blockman, const CChain& ch
|
|||
|
||||
static RPCHelpMan pruneblockchain()
|
||||
{
|
||||
return RPCHelpMan{"pruneblockchain", "",
|
||||
return RPCHelpMan{"pruneblockchain",
|
||||
"\nDeletes block and undo data up to a specified height or timestamp.\n"
|
||||
"Requires `-prune` to be enabled at startup; this action is irreversible.\n",
|
||||
{
|
||||
{"height", RPCArg::Type::NUM, RPCArg::Optional::NO, "The block height to prune up to. May be set to a discrete height, or to a " + UNIX_EPOCH_TIME + "\n"
|
||||
" to prune blocks whose block time is at least 2 hours older than the provided timestamp."},
|
||||
|
|
Loading…
Add table
Reference in a new issue