aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2018-07-24 16:57:07 -0400
committerPaul Selkirk <paul@psgd.org>2018-07-24 16:57:07 -0400
commite1a2a7ff2e240c118b62fd372254e8f8097bd416 (patch)
treeffddeecbb774a64fd22fe0bccf2a7caf585cc8ac /hal.h
parent6cf71d88ba365ab50c8f246ed59e8f286544a522 (diff)
Add protection against trying to use hashsig while the restart mechanism is rebuilding the tree.
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hal.h b/hal.h
index 8797a4f..a01b9bd 100644
--- a/hal.h
+++ b/hal.h
@@ -162,6 +162,7 @@
DEFINE_HAL_ERROR(HAL_ERROR_RPC_PROTOCOL_ERROR, "RPC protocol error") \
DEFINE_HAL_ERROR(HAL_ERROR_NOT_IMPLEMENTED, "Not implemented") \
DEFINE_HAL_ERROR(HAL_ERROR_HASHSIG_KEY_EXHAUSTED, "Key exhausted") \
+ DEFINE_HAL_ERROR(HAL_ERROR_NOT_READY, "Not ready for this operation") \
END_OF_HAL_ERROR_LIST
/* Marker to forestall silly line continuation errors */