-
Notifications
You must be signed in to change notification settings - Fork 1
xud-simnet-channels always different #17
Comments
How it is: How it should be: |
xud-simnet-install does not create any channels.
xud-simnet-channels creates one BTC channel and one LTC channel. It
randomly select LNDBTC and LNDLTC belonding to test1,test2,test3 and
connect to them. this leads to the creating of LND channels.
Example:
Say you install a new node. xud-simnet-channels selects (for example)
test2 for BTC channel and test3 for LTC channel. The script connects the
local LNDBTC to test2's LNDBTC and local LNDLTC to test3's LNDLTC. On test2
and test3 the bot will detect these connection and creates an LND channel
from test2 to the new node (BTC) and from test3 to the new node (LTC).
These LND channels can be used to swap between the local XUD node and any
of the test nodes. reason is - the test nodes are connected between
themselves. Actually, you can trade between your local XUD and any other
XUD connected properly to the simulation network,
There is not need to create channels to all peers (really not scalable).
The peers are selected randomly to create load balancing between the test
nodes.
You have several channels since xud-simnet-coneect executed multiple times.
No need to do that.
See no issue here.
…On Fri, Dec 7, 2018 at 1:50 PM Kilian Rausch ⚡️ ***@***.***> wrote:
How it is: xud-simnet-install and also xud-simnet-channels create
different channels to different peers every time. Never to all (see above)
How it should be: xud-simnet-install and also xud-simnet-channels always
create channels to all connected peers (4 in the case above: xud1,2,3 & 2nd
local instance)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJQ0cmrfzFE-dtv_mBHfXxOCC_agkQ-Vks5u2lYfgaJpZM4ZISqv>
.
|
Not scalable in the long-term, but that's what we'd expect and want exchanges to do in the beginning to eliminate all sorts of routing errors. Just like the one we have right now. Please set up SIMNET to create channels to xud1,2 & 3 for now. |
Still see no reason for it. |
agree to hold off on this, but let's keep it open. |
xud-simnet-1 on vm-1
xud-simnet-2 on vm-2
xud-simnet-1
xud-simnet-2
vm-1 and vm-2 are on the same host machine.
The text was updated successfully, but these errors were encountered: