-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pytests, refactors, pay-to-self, payment thresholds (#93)
* Rename 'bind_to' in api; replace with offer_id & invoice_label. * Fix documentation error. * Alter bindinglist to accept invoice_label. * Make prism-list return all prism documents by default. * Ensure prism-list structure is consistent with/without arg. * Simplify logging output. * Bug fix: ensure bindings respect payout_threshold. * fix type on readme. * Fix bind_type bug in invoice_payment. * Update example on readme. * Add initial implicit pay-to-self. * Switch to payout_threshold_msat * Create binding_id and update member_outlays format. * Enable BOLT12 explicit PTSD. * jupyter notebook updates to new api * bind to id of prism object, not `prism_id` param passed to `prism-create` When you try to create a prism and do not specify a `prism_id`, then a `None` value was getting passed to `bindprism` causing it to error. I just changed to to bind to `prism.id` instead of `prism_id` * use `Prism.get` for finding all prisms This unifies the getting of one and all prisms into `Prism.get`. Also, when a prism ID was provided to `prism-list`, a dict with the prism was returned rather than an array of prisms. Now, one prism is returned in the same format as many prisms. * Disable pay-to-self-destination by default. * Nitpicks * Prism-list updates for testing conformance. * Update test cases for changes. * Improve run_tests.sh * Revert recent prism-list and Prism.get_all changes. * Update Documentation. * Remove binding_id. * Change "bind_to" to "offer_id" in prism-create. * Fix logging typo. * Fix invoice_payment bug. * return `prism-list <prism_id>` as array --------- Co-authored-by: gudnuf <[email protected]>
- Loading branch information
1 parent
026dcc6
commit b5a27ca
Showing
7 changed files
with
2,115 additions
and
334 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
Oops, something went wrong.