./smartrun.sh bftsmart.demo.counter.CounterClient 1001 <increment> [<number of operations>]
./runscripts/smartrun.sh bftsmart.demo.counter.CounterClient 1001 <increment> [<number of operations>]
If <increment> equals 0 the request will be read-only. Default <number of operations> equals 1000.
If <increment> equals 0 the request will be read-only. Default <number of operations> equals 1000.
...
@@ -56,14 +56,14 @@ The second, more advanced protocol can be used by extending the class bftsmart.t
...
@@ -56,14 +56,14 @@ The second, more advanced protocol can be used by extending the class bftsmart.t
The library also implements a reconfiguration protocol, that you can use to add/remove replicas from the initial group. You can add/remove replicas on-the-fly by executing the following commands:
The library also implements a reconfiguration protocol, that you can use to add/remove replicas from the initial group. You can add/remove replicas on-the-fly by executing the following commands:
./smartrun.sh bftsmart.reconfiguration.VMServices <smart id> <ip address> <port> (to add a replica to the group)
./runscripts/smartrun.sh bftsmart.reconfiguration.VMServices <smart id> <ip address> <port> (to add a replica to the group)
./smartrun.sh bftsmart.reconfiguration.VMServices <smart id> (to remove a replica from the group)
./runscripts/smartrun.sh bftsmart.reconfiguration.VMServices <smart id> (to remove a replica from the group)
You can run BFT-SMaRt in crash-faults only mode by setting the "system.bft" parameter in the configuration file to "false". This mode requires less replicas to execute, but will not withstand full Byzantine behavior from compromised replicas.
You can run BFT-SMaRt in crash-faults only mode by setting the "system.bft" parameter in the configuration file to "false". This mode requires less replicas to execute, but will not withstand full Byzantine behavior from compromised replicas.
If you need to generate public/private keys for more replicas or clients, you can use the following command:
If you need to generate public/private keys for more replicas or clients, you can use the following command: