Skip to content

Instantly share code, notes, and snippets.

@emanuelelaface
Created June 9, 2018 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emanuelelaface/b6761d9810d73f9cf262c31d41efd77a to your computer and use it in GitHub Desktop.
Save emanuelelaface/b6761d9810d73f9cf262c31d41efd77a to your computer and use it in GitHub Desktop.
ema@hook:~$ lncli listchannels
{
"channels": [
{
"active": true,
"remote_pubkey": "025e77156e4c5e1ed62f9ad113ac2115a981ee99fa05d95be9e43add7f785a9b4d",
"channel_point": "051fe37d9f2349b32cecca7b4704ff5b56050c37fa01552db5c8429ea77f3cc6:0",
"chan_id": "579125968504356864",
"capacity": "100000",
"local_balance": "94339",
"remote_balance": "0",
"commit_fee": "5661",
"commit_weight": "600",
"fee_per_kw": "500",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "59",
"pending_htlcs": [
{
"incoming": false,
"amount": "426",
"hash_lock": "Lq/nkM9yMNDJEIxlkKnYzpfSMlKjIhAAEun0WGA2ECE=",
"expiration_height": 527024
},
{
"incoming": false,
"amount": "426",
"hash_lock": "Lq/nkM9yMNDJEIxlkKnYzpfSMlKjIhAAEun0WGA2ECE=",
"expiration_height": 527024
},
{
"incoming": false,
"amount": "426",
"hash_lock": "Lq/nkM9yMNDJEIxlkKnYzpfSMlKjIhAAEun0WGA2ECE=",
"expiration_height": 527024
},
{
"incoming": false,
"amount": "225",
"hash_lock": "76jEdsofUljC+Ra3BKv3MRWOg+hyzBzTspcaaO2ObwY=",
"expiration_height": 527024
},
{
"incoming": false,
"amount": "225",
"hash_lock": "76jEdsofUljC+Ra3BKv3MRWOg+hyzBzTspcaaO2ObwY=",
"expiration_height": 527024
},
{
"incoming": false,
"amount": "378",
"hash_lock": "8W+3os9cdqdDN1Cabk8pD0nfmN5kbgsJIWvlDdRRwmk=",
"expiration_height": 527024
},
{
"incoming": false,
"amount": "378",
"hash_lock": "8W+3os9cdqdDN1Cabk8pD0nfmN5kbgsJIWvlDdRRwmk=",
"expiration_height": 527024
},
{
"incoming": false,
"amount": "378",
"hash_lock": "8K+cBw+zufRoiz6lVTIAp5GZSpWcB0GBhLQu4ICsFF8=",
"expiration_height": 527024
},
{
"incoming": false,
"amount": "378",
"hash_lock": "CA4qq9pTlXtTOlbI5HNNo43Rf+eX9vee8mcOhLdQYZk=",
"expiration_height": 527025
},
{
"incoming": false,
"amount": "378",
"hash_lock": "fq5A+bcIVYo5iaVP6ZAZT/HaP/1xEdalUPL0d4v16Ls=",
"expiration_height": 527025
},
{
"incoming": false,
"amount": "378",
"hash_lock": "8N7rtT/CjBtnL3bTNhjbBu8zZen+CkCCmGhNCqH+oBw=",
"expiration_height": 527026
},
{
"incoming": false,
"amount": "117",
"hash_lock": "tyVGMODMRyjpaVpIiw7GrUgo6bc73VDLJZeRi5eJIak=",
"expiration_height": 527031
},
{
"incoming": false,
"amount": "312",
"hash_lock": "EkqkdFYNuleD1j7cz/3xdxOXN5fIZrK7FBGWfRL/kZk=",
"expiration_height": 527031
},
{
"incoming": false,
"amount": "312",
"hash_lock": "EkqkdFYNuleD1j7cz/3xdxOXN5fIZrK7FBGWfRL/kZk=",
"expiration_height": 527031
},
{
"incoming": false,
"amount": "312",
"hash_lock": "EkqkdFYNuleD1j7cz/3xdxOXN5fIZrK7FBGWfRL/kZk=",
"expiration_height": 527031
},
{
"incoming": false,
"amount": "237",
"hash_lock": "VTSkSx18ZqXXPWkP8mqVGcbFi+m/MOc6Iu72SawmUjw=",
"expiration_height": 527034
}
],
"csv_delay": 144,
"private": false
},
{
"active": false,
"remote_pubkey": "028dcc199be86786818c8c32bffe9db8855c5fca98951eec99d1fa335d841605c2",
"channel_point": "7cbd9c450ebd3fa83ce44863aba56db64df49a4351b32ce671c951d11c5b3ba8:1",
"chan_id": "578354111443763201",
"capacity": "800000",
"local_balance": "0",
"remote_balance": "798914",
"commit_fee": "1086",
"commit_weight": "552",
"fee_per_kw": "1500",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "12",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false
},
{
"active": true,
"remote_pubkey": "02a456b816697c6b8407ee2176475d74b790a96143bc30e896e8bf7a8852a8b637",
"channel_point": "b0898b6550dd96bc62a7814107ad7239d5a29ffb47b7cba33826f9a56c483a83:0",
"chan_id": "579128167623426048",
"capacity": "100000",
"local_balance": "99638",
"remote_balance": "0",
"commit_fee": "362",
"commit_weight": "600",
"fee_per_kw": "500",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "7",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false
},
{
"active": true,
"remote_pubkey": "036403186a467144ea6aaf4d6e42f7544e91a78e0f8ebd8e38bd2054b953d82e3f",
"channel_point": "cc4f171646ec0968d3ddb787601312c780366c83323af90e6d5dbf8a450589ee:0",
"chan_id": "578550924008357888",
"capacity": "100000",
"local_balance": "99638",
"remote_balance": "0",
"commit_fee": "362",
"commit_weight": "600",
"fee_per_kw": "500",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "18",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false
},
{
"active": true,
"remote_pubkey": "036fd87befd85ea3f2b0c4e687757b7acb257c44758681e3a9b657776b34da8f64",
"channel_point": "10f4161db485bf03ec787fd2fe524cc3bd30143652f6ffa4003ca2b84d41e2c9:0",
"chan_id": "579135864124473344",
"capacity": "100000",
"local_balance": "49634",
"remote_balance": "49460",
"commit_fee": "906",
"commit_weight": "724",
"fee_per_kw": "1250",
"unsettled_balance": "0",
"total_satoshis_sent": "365",
"total_satoshis_received": "0",
"num_updates": "4",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false
},
{
"active": true,
"remote_pubkey": "03d2827ce3d8c24cb69c5ed1cfceafd22c2fe359803ade279818ae2a9aeb3a49ec",
"channel_point": "c63dc0c98a5f44af15cf78ead8cb2abf6f93e2292cc7a080c4268646df5efa15:0",
"chan_id": "579127068109897728",
"capacity": "100000",
"local_balance": "99638",
"remote_balance": "0",
"commit_fee": "362",
"commit_weight": "600",
"fee_per_kw": "500",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "7",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment