aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-12 21:54:14 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-12 21:54:14 +0100
commitca2a46a8575d66d529accb1ce3aaf97be8f37e2f (patch)
treec05c3452c2dfe81713cf36ce06d205faa6bfb0fa /src/types.ts
parent659435570440c5a5eacde3a2e6ef5b3f3430a45f (diff)
downloadwallet-core-ca2a46a8575d66d529accb1ce3aaf97be8f37e2f.tar.xz
precompute speculative signature for payment
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/types.ts b/src/types.ts
index ca01203d5..c0f36fc98 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -1297,7 +1297,11 @@ export interface ExchangeWireFeesRecord {
* Coins used for a payment, with signatures authorizing the payment and the
* coins with remaining value updated to accomodate for a payment.
*/
-export type PayCoinInfo = Array<{ updatedCoin: CoinRecord, sig: CoinPaySig }>;
+export interface PayCoinInfo {
+ originalCoins: CoinRecord[];
+ updatedCoins: CoinRecord[];
+ sigs: CoinPaySig[];
+}
/**
@@ -1787,8 +1791,6 @@ export interface PurchaseRecord {
* Set to 0 if no refund was made on the purchase.
*/
timestamp_refund: number;
-
- userAccepted: boolean;
}