You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BCNodes provides a simple abstraction for interacting with Block[Chains]. Local nodes are simply one or more processes on the local machine.
BCNode
BCNode is a Node that is running an block[chain] application.
EthNode
EthNode is a BCNode that is running an Geth application.
BtcNode
BtcNode is a BCNode that is running an Bitcoin application.
POWNode
POWNode is a BCNode that is running an POWBlockChain.
QNode
QNode is a BCNode that is running an QuantumBlockChain application.
Blockchain Mininet network modeling
Mininet's custom setup for BAL classes balmn.py adds several types of hosts:
btc -- bcnode.BtcNode
eth -- bcnode.EthNode
pow -- bcnode.POWNode
qkd -- bcnode.QNode
For example:
mn --custom=balmn.py --host=btc
Testing -- creating of simple network topology (2 nodes connected to single switch), starting of servers, running of simple clients tests, switching to Mininet's CLI, stopping of servers after exiting from CLI:
./bcmn_test.py [host_type]
For example:
./bcmn_test.py pow