taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit ae440c305aa634896507dde8d8871fb169bc523e
parent 1caeeddf43f52111ced336b5424cf51dc567a792
Author: Florian Dold <florian@dold.me>
Date:   Wed, 25 Mar 2026 21:46:06 +0100

-logging,dce

Diffstat:
Mpackages/taler-util/src/types-taler-exchange.ts | 27---------------------------
Mpackages/taler-wallet-core/src/db.ts | 5+++--
2 files changed, 3 insertions(+), 29 deletions(-)

diff --git a/packages/taler-util/src/types-taler-exchange.ts b/packages/taler-util/src/types-taler-exchange.ts @@ -3191,33 +3191,6 @@ interface PurseMergeTransaction { merged: boolean; } -interface DenominationExpiredMessage { - // Taler error code. Note that beyond - // expiration this message format is also - // used if the key is not yet valid, or - // has been revoked. - code: number; - - // Signature by the exchange over a - // TALER_DenominationExpiredAffirmationPS. - // Must have purpose TALER_SIGNATURE_EXCHANGE_AFFIRM_DENOM_EXPIRED. - exchange_sig: EddsaSignature; - - // Public key of the exchange used to create - // the 'exchange_sig. - exchange_pub: EddsaPublicKey; - - // Hash of the denomination public key that is unknown. - h_denom_pub: HashCode; - - // When was the signature created. - timestamp: Timestamp; - - // What kind of operation was requested that now - // failed? - oper: string; -} - /** * Docs name: WithdrawRequest */ diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts @@ -3910,12 +3910,13 @@ async function fixup20260203DenomFamilyMigration( while (1) { const batch = await tx.denominations.getAll(range, batchSize); - logger.info(`fixing up batch of ${batch.length} denominations`); if (batch.length === 0) { break; } + logger.info(`fixing up batch of ${batch.length} denominations`); + const last = batch[batch.length - 1]; range = GlobalIDB.KeyRange.lowerBound( [last.exchangeBaseUrl, last.denomPubHash], @@ -4078,7 +4079,7 @@ export async function applyFixups( if (fixupRecord) { return; } - logger.info(`applying DB fixup ${fixupInstruction.name}`); + logger.trace(`applying DB fixup ${fixupInstruction.name}`); await fixupInstruction.fn(tx); await tx.fixups.put({ fixupName: fixupInstruction.name,