From ca2a46a8575d66d529accb1ce3aaf97be8f37e2f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 12 Dec 2017 21:54:14 +0100 Subject: precompute speculative signature for payment --- src/types.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/types.ts') 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; } -- cgit v1.2.3