aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_errors.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-04-26 18:01:57 +0200
committerRiccardo Spagni <ric@spagni.net>2016-04-26 18:01:57 +0200
commit94a291f8fbf927cd1a9caa229e1aef0a5c07a9a2 (patch)
treeafd15eed0ad6133c11860c87d35be2e9f7ccab98 /src/wallet/wallet_errors.h
parentMerge pull request #803 (diff)
parentAdd --restore-height option (diff)
downloadmonero-94a291f8fbf927cd1a9caa229e1aef0a5c07a9a2.tar.xz
Merge pull request #806
19fe8ae Add --restore-height option (Howard Chu) b6e42c3 Speed up new wallet refresh (Howard Chu) b7140da Add GET_HASHES_FAST rpc, use it in wallet (Howard Chu)
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet_errors.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h
index 3de97f49d..184d8a2a1 100644
--- a/src/wallet/wallet_errors.h
+++ b/src/wallet/wallet_errors.h
@@ -60,6 +60,7 @@ namespace tools
// acc_outs_lookup_error
// block_parse_error
// get_blocks_error
+ // get_hashes_error
// get_out_indexes_error
// tx_parse_error
// get_tx_pool_error
@@ -107,12 +108,14 @@ namespace tools
//----------------------------------------------------------------------------------------------------
const char* const failed_rpc_request_messages[] = {
"failed to get blocks",
+ "failed to get hashes",
"failed to get out indices",
"failed to get random outs"
};
enum failed_rpc_request_message_indices
{
get_blocks_error_message_index,
+ get_hashes_error_message_index,
get_out_indices_error_message_index,
get_random_outs_error_message_index
};
@@ -291,6 +294,8 @@ namespace tools
//----------------------------------------------------------------------------------------------------
typedef failed_rpc_request<refresh_error, get_blocks_error_message_index> get_blocks_error;
//----------------------------------------------------------------------------------------------------
+ typedef failed_rpc_request<refresh_error, get_hashes_error_message_index> get_hashes_error;
+ //----------------------------------------------------------------------------------------------------
typedef failed_rpc_request<refresh_error, get_out_indices_error_message_index> get_out_indices_error;
//----------------------------------------------------------------------------------------------------
struct tx_parse_error : public refresh_error