diff options
Diffstat (limited to 'src/daemon/rpc_command_executor.h')
-rw-r--r-- | src/daemon/rpc_command_executor.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h index b8d41d9e4..b1e9828a0 100644 --- a/src/daemon/rpc_command_executor.h +++ b/src/daemon/rpc_command_executor.h @@ -91,9 +91,9 @@ public: bool print_height(); - bool print_block_by_hash(crypto::hash block_hash); + bool print_block_by_hash(crypto::hash block_hash, bool include_hex); - bool print_block_by_height(uint64_t height); + bool print_block_by_height(uint64_t height, bool include_hex); bool print_transaction(crypto::hash transaction_hash, bool include_hex, bool include_json); @@ -154,6 +154,10 @@ public: bool sync_info(); bool pop_blocks(uint64_t num_blocks); + + bool prune_blockchain(); + + bool check_blockchain_pruning(); }; } // namespace daemonize |