GithubHelp home page GithubHelp logo

moneyd's Introduction

Moneyd

Greenkeeper badge

ILP-enable your machine!

Interledger Networks

When moneyd was created, what we referred to as the Interledger livenet was a community-run network for research and development purposes. Today there is a well-established Interledger network based around wallet providers such as Gatehub, XRPTipBot, and Stronghold which we call the Interledger livenet.

Today's Interledger livenet makes it easy for anyone to get a payment pointer to receive Interledger payments, and has handled billions of micropayments. However, the wallets which now make up the livenet have not yet exposed moneyd-like direct Interledger access.

As a result, moneyd will only connect to a community network of connectors, not the Interledger livenet. The community network uses real money, but is not connected to Interledger-enabled wallets and businesses so we're not currently recommending it for production use-cases. However, Moneyd is still a useful tool for experimenting with Interledger for education and experimentation.

Quick Start

If you haven't already, read the Interledger Networks section above. Moneyd does not currently connect to the Interledger livenet.

If you already have an XRP account with 35 XRP or more, use the community network instructions. Otherwise, you can still follow the Testnet instructions. For development in an offline environment, you can run your own Local Testnet.

Test Network

You'll need:

  • Node v8.9.4 or higher.
  • Permissions to install global node modules.
npm install -g moneyd moneyd-uplink-xrp
moneyd --testnet xrp:configure
moneyd --testnet xrp:start

Give it a minute to initialize a channel, then you're done! A configuration file will be created in ~/.moneyd.test.json.

So long as that command is running, you'll have access to ILP via port 7768. To try it out, follow the Sending Payments section, and use the alternate endpoints listed for the testnet.

Community Network

You'll need:

  • Node v8.9.4 or higher.
  • Permissions to install global node modules.
  • An XRP secret (with more than 35 XRP to cover reserve and channel funding).

Just run:

npm install -g moneyd moneyd-uplink-xrp
moneyd xrp:configure
moneyd xrp:start

Your XRP secret (or "seed") is the base58-encoded string that starts with an 's'.

Give it a minute to initialize a channel, then you're done! A configuration file will be created in ~/.moneyd.json.

So long as that command is running, you'll have access to ILP's community network via port 7768. For some commands you can do, look at Sending Payments. For more advanced usage of the moneyd command, look at Advanced Usage.

Local Test Network

If you're just doing local development, you may not care about being connected to any network. Moneyd allows you to run an isolated local test network for this scenario. Run:

npm install -g moneyd
moneyd local

This exposes ILP access via port 7768, but any application connected to this port will only be able to pay other applications on the same machine.

Cloud Test Network

A publically accessible test network can be created by deploying moneyd to Heroku. Use the button below to deploy an instance of moneyd running in local mode. Prior to completing the app deployment, Heroku will ask for two required fields: Setting the asset code (i.e, XRP, USD) and setting the asset scale.

Deploy

Once deployed, Heroku will provide you with a url to connect to your cloud moneyd which has the form heroku-app-name.herokuapp.com

A local moneyd instance can then be set up to connect to the Heroku instance using the following commands:

moneyd --testnet btp:configure

Follow the command-line prompts to configure the connection. When prompted for the BTP host of parent connector, enter the url provided by Heroku (heroku-app-name.herokuapp.com without the https://). Once the uplink has been configured, run the local moneyd instance

moneyd --testnet btp:start

Description

This repo contains an experimental ILP provider, allowing all applications on your computer to use funds on a community ILP network.

It works by creating a payment channel to an Interledger connector, and then running ilp-plugin-mini-accounts locally. Any plugin can connect to this mini-accounts instance by generating a random secret and authenticating via BTP to localhost:7768. By default, only connections from localhost are accepted. (See Environment Variables.)

The ilp-plugin repo is already designed to do this, so ilp-curl and many other tools will work right out of the box.

Because it's in early stages, don't use it with a ripple account that has too much money.

Uplinks

An uplink module wraps ILP plugins for Moneyd's use. They provide additional features such as payment channel management and configuration construction. At least one uplink must be installed to use Moneyd.

Example uplink modules:

moneyd-uplink-btp

This uplink comes packaged with moneyd by default. It is used to create a data only link (no settlement) to a parent connector instance that accepts connections using ilp-plugin-mini-accounts (such as another moneyd). The following commands are used to configure and run moneyd using the moneyd-uplink-btp:

moneyd btp:configure
moneyd btp:start

(See Cloud Test Network for example.)

Writing ILP Applications

One of the biggest reasons to run moneyd is that it lets you develop your own applications that run on top of Interledger. Connecting to Moneyd is as easy as installing ilp-plugin and adding a single line of code to your project:

const plugin = require('ilp-plugin')()

This Interledger Plugin is a connection to your Moneyd instance. You can then pass it into other modules to send payments through your Moneyd.

How Does "ilp-plugin" Work?

ilp-plugin has very simple default behavior. If you run require('ilp-plugin')(), it creates an instance of ILP Plugin BTP that connects to port 7768 on your local machine.

You can also customize the behavior of ilp-plugin using environment variables.

  • ILP_CREDENTIALS - A JSON object that contains the parameters to be passed into your plugin's constructor. Default: '{"server":"btp+ws://:<RANDOM_SECRET>@localhost:7768"}'.
  • ILP_PLUGIN - An NPM module name for the plugin you want to use. Default: 'ilp-plugin-btp'.

Advanced Usage

Command-Line Options

For any of the commands below, you can use a config file in a non-standard location with -c. If you have configured your moneyd instance with --testnet, then you should also add the --testnet flag to any commands specified in this section.

To view a complete list of the moneyd flags, run:

moneyd help

If you want to see the options for a specific command, pass --help. For example:

moneyd xrp:configure --help

Environment Variables

You can customize the behavior of moneyd using environment variables.

  • MONEYD_BIND_IP - A string specifying the IP address on which the moneyd websocket server listens. Default: localhost.
  • MONEYD_BIND_PORT - A string specifying the PORT on which the moneyd websocket server listens. Default: 7768.
  • MONEYD_ASSET_CODE - A string specifying the ASSET CODE that moneyd is configured with when running in LOCAL mode. Default: XRP.
  • MONEYD_ASSET_SCALE - A number specifying the ASSET SCALE that moneyd is configured with when running in LOCAL mode. Default: 9.
  • MONEYD_ILP_ADDRESS - A string specifying the ilp address that moneyd is configured with when running in LOCAL mode. Default: private.moneyd.
  • SET_ASSET_CODE - A string specifying which Moneyd asset code to use
  • SET_ASSET_SCALE - A number specifying the Moneyd asset scale to be configured with

Remote Deploy

If you did the previous step on your remote server, then you don't need to run any special software to get moneyd on your local machine. Not only that, but you can grant access to Interledger to as many machines as you want!

Just forward the moneyd port 7768 to any machine where you want ILP access by using SSH local port forwarding:

ssh -N -L 7768:localhost:7768 [email protected]

Replace the [email protected] with the server on which you're running moneyd.

Reconciliation

If you crash or encounter a bug, you might find that your moneyd instance forgot to send a claim to its parent connector. This results in the parent connector thinking you owe it money, and refusing to forward any of your packets.

To fix this, just stop moneyd and run:

moneyd xrp:topup --amount 1000

You can adjust the amount if you need to reconcile more. The amount is represented in XRP drops; 1000000 is a single XRP so these amounts are typically kept quite small.

Account Info

You can get information about your XRP account's balance and outstanding payment channels. To access this information, run:

moneyd xrp:info

Clean Up Channels

Sometimes you want to get your money back out of a payment channel. Moneyd provides a tool to do this.

Closing a channel happens in two phases. First you mark the channel for closing. This sets an expiry on the channel. Next, once the expiry has passed, you can send another close transaction to get your funds back and delete the channel.

To mark channels for closing, run:

moneyd xrp:cleanup

Select the channels you'd like to close with <space> and then hit <enter>. If you run moneyd xrp:info you'll see that the channels now have expiries set.

Expect it to take an hour for the channel to be ready for closing; this gives the counterparty a chance to submit their best claim.

Once the hour is up, run cleanup again:

moneyd xrp:cleanup

This time, the channels should say ready to close. Mark them for closing, and this time they'll go away for good. Your XRP account will be credited the total channel capacity minus the current channel balance.

If you start moneyd and its previous channel is closing or closed, you need to set a new name to force a new channel to be opened. Follow the instructions on Multiple Instances to accomplish this.

Multiple Instances

Sometimes you want to run several instances of moneyd with for the same XRP account and parent connector.

In order to distinguish your instances of moneyd, set a unique "name" when you configure your uplink. This "name" will be a segment of your ILP address, so it must only use [A-Za-z0-9\-_~]. The "name" must be unique per parent BTP host.

You'll have to configure in advanced mode to prompt for the name. Don't forget to back up your old ~/.moneyd.json first. Then run configure for the currency you're using. For example, with XRP, run:

moneyd xrp:configure --advanced

And then when you're prompted for "name", put in the unique name that you want. This will force a fresh channel to be opened.

You can use as many different "name"s as you want. If you run out of XRP from opening up channels, just follow Clean Up Channels to reclaim it.

Sending Payments

Now that you have moneyd running, you can test it out by uploading a file to unhash. Unhash is a simple content-addressed file upload service based on ILP.

You'll use ILP Curl, which will connect to moneyd and send money to the unhash host.

npm install -g ilp-curl
echo "This is my example file" > example.txt

# use "https://unhash.ilp-test.com" if you're on the testnet"
ilp-curl -X POST https://alpha.unhash.io --data @example.txt
# --> {"digest":"ff5574cef56e644f3fc4d0311b15a3e95f115080bcc029889f9e32121fd60407"}

curl https://alpha.unhash.io/ff5574cef56e644f3fc4d0311b15a3e95f115080bcc029889f9e32121fd60407
# --> "This is my example file"

Now you've successfully sent an ILP payment to pay for a file upload! Another way to use ILP is with SPSP, the simple payment setup protocol. This next example will send a micropayment to $sharafian.com.

npm install -g ilp-spsp

# use "$spsp.ilp-test.com" if you're on the testnet
ilp-spsp send --receiver \$sharafian.com --amount 100

# --> paying 100 to "$sharafian.com"...
# --> sent!

You can browse Interledgerjs on Github to find more use cases.

Connector List

(Submit a PR to add your own connector here)

  • client.scyl.la - N. Virginia
  • ilsp.openafricanetwork.org - W. Europe (waiting for AWS to host instances in Africa...)

moneyd's People

Contributors

adrianhopebailie avatar alexlakatos avatar donchangfoot avatar emilyfabius avatar fjx2000 avatar greenkeeper[bot] avatar kincaidoneil avatar michielbdejong avatar sentientwaffle avatar traviscrist avatar wilsonianb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moneyd's Issues

"TypeError: this._allowedOrigins.isWhitelisted is not a function" on startup

set environment; starting moneyd
2018-02-13T18:15:39.016Z connector:accounts info add account. accountId=parent
2018-02-13T18:15:39.349Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=parent
2018-02-13T18:15:39.350Z connector:accounts info add account. accountId=local
2018-02-13T18:15:39.352Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=local
2018-02-13T18:15:39.353Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
2018-02-13T18:15:39.353Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
2018-02-13T18:15:41.268Z connector:accounts info setting ilp address. oldAddress=unknown newAddress=g.scylla.client.vvRBd6yVIqTvW-QBaLEGI7-dXrXhnpUiREstHZzgIjs
2018-02-13T18:15:41.278Z connector:app info connector ready (republic attitude). address=g.scylla.client.vvRBd6yVIqTvW-QBaLEGI7-dXrXhnpUiREstHZzgIjs

/usr/local/lib/node_modules/moneyd/node_modules/ilp-plugin-mini-accounts/index.js:60`
      if (req.headers && req.headers.origin && !this._allowedOrigins.isWhitelisted(req.headers.origin)) {
                                                                     ^
TypeError: this._allowedOrigins.isWhitelisted is not a function
    at WebSocketServer.wss.on (/usr/local/lib/node_modules/moneyd/node_modules/ilp-plugin-mini-accounts/index.js:60:70)
    at emitTwo (events.js:126:13)
    at WebSocketServer.emit (events.js:214:7)
    at handleUpgrade (/usr/local/lib/node_modules/moneyd/node_modules/ws/lib/WebSocketServer.js:87:16)
    at WebSocketServer.completeUpgrade (/usr/local/lib/node_modules/moneyd/node_modules/ws/lib/WebSocketServer.js:288:5)
    at WebSocketServer.handleUpgrade (/usr/local/lib/node_modules/moneyd/node_modules/ws/lib/WebSocketServer.js:227:10)
    at Server.WebSocketServer._ultron.on (/usr/local/lib/node_modules/moneyd/node_modules/ws/lib/WebSocketServer.js:86:14)
    at emitThree (events.js:136:13)
    at Server.emit (events.js:217:7)
    at onParserExecuteCommon (_http_server.js:495:14)

Occurs upon executing moneyd start, after connector is readied.

Testnet instructions fail

$ moneyd start -c moneyd_test.json
/usr/local/lib/node_modules/moneyd/node_modules/yargs/yargs.js:1100
      else throw err
           ^

Error: ENOENT: no such file or directory, open 'moneyd_test.json'
    at Object.fs.openSync (fs.js:663:18)
    at Object.fs.readFileSync (fs.js:568:33)
    at Object.require.option.option.option.option.option.option.command.argv [as handler] (/usr/local/lib/node_modules/moneyd/bin/index.js:51:36)
    at Object.runCommand (/usr/local/lib/node_modules/moneyd/node_modules/yargs/lib/command.js:235:44)
    at Object.parseArgs [as _parseArgs] (/usr/local/lib/node_modules/moneyd/node_modules/yargs/yargs.js:1013:30)
    at Object.get [as argv] (/usr/local/lib/node_modules/moneyd/node_modules/yargs/yargs.js:957:21)
    at Object.<anonymous> (/usr/local/lib/node_modules/moneyd/bin/index.js:192:3)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)

Insufficient reserve to complete requested operation - moneyd xrp:start

My account definitely has more than the 35 recommended minimum
https://bithomp.com/explorer/rPyURAVppfVm76jdSRsPyZBACdGiXYu4bf
Getting this error when running moneyd xrp:start

starting moneyd
2018-06-22T13:28:59.385Z connector:route-broadcaster info generated random routing secret.
2018-06-22T13:28:59.392Z connector:accounts info add account. accountId=parent
2018-06-22T13:28:59.395Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=parent
2018-06-22T13:28:59.395Z connector:accounts info add account. accountId=local
2018-06-22T13:28:59.418Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=local
2018-06-22T13:28:59.419Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
2018-06-22T13:28:59.419Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
2018-06-22T13:29:07.694Z connector:app error Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-22T13:29:07.663Z","data":"tx failed: {"engine_result":"tecINSUFFICIENT_RESERVE","engine_result_code":141,"engine_result_message":"Insufficient reserve to complete requested operation.","ledger_hash":"E26F7527624A507DA85D19E2C5994A9C3700661D803AC1F9F35247DC78F6316D","ledger_index":39563466,"meta":{"AffectedNodes":[{"ModifiedNode":{"FinalFields":{"Account":"rK6g2UYc4GpQH8DYdPG7wywyQbxkJpQTTN","Balance":"3172117539","Flags":0,"OwnerCount":630,"Sequence":194738},"LedgerEntryType":"AccountRoot","LedgerIndex":"1779FCFCF53ACAF81150E49FCDA32AE74B3DB67FCA77C054E0DEA3DEC4EFE053","PreviousFields":{"Balance":"3172117551","Sequence":194737},"PreviousTxnID":"ED051CA971EED4961C5F3CBC74D6010FEA4A0D780FC86A8A1DFD9336063D8D51","PreviousTxnLgrSeq":39563449}}],"TransactionIndex":36,"TransactionResult":"tecINSUFFICIENT_RESERVE"},"status":"closed","transaction":{"Account":"rK6g2UYc4GpQH8DYdPG7wywyQbxkJpQTTN","Amount":"1000000","Destination":"rPyURAVppfVm76jdSRsPyZBACdGiXYu4bf","Fee":"12","Flags":2147483648,"LastLedgerSequence":39563467,"PublicKey":"ED852D6E57ED4ED73F2403DAA1A668FAD2BF35F6FE04567B960E813EB0C4561AAB","Sequence":194737,"SettleDelay":3600,"SigningPubKey":"03D488B5AA26C87CB14BF23D470520F592A0006A916F5FEEAAB48335D8811A2E9F","SourceTag":3405230851,"TransactionType":"PaymentChannelCreate","TxnSignature":"3045022100FF7B135AE304B92B2EE32154EE9CA06B19BDEC4762C44A091F4FB913F478C93102201C7C16E1C2493BCA95118E2E0CB59AB87CAE4938BCA80B64E59A8B114C531D46","date":582989342,"hash":"9767BF8D612854E01A922F2428647BD00E085AA055ADF3A57E48AC726A94A4BA"},"type":"transaction","validated":true}","protocolData":[]}
at Plugin.callback (/usr/local/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/index.js:343:20)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at Plugin.emit (events.js:214:7)
at Plugin._handleIncomingBtpPacket (/usr/local/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/index.js:378:14)
at Plugin._handleIncomingWsMessage (/usr/local/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/index.js:274:18)
at WebSocketReconnector.EventEmitter.emit (/usr/local/lib/node_modules/moneyd-uplink-xrp/node_modules/eventemitter2/lib/eventemitter2.js:357:19)
at WebSocket._instance.on (/usr/local/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/ws-reconnect.js:20:61)
at emitOne (events.js:116:13)
at WebSocket.emit (events.js:211:7)

Everything seems in order... any ideas?

Feature request for command "moneyd xrp:info"

I've chosen custom names for all my hosts when running moneyd xrp:configure --advanced

But where do those appear except in .moneyd.json file? It's very difficult as it is (today) to know which channel belongs to which host..

Could it be possible to add more options to moneyd xrp:info so it's actually possible to see / sort paymentchannels based on this?

.moneyd.json

{
  "version": 1,
  "uplinks": {
    "xrp": {
      "relation": "parent",
      "plugin": "/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js",
      "assetCode": "XRP",
      "assetScale": 6,
      "balance": {
        "minimum": "-Infinity",
        "maximum": "20000",
        "settleThreshold": "5000",
        "settleTo": "10000"
      },
      "sendRoutes": false,
      "receiveRoutes": false,
      "options": {
        "server": "btp+wss://hodling-xrp-com:blablablablablablablablablablablablablablabla@btp.strata-ilsp-1.com",
        "secret": "blablablablabla",
        "address": "blablablablabla",
        "xrpServer": "wss://s2.ripple.com"
      }
    }
  }
}

Now, there's NO way I can differentiate hosts and paymentchannels, except from extracting info in .moneyd.json file and butting the puzzle together.

[email protected] ~$ moneyd xrp:info
fetching channels...
connecting to xrp ledger...
account: blablablablabla
balance: 63.408075 XRP
  reserved: 60 XRP
  available: 3.4080749999999966 XRP

index  channel id   destination                         amount (drops)  balance (drops)  expiry
0      069FD861...  rK6g2UYc4GpQH8DYdPG7wywyQbxkJpQTTN  10,000,000      10,000
1      09817D8A...  rGwijy3SbxwDNb2yAhtP9ThonpG9o47ZY6  10,000,000      0
2      2B7A39F0...  raJ79Cjbwfcp41KBDoscFrfpvivNouvCTt  10,000,000      0
3      415BF08D...  rpvJxLEQEbnNrmvcm6BntLBnD338qVoAUR  10,000,000      10,000
4      61A2A671...  rDy4ZNRAokcmHvD7fPazisKQsE7iq3tCQF  10,000,000      10,000
5      E2EC660A...  rnbKqVFYk9Cnzj4q6VmY88hJR4cSmc9xGt  10,000,000      10,000
6      E3255F0B...  rDy4ZNRAokcmHvD7fPazisKQsE7iq3tCQF  10,000,000      10,000
7      F454D4FA...  rhAG7gdd2CKAeaEQCwz5pkN9o1KK6CPNGn  10,000,000      10,000

Please consider the following:

  1. Column 'custom name' to be displayed
  2. Don't trunc channel id column
  3. Make it possible to sort doing moneyd xrp:info -sort=name / -sort=destination or similar

I'm running the latest version of Moneyd:
├── [email protected]
├── [email protected]

deprecated port when running with `--testnet`

From moneyd start --testnet:

2018-03-06T18:31:44.246Z connector:app info connector ready (republic attitude). address=test.amundsen.bmp.port-1801-is-deprecated-see-https-github-com-interledger-interledger-wiki-amundsen.Tqf8qJBf0FUVDxrPjXMK8GMiyoZ-Gm9E8sW39tuhDXM

Avoid providing secrets in command-line parameters

moneyd takes command-line parameters like this: moneyd start --secret "s..." --parent "example.com"

Providing a secret on the command-line is not good. It will appear in the command history. Better put it in a file and provide the path to the file on the command-line.

Insufficient reserve to complete requested operation

Hi, I'm encountering this issue no matter how many time I have to reinstall CentOS and Codius from fresh, used new wallet, change different hardware server and funded 360 XRP into the wallet and still i'm getting Insufficient reserve. Anyone able to help?

starting moneyd
2018-08-20T15:40:47.912Z connector:route-broadcaster info generated random routing secret.
2018-08-20T15:40:47.921Z connector:accounts info add account. accountId=parent
2018-08-20T15:40:47.924Z connector:accounts info add account. accountId=local
2018-08-20T15:40:47.955Z connector:rate-limit-middleware debug created token bucket for account. accountId=parent refillPeriod=60000 refillCount=10000 capacity=10000
2018-08-20T15:40:47.957Z connector:balance-middleware debug initializing balance for account. accountId=parent minimumBalance=-Infinity maximumBalance=20000
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace registering data handler +0ms
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace registering money handler +1ms
2018-08-20T15:40:47.958Z connector:rate-limit-middleware debug created token bucket for account. accountId=local refillPeriod=60000 refillCount=10000 capacity=10000
2018-08-20T15:40:47.958Z connector:balance-middleware debug initializing balance for account. accountId=local minimumBalance=-Infinity maximumBalance=Infinity
2018-08-20T15:40:47.959Z connector:accounts debug connecting to parent. accountId=parent
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace connected to server +838ms
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace processing btp packet {"type":1,"requestId":3449494270,"data":{"protocolData":[]}} +199ms
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace received BTP packet (TYPE_RESPONSE, RequestId: 3449494270): {"protocolData":[]} +0ms
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace processing btp packet {"type":1,"requestId":612453047,"data":{"protocolData":[{"protocolName":"info","contentType":2,"data":{"type":"Buffer","data":[123,34,97,100,100,114,101,115,115,34,58,34,114,74,78,97,55,49,99,76,67,106,122,81,71,54,56,111,78,106,104,52,102,67,85,113,67,90,83,71,78,107,87,68,114,77,34,44,34,97,99,99,111,117,110,116,34,58,34,103,46,97,102,114,105,99,97,46,111,112,101,110,46,98,68,75,68,54,51,77,111,116,86,103,112,49,119,66,72,84,107,74,74,74,116,77,45,56,118,117,116,88,121,118,86,99,71,49,45,95,121,99,72,104,73,65,34,44,34,99,117,114,114,101,110,99,121,83,99,97,108,101,34,58,54,44,34,99,104,97,110,110,101,108,34,58,34,56,55,52,48,67,68,57,54,48,66,48,67,56,53,49,67,53,52,48,54,54,56,53,69,68,68,53,56,50,56,54,65,55,67,57,65,54,56,49,66,55,54,53,49,68,52,49,54,66,50,70,66,56,50,65,48,53,52,65,53,69,55,53,53,34,125]}}]}} +197ms
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace received BTP packet (TYPE_RESPONSE, RequestId: 612453047): {"protocolData":[{"protocolName":"info","contentType":2,"data":{"type":"Buffer","data":[123,34,97,100,100,114,101,115,115,34,58,34,114,74,78,97,55,49,99,76,67,106,122,81,71,54,56,111,78,106,104,52,102,67,85,113,67,90,83,71,78,107,87,68,114,77,34,44,34,97,99,99,111,117,110,116,34,58,34,103,46,97,102,114,105,99,97,46,111,112,101,110,46,98,68,75,68,54,51,77,111,116,86,103,112,49,119,66,72,84,107,74,74,74,116,77,45,56,118,117,116,88,121,118,86,99,71,49,45,95,121,99,72,104,73,65,34,44,34,99,117,114,114,101,110,99,121,83,99,97,108,101,34,58,54,44,34,99,104,97,110,110,101,108,34,58,34,56,55,52,48,67,68,57,54,48,66,48,67,56,53,49,67,53,52,48,54,54,56,53,69,68,68,53,56,50,56,54,65,55,67,57,65,54,56,49,66,55,54,53,49,68,52,49,54,66,50,70,66,56,50,65,48,53,52,65,53,69,55,53,53,34,125]}}]} +0ms
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace got info: { address: 'rJNa71cLCjzQG68oNjh4fCUqCZSGNkWDrM',
account: 'g.africa.open.bDKD63MotVgp1wBHTkJJJtM-8vutXyvVcG1-_ycHhIA',
currencyScale: 6,
channel:
'8740CD960B0C851C5406685EDD58286A7C9A681B7651D416B2FB82A054A5E755' } +0ms
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace no client channel has been established; requesting +3s
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace processing btp packet {"type":2,"requestId":1425364959,"data":{"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-08-20T15:40:59.546Z","data":"tx failed: {"engine_result":"tecINSUFFICIENT_RESERVE","engine_result_code":141,"engine_result_message":"Insufficient reserve to complete requested operation.","ledger_hash":"1AC40145B5CB5734EC099CA8DD843F2EB4732C7D646E20F33E2DC24AC7B89743","ledger_index":40936929,"meta":{"AffectedNodes":[{"ModifiedNode":{"FinalFields":{"Account":"rJNa71cLCjzQG68oNjh4fCUqCZSGNkWDrM","Balance":"1446966723","Flags":0,"OwnerCount":285,"Sequence":32185},"LedgerEntryType":"AccountRoot","LedgerIndex":"D16BF3F23AFB01CA5AC7860F9AF8037117972D5A389DDFDBB5A1064742B154D8","PreviousFields":{"Balance":"1446966735","Sequence":32184},"PreviousTxnID":"83568A495D1E01E940ABFA59BECFC8C9CAC9CD896805EE0C750A2AABADCE18FE","PreviousTxnLgrSeq":40936928}}],"TransactionIndex":24,"TransactionResult":"tecINSUFFICIENT_RESERVE"},"status":"closed","transaction":{"Account":"rJNa71cLCjzQG68oNjh4fCUqCZSGNkWDrM","Amount":"1000000","Destination":"rJmfhJk6oGj976Jcke5fmWqMDtHxD33znW","Fee":"12","Flags":2147483648,"LastLedgerSequence":40936930,"PublicKey":"EDFA466412BAEDEAA8EB0539AD9A83D40331189E3A3F829E550AE024760EE86260","Sequence":32184,"SettleDelay":3600,"SigningPubKey":"03C5FFF69D648EBDDF19998A668BDEEA6ABAFDA446950ECFEEEB2578AC142B7409","SourceTag":3286349623,"TransactionType":"PaymentChannelCreate","TxnSignature":"30450221008F9DE15C2E06A9829E2D80204806ABF1FD946660B8A8D6BD8BE9D6B36C2F59D102206780C047D46475F596BECD25F12337418B97CAF99FF3D98D9D8310CCF193218B","date":588094860,"hash":"18A694E051E07BD2ED5AEF59CFA8DBC3BEBF9DE86710F44ACFE956FFBF6FC786"},"type":"transaction","validated":true}","protocolData":[]}} +7s
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace received BTP packet (TYPE_ERROR, RequestId: 1425364959): {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-08-20T15:40:59.546Z","data":"tx failed: {"engine_result":"tecINSUFFICIENT_RESERVE","engine_result_code":141,"engine_result_message":"Insufficient reserve to complete requested operation.","ledger_hash":"1AC40145B5CB5734EC099CA8DD843F2EB4732C7D646E20F33E2DC24AC7B89743","ledger_index":40936929,"meta":{"AffectedNodes":[{"ModifiedNode":{"FinalFields":{"Account":"rJNa71cLCjzQG68oNjh4fCUqCZSGNkWDrM","Balance":"1446966723","Flags":0,"OwnerCount":285,"Sequence":32185},"LedgerEntryType":"AccountRoot","LedgerIndex":"D16BF3F23AFB01CA5AC7860F9AF8037117972D5A389DDFDBB5A1064742B154D8","PreviousFields":{"Balance":"1446966735","Sequence":32184},"PreviousTxnID":"83568A495D1E01E940ABFA59BECFC8C9CAC9CD896805EE0C750A2AABADCE18FE","PreviousTxnLgrSeq":40936928}}],"TransactionIndex":24,"TransactionResult":"tecINSUFFICIENT_RESERVE"},"status":"closed","transaction":{"Account":"rJNa71cLCjzQG68oNjh4fCUqCZSGNkWDrM","Amount":"1000000","Destination":"rJmfhJk6oGj976Jcke5fmWqMDtHxD33znW","Fee":"12","Flags":2147483648,"LastLedgerSequence":40936930,"PublicKey":"EDFA466412BAEDEAA8EB0539AD9A83D40331189E3A3F829E550AE024760EE86260","Sequence":32184,"SettleDelay":3600,"SigningPubKey":"03C5FFF69D648EBDDF19998A668BDEEA6ABAFDA446950ECFEEEB2578AC142B7409","SourceTag":3286349623,"TransactionType":"PaymentChannelCreate","TxnSignature":"30450221008F9DE15C2E06A9829E2D80204806ABF1FD946660B8A8D6BD8BE9D6B36C2F59D102206780C047D46475F596BECD25F12337418B97CAF99FF3D98D9D8310CCF193218B","date":588094860,"hash":"18A694E051E07BD2ED5AEF59CFA8DBC3BEBF9DE86710F44ACFE956FFBF6FC786"},"type":"transaction","validated":true}","protocolData":[]} +1ms
2018-08-20T15:40:59.654Z connector:app error Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-08-20T15:40:59.546Z","data":"tx failed: {"engine_result":"tecINSUFFICIENT_RESERVE","engine_result_code":141,"engine_result_message":"Insufficient reserve to complete requested operation.","ledger_hash":"1AC40145B5CB5734EC099CA8DD843F2EB4732C7D646E20F33E2DC24AC7B89743","ledger_index":40936929,"meta":{"AffectedNodes":[{"ModifiedNode":{"FinalFields":{"Account":"rJNa71cLCjzQG68oNjh4fCUqCZSGNkWDrM","Balance":"1446966723","Flags":0,"OwnerCount":285,"Sequence":32185},"LedgerEntryType":"AccountRoot","LedgerIndex":"D16BF3F23AFB01CA5AC7860F9AF8037117972D5A389DDFDBB5A1064742B154D8","PreviousFields":{"Balance":"1446966735","Sequence":32184},"PreviousTxnID":"83568A495D1E01E940ABFA59BECFC8C9CAC9CD896805EE0C750A2AABADCE18FE","PreviousTxnLgrSeq":40936928}}],"TransactionIndex":24,"TransactionResult":"tecINSUFFICIENT_RESERVE"},"status":"closed","transaction":{"Account":"rJNa71cLCjzQG68oNjh4fCUqCZSGNkWDrM","Amount":"1000000","Destination":"rJmfhJk6oGj976Jcke5fmWqMDtHxD33znW","Fee":"12","Flags":2147483648,"LastLedgerSequence":40936930,"PublicKey":"EDFA466412BAEDEAA8EB0539AD9A83D40331189E3A3F829E550AE024760EE86260","Sequence":32184,"SettleDelay":3600,"SigningPubKey":"03C5FFF69D648EBDDF19998A668BDEEA6ABAFDA446950ECFEEEB2578AC142B7409","SourceTag":3286349623,"TransactionType":"PaymentChannelCreate","TxnSignature":"30450221008F9DE15C2E06A9829E2D80204806ABF1FD946660B8A8D6BD8BE9D6B36C2F59D102206780C047D46475F596BECD25F12337418B97CAF99FF3D98D9D8310CCF193218B","date":588094860,"hash":"18A694E051E07BD2ED5AEF59CFA8DBC3BEBF9DE86710F44ACFE956FFBF6FC786"},"type":"transaction","validated":true}","protocolData":[]}
at Plugin.callback (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.ts:441:20)
at Plugin.listener (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/eventemitter2/lib/eventemitter2.js:290:17)
at Plugin.EventEmitter.emit (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/eventemitter2/lib/eventemitter2.js:357:19)
at Plugin. (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.ts:476:14)
at Generator.next ()
at /usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.js:7:71
at new Promise ()
at __awaiter (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.js:3:12)
at Plugin._handleIncomingBtpPacket (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.js:340:16)
at Plugin. (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.ts:329:18)
ilp-xrp-channel-watcher checking 0 channels for expiry +0ms
ilp-ws-reconnect:debug websocket disconnected with 1006; reconnect in 5000 +0ms
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace connected to server +1m
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace processing btp packet {"type":1,"requestId":899175628,"data":{"protocolData":[]}} +212ms
connector:/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace received BTP packet (TYPE_RESPONSE, RequestId: 899175628): {"protocolData":[]} +0ms

MoneyD Issue

ilp-plugin-btp processing btp packet {"type":2,"requestId":3999174485,"data":{"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T09:45:55.552Z","data":"Cannot read property 'Account' of undefined","protocolData":[]}} +11s
ilp-plugin-btp received BTP packet (TYPE_ERROR, RequestId: 3999174485): {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T09:45:55.552Z","data":"Cannot read property 'Account' of undefined","protocolData":[]} +0ms
2018-06-17T09:45:55.605Z connector:app error Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T09:45:55.552Z","data":"Cannot read property 'Account' of undefined","protocolData":[]}
at Plugin.callback (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/index.js:343:20)
at Object.onceWrapper (events.js:273:13)
at Plugin.emit (events.js:182:13)
at Plugin._handleIncomingBtpPacket (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/index.js:378:14)
at Plugin._handleIncomingWsMessage (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/index.js:274:18)
at WebSocketReconnector.EventEmitter.emit (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/eventemitter2/lib/eventemitter2.js:357:19)
at WebSocket._instance.on (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/ws-reconnect.js:20:61)
at WebSocket.emit (events.js:182:13)
at Receiver._receiver.onmessage (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/node_modules/ws/lib/WebSocket.js:141:47)
at Receiver.dataMessage (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/node_modules/ws/lib/Receiver.js:380:14)

How select a channel to close?

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?

502 Bad Gateway: store.load is not a function error

Hello, I was installing Codius and everything went fine. However the host gave me and 502 errors, I was then troubleshooting and found out that moneyd was running but with issues.

Starting in debug mode gave me this error:

{"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-07-05T16:45:19.257Z","data":"store.load is not a function","protocolData":[]} (node:3407) UnhandledPromiseRejectionWarning: Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-07-05T16:45:19.257Z","data":"store.load is not a function","protocolData":[]}

An in-range update of ilp-connector is breaking the build 🚨

The dependency ilp-connector was updated from 22.1.0 to 22.1.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ilp-connector is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: test: Your tests failed on CircleCI (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of chalk is breaking the build 🚨

The dependency chalk was updated from 2.4.1 to 2.4.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

chalk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: test: Your tests failed on CircleCI (Details).

Release Notes for v2.4.2

This release is done from the v2-release branch, as master branch targets the work-in-progress v3 release.

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of node-fetch is breaking the build 🚨

The dependency node-fetch was updated from 2.2.0 to 2.2.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

node-fetch is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: test: Your tests failed on CircleCI (Details).

Release Notes for v2.2.1

See CHANGELOG.

Commits

The new version differs by 8 commits.

  • ac07bf7 2.2.1
  • 9a32fd3 ready for release
  • 4bc21da doc update
  • 5494e19 compress flag should not overwrite accept encoding header
  • 91e1c0b avoid named export for compatibility below node 10
  • d935121 fix import rule for stream PassThrough
  • 8cc909f update readme to add credits and call for collaborators (#540)
  • 745a27c README update (#504)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Running a node

Hi All,
How do I go about running rode v8.9.4 or higher as requested under the system requirements on the instructions of this page? Let me know. A thank you to Ben Sharafian for providing some great tips and pointing me to Moneyd, btw!

Create moneyd.json with 600 instead of 644

We should have stricter permissions on the moneyd.json. By default it should create with 600 so that only the user who made it can access it. We may also want to follow what ssh does and refuse to open it if the permissions aren't strict enough

moneyd start command hangs

I'm running moneyd start with the parent pointed at scylla and my XRP secret. It prints the following but doesn't actually connect:

set environment; starting moneyd
2018-02-05T20:30:06.851Z connector:accounts info add account. accountId=parent
2018-02-05T20:30:07.337Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=parent
2018-02-05T20:30:07.338Z connector:accounts info add account. accountId=local
2018-02-05T20:30:07.340Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=local
2018-02-05T20:30:07.341Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
2018-02-05T20:30:07.341Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local

NotAcceptedError

{"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-07-12T16:27:27.080Z","data":"cannot connect to blocked account. reconfigure your uplink to connect with a new payment channel.","protocolData":[]}

Tried reconfigure:
fatal: Error: config already exists for uplinkName=xrp file=/root/.moneyd.json

Removed JSON, configured again. Need even more XRP now. Started at 25, then it was 36 and now it is 41. WHY

An in-range update of ilp-plugin-mini-accounts is breaking the build 🚨

The dependency ilp-plugin-mini-accounts was updated from 3.5.1 to 3.5.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ilp-plugin-mini-accounts is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: test: Your tests failed on CircleCI (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Cannot read property 'Account' of undefined

When I try to run moneyd-xrp i get the followin error:

Debug log entries:

2018-06-17T09:35:31.329Z ilp-plugin-xrp-asym-client creating outgoing channel
2018-06-17T09:35:31.706Z ilp-plugin-xrp-asym-client signing transaction
2018-06-17T09:35:32.152Z ilp-plugin-xrp-asym-client submitted outgoing channel tx to validator
2018-06-17T09:35:32.152Z ilp-plugin-xrp-asym-client waiting for transaction to be added to the ledger
2018-06-17T09:35:36.189Z ilp-plugin-xrp-asym-client transaction complete
2018-06-17T09:35:36.592Z ilp-plugin-xrp-asym-client no client channel has been established; requesting
2018-06-17T09:35:48.086Z ilp-plugin-btp processing btp packet {"type":2,"requestId":161871734,"data":{"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T09:35:48.032Z","data":"Cannot read property 'Account' of undefined","protocolData":[]}}
2018-06-17T09:35:48.086Z ilp-plugin-btp received BTP packet (TYPE_ERROR, RequestId: 161871734): {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T09:35:48.032Z","data":"Cannot read property 'Account' of undefined","protocolData":[]}

2018-06-17T09:35:48.087Z connector:app error Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T09:35:48.032Z","data":"Cannot read property 'Account' of undefined","protocolData":[]}

   at Plugin.callback (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/index.js:343:20)
   at Object.onceWrapper (events.js:273:13)
   at Plugin.emit (events.js:182:13)
   at Plugin._handleIncomingBtpPacket (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/index.js:378:14)
   at Plugin._handleIncomingWsMessage (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/index.js:274:18)
   at WebSocketReconnector.EventEmitter.emit (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/eventemitter2/lib/eventemitter2.js:357:19)
   at WebSocket._instance.on (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/ws-reconnect.js:20:61)
   at WebSocket.emit (events.js:182:13)
   at Receiver._receiver.onmessage (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/node_modules/ws/lib/WebSocket.js:141:47)
   at Receiver.dataMessage (/usr/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/node_modules/ws/lib/Receiver.js:380:14)

Bitcoingold uplink

Hello, I'd like to add Bitcoin Gold(BTG) support to moneyd. I'm new to ilp and have close to zero clue what I'm doing :) . What I've done so far is forking ilp-plugin-bitcoin-paychan - https://github.com/Vutov/ilp-plugin-bitcoin-paychan and doing changes for BTG. Could you please guide me a little on what I have to do so moneyd can work with BTG.

Accepting connections only from localhost

moneyd is supposed to accept connections only from localhost by default. To achieve this, you can bind the websocket server to localhost like so:

const plugin = new IlpPluginMiniAccounts({
  wsOpts: {
    host: '127.0.0.1',
    port: 80
  }
})

However, we should prevent websocket connections initiated from a browser to connect to moneyd. Otherwise, a malicious site could serve some JS code that opens a websocket to localhost and steal money. Something like:

Local WebSocket Server            Browser            Evil Web Server
at ws://localhost:1234                               at http://evil.tld
        |                            |                       |
        |                            |------[GET /]--------->|
        |                            |<-----[HTML+EvilJS]----|
        |<--[connect ws://local...]--|                       |
        |<----[some communication]-->|                       |
        |                            |----[evil forward]---->|
        |                            |                       |

Rejecting websocket connections initiated from browsers should prevent such attacks. This can be achieved by checking for the origin header: https://github.com/interledgerjs/ilp-plugin-mini-accounts/blob/da-listen-localhost-only/index.js#L52-L56

Faulty error message when uplink is missing

[awong@localhost ~]$ moneyd xrp:configure --testnet
Missing required plugin. To install, run:

$ npm install -g [object Object]

assuming moneyd was also installed globally.

Balance middleware error - attempting to settle a 0 amount

Just installed a fresh moneyd instance and connected to the testnet. A couple seconds later it logged this error:

2018-03-20T15:38:12.261Z connector:balance-middleware error error occurred during settlement. accountId=parent settleAmount=10000 errInfo=Error: amount is not a valid xrp amount. amount=0
    at Object.encodeClaim (/usr/local/lib/node_modules/moneyd/node_modules/ilp-plugin-xrp-paychan-shared/lib/util.js:73:11)
    at Plugin.sendMoney (/usr/local/lib/node_modules/moneyd/node_modules/ilp-plugin-xrp-asym-client/index.js:366:31)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7)

This sounds like something related to XRP amount rounding

add integration example

The README should include a minimal snippet demonstrating how to integrate an application with moneyd (or if not in the README, then an example.js).

Error when blocking browser should explain how to fix it

I was running moneyd and got the following error:

Closing a websocket connection received from a browser. Origin is chrome-extension://fakjpmebfmpdbhpnddiokemempckoejk

After some googling, I figured out that I needed to set the --unsafe-allow-extensions flag. The error message should just tell you that you can set that flag to bypass the error. -> no more googling necessary.

Multiple Instances doesn't work. 6 server using same payment channel

Hi,

Followed the guideline for using multiple instances for the same wallet - however it seems it is not working correctly.

Got 7 servers running:

https://c1.vuuh.com
https://c2.vuuh.com
https://c3.vuuh.com
https://c4.vuuh.com
https://c5.vuuh.com
https://c6.vuuh.com
https://c7.vuuh.com

c1 runs it own payment channel (but doesnt run client.scyl.la, but another Ben linked me)
the remaining 6 all use the SAME payment channel on client.scyl.la.

They all have "name" set and they are all unique from each other and only contains numbers and letters (They are named "c1", "c2" and so on)

Something seems off here.

Can't see any mention of "name" when moneyd starts in debug mode either

Proposal: moneyd with Multiple Currencies / Uplinks

moneyd was originally envisioned as a daemon for holding a single currency that would let the user send and receive all Interledger payments from a single account. However, as pointed out by @karzak and @kincaidoneil, among others, many people want to be able to transact and trade multiple currencies. Previously, the question we asked was how moneyd or applications connected to it would determine what currency to use at a given moment. The assumption was that we would need moneyd to have a local view of the respective value of the currencies in order to decide automatically.

We should:

  • enable moneyd to connect to multiple uplinks at the same time
  • allow the user to specify defaults for sending and receiving
  • enable the default settings to be temporarily overridden

This is partially inspired by the experience of using rustup with Rust. You can install multiple versions of the rust compiler and toolchain (rustup install stable), set the default toolchain to use (rustup default nightly), and then run specific commands using a given toolchain (rustup run stable <command>). (This isn't a perfect comparison because moneyd is a daemon that keeps running, rather than a toolchain you'll use to run a single command.)

Open questions:

  • Would we need a separate local mini accounts denominated in each currency?
  • If an application connects to moneyd while it is set to use one currency, should that application keep using that currency even if moneyd's settings change?
  • Should applications be aware of what currency they're connecting to? If so, that would enable you to send money between your different accounts by doing something like spsp server --asset=XRP --port=3000 && spsp pay --asset=ETH --receiver=http://localhost:3000 --amount 10000

What do you think?

payment errors when trying to upload pod - codius upload <manifest>

Couple different errors

  • Fetching price quote from host https://codius2.codiusmoon.com failed, please try again

  • Fetching price quote from host https://c1.mdbk.casa failed, please try again

  • Failed To Upload Pods to:
    [ { error: 'Request Failed',
    host: 'https://codius1.cryptoseeker.net',
    status: 402,
    statusText: 'Payment Required' } ]

These are all different attempts of course

And heres my output from moneyd on my side:
starting moneyd
2018-06-25T00:39:25.815Z connector:route-broadcaster info generated random routing secret.
2018-06-25T00:39:25.830Z connector:accounts info add account. accountId=parent
2018-06-25T00:39:25.833Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=parent
2018-06-25T00:39:25.833Z connector:accounts info add account. accountId=local
2018-06-25T00:39:25.876Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=local
2018-06-25T00:39:25.876Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
2018-06-25T00:39:25.877Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
2018-06-25T00:39:27.193Z connector:accounts info setting ilp address. oldAddress=unknown newAddress=g.scylla.client.k5suCtKfeO_BqpOG6hr9uNjyGdF4H4YF9oY6_fyOGs4
2018-06-25T00:39:27.202Z connector:admin-api info listen called
2018-06-25T00:39:27.202Z connector:app info connector ready (republic attitude). address=g.scylla.client.k5suCtKfeO_BqpOG6hr9uNjyGdF4H4YF9oY6_fyOGs4
2018-06-25T00:48:14.115Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1000 destination=g.scylla.client.6egQXNJhBO54O8YUwMgL8x-ckvC54tzTz3ge6DrweWU.local.lIgYcgh-WU-VeHa0RWrCk71paQiS3WPmND0lyOMojjs.NoFE0gE7DbhUx7QHi-Cq6eE1fdcf1687cef76bc43bd4d503095fc53d
2018-06-25T00:48:14.261Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=7611 destination=g.scylla.client.6egQXNJhBO54O8YUwMgL8x-ckvC54tzTz3ge6DrweWU.local.lIgYcgh-WU-VeHa0RWrCk71paQiS3WPmND0lyOMojjs.NoFE0gE7DbhUx7QHi-Cq6eE1
fdcf1687cef76bc43bd4d503095fc53d
2018-06-25T00:48:14.304Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1000 destination=g.scylla.client.6egQXNJhBO54O8YUwMgL8x-ckvC54tzTz3ge6DrweWU.local.lIgYcgh-WU-VeHa0RWrCk71paQiS3WPmND0lyOMojjs.NoFE0gE7DbhUx7QHi-Cq6eE1fdcf1687cef76bc43bd4d503095fc53d
2018-06-25T00:48:14.433Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.k5suCtKfeO_BqpOG6hr9uNjyGdF4H4YF9oY6_fyOGs4.local.T8JKlupCb7JQlRB9Kp6SRhUjzdDNylmWCQha_mJj_vw
2018-06-25T00:48:14.442Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=0 destination=g.scylla.client.6egQXNJhBO54O8YUwMgL8x-ckvC54tzTz3ge6DrweWU.local.lIgYcgh-WU-VeHa0RWrCk71paQiS3WPmND0lyOMojjs.NoFE0gE7DbhUx7QHi-Cq6eE1
fdcf1687cef76bc43bd4d503095fc53d
2018-06-25T00:48:14.567Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=0 destination=g.scylla.client.k5suCtKfeO_BqpOG6hr9uNjyGdF4H4YF9oY6_fyOGs4.local.T8JKlupCb7JQlRB9Kp6SRhUjzdDNylmWCQha_mJj_vw
2018-06-25T00:48:14.705Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=0 destination=g.scylla.client.k5suCtKfeO_BqpOG6hr9uNjyGdF4H4YF9oY6_fyOGs4.local.T8JKlupCb7JQlRB9Kp6SRhUjzdDNylmWCQha_mJj_vw

MaxListenersExceededWarning: (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.

Hello,

I was following the Getting Started section on interledger.org, getting this line when I ran

moneyd xrp:start --testnet

did not did anything and it is running at the time of posting. Found this repo, started following instructions in README.md after above command.

Installed

ilp-curl

and ran

ilp-curl -X POST https://unhash.ilp-test.com --data @1.txt

1.txt is the file containing text. Got the same error but didn't stop it and its running.

Went back to interledger and started following SPSP tutorial, installed

ilp-spsp

and ran

ilp-spsp send --amount 10 --receiver '$spsp.ilp-test.com'

Got message

paying 10 to "$spsp.ilp-test.com"...

and then instead of getting sent, got the same error.

Have not stopped any of the above programs but I think nothing is happening in them. Please guide as I have been looking for a project like this and I am happy to try it, please guide me as I don't have much information if I should be looking elsewhere.

MoneyD Stopping every 2.5 hours

Hi,
I have a codius host running and every 2 hours moneyd seems to stop. I have run a full diagnostice on the hardware, rebuilt CentOs and reinstalled everything including moneyd but still have the same issue. There is nothing in the logs to suggest an error, the logs just stop until i restart moneyd. Any help would be appreciated.

Aug 24 15:40:01 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T14:40:01.329Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=142 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.K0xFFrN63jp4e3c5bNSB4ikb1f0b60959202476d4cd7c901611bf3cf
Aug 24 15:40:01 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T14:40:01.519Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=0 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.K0xFFrN63jp4e3c5bNSB4ikb
1f0b60959202476d4cd7c901611bf3cf
Aug 24 15:41:30 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T14:41:30.060Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=0 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.K0xFFrN63jp4e3c5bNSB4ikb1f0b60959202476d4cd7c901611bf3cf
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 88
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 88
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 88
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 88,dPYba,,adPYba, ,adPPYba, 8b,dPPYba, ,adPPYba, 8b d8 ,adPPYb,88
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 88P' "88" "8a a8" "8a 88P' "8a a8P_____88 8b d8' a8" Y88 Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 88 88 88 8b d8 88 88 8PP""""""" 8b d8' 8b 88
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 88 88 88 "8a, ,a8" 88 88 "8b, ,aa 8b,d8' "8a, ,d88 Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 88 88 88 "YbbdP"' 88 88 "Ybbd8"' Y88' "8bbdP"Y8
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: d8'
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: d8'
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: starting �[01;31m�[Kmoneyd�[m�[K
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T17:21:51.415Z connector:route-broadcaster info generated random routing secret.
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T17:21:51.422Z connector:accounts info add account. accountId=parent
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T17:21:51.426Z connector:accounts info add account. accountId=local
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T17:21:51.446Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=local
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T17:21:51.447Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
Aug 24 18:21:51 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T17:21:51.447Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
Aug 24 18:21:54 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T17:21:54.639Z connector:/usr/lib/node_modules/�[01;31m�[Kmoneyd�[m�[K-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent] info connected asym client plugin
Aug 24 18:21:54 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T17:21:54.737Z connector:accounts info setting ilp address. oldAddress=unknown newAddress=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ
Aug 24 18:21:54 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T17:21:54.748Z connector:admin-api info listen called
Aug 24 18:21:54 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T17:21:54.748Z connector:app info connector ready (republic attitude). address=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ
Aug 24 20:52:21 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:21.188Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.pl3kO6cOqbQALXvS-XW-7a9Q
e474b8175079e33414e098af801b619d
Aug 24 20:52:21 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:21.190Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.pl3kO6cOqbQALXvS-XW-7a9Qe474b8175079e33414e098af801b619d
Aug 24 20:52:21 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:21.375Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.pl3kO6cOqbQALXvS-XW-7a9Q
e474b8175079e33414e098af801b619d
Aug 24 20:52:21 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:21.565Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=0 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.pl3kO6cOqbQALXvS-XW-7a9Qe474b8175079e33414e098af801b619d
Aug 24 20:52:24 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:24.573Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.Z720O_yE5lFp7-dyv53TqQbv6CbhiBIpD4WJ9affLo0
Aug 24 20:52:24 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:24.574Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1000 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.Z720O_yE5lFp7-dyv53TqQbv6CbhiBIpD4WJ9affLo0
Aug 24 20:52:24 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:24.575Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1000000 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.Z720O_yE5lFp7-dyv53TqQbv6CbhiBIpD4WJ9affLo0
Aug 24 20:52:24 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:24.579Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1000000000 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.Z720O_yE5lFp7-dyv53TqQbv6CbhiBIpD4WJ9affLo0
Aug 24 20:52:24 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:24.579Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1000000000000 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.Z720O_yE5lFp7-dyv53TqQbv6CbhiBIpD4WJ9affLo0
Aug 24 20:52:25 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:25.642Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=0 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.Z720O_yE5lFp7-dyv53TqQbv6CbhiBIpD4WJ9affLo0
Aug 24 20:52:27 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:27.116Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=0 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.Z720O_yE5lFp7-dyv53TqQbv6CbhiBIpD4WJ9affLo0
Aug 24 20:52:27 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:27.732Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=0 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.Z720O_yE5lFp7-dyv53TqQbv6CbhiBIpD4WJ9affLo0
Aug 24 20:52:27 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:27.916Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.pl3kO6cOqbQALXvS-XW-7a9Q
e474b8175079e33414e098af801b619d
Aug 24 20:52:28 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:28.122Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.pl3kO6cOqbQALXvS-XW-7a9Qe474b8175079e33414e098af801b619d
Aug 24 20:52:28 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:28.306Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.pl3kO6cOqbQALXvS-XW-7a9Q
e474b8175079e33414e098af801b619d
Aug 24 20:52:28 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:28.493Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=425 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.pl3kO6cOqbQALXvS-XW-7a9Qe474b8175079e33414e098af801b619d
Aug 24 20:52:28 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:52:28.678Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=0 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.pl3kO6cOqbQALXvS-XW-7a9Q
e474b8175079e33414e098af801b619d
Aug 24 20:53:08 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T19:53:08.810Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=0 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.pl3kO6cOqbQALXvS-XW-7a9Qe474b8175079e33414e098af801b619d
Aug 24 23:00:22 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:22.679Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.a3vWHdlRDdVajyQbiaxotpER
63adad5525c460e483f8ee9c6a2e168b
Aug 24 23:00:22 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:22.682Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.a3vWHdlRDdVajyQbiaxotpER63adad5525c460e483f8ee9c6a2e168b
Aug 24 23:00:22 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:22.864Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.a3vWHdlRDdVajyQbiaxotpER
63adad5525c460e483f8ee9c6a2e168b
Aug 24 23:00:23 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:23.054Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=0 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.a3vWHdlRDdVajyQbiaxotpER63adad5525c460e483f8ee9c6a2e168b
Aug 24 23:00:28 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:28.904Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.iNLyaZOi3vsEq1LHqs-dSvKpErmXbuRU3QVLOYc7Eck
Aug 24 23:00:28 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:28.906Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1000 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.iNLyaZOi3vsEq1LHqs-dSvKpErmXbuRU3QVLOYc7Eck
Aug 24 23:00:28 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:28.906Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1000000 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.iNLyaZOi3vsEq1LHqs-dSvKpErmXbuRU3QVLOYc7Eck
Aug 24 23:00:28 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:28.909Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1000000000 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.iNLyaZOi3vsEq1LHqs-dSvKpErmXbuRU3QVLOYc7Eck
Aug 24 23:00:28 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:28.910Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=1000000000000 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.iNLyaZOi3vsEq1LHqs-dSvKpErmXbuRU3QVLOYc7Eck
Aug 24 23:00:34 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:34.454Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=0 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.iNLyaZOi3vsEq1LHqs-dSvKpErmXbuRU3QVLOYc7Eck
Aug 24 23:00:36 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:36.891Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=0 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.iNLyaZOi3vsEq1LHqs-dSvKpErmXbuRU3QVLOYc7Eck
Aug 24 23:00:37 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:37.167Z connector:route-builder info constructing next hop packet. sourceAccount=local sourceAmount=0 destination=g.scylla.client.kW0gUoApd6-KRzqi4OyhHLjzWs3OKmXEw2qrI7Sbn_Y.local.iNLyaZOi3vsEq1LHqs-dSvKpErmXbuRU3QVLOYc7Eck
Aug 24 23:00:37 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:37.348Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.a3vWHdlRDdVajyQbiaxotpER
63adad5525c460e483f8ee9c6a2e168b
Aug 24 23:00:37 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:37.550Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.a3vWHdlRDdVajyQbiaxotpER63adad5525c460e483f8ee9c6a2e168b
Aug 24 23:00:37 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:37.736Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.a3vWHdlRDdVajyQbiaxotpER
63adad5525c460e483f8ee9c6a2e168b
Aug 24 23:00:37 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:37.921Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=425 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.a3vWHdlRDdVajyQbiaxotpER63adad5525c460e483f8ee9c6a2e168b
Aug 24 23:00:38 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:00:38.103Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=0 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.a3vWHdlRDdVajyQbiaxotpER
63adad5525c460e483f8ee9c6a2e168b
Aug 24 23:01:58 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-24T22:01:58.425Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=0 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.a3vWHdlRDdVajyQbiaxotpER63adad5525c460e483f8ee9c6a2e168b
Aug 25 10:36:13 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-25T09:36:13.144Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.eJ44G_kC5wLzWigMpEAlzBUg
3a192cc4bb670848de3e488bcb364687
Aug 25 10:36:13 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-25T09:36:13.147Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.eJ44G_kC5wLzWigMpEAlzBUg3a192cc4bb670848de3e488bcb364687
Aug 25 10:36:13 codius1 �[01;31m�[Kmoneyd�[m�[K: 2018-08-25T09:36:13.347Z connector:route-builder info constructing next hop packet. sourceAccount=parent sourceAmount=1000 destination=g.scylla.client.aCkbLeL-cg0kITxU7Tn_E1QQT195zNkkv_lspii28BQ.local.8E0Ji9-s3q-fRKZi1PvI6HYubGJwT5RisRYzsTlxWMg.eJ44G_kC5wLzWigMpEAlzBUg
3a192cc4bb670848de3e488bcb364687

"Insufficient reserve to complete request ed operation"

I have available: 315.973586 XRP in my account, but I failed to run "moneyd xrp:start" with "Insufficient reserve to complete request ed operation". Any idea about this issue ?

2018-08-21T22:39:28.565Z connector:route-broadcaster info generated random routing secret.
2018-08-21T22:39:28.572Z connector:accounts info add account. accountId=parent
2018-08-21T22:39:28.575Z connector:accounts info add account. accountId=local
2018-08-21T22:39:38.046Z connector:app error Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-08-21T22:39:37.889Z","data":"tx fai led: {"engine_result":"tecINSUFFICIENT_RESERVE","engine_result_code":141,"engine_result_message":"Insufficient reserve to complete request ed operation.","ledger_hash":"4C48D0160746C6985F4249541397B99F8783C5E5C791868D1FA1D5C475E8C6D7","ledger_index":40966621,"meta":{"Affected Nodes":[{"ModifiedNode":{"FinalFields":{"Account":"rhAG7gdd2CKAeaEQCwz5pkN9o1KK6CPNGn","Balance":"831847639","Flags":0,"OwnerCount\ ":162,"Sequence":4064},"LedgerEntryType":"AccountRoot","LedgerIndex":"2A0FA6C99CB992D9874E3186E03FC73ABE73E893843EE0E50B00E0F7F43CBAD0",\ "PreviousFields":{"Balance":"831847651","Sequence":4063},"PreviousTxnID":"BE0EC1B26B0DCA9AD32174FAAEED1B14497CB8D2F599390DE181319101DAB69 2","PreviousTxnLgrSeq":40966598}}],"TransactionIndex":26,"TransactionResult":"tecINSUFFICIENT_RESERVE"},"status":"closed","transactio n":{"Account":"rhAG7gdd2CKAeaEQCwz5pkN9o1KK6CPNGn","Amount":"1000000","Destination":"r9WxHH67JH8zGu5jZG2edfP5KpMiD98PGJ","Fee":"12\ ","Flags":2147483648,"LastLedgerSequence":40966622,"PublicKey":"EDBBAADDC5A9F2E869E0FE717DE33A63A40B8262734EA32C93D2DD2B8EFD50A3E9","Seque nce":4063,"SettleDelay":3600,"SigningPubKey":"0318E42680BC1AEB740DBC00B94EB668A21D658C532B5DD1B57658AF56179FE827","SourceTag":1029551716,\ "TransactionType":"PaymentChannelCreate","TxnSignature":"3044022009D988FBB8B84B0237739D09B9D7FBFA0E8D1ABEFCBCD1A6237F61AD78812268022046A88F7F C562BA806676B8B3DDD6F56E983C0BD77393F60DE8B4D87C14BB20B1","date":588206372,"hash":"1CFBF5846E277EBA59A02A15B660601FE1DE1C847279E77BA7F9B8F338 2D8F78"},"type":"transaction","validated":true}","protocolData":[]}
at Plugin.callback (/home/alex/.nvm/versions/node/v9.1.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.ts:441:20)
at Plugin.listener (/home/alex/.nvm/versions/node/v9.1.0/lib/node_modules/moneyd-uplink-xrp/node_modules/eventemitter2/lib/eventemitter2.js:290 :17)
at Plugin.EventEmitter.emit (/home/alex/.nvm/versions/node/v9.1.0/lib/node_modules/moneyd-uplink-xrp/node_modules/eventemitter2/lib/eventemitte r2.js:357:19)
at Plugin. (/home/alex/.nvm/versions/node/v9.1.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.ts:476:14)
at Generator.next ()
at /home/alex/.nvm/versions/node/v9.1.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.js:7:71
at new Promise ()
at __awaiter (/home/alex/.nvm/versions/node/v9.1.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.js:3:12)
at Plugin._handleIncomingBtpPacket (/home/alex/.nvm/versions/node/v9.1.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/ind ex.js:340:16)
at Plugin. (/home/alex/.nvm/versions/node/v9.1.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.ts:329:18)
^C
alex@codius1:$
alex@codius1:
$
alex@codius1:~$ moneyd xrp:info
fetching channels...
connecting to xrp ledger...
account: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
balance: 355.973586 XRP
reserved: 40 XRP
available: 315.973586 XRP

Allow CLI cleanup

currently you must run info and then cleanup and use the interactive way to cleanup. I would like to request a inline method like:

xrp:cleanup $chanId or $index or $xrp address

thats much safer then matching 300+ lines

F00 NotAcceptedError [BigNumber Error] Not a number

@sharafian Can you take a look on this ? Thanks

[root@codius ~]# DEBUG=* moneyd xrp:start
                                                                           88
                                                                           88
                                                                           88
88,dPYba,,adPYba,   ,adPPYba,  8b,dPPYba,   ,adPPYba, 8b       d8  ,adPPYb,88
88P'   "88"    "8a a8"     "8a 88P'   `"8a a8P_____88 `8b     d8' a8"    `Y88
88      88      88 8b       d8 88       88 8PP"""""""  `8b   d8'  8b       88
88      88      88 "8a,   ,a8" 88       88 "8b,   ,aa   `8b,d8'   "8a,   ,d88
88      88      88  `"YbbdP"'  88       88  `"Ybbd8"'     Y88'     `"8bbdP"Y8
                                                          d8'
                                                         d8'
starting moneyd
2018-06-17T20:52:47.694Z connector:route-broadcaster info generated random routing secret.
2018-06-17T20:52:47.702Z connector:accounts info add account. accountId=parent
2018-06-17T20:52:47.705Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=parent
2018-06-17T20:52:47.705Z connector:accounts info add account. accountId=local
2018-06-17T20:52:47.709Z connector:accounts warn DEPRECATED: plugin accessed deprecated _log property. accountId=local
2018-06-17T20:52:47.710Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
2018-06-17T20:52:47.710Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=local
2018-06-17T20:52:47.714Z connector:rate-limit-middleware debug created token bucket for account. accountId=parent refillPeriod=60000 refillCount=10000 capacity=10000
2018-06-17T20:52:47.716Z connector:balance-middleware debug initializing balance for account. accountId=parent minimumBalance=-Infinity maximumBalance=20000
2018-06-17T20:52:47.717Z ilp-plugin-btp debug registering data handler
2018-06-17T20:52:47.717Z ilp-plugin-btp debug registering money handler
2018-06-17T20:52:47.718Z connector:rate-limit-middleware debug created token bucket for account. accountId=local refillPeriod=60000 refillCount=10000 capacity=10000
2018-06-17T20:52:47.718Z connector:balance-middleware debug initializing balance for account. accountId=local minimumBalance=-Infinity maximumBalance=Infinity
2018-06-17T20:52:47.718Z ilp-plugin-btp debug registering data handler
2018-06-17T20:52:47.718Z ilp-plugin-btp debug registering money handler
2018-06-17T20:52:47.719Z connector:accounts debug connecting to parent. accountId=parent
2018-06-17T20:52:48.076Z ilp-plugin-btp debug connected to server
2018-06-17T20:52:48.524Z ilp-plugin-btp debug processing btp packet {"type":2,"requestId":3602708876,"data":{"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T20:52:48.934Z","data":"[BigNumber Error] Not a number: [object Object]","protocolData":[]}}
2018-06-17T20:52:48.524Z ilp-plugin-btp debug received BTP packet (TYPE_ERROR, RequestId: 3602708876): {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T20:52:48.934Z","data":"[BigNumber Error] Not a number: [object Object]","protocolData":[]}
(node:8533) UnhandledPromiseRejectionWarning: Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T20:52:48.934Z","data":"[BigNumber Error] Not a number: [object Object]","protocolData":[]}
    at Plugin.callback (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/index.js:343:20)
    at Object.onceWrapper (events.js:273:13)
    at Plugin.emit (events.js:182:13)
    at Plugin._handleIncomingBtpPacket (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/index.js:378:14)
    at Plugin._handleIncomingWsMessage (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/index.js:274:18)
    at WebSocketReconnector.EventEmitter.emit (/usr/local/share/.config/yarn/global/node_modules/eventemitter2/lib/eventemitter2.js:357:19)
    at WebSocket._instance.on (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/ws-reconnect.js:20:61)
    at WebSocket.emit (events.js:182:13)
    at Receiver._receiver.onmessage (/usr/local/share/.config/yarn/global/node_modules/ws/lib/WebSocket.js:141:47)
    at Receiver.dataMessage (/usr/local/share/.config/yarn/global/node_modules/ws/lib/Receiver.js:380:14)
(node:8533) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8533) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2018-06-17T20:52:48.614Z ilp-ws-reconnect debug websocket disconnected with 1000; reconnect in 5000
2018-06-17T20:52:48.615Z connector:app error Error: connection aborted
    at Plugin.once (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/index.js:216:21)
    at Object.onceWrapper (events.js:273:13)
    at Plugin.emit (events.js:182:13)
    at Plugin._emitDisconnect (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/index.js:473:12)
    at WebSocketReconnector._ws.on (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/index.js:209:39)
    at WebSocketReconnector.EventEmitter.emit (/usr/local/share/.config/yarn/global/node_modules/eventemitter2/lib/eventemitter2.js:351:19)
    at WebSocketReconnector._reconnect (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/ws-reconnect.js:36:10)
    at WebSocket._instance.on (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/ws-reconnect.js:18:46)
    at WebSocket.emit (events.js:182:13)
    at WebSocket.emitClose (/usr/local/share/.config/yarn/global/node_modules/ws/lib/WebSocket.js:211:10)
2018-06-17T20:52:53.967Z ilp-plugin-btp debug connected to server
2018-06-17T20:52:54.044Z ilp-plugin-btp debug processing btp packet {"type":2,"requestId":308782939,"data":{"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T20:52:54.456Z","data":"[BigNumber Error] Not a number: [object Object]","protocolData":[]}}
2018-06-17T20:52:54.044Z ilp-plugin-btp debug received BTP packet (TYPE_ERROR, RequestId: 308782939): {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T20:52:54.456Z","data":"[BigNumber Error] Not a number: [object Object]","protocolData":[]}
(node:8533) UnhandledPromiseRejectionWarning: Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-06-17T20:52:54.456Z","data":"[BigNumber Error] Not a number: [object Object]","protocolData":[]}
    at Plugin.callback (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/index.js:343:20)
    at Object.onceWrapper (events.js:273:13)
    at Plugin.emit (events.js:182:13)
    at Plugin._handleIncomingBtpPacket (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/index.js:378:14)
    at Plugin._handleIncomingWsMessage (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/index.js:274:18)
    at WebSocketReconnector.EventEmitter.emit (/usr/local/share/.config/yarn/global/node_modules/eventemitter2/lib/eventemitter2.js:357:19)
    at WebSocket._instance.on (/usr/local/share/.config/yarn/global/node_modules/ilp-plugin-btp/ws-reconnect.js:20:61)
    at WebSocket.emit (events.js:182:13)
    at Receiver._receiver.onmessage (/usr/local/share/.config/yarn/global/node_modules/ws/lib/WebSocket.js:141:47)
    at Receiver.dataMessage (/usr/local/share/.config/yarn/global/node_modules/ws/lib/Receiver.js:380:14)
(node:8533) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
2018-06-17T20:52:54.118Z ilp-ws-reconnect debug websocket disconnected with 1000; reconnect in 5000
^C

@netan

An in-range update of eslint is breaking the build 🚨

The devDependency eslint was updated from 5.13.0 to 5.14.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: test: Your tests failed on CircleCI (Details).

Release Notes for v5.14.0
  • 85a04b3 Fix: adds conditional for separateRequires in one-var (fixes #10179) (#10980) (Scott Stern)
  • 0c02932 Upgrade: [email protected] (#11401) (Ilya Volodin)
  • 104ae88 Docs: Update governance doc with reviewers status (#11399) (Nicholas C. Zakas)
  • ab8ac6a Fix: Support boundary spread elements in sort-keys (#11158) (Jakub Rożek)
  • a23d197 New: add allowSingleLineBlocks opt. to padded-blocks rule (fixes #7145) (#11243) (richie3366)
  • e25e7aa Fix: comma-spacing ignore comma before closing paren (fixes #11295) (#11374) (Pig Fang)
  • a1f7c44 Docs: fix space-before-blocks correct code for "classes": "never" (#11391) (PoziWorld)
  • 14f58a2 Docs: fix grammar in object-curly-spacing docs (#11389) (PoziWorld)
  • d3e9a27 Docs: fix grammar in “those who says” (#11390) (PoziWorld)
  • ea8e804 Docs: Add note about support for object spread (fixes #11136) (#11395) (Steven Thomas)
  • 95aa3fd Docs: Update README team and sponsors (ESLint Jenkins)
  • 51c4972 Update: Behavior of --init (fixes #11105) (#11332) (Nicholas C. Zakas)
  • ad7a380 Docs: Update README team and sponsors (ESLint Jenkins)
  • 550de1e Update: use default keyword in JSON schema (fixes #9929) (#11288) (Pig Fang)
  • 983c520 Update: Use 'readonly' and 'writable' for globals (fixes #11359) (#11384) (Nicholas C. Zakas)
  • f1d3a7e Upgrade: some deps (fixes #11372) (#11373) (薛定谔的猫)
  • 3e0c417 Docs: Fix grammar in “there’s nothing prevent you” (#11385) (PoziWorld)
  • de988bc Docs: Fix grammar: Spacing improve -> Spacing improves (#11386) (PoziWorld)
  • 1309dfd Revert "Build: fix test failure on Node 11 (#11100)" (#11375) (薛定谔的猫)
  • 1e56897 Docs: “the function actually use”: use -> uses (#11380) (PoziWorld)
  • 5a71bc9 Docs: Update README team and sponsors (ESLint Jenkins)
  • 82a58ce Docs: Update README team and sponsors (ESLint Jenkins)
  • 546d355 Docs: Update README with latest sponsors/team data (#11378) (Nicholas C. Zakas)
  • c0df9fe Docs: ... is not an operator (#11232) (Felix Kling)
  • 7ecfdef Docs: update typescript parser (refs #11368) (#11369) (薛定谔的猫)
  • 3c90dd7 Update: remove prefer-spread autofix (fixes #11330) (#11365) (薛定谔的猫)
  • 5eb3121 Update: add fixer for prefer-destructuring (fixes #11151) (#11301) (golopot)
  • 173eb38 Docs: Clarify ecmaVersion doesn't imply globals (refs #9812) (#11364) (Keith Maxwell)
  • 84ce72f Fix: Remove extraneous linefeeds in one-var fixer (fixes #10741) (#10955) (st-sloth)
  • 389362a Docs: clarify motivation for no-prototype-builtins (#11356) (Teddy Katz)
  • 533d240 Update: no-shadow-restricted-names lets unassigned vars shadow undefined (#11341) (Teddy Katz)
  • d0e823a Update: Make --init run js config files through linter (fixes #9947) (#11337) (Brian Kurek)
  • 92fc2f4 Fix: CircularJSON dependency warning (fixes #11052) (#11314) (Terry)
  • 4dd19a3 Docs: mention 'prefer-spread' in docs of 'no-useless-call' (#11348) (Klaus Meinhardt)
  • 4fd83d5 Docs: fix a misleading example in one-var (#11350) (薛定谔的猫)
  • 9441ce7 Chore: update incorrect tests to fix build failing (#11354) (薛定谔的猫)
Commits

The new version differs by 38 commits.

  • af9688b 5.14.0
  • 0ce3ac7 Build: changelog update for 5.14.0
  • 85a04b3 Fix: adds conditional for separateRequires in one-var (fixes #10179) (#10980)
  • 0c02932 Upgrade: [email protected] (#11401)
  • 104ae88 Docs: Update governance doc with reviewers status (#11399)
  • ab8ac6a Fix: Support boundary spread elements in sort-keys (#11158)
  • a23d197 New: add allowSingleLineBlocks opt. to padded-blocks rule (fixes #7145) (#11243)
  • e25e7aa Fix: comma-spacing ignore comma before closing paren (fixes #11295) (#11374)
  • a1f7c44 Docs: fix space-before-blocks correct code for "classes": "never" (#11391)
  • 14f58a2 Docs: fix grammar in object-curly-spacing docs (#11389)
  • d3e9a27 Docs: fix grammar in “those who says” (#11390)
  • ea8e804 Docs: Add note about support for object spread (fixes #11136) (#11395)
  • 95aa3fd Docs: Update README team and sponsors
  • 51c4972 Update: Behavior of --init (fixes #11105) (#11332)
  • ad7a380 Docs: Update README team and sponsors

There are 38 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Rename npm package to moneyd-xrp

This repo still squats the 'moneyd' npm package name, which maybe we should reserve for interledger-deprecated/moneyd-trust#1 - or maybe stop using it and just use:

  • moneyd-trust (never settle, just trust)
  • moneyd-xrp (settle over paychan over xrp)
  • moneyd-lnd (settle over lightning over btc)
  • moneyd-eth (settle over machinomy over ethereum)

Add --local-only option

It would be nice for testing and development purposes if you could run moneyd in an offline mode so that it would just act as a connector + mini accounts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.