Skip to content

Commit

Permalink
LSPS1 - Channel Request (#20)
Browse files Browse the repository at this point in the history
* extended LSPS1.yaml

* added more text

* added JIT url + extracted lnurl

* cleanup

* more cleaning up

* added settings to features

* added feature

* added feature description in channel-request.md

* added client flows to channel-request

* updated folder structure

* fixed broken link

* fixed typos

* added missing onchain_payments in openapi doc

* finished base api

* added refund extension

* last changes

* updated readme

* fixed typos

* made extension list to extension dict

* updated all readmes with extension dit

* fixed typo registerd_node_connection_string

* added motivation

* describe the flow in detail

* added data types

* explained base api extension properties

* added missing max_channel_expiry_weeks`

* added payment flows

* added peer connection flow

* added channel open flow

* added more rationels

* added definition of sync/async

* added sync async concept

* added open questions

* added lnurl open question

* fixed rationale grammer

* changed local and remote to user and lsp balance

* renamed connection strings to prefix lsp or user

* removed sync flow

* simplified peer connection. Only user opens connection

* added node connection string definition

* removed refund and LNURL extension

* added refund_onchain_address to order request

* Added onchain refund flow

* added batching and open question

* added minimum_depth open question

* removed jit extension

* moved channel_expiry_weeks to channel_expiry_blocks

* turned versions into an array and cleaned up options

* fixed title numeration

* changed onchain_fee_rate to confirms_within_blocks

* some cleaning

* added `minimum_depth` and `supports_zero_channel_reserve` options

* added open questionsg

* Update LSPS1/README.md

Co-authored-by: Elias Rohrer <[email protected]>

* added references for node_id, ip and tor

* added bech32/m reference

* Update LSPS1/README.md

Co-authored-by: Elias Rohrer <[email protected]>

* Update LSPS1/README.md

Co-authored-by: Elias Rohrer <[email protected]>

* Update LSPS1/README.md

Co-authored-by: Elias Rohrer <[email protected]>

* removed open questions

* updated header

* changed spec from http to jsonrpc

* removed lsp_connection string as it is not needed anymore with the jsonrpc

* added errors to create_order

* removed get_order response

* removed openapi

* renamed user to client

* added coupon code rationale

* update lots of things

* double point after type

* added channel info description

* added client rejected rationale

* added 0conf risk management

* added 0conf risk management; changed coupon_code to token; referenced LSPS0 common schema; removed node_id;

* Update README.md

Co-authored-by: Elias Rohrer <[email protected]>

* Update LSPS1/README.md

Co-authored-by: Elias Rohrer <[email protected]>

* Update LSPS1/README.md

Co-authored-by: Elias Rohrer <[email protected]>

* Update LSPS1/README.md

Co-authored-by: Elias Rohrer <[email protected]>

* fixed tables; fixed JSON-RPC grammer; added JSON-RPC spec link; removed redundant error handling note;

* Improved order flow overview; fixed on-chain grammer;

* changed versions to supported_versions; api to API;

* added lsps1.info change limit to 1/day

* added initial to balance_sat options

* removed x_channel_balance_sat requirement to be calculated by lsp_balance + client_balance

* changed grammer from maximum of to at most long

* linked bolt11 channel ready

* changed minimum_depth_channel to minimum_channel_confirmations

* fixed higher than

* made lsps1.info types completely bold

* added colon after type

* back to cursive but with colon

* next try with <>

* changed info to <>

* changed all types to <> format

* made `open` object flat

* put variable in rationale between `` quotes

* changed id to order_id

* removed further down and linked paragraphs

* renamed ln_invoice to bolt11_invoice

* renamed state to `order_state` to distinguish them better

* fixed typos; moved channel object up; added bolt11 reference to funding/closing tx;

* added trust model

* changed api version from 2 to 1

* put null into ``

* removed maxlength of token

* added lsps0 anchor links

* fix missing space

---------

Co-authored-by: Elias Rohrer <[email protected]>
  • Loading branch information
SeverinAlexB and tnull authored Jul 27, 2023
1 parent 6414147 commit ade2fbf
Show file tree
Hide file tree
Showing 2 changed files with 502 additions and 1 deletion.
Loading

0 comments on commit ade2fbf

Please sign in to comment.