simulator¶
-
beaconrunner.simulator.
get_initial_deposits
(validators)[source]¶ Produce deposits
- Parameters
validators (Sequence[BRValidator]) – Validators of the simulation
- Returns
The list of deposits
- Return type
List[Deposit]
-
beaconrunner.simulator.
simulate
(network: beaconrunner.network.Network, parameters: beaconrunner.simulator.SimulationParameters, observers: Dict[str, Callable[[beaconrunner.specs.BeaconState], Any]] = {}) → pandas.core.frame.DataFrame[source]¶ - Parameters
network (Network) – Network of
beaconrunner.validatorlib.BRValidator
parameters (BRSimulationParameters) – Simulation parameters
- Returns
Results of the simulation contained in a pandas data frame
- Return type
pandas.DataFrame