summaryrefslogtreecommitdiff
path: root/src/types/pending.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-22 12:22:57 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-22 12:22:57 +0100
commit14103aa0750fd2874480a564b2f0be0932c13e21 (patch)
treeb88cda4f36bdd563849aacafc220b794afce64f7 /src/types/pending.ts
parent21194fa78137ca0a60487968e32ee9c3941ad812 (diff)
downloadwallet-core-14103aa0750fd2874480a564b2f0be0932c13e21.tar.gz
wallet-core-14103aa0750fd2874480a564b2f0be0932c13e21.tar.bz2
wallet-core-14103aa0750fd2874480a564b2f0be0932c13e21.zip
make verbose details an option
Diffstat (limited to 'src/types/pending.ts')
-rw-r--r--src/types/pending.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/types/pending.ts b/src/types/pending.ts
index 15299dec4..b6b0849ac 100644
--- a/src/types/pending.ts
+++ b/src/types/pending.ts
@@ -60,6 +60,9 @@ export type PendingOperationInfo = PendingOperationInfoCommon &
| PendingWithdrawOperation
);
+/**
+ * The wallet is currently updating information about an exchange.
+ */
export interface PendingExchangeUpdateOperation {
type: PendingOperationType.ExchangeUpdate;
stage: string;
@@ -68,6 +71,11 @@ export interface PendingExchangeUpdateOperation {
lastError: OperationError | undefined;
}
+/**
+ * Some interal error happened in the wallet. This pending operation
+ * should *only* be reported for problems in the wallet, not when
+ * a problem with a merchant/exchange/etc. occurs.
+ */
export interface PendingBugOperation {
type: PendingOperationType.Bug;
message: string;