pub fn coinbase_strategy(
        network_upgrade_override: impl Into<Option<NetworkUpgrade>>,
        transaction_version_override: impl Into<Option<u32>>,
        transaction_has_valid_network_upgrade: bool,
    ) -> BoxedStrategy<Self> {
        Self::arbitrary_with(LedgerStateOverride {
            height_override: None,
            previous_block_hash_override: None,
            network_upgrade_override: network_upgrade_override.into(),
            transaction_version_override: transaction_version_override.into(),
            transaction_has_valid_network_upgrade,
            always_has_coinbase: true,
        })
    }
/// Returns a strategy for creating `LedgerState`s that always have coinbase
/// transactions.
///
/// Also applies `network_upgrade_override`, if present.
Returns a strategy for creating `LedgerState`s that always have coinbase
transactions.

Also applies `network_upgrade_override`, if present.
Returns a strategy for creating ` LedgerState ` s that always have coinbase transactions . Also applies ` network_upgrade_override ` if present .
pub fn coinbase_strategy(
        network_upgrade_override: impl Into<Option<NetworkUpgrade>>,
        transaction_version_override: impl Into<Option<u32>>,
        transaction_has_valid_network_upgrade: bool,
    ) -> BoxedStrategy<Self> {
        Self::arbitrary_with(LedgerStateOverride {
            height_override: None,
            previous_block_hash_override: None,
            network_upgrade_override: network_upgrade_override.into(),
            transaction_version_override: transaction_version_override.into(),
            transaction_has_valid_network_upgrade,
            always_has_coinbase: true,
        })
    }
pub fn coinbase_strategy ( network_upgrade_override : impl Into < Option < NetworkUpgrade > > , transaction_version_override : impl Into < Option < u32 > > , transaction_has_valid_network_upgrade : bool , ) -> BoxedStrategy < Self > { Self :: arbitrary_with ( LedgerStateOverride { height_override : None , previous_block_hash_override : None , network_upgrade_override : network_upgrade_override . into ( ) , transaction_version_override : transaction_version_override . into ( ) , transaction_has_valid_network_upgrade , always_has_coinbase : true , } ) }
Returns a strategy for creating `LedgerState`s that always have coinbase
transactions.
Returns a strategy for creating ` LedgerState ` s that always have coinbase transactions .
network_upgrade_override
impl Into<Option<NetworkUpgrade>>
transaction_version_override
impl Into<Option<u32>>
transaction_has_valid_network_upgrade
bool