TestNet architecture
The network consists of two subnets: the core and the payment network. These networks have different synchronization algorithms, which have different security requirements. The complexity is added by the fact that part of the payment service is a core peer (for fast verification of EDS core data).
Stage 1 - Network launch
In the initial stages, we suggest running a private network of several peers. Core peers (tendermint) run as part of the payment network with RAFT. Only ProxyAPI can look "outside" (as separate services or as part of the peer).
I.e. payment network peers also act as validators in the core.
Users - users
RAFT+TM - payment network peer with core validator
ProxyAPI - access to the peer via ProxyAPI
Step 2 - Connecting external observers (validators) to the network
In the next step, the external validators/observers access the core network. This requires running additional core peers (in observer mode), which will be accessible from the public network and will have access to the private network. The core peers will act as a proxy between the internal network and the public network (tendermint documentation describes exactly this way of protecting validators from the public network attacks).
Users - users
RAFT+TM - peer payment network with core validator
ProxyAPI - access to the peer via ProxyAPI
TM-validators - core validators accessible from the private network and from the Internet
TM P2P - Tendermint peer interaction protocol with other Tendermint peers
User core peer - core peers launched by users (as observers or validators)
Stage 3 - Separate networks
Ideally, there should be a separate core network (tendermint with generation on its own peers) and a separate payment network (RAFT, with part of the core peers working with core tendermint peers as observers).
Users - users
RAFT - payment network peers (additionally, they serve as observers of the core network, communication is not reflected)
TM - core peers
ProxyAPI - access to the peer via ProxyAPI
TM-validators - core validators that access the private network and can be accessed from the Internet
TM P2P - Tendermint peer interaction protocol with other Tendermint peers
User core peer - core peers launched by users (as observers or validators)
Last updated