Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why two xud-simnets on the same host machine have different lightning channel numbers? #737

Closed
reliveyy opened this issue Dec 6, 2018 · 1 comment
Assignees
Labels
question/tbd Further information or discussion needed
Milestone

Comments

@reliveyy
Copy link
Contributor

reliveyy commented Dec 6, 2018

xud-simnet-1 on vm-1

vagrant@xud-simnet-1:~$ xucli listpeers
{
  "peersList": [
    {
      "address": "xud3.test.exchangeunion.com:8885",
      "nodePubKey": "03fd337659e99e628d0487e4f87acf93e353db06f754dccc402f2de1b857a319d0",
      "lndBtcPubKey": "030c2ffd29a92e2dd2fb6fb046b0d9157e0eda8b11caa0e439d0dd6a46a444381c",
      "lndLtcPubKey": "02f5e0324909bdb635d4d6a50aa07c517db59f5d18219fd058f9faa3ef3a1fd83a",
      "inbound": false,
      "pairsList": [
        "LTC/BTC"
      ],
      "xudVersion": "1.0.0-alpha.5",
      "secondsConnected": 48
    },
    {
      "address": "xud1.test.exchangeunion.com:8885",
      "nodePubKey": "02b66438730d1fcdf4a4ae5d3d73e847a272f160fee2938e132b52cab0a0d9cfc6",
      "lndBtcPubKey": "02d693d951ce4fc116b2b5e22e8e4966dd3cf9ad7600b8de24190d6af429f260c0",
      "lndLtcPubKey": "03114cda7206e92def08a35fc4039aba59394604fef9171ef19dbd5f938ce9387b",
      "inbound": false,
      "pairsList": [
        "LTC/BTC"
      ],
      "xudVersion": "1.0.0-alpha.5",
      "secondsConnected": 48
    }
  ]
}

xud-simnet-2 on vm-2

vagrant@xud-simnet-2:~/xud-simnet/xud$ xucli listpeers
{
  "peersList": [
    {
      "address": "xud1.test.exchangeunion.com:8885",
      "nodePubKey": "02b66438730d1fcdf4a4ae5d3d73e847a272f160fee2938e132b52cab0a0d9cfc6",
      "lndBtcPubKey": "02d693d951ce4fc116b2b5e22e8e4966dd3cf9ad7600b8de24190d6af429f260c0",
      "lndLtcPubKey": "03114cda7206e92def08a35fc4039aba59394604fef9171ef19dbd5f938ce9387b",
      "inbound": false,
      "pairsList": [
        "LTC/BTC"
      ],
      "xudVersion": "1.0.0-alpha.5",
      "secondsConnected": 140
    },
    {
      "address": "xud3.test.exchangeunion.com:8885",
      "nodePubKey": "03fd337659e99e628d0487e4f87acf93e353db06f754dccc402f2de1b857a319d0",
      "lndBtcPubKey": "030c2ffd29a92e2dd2fb6fb046b0d9157e0eda8b11caa0e439d0dd6a46a444381c",
      "lndLtcPubKey": "02f5e0324909bdb635d4d6a50aa07c517db59f5d18219fd058f9faa3ef3a1fd83a",
      "inbound": false,
      "pairsList": [
        "LTC/BTC"
      ],
      "xudVersion": "1.0.0-alpha.5",
      "secondsConnected": 140
    }
  ]
}

xud-simnet-1

± % python engine.py                                                                                            !6789

> connect
Connected to xud 1.0.0-alpha.5 pub_key: 037c514ee25ebbfc10726442325bdf3210b6ee80a9b3618aa96788a06b01696535

Currency Pairs: LTC/BTC

BTC Lightning Channels: 3
LTC Lightning Channels: 3

xud-simnet-2

± % python engine.py                                                                                            !6789

> connect localhost 9886 ./tls2.cert
Connected to xud 1.0.0-alpha.5 pub_key: 03d1b2fa7af9ff300e00fd9c3eb54ac8481914b19603e58b4c06430449ad87ad89

Currency Pairs: LTC/BTC

BTC Lightning Channels: 1
LTC Lightning Channels: 2

vm-1 and vm-2 are on the same host machine.

@kilrau kilrau added this to the 1.0.0-alpha.6 milestone Dec 7, 2018
@kilrau kilrau added the question/tbd Further information or discussion needed label Dec 7, 2018
@kilrau kilrau changed the title Why two xud-simnets on the same host machine have different lightening channel numbers? Why two xud-simnets on the same host machine have different lightning channel numbers? Dec 7, 2018
@kilrau
Copy link
Contributor

kilrau commented Dec 7, 2018

@kilrau kilrau closed this as completed Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question/tbd Further information or discussion needed
Projects
None yet
Development

No branches or pull requests

3 participants