-fix typos
This commit is contained in:
parent
2508d4bb5c
commit
7b62174d00
@ -252,7 +252,7 @@ main (int argc,
|
||||
GNUNET_GETOPT_option_uint ('R',
|
||||
"reset-shard",
|
||||
"OLD_SHARD_IDX",
|
||||
"reset a shard database, does not reinitialize i.e. call taler-exchange-dbinit -S afterwards (DANGEROUS: all existsing data is lost!)",
|
||||
"reset a shard database, does not reinitialize i.e. call taler-exchange-dbinit -S afterwards (DANGEROUS: all existing data is lost!)",
|
||||
&reset_shard_db),
|
||||
GNUNET_GETOPT_option_flag ('f',
|
||||
"force",
|
||||
|
@ -101,17 +101,17 @@ extern unsigned long long TEH_METRICS_batch_withdraw_num_coins;
|
||||
extern unsigned long long TEH_METRICS_num_conflict[TEH_MT_REQUEST_COUNT];
|
||||
|
||||
/**
|
||||
* Number of signatures created by the respecitve cipher.
|
||||
* Number of signatures created by the respective cipher.
|
||||
*/
|
||||
extern unsigned long long TEH_METRICS_num_signatures[TEH_MT_SIGNATURE_COUNT];
|
||||
|
||||
/**
|
||||
* Number of signatures verified by the respecitve cipher.
|
||||
* Number of signatures verified by the respective cipher.
|
||||
*/
|
||||
extern unsigned long long TEH_METRICS_num_verifications[TEH_MT_SIGNATURE_COUNT];
|
||||
|
||||
/**
|
||||
* Number of key exchnages done with the respective cipher.
|
||||
* Number of key exchanges done with the respective cipher.
|
||||
*/
|
||||
extern unsigned long long TEH_METRICS_num_keyexchanges[TEH_MT_KEYX_COUNT];
|
||||
|
||||
|
@ -111,7 +111,7 @@ struct RevealContext
|
||||
/**
|
||||
* Array of information about fresh coins being revealed.
|
||||
*/
|
||||
/* FIXME: const would be nicer here, but we initalize
|
||||
/* FIXME: const would be nicer here, but we initialize
|
||||
the 'alg_values' in the verification
|
||||
routine; suboptimal to be fixed... */
|
||||
struct TALER_EXCHANGEDB_RefreshRevealedCoin *rrcs;
|
||||
|
@ -70,7 +70,7 @@ BEGIN
|
||||
END
|
||||
$$;
|
||||
|
||||
-- We need a seperate function for this, as we call create_table only once but need to add
|
||||
-- We need a separate function for this, as we call create_table only once but need to add
|
||||
-- those constraints to each partition which gets created
|
||||
CREATE OR REPLACE FUNCTION add_constraints_to_wire_targets_partition(
|
||||
IN partition_suffix VARCHAR
|
||||
@ -866,7 +866,7 @@ BEGIN
|
||||
PERFORM create_partitioned_table(
|
||||
'CREATE TABLE IF NOT EXISTS %I'
|
||||
'(aggregation_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY' -- UNIQUE'
|
||||
',deposit_serial_id INT8 PRIMARY KEY' -- REFERENCES deposits (deposit_serial_id) ON DELETE CASCADE' -- FIXME chnage to coint_pub + deposit_serial_id for more efficient depost -- or something else ???
|
||||
',deposit_serial_id INT8 PRIMARY KEY' -- REFERENCES deposits (deposit_serial_id) ON DELETE CASCADE' -- FIXME change to coin_pub + deposit_serial_id for more efficient depost -- or something else ???
|
||||
',wtid_raw BYTEA NOT NULL' -- CONSTRAINT wire_out_ref REFERENCES wire_out(wtid_raw) ON DELETE CASCADE DEFERRABLE'
|
||||
') %s ;'
|
||||
,table_name
|
||||
|
@ -14970,7 +14970,7 @@ postgres_delete_shard_locks (void *cls)
|
||||
|
||||
/**
|
||||
* Function called to save the configuration of an extension
|
||||
* (age-restriction, peer2peer, ...). After succesfull storage of the
|
||||
* (age-restriction, peer2peer, ...). After successful storage of the
|
||||
* configuration it triggers the corresponding event.
|
||||
*
|
||||
* @param cls the @e cls of this struct with the plugin-specific state
|
||||
@ -15225,7 +15225,7 @@ postgres_insert_contract (
|
||||
|
||||
|
||||
/**
|
||||
* Function called to reutrn meta data about a purse by the
|
||||
* Function called to return meta data about a purse by the
|
||||
* purse public key.
|
||||
*
|
||||
* @param cls the @e cls of this struct with the plugin-specific state
|
||||
|
@ -136,7 +136,7 @@ TALER_age_mask_to_string (
|
||||
|
||||
/* ==================================================
|
||||
*
|
||||
* Age Restriction TALER_Extension imlementation
|
||||
* Age Restriction TALER_Extension implementation
|
||||
*
|
||||
* ==================================================
|
||||
*/
|
||||
|
@ -1762,7 +1762,7 @@ TALER_test_coin_valid (const struct TALER_CoinPublicInfo *coin_public_info,
|
||||
* @param blinded_planchet blinded planchet
|
||||
* @param denom_hash hash of the denomination publick key
|
||||
* @param[out] bch where to write the hash
|
||||
* @return #GNUNET_OK when successful, #GNUNET_SYSERR if an internal error occured
|
||||
* @return #GNUNET_OK when successful, #GNUNET_SYSERR if an internal error occurred
|
||||
*/
|
||||
enum GNUNET_GenericReturnValue
|
||||
TALER_coin_ev_hash (const struct TALER_BlindedPlanchet *blinded_planchet,
|
||||
@ -5120,7 +5120,7 @@ TALER_age_commitment_hash (
|
||||
*
|
||||
* @param mask The age mask the defines the age groups
|
||||
* @param age The actual age for which an age commitment is generated
|
||||
* @param seed The seed that goes into the key generation. MUST be choosen uniformly random.
|
||||
* @param seed The seed that goes into the key generation. MUST be chosen uniformly random.
|
||||
* @param[out] comm_proof The generated age commitment, ->priv and ->pub allocated via GNUNET_malloc() on success
|
||||
* @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise
|
||||
*/
|
||||
@ -5168,7 +5168,7 @@ TALER_age_commitment_attest (
|
||||
* @param commitment The age commitment that went into the attestation. Only the public keys are needed.
|
||||
* @param age Age (not age group) for which the an attestation should be done
|
||||
* @param attest Signature of the age with the appropriate key from the age commitment for the corresponding age group, if applicaple.
|
||||
* @return #GNUNET_OK when the attestation was successfull, GNUNET_NO no attestation couldn't be verified, #GNUNET_SYSERR otherwise
|
||||
* @return #GNUNET_OK when the attestation was successful, #GNUNET_NO no attestation couldn't be verified, #GNUNET_SYSERR otherwise
|
||||
*/
|
||||
enum GNUNET_GenericReturnValue
|
||||
TALER_age_commitment_verify (
|
||||
|
@ -1420,7 +1420,7 @@ struct TALER_EXCHANGEDB_DepositListEntry
|
||||
struct TALER_DenominationHashP h_denom_pub;
|
||||
|
||||
/**
|
||||
* Age commitment hash, if applicable ot the denomination. Should be all
|
||||
* Age commitment hash, if applicable to the denomination. Should be all
|
||||
* zeroes if age commitment is not applicable to the denonimation.
|
||||
*/
|
||||
struct TALER_AgeCommitmentHash h_age_commitment;
|
||||
@ -5235,7 +5235,7 @@ struct TALER_EXCHANGEDB_Plugin
|
||||
|
||||
|
||||
/**
|
||||
* Function called to reutrn meta data about a purse by the
|
||||
* Function called to return meta data about a purse by the
|
||||
* purse public key.
|
||||
*
|
||||
* @param cls the @e cls of this struct with the plugin-specific state
|
||||
|
@ -99,8 +99,8 @@ TALER_extensions_is_json_config (
|
||||
* he JSON object must be of type ExchangeKeysResponse as described in
|
||||
* https://docs.taler.net/design-documents/006-extensions.html#exchange
|
||||
*
|
||||
* @param cfg JSON object containting the configuration for all extensions
|
||||
* @return GNUNET_OK on success, GNUNET_SYSERR if unknown extensions were found
|
||||
* @param cfg JSON object containing the configuration for all extensions
|
||||
* @return #GNUNET_OK on success, #GNUNET_SYSERR if unknown extensions were found
|
||||
* or any particular configuration couldn't be parsed.
|
||||
*/
|
||||
enum GNUNET_GenericReturnValue
|
||||
@ -267,7 +267,7 @@ TALER_extensions_age_restriction_num_groups ();
|
||||
* Parses a JSON object { "age_groups": "a:b:...y:z" }.
|
||||
*
|
||||
* @param root is the json object
|
||||
* @param[out] mask on succes, will contain the age mask
|
||||
* @param[out] mask on success, will contain the age mask
|
||||
* @return #GNUNET_OK on success and #GNUNET_SYSERR on failure.
|
||||
*/
|
||||
enum GNUNET_GenericReturnValue
|
||||
|
@ -494,12 +494,12 @@ TALER_yna_to_string (enum TALER_EXCHANGE_YesNoAll yna);
|
||||
|
||||
#ifdef __APPLE__
|
||||
/**
|
||||
* Returns the first occurence of `c` in `s`, or returns the null-byte
|
||||
* Returns the first occurrence of `c` in `s`, or returns the null-byte
|
||||
* terminating the string if it does not occur.
|
||||
*
|
||||
* @param s the string to search in
|
||||
* @param c the character to search for
|
||||
* @return char* the first occurence of `c` in `s`
|
||||
* @return char* the first occurrence of `c` in `s`
|
||||
*/
|
||||
char *strchrnul (const char *s, int c);
|
||||
|
||||
|
@ -62,7 +62,7 @@ struct PurseMergeState
|
||||
const char *merge_ref;
|
||||
|
||||
/**
|
||||
* Refernece to the reserve, or NULL (!).
|
||||
* Reference to the reserve, or NULL (!).
|
||||
*/
|
||||
const char *reserve_ref;
|
||||
|
||||
|
@ -162,7 +162,7 @@ generate (
|
||||
sizeof(seed));
|
||||
|
||||
json_object_set (j_top,
|
||||
"commited_age",
|
||||
"committed_age",
|
||||
json_integer (age));
|
||||
|
||||
ret = TALER_age_restriction_commit (mask,
|
||||
@ -214,7 +214,7 @@ generate (
|
||||
"not required: age group is 0");
|
||||
else if (min_group > age_group)
|
||||
j_reason = json_string (
|
||||
"not applicable: commited age too small");
|
||||
"not applicable: committed age too small");
|
||||
else
|
||||
j_reason = GNUNET_JSON_PACK (
|
||||
GNUNET_JSON_pack_data_auto (NULL, &at));
|
||||
|
@ -640,7 +640,7 @@ struct TALER_ReserveHistoryRequestPS
|
||||
struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
|
||||
|
||||
/**
|
||||
* When did the wallet make the requst.
|
||||
* When did the wallet make the request.
|
||||
*/
|
||||
struct GNUNET_TIME_TimestampNBO request_timestamp;
|
||||
|
||||
@ -708,7 +708,7 @@ struct TALER_ReserveStatusRequestPS
|
||||
struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
|
||||
|
||||
/**
|
||||
* When did the wallet make the requst.
|
||||
* When did the wallet make the request.
|
||||
*/
|
||||
struct GNUNET_TIME_TimestampNBO request_timestamp;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user