Run Multichain in Docker. The module comprised of four packages.
The general idea is that one node is a master node controlling and deploying the scenario and all
other nodes are slavenodes executing the transactions required by that scenario.
data_acquisitionwhich sends the runtime data of the chain to a server.implementationwhich offers proxy implementations for the slave nodes which allows the master-node to communicate with the slaves. It also offers asetupclass to perform actions such as rights management on the blockchain.mastercontains the main entry point to start thescenario-orchestration-servicewhich listens for input from theprivate-chain-controllerat port 21000.slave_nodewhich contains a python program running on the each slave. It connects to thescenario-orchestration-servicerunning on themasterto send its credentials for multichain rpc login.
Both slave and master share one dockerfile but are defined as different services with different entry points in the docker-compose file. You can simply scale slaves at any time. Masternodes should not be scaled. Run e.g. docker-compose up --build scale slavenode=15
This Multichain setup is not recommended for production. Anyone can control the nodes.