Skip to content
View xjmzx's full-sized avatar
  • xjmzx
Block or Report

Block or report xjmzx

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. lncli listchannels then sort from hi... lncli listchannels then sort from high inbound to high outbound liquidity (toml readible)
    1
    lncli listchannels | tr -d '",' |
    2
    awk '/chan_id|capacity|local_balance|remote_balance|peer_alias/{print $1 $2 $3 $4",";
    3
    if(/capacity/){ capacity = $2 } 
    4
    if(/local_balance/){ printf "%08.4f%%, \n", capacity / $2 }}' |
    5
    sed 'N;N;N;N;N;s/\n/ /g' | sort -k 4nr | awk '{print $1 $4 $6}' |