minDepthForFunding

fun minDepthForFunding(nodeParams: NodeParams, fundingAmount: Satoshi): Int

Returns the number of confirmations needed to safely handle the funding transaction, we make sure the cumulative block reward largely exceeds the channel size.

Return

number of confirmations needed

Parameters

fundingAmount

funding amount of the channel