The PeerSafe blockchain (ZXChain) system is based on the MVC
architecture, it is composed of ZX nodes which form the P2P network,
providing the P2P connection and the blockchain service. ZX node will
produce ledger (each size is 304-1024 bytes, if the network has 3 nodes,
about 3-6 seconds) every moment, and then reach consensus output
results rely on the vote of configured trust nodes. First update the
block chain in the local memory, and then publish the latest block on
the network. Each node repeats the previous process to generate the
block, which updates the local blockchain. At the same time compare the
local blocks effectiveness with the network blocks, and then make
synchronization. The websocket service is packed in intermediate layer
ZX-lib, which provides a more simplified interface to the upper layer.
Presentation layer ZX-client is currently supported the desktop version
(win/mac/linux) and web version.
Figure 1: the system architecture of the ZXChain
ZXChain | Bitcoin | Ethereum | |
Infrastructure | Multi-Center | No center | No center |
Type | Private chain | Public chain | Public chain |
Application | Digital asset transaction | P2P Bitcoin transaction | Decentralized application platform |
Transaction confirm time | 5s | 60Min | 20s |
Consensus mechanism | DPOS (Delegate Proof of Stake) | POW (Proof of Work) | POS (Proof of Stake) |
Smart contract | Support | Not Support | Support |