Code Monkey home page Code Monkey logo

Comments (7)

tinova avatar tinova commented on August 27, 2024 1

Just wanted to share that I successfully performed a loop out, finally. Thanks a lot Alex for all the help.

from loop.

alexbosworth avatar alexbosworth commented on August 27, 2024

It's a good question - I would say that recommending nodes is certainly an issue that should be addressed. What nodes do you currently have as peers?

from loop.

tinova avatar tinova commented on August 27, 2024

Thanks for your answer.

I have these peers:

$ lncli listpeers
{
    "peers": [
        {
            "pub_key": "021d7477153209bf1c81060483b4c2519bde173a18cbb3b7b94fb552b79e127323",
            "address": "67.86.250.17:9735",
            "bytes_sent": "26648203",
            "bytes_recv": "25521417",
            "sat_sent": "0",
            "sat_recv": "0",
            "inbound": false,
            "ping_time": "104417",
            "sync_type": "ACTIVE_SYNC"
        },
        {
            "pub_key": "0331f80652fb840239df8dc99205792bba2e559a05469915804c08420230e23c7c",
            "address": "74.108.13.152:9735",
            "bytes_sent": "22239245",
            "bytes_recv": "42405973",
            "sat_sent": "24196",
            "sat_recv": "5",
            "inbound": false,
            "ping_time": "100403",
            "sync_type": "ACTIVE_SYNC"
        },
        {
            "pub_key": "02ad6fb8d693dc1e4569bcedefadf5f72a931ae027dc0f0c544b34c1c6f3b9a02b",
            "address": "167.99.50.31:9735",
            "bytes_sent": "85462",
            "bytes_recv": "24495063",
            "sat_sent": "500",
            "sat_recv": "0",
            "inbound": false,
            "ping_time": "97660",
            "sync_type": "ACTIVE_SYNC"
        }
    ]
}

and currently these channels:

$ lncli listchannels
{
    "channels": [
        {
            "active": true,
            "remote_pubkey": "02ad6fb8d693dc1e4569bcedefadf5f72a931ae027dc0f0c544b34c1c6f3b9a02b",
            "channel_point": "f6dae98294442589d86382648bec67485684878504a06e061b6297752704e2de:1",
            "chan_id": "627264786590662657",
            "capacity": "180000",
            "local_balance": "160299",
            "remote_balance": "500",
            "commit_fee": "19701",
            "commit_weight": "600",
            "fee_per_kw": "26521",
            "unsettled_balance": "0",
            "total_satoshis_sent": "500",
            "total_satoshis_received": "0",
            "num_updates": "36",
            "pending_htlcs": [
            ],
            "csv_delay": 144,
            "private": false,
            "initiator": true,
            "chan_status_flags": "ChanStatusDefault"
        },
        {
            "active": true,
            "remote_pubkey": "0331f80652fb840239df8dc99205792bba2e559a05469915804c08420230e23c7c",
            "channel_point": "f3553f2d6d0c2e2290bf04ffe4da487d6ae9649e013ad26e6ac2705c97e6b127:1",
            "chan_id": "626966818986852353",
            "capacity": "400000",
            "local_balance": "356717",
            "remote_balance": "24191",
            "commit_fee": "19092",
            "commit_weight": "724",
            "fee_per_kw": "26369",
            "unsettled_balance": "0",
            "total_satoshis_sent": "24196",
            "total_satoshis_received": "5",
            "num_updates": "187",
            "pending_htlcs": [
            ],
            "csv_delay": 144,
            "private": false,
            "initiator": true,
            "chan_status_flags": "ChanStatusDefault"
        },
        {
            "active": true,
            "remote_pubkey": "0331f80652fb840239df8dc99205792bba2e559a05469915804c08420230e23c7c",
            "channel_point": "2f0783e2b71fabb0dc8a8fb367b17a6db55db33b4de197fa120db46b5b452d65:1",
            "chan_id": "626974515633324033",
            "capacity": "400000",
            "local_balance": "0",
            "remote_balance": "380909",
            "commit_fee": "19091",
            "commit_weight": "552",
            "fee_per_kw": "26370",
            "unsettled_balance": "0",
            "total_satoshis_sent": "0",
            "total_satoshis_received": "0",
            "num_updates": "14",
            "pending_htlcs": [
            ],
            "csv_delay": 144,
            "private": false,
            "initiator": false,
            "chan_status_flags": "ChanStatusDefault"
        }
    ]
}

from loop.

alexbosworth avatar alexbosworth commented on August 27, 2024

How did you select these peers? I would say that none of these peers seem like good routing peers to me and I would choose another set of peers.

from loop.

tinova avatar tinova commented on August 27, 2024

Peers are the other end of the channels. Excuse my ignorance on this, how can I find a good set of peers?

from loop.

alexbosworth avatar alexbosworth commented on August 27, 2024

Potentially Loop should include instructions for how to do this, but it's a deep question

I would take a look at this set of nodes for some broad suggestions as to some reasonable peers: https://nodes.lightning.computer/availability/v1/btc.json

Basically the issue is at a higher level than the Loop service. If your connectivity to the network is insufficient to pay the Loop service off-chain, then the swap cannot initiate.

from loop.

tinova avatar tinova commented on August 27, 2024

Thanks for the link, I'll increase my peer and channel lists until the payment succeeds. I agree this is out of the scope of the Loop service. Thanks for all the help, I appreciate it!

from loop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.