I’m researching ILP together with my colleagues and we are trying to do some tests to better understand ILP. We setup several ILP connectors using Moneyd, locally and in the cloud - for our experimentation needs. There are several things that are unclear to us and we would like to clarify them to continue our work:
When we run our moneyd instance two payment channels are created. One payment channel talking from our test account, parent, to BTP layer (in DEBUG called channel) and second channel between parent and local on ILP layer (in DEBUG called clientChannel). Is this correct?
When running info command we can only see the channel initiate between BTP and our test account. Is this correct? Why after stopping the channel I have to configure new configuration file and my account gets blocked? Is there a way to see the clientChannel or this will be one of the future features?
When running info command could you explain what following fields mean: destination, amount (drops) and balance (drops)?
When we run the moneyd with a new account for the very first time our payment channel looks something like:
index channel id destination amount (drops) balance (drops) expiry
0 CE3963C6… rfES1negveYfX9TpV8tapBvye8a52pXBHG 10,000,000 0
After some time the balance (drops) will become 10,000.
Where does this come from (is this a claim)? I understand when we start moneyd the outgoing channel is created with an amount of 10. Does this 10 somehow translate to 10,000 and if that is the case - what’s the logic behind? And after some more time balance (drops) will jump to 20,000.
- When transferring between two connectors using SPSP server the following happens - we don’t quite understand. Running moneyd-gui.
a) before sending the payment
Connector1 has balance parent 10000000; local 0
Connector2 has balance parent 10000000; local 0
b) I start SPSP server Connector1 and I acquire payment pointer
c) Initiate payment from Connector 2 to my payment pointer of the amount 1000000
d) Connector1 has balance parent 10000000 (slightly lower as I assume somekind of fee is applied?); local -1000000
Connector2 has balance parent 9000000; local 1000000
Why does one connector go to minus? And is there somekind of fee? Also running info or topup changes balance (drops) in the manner we don’t understand? Could someone clarify?