@@ -207,7 +207,6 @@ command line options:
207207datadir=data
208208logdir=log
209209debuglevel=info
210- debughtlc=true
211210
212211[Bitcoin]
213212bitcoin.simnet=1
@@ -383,7 +382,7 @@ Connect Alice to Bob:
383382# Get Bob's identity pubkey:
384383bob$ lncli-bob getinfo
385384{
386- -- --->"identity_pubkey": <BOB_PUBKEY>,
385+ --->"identity_pubkey": <BOB_PUBKEY>,
387386 "alias": "",
388387 "num_pending_channels": 0,
389388 "num_active_channels": 0,
@@ -394,7 +393,11 @@ bob$ lncli-bob getinfo
394393 "testnet": false,
395394 "chains": [
396395 "bitcoin"
397- ]
396+ ],
397+ "uris": [
398+ ],
399+ "best_header_timestamp": "1533350134",
400+ "version": "0.4.2-beta commit=7a5a824d179c6ef16bd78bcb7a4763fda5f3f498"
398401}
399402
400403# Connect Alice and Bob together
@@ -485,7 +488,11 @@ alice$ lncli-alice listchannels
485488 "unsettled_balance": "0",
486489 "total_satoshis_sent": "0",
487490 "total_satoshis_received": "0",
488- "num_updates": "0"
491+ "num_updates": "0",
492+ "pending_htlcs": [
493+ ],
494+ "csv_delay": 144,
495+ "private": false
489496 }
490497 ]
491498}
@@ -502,24 +509,29 @@ bob$ lncli-bob addinvoice --amt=10000
502509{
503510 "r_hash": "<a_random_rhash_value>",
504511 "pay_req": "<encoded_invoice>",
512+ "add_index": 1
505513}
506514` ` `
507515
508516Send the payment from Alice to Bob :
509517` ` ` bash
510518alice$ lncli-alice sendpayment --pay_req=<encoded_invoice>
511519{
520+ "payment_error": "",
512521 "payment_preimage": "baf6929fc95b3824fb774a4b75f6c8a1ad3aaef04efbf26cc064904729a21e28",
513522 "payment_route": {
514- "total_time_lock": 1 ,
523+ "total_time_lock": 650 ,
515524 "total_amt": 10000,
516525 "hops": [
517526 {
518527 "chan_id": 495879744192512,
519528 "chan_capacity": 1000000,
520- "amt_to_forward": 10000
529+ "amt_to_forward": 10000,
530+ "expiry": 650,
531+ "amt_to_forward_msat": 10000000
521532 }
522- ]
533+ ],
534+ "total_amt_msat": 10000000
523535 }
524536}
525537
@@ -594,7 +606,9 @@ btcctl --simnet --rpcuser=kek --rpcpass=kek generate 1
594606# channel. Recall that Bob previously had no on-chain Bitcoin:
595607alice$ lncli-bob walletbalance
596608{
597- "balance": "20001"
609+ "total_balance": "20001",
610+ "confirmed_balance": "20001",
611+ "unconfirmed_balance": "0"
598612}
599613` ` `
600614
0 commit comments