--- Day changed Sun Feb 11 2018 00:32 -!- random [~lx@95.91.214.156] has joined #c-lightning 00:56 -!- jojeyh [~delphi@2602:306:b8b6:b970:e90a:7ac3:15b5:4a1d] has quit [Ping timeout: 276 seconds] 00:58 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 01:07 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 260 seconds] 01:21 -!- jojeyh [~delphi@2602:306:b8b6:b970:ed2c:5225:7c35:7c02] has joined #c-lightning 01:39 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 240 seconds] 01:43 -!- dr-orlovsky [25224fa3@gateway/web/freenode/ip.37.34.79.163] has joined #c-lightning 02:07 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 02:12 -!- sengehest [~sengehest@188.81-166-37.customer.lyse.net] has joined #c-lightning 02:13 -!- random [~lx@95.91.214.156] has quit [Quit: leaving] 02:25 -!- dr-orlovsky [25224fa3@gateway/web/freenode/ip.37.34.79.163] has quit [Ping timeout: 260 seconds] 02:38 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 02:41 -githubby:#c-lightning- [lightning] cdecker pushed 1 new commit to master: https://git.io/vAtSF 02:41 -githubby:#c-lightning- lightning/master cb97dfe Christian Decker: gossip: Fix up some comments on PR #955... 03:18 -githubby:#c-lightning- [lightning] rustyrussell opened pull request #975: Peer channel split, so we can sanely allow a peer to reopen a channel while others are closed (master...peer-channel-split) https://git.io/vAtHs 03:22 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 260 seconds] 03:32 -!- bryan_w [~is@2600:2108:9:8a90:72a3:5780:f492:1888] has quit [Ping timeout: 255 seconds] 04:44 -!- CubicEarths [~cubiceart@190.219.137.10] has joined #c-lightning 04:53 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 256 seconds] 04:58 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 05:34 -!- CubicEarths [~cubiceart@190.219.137.10] has quit [] 05:38 < mlz> grafcaps, your node is down 06:37 -!- mn3monic [~xxwa@unaffiliated/mn3monic] has quit [Ping timeout: 276 seconds] 06:42 -!- ebx [~ebx@unaffiliated/ebex] has joined #c-lightning 07:05 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-llrakklndjzbmpes] has quit [Quit: Connection closed for inactivity] 07:23 < grubles> i'm having trouble finding a clear answer. does c-lightning support pruning? 07:24 < grubles> (as in, prune=550) 07:24 < mlz> nope 07:26 < mlz> grubles, https://github.com/ElementsProject/lightning/pull/791 07:29 < grubles> ok yeah i had read that 07:29 < grubles> just wanted to make sure there wasn't anything new 08:19 -!- Mutter [~Mutter@2-230-142-62.ip202.fastwebnet.it] has joined #c-lightning 08:21 -!- Mutter_ [~Mutter@5.90.206.151] has joined #c-lightning 08:22 -!- Mutter_ [~Mutter@5.90.206.151] has quit [Remote host closed the connection] 08:24 -!- Mutter [~Mutter@2-230-142-62.ip202.fastwebnet.it] has quit [Ping timeout: 260 seconds] 08:24 -!- Mutter_ [~Mutter@5.90.206.151] has joined #c-lightning 08:27 -!- Mutter_ [~Mutter@5.90.206.151] has quit [Remote host closed the connection] 08:51 -!- bryan_w [~is@2600:2108:9:8a90:72a3:5780:f492:1888] has joined #c-lightning 09:27 -!- CubicEarths [~cubiceart@190.219.137.10] has joined #c-lightning 09:59 -!- CubicEarths [~cubiceart@190.219.137.10] has quit [] 10:02 -!- sengehest [~sengehest@188.81-166-37.customer.lyse.net] has quit [Ping timeout: 248 seconds] 10:36 -!- simlay [~simlay@gateway/tor-sasl/simlay] has joined #c-lightning 10:44 -githubby:#c-lightning- [lightning] practicalswift opened pull request #977: Improve log message when receiving unknown message type (master...unknown-message-type) https://git.io/vAqmD 11:03 -!- brianloc_ [~brianlock@50-46-116-37.evrt.wa.frontiernet.net] has quit [] 11:18 -!- shesek [~shesek@unaffiliated/shesek] has quit [Ping timeout: 248 seconds] 14:01 -!- grafcaps [~haroldbr@50.90.83.229] has quit [Ping timeout: 256 seconds] 14:18 -!- simlay [~simlay@gateway/tor-sasl/simlay] has quit [Remote host closed the connection] 14:18 -!- simlay [~simlay@gateway/tor-sasl/simlay] has joined #c-lightning 14:41 -!- grafcaps [~haroldbr@50.90.26.145] has joined #c-lightning 14:44 -!- meshcollider [uid246294@gateway/web/irccloud.com/x-rvgbudxdnooeytzv] has joined #c-lightning 14:48 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 14:48 -!- grafcaps [~haroldbr@50.90.26.145] has quit [Ping timeout: 264 seconds] 14:49 -!- grafcaps [~haroldbr@50.90.26.145] has joined #c-lightning 14:55 -!- grafcaps [~haroldbr@50.90.26.145] has quit [Ping timeout: 256 seconds] 15:01 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Read error: Connection reset by peer] 15:05 -!- shesek [~shesek@unaffiliated/shesek] has joined #c-lightning 15:25 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #c-lightning 15:29 -!- tlp [~tlp@unaffiliated/tlp] has quit [Read error: Connection reset by peer] 15:29 -githubby:#c-lightning- [lightning] ZmnSCPxj opened pull request #979: doc: Mention keyword arguments, update pay to mention use of null. (master...doc-cli) https://git.io/vAq0P 15:42 -!- ctrlbreak [~ctrlbreak@fctnnbsc38w-47-55-95-227.dhcp-dynamic.fibreop.nb.bellaliant.net] has joined #c-lightning 15:57 -!- UlmoAptos [1804e4d5@gateway/web/freenode/ip.24.4.228.213] has joined #c-lightning 15:57 < UlmoAptos> Hello. 15:58 < UlmoAptos> general questions: (balance) How do I check the balance of a channel? (fees) How do I find out what fees have been generated in a channel? (usage) How do I get an indication of usage of channels? 15:59 < UlmoAptos> Specifically, I want to know about the channels I've funded, but information about other channels would be nice to know too. 16:02 < grubles> listchannels | grep your_channel_id 16:02 < grubles> er your node id, rather 16:02 < UlmoAptos> Thank you, but which datum is the balance? 16:03 < UlmoAptos> For instance, I get the output: { "source" : "02dc523b9db431de52d7adb79cf81dd3d780002f4ce952706053edc9da30d9b9f7", "destination" : "031c527494f295220d26a1814c18e7db3f4f03203ce1a53a0b74b52ed570a3972a", "short_channel_id" : "506801:1976:0", "flags" : 0, "active" : true, "public" : true, "last_update" : 1518176665, "base_fee_millisatoshi" : 1000, "fee_per_millionth" : 10, "delay" : 14 }, 16:04 < grubles> is that your channel 16:04 < UlmoAptos> Ahh wait let me check 16:04 < UlmoAptos> Let me get one that is mine. 16:04 < grubles> yea should output more info 16:05 -!- grafcaps [~haroldbr@50.90.83.229] has joined #c-lightning 16:05 < UlmoAptos> Oh ... it looks like all my channels were closed. 16:06 * UlmoAptos grumbles .. bad grep .. not true ... researching for good example 16:10 < UlmoAptos> Ok, here's an open channel I own that was well funded. Where's my balance? 16:10 < UlmoAptos> { "source" : "031c527494f295220d26a1814c18e7db3f4f03203ce1a53a0b74b52ed570a3972a", "destination" : "039514e5d704c59a0eba65d25fc5fe559a1641243ccdf80c980b1fc10ca9c30ca2", "short_channel_id" : "506003:480:0", "flags" : 0, "active" : true, "public" : true, "last_update" : 1518247631, "base_fee_millisatoshi" : 1000, "fee_per_millionth" : 10, "delay" : 14 }, 16:12 < grubles> hm 16:12 < UlmoAptos> I see it in listpeers: { "id" : "039514e5d704c59a0eba65d25fc5fe559a1641243ccdf80c980b1fc10ca9c30ca2", "connected" : true, "netaddr" : ... { "state" : "CHANNELD_NORMAL", "owner" : "lightning_channeld", "short_channel_id" : "506003:480:0", "funding_txid" : "bdcf0c911626a5874ae2abff18f92d792c9cc8e3328561c9e8eca60b58f9c6d4", "msatoshi_to_us" : 10000000000, "msatoshi_total" : 10000000000, "dust_limit_satoshis" : 546, "max_htlc_valu 16:13 < UlmoAptos> Is it the difference between "msatoshi_to_us" and "msatoshi_total"? 16:29 < UlmoAptos> I think I found an example: 16:30 < UlmoAptos> I think I found an example: 1000000000 804832061: 195167939:: { "state" : "CHANNELD_NORMAL", "owner" : "lightning_channeld", "short_channel_id" : "505628:1102:0", "funding_txid" : "46f7940366b879897806fd91bc6f09840bf147053c337141fb82dcaf847b5d17", "msatoshi_to_us" : 804832061, "msatoshi_total" : 1000000000, "dust_limit_satoshis" : 546, "max_htlc_value_in_flight_msat" : 18446744073709551615, "channel_reserve_satoshis" : 0, "ht 16:31 < UlmoAptos> That's 195167939msatoshis, or BTC.00195167939. About $15. 16:32 -githubby:#c-lightning- [lightning] danielalexiuc opened pull request #980: Include apt-get update as first step (master...patch-1) https://git.io/vAqzl 16:32 -githubby:#c-lightning- [lightning] danielalexiuc opened pull request #981: Include apt-get update as first step (master...patch-2) https://git.io/vAqz8 16:33 < UlmoAptos> I'd like to know if that was generated out of fees. If so, it looks like that was funds traveling outward from my node through that channel, and I must have paid fees somehow. I'm confused at that point. I don't see anyplace where I generated fees, but I did spend some wallet funds, so perhaps they showed up on a closed channel. 16:34 < UlmoAptos> Anyway, I'd like to see a flow of funds and how it creates fees. 16:38 -!- grafcaps [~haroldbr@50.90.83.229] has quit [Ping timeout: 268 seconds] 16:44 -!- grafcaps [~haroldbr@50.90.83.229] has joined #c-lightning 16:47 < UlmoAptos> I think this is a shell command to show my total balance: echo -n '₿';(echo 0;lightning-cli listpeers|egrep 'msatoshi_to_us'|sed -e 's%.*msatoshi_to_us" : \([0-9]*\),.*%\1+%';echo 11k100000000000/p)|dc 16:48 < UlmoAptos> I don't like how it makes me think I'm rich because the B looks like an 8. This is better: echo -n '₿ ';(echo 0;lightning-cli listpeers|egrep 'msatoshi_to_us'|sed -e 's%.*msatoshi_to_us" : \([0-9]*\),.*%\1+%';echo 11k100000000000/p)|dc 16:49 -!- grafcaps [~haroldbr@50.90.83.229] has quit [Ping timeout: 256 seconds] 16:52 < UlmoAptos> I checked both my nodes, and that command gives very plausible balances. 16:53 < UlmoAptos> In both cases, it is a little over 97% of the funds I put into each node. 16:58 -githubby:#c-lightning- [lightning] danielalexiuc closed pull request #980: doc: Include apt-get update as first step (master...patch-1) https://git.io/vAqzl 17:01 < grubles> yeah you need to maintain a commit fee 17:01 < grubles> which fluctuates based on bitcoind's estimatefee 17:01 < grubles> (i think)' 17:54 -!- simlay [~simlay@gateway/tor-sasl/simlay] has quit [Ping timeout: 255 seconds] 17:56 -!- grafcaps [~haroldbr@50.90.83.229] has joined #c-lightning 17:57 -!- simlay [~simlay@gateway/tor-sasl/simlay] has joined #c-lightning 18:27 -!- jojeyh [~delphi@2602:306:b8b6:b970:ed2c:5225:7c35:7c02] has quit [Ping timeout: 276 seconds] 18:53 -!- UlmoAptos [1804e4d5@gateway/web/freenode/ip.24.4.228.213] has quit [Ping timeout: 260 seconds] 19:01 -githubby:#c-lightning- [lightning] rustyrussell opened pull request #982: Travis finegrained tests (master...travis-finegrained-tests) https://git.io/vAqw9 20:34 -!- ebx [~ebx@unaffiliated/ebex] has quit [Remote host closed the connection] 22:36 -!- sengehest [~sengehest@188.81-166-37.customer.lyse.net] has joined #c-lightning 22:43 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 240 seconds] 23:03 -!- sengehest [~sengehest@188.81-166-37.customer.lyse.net] has quit [Ping timeout: 256 seconds] 23:17 -!- bryan_w [~is@2600:2108:9:8a90:72a3:5780:f492:1888] has quit [Ping timeout: 265 seconds]