From f13eb01d357847c5d60018cbab74507e22bb11a2 Mon Sep 17 00:00:00 2001 From: Celia18305 Date: Wed, 23 Mar 2022 16:19:38 +0800 Subject: [PATCH] A few updates --- docs/en-us/advanced/oracle.md | 2 +- docs/en-us/basic/concept/cryptography/hash_algorithm.md | 2 +- docs/en-us/basic/concept/transaction.md | 2 +- docs/zh-cn/advanced/oracle.md | 2 +- docs/zh-cn/basic/concept/cryptography/hash_algorithm.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en-us/advanced/oracle.md b/docs/en-us/advanced/oracle.md index d605bdfde..f3d3a6172 100644 --- a/docs/en-us/advanced/oracle.md +++ b/docs/en-us/advanced/oracle.md @@ -56,7 +56,7 @@ Oracle service currently supports two URL schemes, `https` and `neofs`. `https` - **Fees** - Neo Oracle Service charges the user by the number of requests, 0.5 GAS for each. Besides, the user has to pay additional fees for the callback function. All the fees will be paid when the Request is created. + Neo Oracle Service charges the user by the number of requests, 0.5 GAS by default for each. Besides, the user has to pay additional fees for the callback function. All the fees will be paid when the Request is created. - **Rewards** diff --git a/docs/en-us/basic/concept/cryptography/hash_algorithm.md b/docs/en-us/basic/concept/cryptography/hash_algorithm.md index bc0f4cb82..0e0c712c4 100644 --- a/docs/en-us/basic/concept/cryptography/hash_algorithm.md +++ b/docs/en-us/basic/concept/cryptography/hash_algorithm.md @@ -46,7 +46,7 @@ Scenarios: - db3、NEP6 wallet secret key storage, export & validation. -### Murmur3 +### Murmur32 Murmur is kind of non-cryptographic hash algorithm and suits for general hash indexing. It is proposed by Austin Appleby in 2008. Later several derived versions are released. Compared with other popular hash functions, Murmur's random distribution performance is better for keys with high regularity. diff --git a/docs/en-us/basic/concept/transaction.md b/docs/en-us/basic/concept/transaction.md index 8e29e70d8..5faa6a9e6 100644 --- a/docs/en-us/basic/concept/transaction.md +++ b/docs/en-us/basic/concept/transaction.md @@ -170,7 +170,7 @@ For better understanding, suppose there is a contract invocation chain: **[entry And the Target contract invokes CheckWitness to verify the signature. The verification result varies when `scopes` is set to different value. -- `None` - The verification will not be passed no matter where the **Target** contract is. +- `None` - The verification is not be passed no matter where the **Target** contract is. - `Global` - The verification is passed no matter where the **Target** contract is. - `CallByEntry` - The verification is passed only when the **Target** contract is **entry** or **Contract A**. - `CustomContracts` - The verification is passed only when the **Target** contract belongs to **CustomContracts**, a contract list you need to customize. diff --git a/docs/zh-cn/advanced/oracle.md b/docs/zh-cn/advanced/oracle.md index 82e9aac9f..2b93af755 100644 --- a/docs/zh-cn/advanced/oracle.md +++ b/docs/zh-cn/advanced/oracle.md @@ -57,7 +57,7 @@ Neo Oracle Service采用的是请求/响应模式的处理机制,这是一种 - **收费模型** - 用户在使用Neo Oracle Service时需按照Request请求次数进行付费,每个请求的收费单价是 0.5 GAS。同时用户还需要支付一笔费用作为回调函数的预付款。这些款项在构建Request就会被扣除。 + 用户在使用Neo Oracle Service时需按照Request请求次数进行付费,每个请求的收费单价默认是 0.5 GAS。同时用户还需要支付一笔费用作为回调函数的预付款。这些款项在构建Request就会被扣除。 - **激励模型** diff --git a/docs/zh-cn/basic/concept/cryptography/hash_algorithm.md b/docs/zh-cn/basic/concept/cryptography/hash_algorithm.md index 03a27a35f..bb2cd94dd 100644 --- a/docs/zh-cn/basic/concept/cryptography/hash_algorithm.md +++ b/docs/zh-cn/basic/concept/cryptography/hash_algorithm.md @@ -46,7 +46,7 @@ Example: - db3、NEP6钱包的密钥的存储、导出、验证 -## Murmur3 +## Murmur32 Murmur是一种非加密型哈希函数,适用于一般的哈希检索操作。由Austin Appleby在2008年发明,并出现了多个变种,都已经发布到了公有领域。与其它流行的哈希函数相比,对于规律性较强的key,Murmur的随机分布特征表现更良好。