interledgerjs / moneyd

Connect your machine to the Interledger
109 stars 51 forks source link

How select a channel to close? #53

Open sangogi opened 5 years ago

sangogi commented 5 years ago

I has four Cordius hosts, but one doesn't work. Moneyd set up using Multiple Instances.

account: rQ3dAtEBqtPQoMKsRcxugka4jReR8CKayC index destination amount (drops) balance (drops) expiry 0 rK6g2UYc4GpQH8DYdPG7wywyQbxkJpQTTN 10000000 0
1 rK6g2UYc4GpQH8DYdPG7wywyQbxkJpQTTN 10000000 20000
2 rK6g2UYc4GpQH8DYdPG7wywyQbxkJpQTTN 10000000 10000
3 rK6g2UYc4GpQH8DYdPG7wywyQbxkJpQTTN 10000000 10000

I've already erased all channels and set them up, but one doesn't work. I want to erase the inoperative channel and set a new one. But Codius host and Channel Index do not match. How select a channel to close?

fjx2000 commented 5 years ago

when you run "moneyd xrp:cleanup", it will prompt you to choose a channel for close. For example, in my case:

alex@codius1:~$ moneyd xrp:cleanup fetching channels... connecting to xrp ledger... account: r9WxXXXXXXXXXXXXXXXXXXXXXiD98PGJ balance: 155.99361 XRP reserved: 40 XRP available: 115.99360999999999 XRP

index channel id destination amount (drops) balance (drops) expiry 0 B021AC6F... rK6g2UXXXXXXXXXXPG7wywyQbxkJpQTTN 10,000,000 20,000 1 E49748D3... rf2frS27XXXXXXXXXXMMisGrgCxVrhL9L1 10,000,000 20,000 ready to close

? Select channels to close: (Press to select, to toggle all, to invert selection) ❯◯ 0 ◯ 1