Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
seedlings-calm committed Sep 2, 2022
1 parent 1701d95 commit 02b9799
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
Binary file modified client/images/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified client/images/plugchain-logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions docs/concepts/fees.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ The gas usage of PVM and EVM is calculated in the same way, but the PVM `gas` us

* PVM transactions must first meet the minimum handling fee required by `fees` greater than Cosmos SDK` (currently the minimum handling fee is 0.0001*200000=20uplugcn)`
* The gas provided by the transaction should be greater than or equal to the gas sum calculated according to the [gas table](https://github.com/ethereum/go-ethereum/blob/master/params) transaction bytes /protocol_params.go)
* Minimum gasPrice is `7`
* EQ: fees = `math.Ceil( (gas*gasPrice) / 1000 )` (Proposal [v1.5.0](https://www.plugchain.network/v2/communityDetail?id=9) algorithm after upgrade)
* For example: `gas=654321`,`gasPrice=7`,`fees=4581uplugcn`
* `gasPrice` 最低为 `7`
* 公式: `fees = gas * gasPrice / 1000000` (Proposal [v1.7.0](https://www.plugchain.network/v2/communityDetail?id=10) algorithm after upgrade)
3 changes: 1 addition & 2 deletions docs/get-started/mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ Depending on the snapshot height, lock the `plugchaind` binary version to use

| Block height | Database | plugchaind version | Download address | Desc |
| ---- | --------- | -------- | ----| ----- |
| 5205489 | goleveldb (default) | [v1.5](https://github.com/oracleNetworkProtocol/plugchain/releases/tag/v1.5.0) | [mainnet-5205489-20220802-goleveldb.zip](https://snapshot-node-mainnet.oss-cn-hangzhou.aliyuncs.com/mainnet-5205489-20220802-goleveldb.zip) | (68.864GB)crop data |
| 5098752 | goleveldb (default) | [v1.5](https://github.com/oracleNetworkProtocol/plugchain/releases/tag/v1.5.0) | [mainnet-5098752-archive-20220726-goleveldb.zip](https://snapshot-node-mainnet.oss-cn-hangzhou.aliyuncs.com/mainnet-5098752-archive-20220726-goleveldb.zip) | (153.079GB)Archive data - for use by archive nodes only|
| 5633285 | goleveldb (default) | [v1.7](https://github.com/oracleNetworkProtocol/plugchain/releases/tag/v1.5.0) | [mainnet-5633285-20220830-goleveldb.zip](https://snapshot-node-mainnet.oss-cn-hangzhou.aliyuncs.com/mainnet-5633285-20220830-goleveldb.zip) | (77.709GB)crop data |

1. Download snapshot data

Expand Down
5 changes: 2 additions & 3 deletions docs/zh/concepts/fees.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ order: 6

PVM 和 Cosmos 状态转换之间的主要区别在于,PVM 对每个 OPCODE 使用 [gas table](https://github.com/ethereum/go-ethereum/blob/master/params/protocol_params.go),而 Cosmos 使用“GasConfig”,通过设置访问数据库的单位和每字节成本来为每个 CRUD 操作收取 gas。

PVM和EVM的Gas使用计算方式相同, 但PVM `gas`使用 不同于EVM `gas`使用流程,EVM当gas足够支付交易时,多余的gas会返回。PVM手续费gas不会返回
PVM和EVM的Gas使用计算方式相同, 但PVM `gas`使用 与 EVM `gas`使用流程相同,当gas足够支付交易时,多余的gas会返回。

* PVM交易首先要满足`fees`大于Cosmos SDK`要求的最低手续费(目前最低手续费为0.0001*200000=20uplugcn)`
* 交易提供的gas应大于或等于根据[gas table](https://github.com/ethereum/go-ethereum/blob/master/params)交易字节计算的gas总和
* `gasPrice` 最低为 `7`
* 公式: `fees = math.Ceil( (gas*gasPrice) / 1000 )` (提案[v1.5.0](https://www.plugchain.network/v2/communityDetail?id=9) 升级之后的算法)
* 例如: `gas=654321`,`gasPrice=7`,`fees=4581uplugcn`
* 公式: `fees = gas * gasPrice / 1000000` (提案[v1.7.0](https://www.plugchain.network/v2/communityDetail?id=10) 升级之后的算法)
3 changes: 1 addition & 2 deletions docs/zh/get-started/mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ curl -o ~/.plugchain/config/config.toml https://raw.githubusercontent.com/oracle

| 块高 | 数据库 | plugchaind 版本 | 下载地址 | 描述 |
| ---- | --------- | -------- | ----| ----|
| 5205489 | goleveldb (default) | [v1.5](https://github.com/oracleNetworkProtocol/plugchain/releases/tag/v1.5.0) | [mainnet-5205489-20220802-goleveldb.zip](https://snapshot-node-mainnet.oss-cn-hangzhou.aliyuncs.com/mainnet-5205489-20220802-goleveldb.zip) | (68.864GB) 裁剪数据|
| 5098752 | goleveldb (default) | [v1.5](https://github.com/oracleNetworkProtocol/plugchain/releases/tag/v1.5.0) | [mainnet-5098752-archive-20220726-goleveldb.zip](https://snapshot-node-mainnet.oss-cn-hangzhou.aliyuncs.com/mainnet-5098752-archive-20220726-goleveldb.zip) | (153.079GB)存档数据-仅供存档节点使用|
| 5633285 | goleveldb (default) | [v1.7](https://github.com/oracleNetworkProtocol/plugchain/releases/tag/v1.5.0) | [mainnet-5633285-20220830-goleveldb.zip](https://snapshot-node-mainnet.oss-cn-hangzhou.aliyuncs.com/mainnet-5633285-20220830-goleveldb.zip) | (77.709GB) 裁剪数据|

1. 下载快照数据

Expand Down

0 comments on commit 02b9799

Please sign in to comment.