forked from renepickhardt/pickhardtpayments
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shell for as Attempt Class for issue renepickhardt#20
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class Attempt: | ||
""" | ||
An Attempt describes a path (a set of channels) of an amount from sender to receiver. | ||
:param list _path: a list of UncertaintyChannel objects from sender to receiver | ||
:param int _amount: the amount to be transferred from source to destination | ||
:param int _routing_fee: the rounting fee in msat | ||
:param float _probability: the success probability from | ||
:param int _runtime: the number of milliseconds for the path to be found | ||
:param boolean _success: the flag to describe if the path succeeded (True) or failed (False) for the amount in flight | ||
""" |