Coinbase.Gen
val gen :
constraint_constants:Genesis_constants.Constraint_constants.t ->
(t * [ `Supercharged_coinbase of bool ]) Core_kernel.Quickcheck.Generator.t
val with_random_receivers :
keys:Mina_base_import.Signature_keypair.t array ->
min_amount:int ->
max_amount:int ->
fee_transfer:
( coinbase_amount:Currency.Amount.t ->
Fee_transfer.t Core_kernel.Quickcheck.Generator.t ) ->
t Core_kernel.Quickcheck.Generator.t
Creates coinbase with reward between min_amount
and max_amount
. The generated amountcoinbase_amount
is then used as the upper bound for the fee transfer.