Skip to content

Commit

Permalink
A more detailed description of the "amount" field
Browse files Browse the repository at this point in the history
The more frequent question I ask to myself when initiating channels regards the amount field.

In this document we have three different denominations and the modification proposed aims to address the possible doubts or errors.
The names <amount_in_bitcoins>, <amount_in_satoshis> or <amount_in_millisatoshis> (this last is omitted because the denomination is in the description) are not so elegant but they could serve the purpose.
  • Loading branch information
gabridome authored Feb 19, 2018
1 parent 4fccbba commit e3fee0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ First you need to transfer some funds to `lightningd` so that it can open a chan
cli/lightning-cli newaddr
# Returns a transaction id <txid>
bitcoin-cli -testnet sendtoaddress <address> <amount>
bitcoin-cli -testnet sendtoaddress <address> <amount_in_bitcoins>
```

`lightningd` will register the funds once the transaction is
Expand All @@ -102,7 +102,7 @@ Let's assume the **remote** node is accepting connections at

```
cli/lightning-cli connect <node_id> <ip> [<port>]
cli/lightning-cli fundchannel <node_id> <amount>
cli/lightning-cli fundchannel <node_id> <amount_in_satoshis>
```

This opens a connection and, on top of that connection, then opens a channel.
Expand Down

0 comments on commit e3fee0b

Please sign in to comment.