Skip to content

Commit

Permalink
1. delete directory structure after download build_chain.sh in /docs/…
Browse files Browse the repository at this point in the history
…manual/guomi_crypto.html (#851)

2. modify formula about block state tree broacasting in /docs/design/sync/sync_block_optimize.html
3. modify typos in /docs/manual/cdn.htm

Co-authored-by: Xingqang Bai <bxq2011hust@qq.com>
  • Loading branch information
sulenn and bxq2011hust committed Jun 8, 2020
1 parent dc4cdea commit 348e3e0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 23 deletions.
2 changes: 1 addition & 1 deletion docs/design/sync/sync_block_optimize.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

当然,使用区块状态树状广播策略时,由于区块并非由拥有最新区块的根节点直接下发到所有观察者节点,作为叶子节点的观察者节点同步区块的时延会相对长一些。

下图展示了各层节点提交n个区块的时延,设树的深度为`d`,每个区块提交时延为`t`,则根节点(共识节点)提交`n`个区块的时延为`n*t`,第一层节点(观察者节点)同步并提交区块的时延为`n*t + 1`,第二层节点(观察者节点)同步并提交区块的时延为`n*t + 2`,叶子节点同步并提交区块的时延为`n*t + d * t`,与共识节点的时延差为`d*t``n`远大于`d`时,这个时延几乎可以忽略,因此该策略对观察者节点TPS的影响非常小。
下图展示了各层节点提交n个区块的时延,设树的深度为`d`,每个区块提交时延为`t`,则根节点(共识节点)提交`n`个区块的时延为`n*t`,第一层节点(观察者节点)同步并提交区块的时延为`n*t + t`,第二层节点(观察者节点)同步并提交区块的时延为`n*t + 2*t`,叶子节点同步并提交区块的时延为`n*t + d * t`,与共识节点的时延差为`d*t``n`远大于`d`时,这个时延几乎可以忽略,因此该策略对观察者节点TPS的影响非常小。

![](../../../images/sync/tree_topology_delay.png)

Expand Down
4 changes: 2 additions & 2 deletions docs/manual/cdn.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

### 源码同步

FISCO BCOS当前所有仓库源码位于[https://github.com/FISCO-BCOS/FISCO-BCOS](https://github.com/FISCO-BCOS/FISCO-BCOS)每个新的版本发布会将代码和入master分支
FISCO BCOS当前所有仓库源码位于[https://github.com/FISCO-BCOS/FISCO-BCOS](https://github.com/FISCO-BCOS/FISCO-BCOS)每个新的版本发布会将代码合入master分支

为了方便国内用户,我们同样在gitee上提供了镜像仓库[https://gitee.com/FISCO-BCOS/FISCO-BCOS](https://gitee.com/FISCO-BCOS/FISCO-BCOS),每次新版本发布后,镜像仓库会同步GitHub上官方仓库的更新,如果从GitHub下载失败,请尝试使用gitee镜像仓库。

Expand All @@ -27,7 +27,7 @@ FISCO BCOS每个新版本发布会在GitHub的tag中提供对应的二进制程

FISCO BCOS文档使用readthedocs管理,全部开源于[https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/](https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/),同样提供国内镜像[http://www.fisco-bcos.org/developer/](http://www.fisco-bcos.org/developer/)

每个版本发布会为上个版本的文档打Tag,新版本的文档会和入主干分支,文档由于会持续改进,所以是下个版本发布才打上个版本的tag。readthedocs文档支持下载PDF格式,方便用户使用。
每个版本发布会为上个版本的文档打Tag,新版本的文档会合入主干分支,文档由于会持续改进,所以是下个版本发布才打上个版本的tag。readthedocs文档支持下载PDF格式,方便用户使用。

## FISCO BCOS配套工具

Expand Down
10 changes: 0 additions & 10 deletions docs/manual/guomi_crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@ $ cd ~ && mkdir -p fisco && cd fisco
$ curl -LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.4.0/build_chain.sh && chmod u+x build_chain.sh
```

执行完上述步骤后,fisco目录下结构如下:

```bash
fisco
├── bin
│   └── fisco-bcos
└── build_chain.sh
```


- 搭建4节点FISCO BCOS链

```bash
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion en/docs/manual/cdn.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ FISCO BCOS在编译时会自动下载依赖包,每个依赖包有多个源。
cd FISCO-BCOS && mkdir build && cd build
cmake3 ..
make -j2
```
```
9 changes: 0 additions & 9 deletions en/docs/manual/guomi_crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ $ cd ~ && mkdir -p fisco && cd fisco
$ curl -LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.4.0/build_chain.sh && chmod u+x build_chain.sh
```

After performing the above steps, the structure in the fisco directory is as follows:

```bash
fisco
├── bin
│   └── fisco-bcos
└── build_chain.sh
```

- build a 4-nodes FISCO BCOS chain

```bash
Expand Down

0 comments on commit 348e3e0

Please sign in to comment.