Browse Source

A more detailed description of the "amount" field

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.
ppa-0.6.1
gabridome 7 years ago
committed by Rusty Russell
parent
commit
3a5aa75fb6
  1. 4
      README.md

4
README.md

@ -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
@ -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.

Loading…
Cancel
Save