Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type parameters = {
seed : int;
fresh_probability : float;
Per-transfer probability that the destination will be fresh
*)tps : float;
Transaction per seconds target
*)strategy : transfer_strategy;
fee_mutez : Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Tez.t;
fees for each transfer, in mutez
*)gas_limit : Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Gas.Arith.integral;
gas limit per operation
*)storage_limit : Z.t;
storage limit per operation
*)account_creation_storage : Z.t;
upper bound on bytes consumed when creating a tz1 account
*)total_transfers : int option;
total number of transfers to perform; unbounded if None
*)}
type transfer = {
src : source;
dst : Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.public_key_hash;
fee : Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Tez.t;
amount : Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Tez.t;
counter : Z.t option;
fresh_dst : bool;
}
type state = {
counters : (Tezos_crypto.Block_hash.t * Z.t)
Tezos_crypto.Signature.Public_key_hash.Table.t;
mutable pool : source list;
mutable pool_size : int;
}
val default_parameters : parameters
val source_encoding : source Data_encoding.encoding
val source_list_encoding : source list Data_encoding.encoding
val parse_strategy : string -> (transfer_strategy, string) Stdlib.result
val sample_transfer :
Tezos_client_010_PtGRANAD.Protocol_client_context.full ->
parameters ->
state ->
Stdlib.Random.State.t ->
(transfer,
Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace)
Stdlib.result
Lwt.t
val inject_contents :
Tezos_client_010_PtGRANAD.Protocol_client_context.full ->
Tezos_shell_services.Chain_services.chain ->
Tezos_crypto.Block_hash.t ->
Tezos_crypto.Signature.Secret_key.t ->
'a Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.contents_list ->
(Tezos_crypto.Operation_hash.t, Tezos_error_monad.TzCore.error list)
Stdlib.result
Lwt.t
val cost_of_manager_operation :
Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Gas.Arith.integral
val inject_transfer :
Tezos_client_010_PtGRANAD.Protocol_client_context.full ->
parameters ->
state ->
Tezos_shell_services.Shell_services.chain ->
Tezos_shell_services.Shell_services.block ->
transfer ->
(unit,
Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace)
Stdlib.result
Lwt.t
val launch :
Tezos_client_010_PtGRANAD.Protocol_client_context.full ->
parameters ->
state ->
(unit -> 'a Lwt.t) ->
('a,
Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace)
Stdlib.result
Lwt.t
val group : Tezos_clic.Clic.group
type pool_source =
| From_string of {
json : Ezjsonm.value;
}
| From_file of {
path : string;
json : Ezjsonm.value;
}
val json_of_pool_source : pool_source -> Ezjsonm.value
val json_file_or_text_parameter :
(pool_source, Tezos_client_010_PtGRANAD.Protocol_client_context.full)
Tezos_clic.Clic.parameter
val seed_arg :
(int option, Tezos_client_010_PtGRANAD.Protocol_client_context.full)
Tezos_clic.Clic.arg
val tps_arg :
(float option, Tezos_client_010_PtGRANAD.Protocol_client_context.full)
Tezos_clic.Clic.arg
val fresh_probability_arg :
(float option, Tezos_client_010_PtGRANAD.Protocol_client_context.full)
Tezos_clic.Clic.arg
val strategy_arg :
(transfer_strategy option,
Tezos_client_010_PtGRANAD.Protocol_client_context.full)
Tezos_clic.Clic.arg
val gas_limit_arg :
(Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Gas.Arith.integral option,
Tezos_client_010_PtGRANAD.Protocol_client_context.full)
Tezos_clic.Clic.arg
val storage_limit_arg :
(Z.t option, Tezos_client_010_PtGRANAD.Protocol_client_context.full)
Tezos_clic.Clic.arg
val transfers_arg :
(int option, Tezos_client_010_PtGRANAD.Protocol_client_context.full)
Tezos_clic.Clic.arg
val verbose_arg :
(bool, Tezos_client_010_PtGRANAD.Protocol_client_context.full)
Tezos_clic.Clic.arg
val save_pool_callback :
Tezos_client_010_PtGRANAD.Protocol_client_context.full ->
pool_source ->
state ->
unit Lwt.t
val generate_random_transactions :
Tezos_client_010_PtGRANAD.Protocol_client_context.full
Tezos_clic.Clic.command
val commands :
[< `Mainnet | `Testnet ] option ->
unit ->
Tezos_client_010_PtGRANAD.Protocol_client_context.full
Tezos_clic.Clic.command
list