Stefan Thomas

Results 37 issues of Stefan Thomas

X.690 (08/2015), section 11 (Restrictions on BER employed by both CER and DER), subsection 11.6 (Set-of components) reads: > The encodings of the component values of a set-of value shall...

The `ilp` module should be updated for the latest suite of protocols. It should expose a reasonable API for ILP and PSK/Paystream. Here is a sketch of what the new...

Some assorted minor cleanup things. (Did a tour of the codebase for someone and noticed these issues.)

Composing middleware is really only done by middleware pipelines, so it should be part of the `MiddlewarePipeline` class, not in `utils.ts`.

Currently, the management of asset types in the connector is somewhat ad-hoc. The fixer.io backend for example [looks for](https://github.com/interledgerjs/ilp-connector/blob/d86705e4e2dd74cadf8d8ac6b4b8190f86daa759/src/backends/fixerio/index.js#L97-L98) the currency code from the ledger metadata. There is currently no...

``` [api] 2017-01-03T23:52:00.180Z connector:route-broadcaster info broadcasting 0 routes to peer.C2GoE.usd.208LJe6F1Pwu8a+tgyEH5M3YatSo6utdMNM6LTFqrqo= [api] 2017-01-03T23:52:00.180Z connector:app error TypeError: Cannot read property 'sendMessage' of null [api] at RouteBroadcaster._broadcastToLedger (/opt/ilp-kit/node_modules/ilp-connector/src/lib/route-broadcaster.js:86:67) [api] at RouteBroadcaster.broadcast (/opt/ilp-kit/node_modules/ilp-connector/src/lib/route-broadcaster.js:72:12) [api]...

It should be possible to use Postgres as the backend for the connector store. This would be used by ILP Kit for instance.

See: https://github.com/interledgerjs/ilp-connector/blob/07d89132e4b12da7692a27031ce11d49305d7c39/src/models/quote.js#L43 The connector should know its `minimum_allowed_balance` and calculate its available balance before comparing it to the amount, instead of just using the nominal balance.