aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-01 04:33:47 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-01 04:33:47 +0200
commit10efd87a8ebcddb75d784f111af534b9d6ea494b (patch)
treeb1ace802de482e2ea5d253d097d5f37c5ceb9eae /src/types.ts
parent41ed276f3aad355a8a2504759edf5b737922272e (diff)
downloadwallet-core-10efd87a8ebcddb75d784f111af534b9d6ea494b.tar.xz
store reservePub/blindingKey directly in coin
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index 4964d9f45..8fec79ef2 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -461,6 +461,14 @@ export interface CoinRecord {
*/
suspended?: boolean;
+ blindingKey: string;
+
+ /**
+ * Reserve public key for the reserve we got this coin from,
+ * or zero when we got the coin from refresh.
+ */
+ reservePub: string|undefined,
+
/**
* Status of the coin.
*/