Blockchain Lab (24) - FISCO Network Reconstruction

After several experiments, 100 nodes in the FISCO network accumulated a lot of transaction records and consumed a lot of disk space. As shown in the figure below, 100 nodes consumed a total of 10G space.

Insert image description here

Observe the disk consumption of each node. Taking node88 as an example, it consumes 107MB, as shown in the figure below. In this node, logs (files in the log directory) account for most of the disk consumption, and these logs are text files and can be deleted, but the log directory must be retained. data/group1 is the blockchain organization that the node joins, which is equivalent to the channel in Hyperledger Fabric. Fisco uses RocksDB to save ledgers by default. Compared with the log, the disk consumption of the ledger is not large.

Insert image description here

At this level of disk consumption, the current block height is shown in the figure below.

Insert image description here

Disk consumption brings a heavy burden to the virtual machine. The simple way to reconstruct the FISCO network is to hijack the network 100%, which is to eliminate these 100 nodes and use the method described in the previous article (Blockchain Laboratory (18) - Use FISCO BCOS to set up a scale-free network) and re-set up a new network.

Maybe you can try how some nodes can hijack this network.

An article of this article has been accepted by "Future Generation Computer Systems", let's celebrate in advance.

Guess you like

Origin blog.csdn.net/qq_18807043/article/details/132854496