interledger-deprecated / ilp-core

Core ILP module — handles ledger abstraction and quoting
Other
8 stars 5 forks source link

The list of `connectors` should also be parameter of the constructor #48

Closed justmoon closed 8 years ago

justmoon commented 8 years ago

When constructing a Client I should be able to pass in a list of connectors.

// new Client(pluginOpts, clientOpts)
const client = new Client( { /* ... */ }, {
  connectors: [
    // ...
  ]
})

When quoting, the connectors list should be chosen in order of preference: