fixing latex

pull/899/head
Nick Adams 3 years ago
parent 3d2eba76ee
commit bad4eb5d38

@ -241,7 +241,7 @@ First, let's posit that a channel with capacity +c+ has liquidity on one side wi
More simply, if the possible values for the liquidity are 0,1,2,3,4,5 only one of those six possible values will be sufficient to send our payment. To continue this example, if our payment amount was 3, then we would succeed if the liquidity was 3, 4, or 5. So our chances of success are 3 in 6 (50%). Expressed in math, the success probability function for a single channel is:
latexmath:[P_c(a) = (c + 1 - a) / (c + 1)]
latexmath:[$P_c(a) = (c + 1 - a) / (c + 1)$]
where +a+ is the amount and +c+ is the capacity
@ -253,7 +253,7 @@ Now let's think about the probability of success across a path made of several c
We can express this as an equation that calculates the probability of a payment's success as the product of probabilities for each channel in the path(s):
latexmath:[P_{payment} = \prod_{i=1}^n P_i]
latexmath:[$P_{payment} = \prod_{i=1}^n P_i$]
Where P_i_ is the probability of success over one path or channel, and P_payment_ is the overall probability of a successful payment over all the paths/channels.

Loading…
Cancel
Save