diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-12 21:54:14 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-12 21:54:14 +0100 |
commit | ca2a46a8575d66d529accb1ce3aaf97be8f37e2f (patch) | |
tree | c05c3452c2dfe81713cf36ce06d205faa6bfb0fa /src/types.ts | |
parent | 659435570440c5a5eacde3a2e6ef5b3f3430a45f (diff) | |
download | wallet-core-ca2a46a8575d66d529accb1ce3aaf97be8f37e2f.tar.xz |
precompute speculative signature for payment
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 8 |
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; } |