more codespell
This commit is contained in:
parent
6c3cfa9be7
commit
905be0124a
@ -45,7 +45,7 @@ If the above parameters have an optimal assignment, then replacing
|
||||
v'[x] := 0
|
||||
gives another optimal solution, as otherwise we'd get a better one for the first situation.
|
||||
|
||||
There is however no assurence that t[x] = price mod v[x] for some x in D, so nievely such solutions give you running times like O(price * |D|), which kinda sucks actually. Just one simplified example :
|
||||
There is however no assurence that t[x] = price mod v[x] for some x in D, so naively such solutions give you running times like O(price * |D|), which kinda sucks actually. Just one simplified example :
|
||||
http://www.codeproject.com/Articles/31002/Coin-Change-Problem-Using-Dynamic-Programming
|
||||
|
||||
|
||||
|
@ -881,7 +881,7 @@ the page. Then the wallet inspects the response as it may contain
|
||||
error reports about a failed payment which the wallet has to handle.
|
||||
By submitting the payment this way, we also ensure that this
|
||||
intermediate request does not require JavaScript and still does not
|
||||
interfer with navigation. Once the Web shop confirms the payment, the
|
||||
interfere with navigation. Once the Web shop confirms the payment, the
|
||||
wallet causes the fulfillment URL to be reloaded.
|
||||
|
||||
If the contract hash does not match a payment which the user
|
||||
@ -937,7 +937,7 @@ it has the following key advantages:
|
||||
other users has the expected behavior
|
||||
of asking the other user to pay for the resource.
|
||||
\item Asynchronously transmitting coins from injected JavaScript costs
|
||||
one roundtrip, but does not interfer with navigation and allows
|
||||
one roundtrip, but does not interfere with navigation and allows
|
||||
proper error handling.
|
||||
\item The different pages of the merchant have clear
|
||||
delineations: the shopping pages conclude by making an offer, and
|
||||
|
@ -933,7 +933,7 @@ the page. Then the wallet inspects the response as it may contain
|
||||
error reports about a failed payment which the wallet has to handle.
|
||||
By submitting the payment this way, we also ensure that this
|
||||
intermediate request does not require JavaScript and still does not
|
||||
interfer with navigation. Once the Web shop confirms the payment, the
|
||||
interfere with navigation. Once the Web shop confirms the payment, the
|
||||
wallet causes the fulfillment URL to be reloaded.
|
||||
|
||||
If the contract hash does not match a payment which the user
|
||||
@ -989,7 +989,7 @@ it has the following key advantages:
|
||||
other users has the expected behavior
|
||||
of asking the other user to pay for the resource.
|
||||
\item Asynchronously transmitting coins from injected JavaScript costs
|
||||
one roundtrip, but does not interfer with navigation and allows
|
||||
one roundtrip, but does not interfere with navigation and allows
|
||||
proper error handling.
|
||||
\item The different pages of the merchant have clear
|
||||
delineations: the shopping pages conclude by making an offer, and
|
||||
|
@ -241,7 +241,7 @@ export function AuthenticationEditorScreen(): VNode {
|
||||
</p>
|
||||
{authAvailableSet.size > 0 && (
|
||||
<p class="block">
|
||||
We couldn't find provider for some of the authentication
|
||||
We couldn't find provider for some of the authentication
|
||||
methods.
|
||||
</p>
|
||||
)}
|
||||
|
@ -26,7 +26,7 @@ test("WPT idbcursor-reused.htm", async (t) => {
|
||||
case 0:
|
||||
cursor = e.target.result;
|
||||
|
||||
t.deepEqual(cursor.value, "data", "prequisite cursor.value");
|
||||
t.deepEqual(cursor.value, "data", "prerequisite cursor.value");
|
||||
cursor.custom_cursor_value = 1;
|
||||
e.target.custom_request_value = 2;
|
||||
|
||||
@ -34,7 +34,7 @@ test("WPT idbcursor-reused.htm", async (t) => {
|
||||
break;
|
||||
|
||||
case 1:
|
||||
t.deepEqual(cursor.value, "data2", "prequisite cursor.value");
|
||||
t.deepEqual(cursor.value, "data2", "prerequisite cursor.value");
|
||||
t.deepEqual(cursor.custom_cursor_value, 1, "custom cursor value");
|
||||
t.deepEqual(
|
||||
e.target.custom_request_value,
|
||||
|
@ -21,7 +21,7 @@ export interface FakeDOMStringList extends Array<string> {
|
||||
item: (i: number) => string | null;
|
||||
}
|
||||
|
||||
// Would be nicer to sublcass Array, but I'd have to sacrifice Node 4 support to do that.
|
||||
// Would be nicer to subclass Array, but I'd have to sacrifice Node 4 support to do that.
|
||||
|
||||
export const fakeDOMStringList = (arr: string[]): FakeDOMStringList => {
|
||||
const arr2 = arr.slice();
|
||||
|
@ -580,8 +580,7 @@ export interface HarnessExchangeBankAccount {
|
||||
*/
|
||||
export class FakebankService
|
||||
extends BankServiceBase
|
||||
implements BankServiceHandle
|
||||
{
|
||||
implements BankServiceHandle {
|
||||
proc: ProcessWrapper | undefined;
|
||||
|
||||
http = createPlatformHttpLib({ enableThrottling: false });
|
||||
@ -790,7 +789,7 @@ export class ExchangeService implements ExchangeServiceInterface {
|
||||
|
||||
async runWirewatchOnce() {
|
||||
if (useLibeufinBank) {
|
||||
// Not even 2 secods showed to be enough!
|
||||
// Not even 2 seconds showed to be enough!
|
||||
await waitMs(4000);
|
||||
}
|
||||
await runCommand(
|
||||
@ -1883,10 +1882,8 @@ export class WalletCli {
|
||||
? `--crypto-worker=${cliOpts.cryptoWorkerType}`
|
||||
: "";
|
||||
const logName = `wallet-${self.name}`;
|
||||
const command = `taler-wallet-cli ${
|
||||
self.timetravelArg ?? ""
|
||||
} ${cryptoWorkerArg} --no-throttle -LTRACE --skip-defaults --wallet-db '${
|
||||
self.dbfile
|
||||
const command = `taler-wallet-cli ${self.timetravelArg ?? ""
|
||||
} ${cryptoWorkerArg} --no-throttle -LTRACE --skip-defaults --wallet-db '${self.dbfile
|
||||
}' api '${op}' ${shellWrap(JSON.stringify(payload))}`;
|
||||
const resp = await sh(self.globalTestState, logName, command);
|
||||
logger.info("--- wallet core response ---");
|
||||
|
@ -251,7 +251,7 @@ export interface NexusTask {
|
||||
taskCronSpec: string;
|
||||
// Only meaningful for "fetch" types.
|
||||
taskParams: FetchParams;
|
||||
// Timestamp in secons when the next iteration will run.
|
||||
// Timestamp in seconds when the next iteration will run.
|
||||
nextScheduledExecutionSec: number;
|
||||
// Timestamp in seconds when the previous iteration ran.
|
||||
prevScheduledExecutionSec: number;
|
||||
|
@ -392,7 +392,7 @@ function csKdfMod(
|
||||
// Newer versions of node have TextEncoder and TextDecoder as a global,
|
||||
// just like modern browsers.
|
||||
// In older versions of node or environments that do not have these
|
||||
// globals, they must be polyfilled (by adding them to globa/globalThis)
|
||||
// globals, they must be polyfilled (by adding them to global/globalThis)
|
||||
// before stringToBytes or bytesToString is called the first time.
|
||||
|
||||
let encoder: any;
|
||||
@ -693,7 +693,7 @@ export async function csBlind(
|
||||
* Unblind operation to unblind the signature
|
||||
* @param bseed seed to derive secrets
|
||||
* @param rPub public R received from /csr
|
||||
* @param csPub denomination publick key
|
||||
* @param csPub denomination public key
|
||||
* @param b returned from exchange to select c
|
||||
* @param csSig blinded signature
|
||||
* @returns unblinded signature
|
||||
@ -721,7 +721,7 @@ export async function csUnblind(
|
||||
* Verification algorithm for CS signatures
|
||||
* @param hm message signed
|
||||
* @param csSig unblinded signature
|
||||
* @param csPub denomination publick key
|
||||
* @param csPub denomination public key
|
||||
* @returns true if valid, false if invalid
|
||||
*/
|
||||
export async function csVerify(
|
||||
@ -844,8 +844,7 @@ export function hashDenomPub(pub: DenominationPubKey): Uint8Array {
|
||||
return hash(uint8ArrayBuf);
|
||||
} else {
|
||||
throw Error(
|
||||
`unsupported cipher (${
|
||||
(pub as DenominationPubKey).cipher
|
||||
`unsupported cipher (${(pub as DenominationPubKey).cipher
|
||||
}), unable to hash`,
|
||||
);
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* High-level wallet operations that should be indepentent from the underlying
|
||||
* High-level wallet operations that should be independent from the underlying
|
||||
* browser extension interface.
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user