diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..110b5c2 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# Top-most EditorConfig file. +root = true + +# Unix-style newlines with a newline ending every file. +[*.md] +end_of_line = lf +insert_final_newline = true +max_line_length = 80 + +# 8 space indentation for Golang code. +[*.go] +indent_style = tab +indent_size = 8 +max_line_length = 80 diff --git a/cmd/pool/order.go b/cmd/pool/order.go index 3866773..e1508a1 100644 --- a/cmd/pool/order.go +++ b/cmd/pool/order.go @@ -46,9 +46,9 @@ const ( In the outbound market, the bidder pays the asker a premium for a channel with outbound liquidity. To participate in the outbound market the asker needs to create an order - with '--amount=100000' (one unit) and the '--min_chan_amt' equals to + with '--amt=100000' (one unit) and the '--min_chan_amt' equals to the minimum channel size that is willing to accept. - The bidder needs to create an order with '--amount=100000' (one unit) + The bidder needs to create an order with '--amt=100000' (one unit) and '--self_chan_balance' equals to the funds that is willing to commit in a channel. The premium amount is calculated using the funding amount of the bidder ('--self_chan_balance').