I'm trying to use ilp-spsp, moneyd, and codius, but I am running into challenges

I have moneyd configured on the livenet, connected to a wallet with ~100xrp. I am trying to use ilp-spsp to send some drops to my xrptipbot payment pointer. Here are the steps I am taking:

In 1 shell I run: moneyd xrp:start

The output is:

starting moneyd
2019-03-22T04:40:52.716Z connector:route-broadcaster info generated random routing secret.
2019-03-22T04:40:52.725Z connector:accounts info add account. accountId=parent
2019-03-22T04:40:52.727Z connector:accounts info add account. accountId=local
2019-03-22T04:40:52.785Z connector:admin-api info listen called
2019-03-22T04:40:52.788Z connector:balance-middleware info initializing balance for account. 
accountId=parent minimumBalance=-Infinity maximumBalance=20000000
2019-03-22T04:40:52.789Z connector:balance-middleware info initializing balance for account. 
accountId=local minimumBalance=-Infinity maximumBalance=Infinity
2019-03-22T04:40:55.246Z connector:/usr/local/lib/node_modules/moneyd-uplink- 
xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent] info connected asym client plugin
2019-03-22T04:40:55.348Z connector:route-broadcaster warn not sending/receiving routes for peer, 
set sendRoutes/receiveRoutes to override. accountId=parent
2019-03-22T04:40:55.348Z connector:route-broadcaster warn not sending/receiving routes for peer, 
set sendRoutes/receiveRoutes to override. accountId=local
2019-03-22T04:40:55.354Z connector:ilp-plugin-mini-accounts[local] info listening on port 7768
2019-03-22T04:40:55.357Z connector:app info connector ready (republic attitude). 
address=g.strata- ilsp-2.xrpChildren9.-rVTVwXJvkd8sR17bFqbc8LFSZu3V7LokGW69evENOI 
version=22.3.1

I have a feeling these lines are significant:

connector:route-broadcaster warn not sending/receiving routes for peer,  set 
sendRoutes/receiveRoutes to override. accountId=parent

The next step I take is opening another shell and running: ilp-spsp send --amount 100000 --receiver ‘$twitter.xrptipbot.com/[myTwitter]

The output is:

paying 100000 to "$twitter.xrptipbot.com/[myTwitter]"...
sent!

However, my balance in xriptipbot doesn’t change, and when I run moneyd xrp:info, my balances don’t seem to reflect the payments I’m making. I’ve tried with amounts over 1M that also gave the same output, and my balances still don’t reflect this. Is there something I can try? My suspicion is that this is related to the moneyd warn I get above.

Can you try DEBUG=* before ilp-spsp send and report the output? Also sometimes it takes up to 30 min for XRP TipBot balances to reflect payments, and usually ~5 min for channel balances depending on connector (and only when you cross a 10,000 drop/10,000,000 nano threshold).

The reason that no claim is happening is that you’ve sent a very small amount of money. 1M nano-XRP is only 1000 drops. One reason that this may not be claimed is that the uplink that moneyd connects to doesn’t claim unless the transaction fee will be <1% of the amount claimed. So if the amount to claim is 1000 drops, the fee must be 10 drops or lower. If the fees are high it’s possible that the uplink won’t claim until you send more.

When you check your balance are you looking at the payment channel balance rather than your account balance? If a claim occurs you’ll see one of the payment channel balances go UP rather than your account balance going down. The reason for this is that you’ve already locked up funds in a payment channel so nothing needs to be taken out of your account. You issued a claim on the payment channel, though, so once your uplink submits the claim you’ll see the ‘balance’ of the channel reflect the claim amount that you signed.

On the XRPtipbot side, I think @condaatje is right that it’s due to the interval on which balances update combined with the fact that there’s a minimum threshold on a balance update.

1 Like

It was a combination of the latency and small payments. I tried again with a larger amount and waited a few hours and now I see the payments reflected in my balance. Thank you!

3 Likes