Skip to content

Commit 7bf2899

Browse files
authored
Revert removed admin_prune method in interface (#8026)
1 parent 2ec85dc commit 7bf2899

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Nethermind/Nethermind.JsonRpc/Modules/Admin/IAdminRpcModule.cs

+6
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ ResultWrapper<PeerInfo[]> admin_peers(
6262
IsImplemented = false)]
6363
ResultWrapper<bool> admin_setSolc();
6464

65+
[JsonRpcMethod(Description = "Runs full pruning if enabled.",
66+
EdgeCaseHint = "",
67+
ExampleResponse = "\"Starting\"",
68+
IsImplemented = true)]
69+
ResultWrapper<PruningStatus> admin_prune();
70+
6571
[JsonRpcMethod(Description = "True if state root for the block is available",
6672
EdgeCaseHint = "",
6773
ExampleResponse = "\"Starting\"",

0 commit comments

Comments
 (0)