JINN-lib demo:
https://terafoundation.org/JINN/model/model.htmlJINN is a universal js library that can run in any environment. Interaction with the external environment is carried out through external tuning layers. This allows you to simulate a network of nodes. Above is an example of modeling an environment that runs in a browser and consists of an arbitrary number of nodes and an arbitrary number of transactions in each block...
The model can be run in nodejs mode
In this case, additional modules will be used, which for example compress traffic, in this case, the total traffic is significantly reduced (from 4Kb per second for a single transaction in the network, to 1.5 KB per second)
The model allows you to simulate the separation of chains-tick Split. Pressing and unclenching these ticks we can achieve the division of the chain into two sections, and then measure the time it took the network to achieve consensus.