Skip to content

Releases: trustlines-protocol/relay

Version 0.23.0

16 Dec 16:19

Choose a tag to compare

  • Updated: updated dependencies, notably web3==5.31.0
  • Updated: no longer use unlocked node to handle transactions, request nonce directly from node (mainly useful for TL e2e tests)

Version 0.22.0

20 Oct 18:28

Choose a tag to compare

  • Updated: dropped support for websocket connection to the blockchain node. It was not working due to a conflict in between the concurrency library used by web3's websocket and gevent.
  • Fixed: get mediation fees endpoint no longer crashing due to network migration events.

Version 0.21.0

17 May 16:20

Choose a tag to compare

  • Updated: Add transfer argument to schema for TrustlineUpdateRequest events corresponding to change
    in CurrencyNetworkV2 contract
  • Updated: Remove interests with a value of 0 for endpoint to query list of accrued / paid interests (BREAKING)

Version 0.20.3

31 Mar 13:19

Choose a tag to compare

  • Updated: Make relay exit when greenlet for graph sync dies.
  • Fixed: Only publish most recent events on websocket for trustline update and network balance update.
    This fixes a bug that stopped the updating of the currency network graph in certain situations.
  • Fixed: Relay crash on logging with insufficient parameters.

Version 0.20.2

19 Mar 15:05

Choose a tag to compare

Fixed: No longer publish events for balance changes from filter for BalanceUpdates and TrustlineUpdates Now uses graph updates from ethindex to publish information

Version 0.20.1

12 Feb 17:42

Choose a tag to compare

  • Fixed: Correclty fetch the is_frozen status of currency networks at start up. previously, networks where start unfrozen by default and synced further.

Version 0.20.0

12 Feb 12:13

Choose a tag to compare

  • Updated: Use ethindex to update is_frozen status of network graphs instead of filters
    requires ethindex>=0.3.5

Version 0.19.0

26 Jan 18:22

Choose a tag to compare

  • Changed: Update major dependencies, notably web3 version 5.9.0

  • Changed: add filtering by contract type to user events endpoint
    /users/:user/events?type=:type&fromBlock=:fromBlock&contractType:=contractType

  • Changed: Update internal trustlines graph using graphfeed table populated by the ethindex.
    requires py-eth-index version 0.3.4

  • Changed: No longer fully sync the graph every full_sync_interval seconds.
    This should be unnecessary as we rely on the indexer to sync the graph and it is reorg safe.

  • Removed: support for config keys relay.updateNetworksInterval and relay.update_indexed_networks_interval

  • Removed: deprecated config trustline_index.full_sync_interval which is unused.

  • Added: endpoint for getting mediation fees earned by user
    /networks/:network/users/:user/mediation-fees?startTime=:timestamp&endTime=:timestamp

  • Added: endpoint to get debt of user in all currency networks GET /users/:userAddress/debts

  • Added: endpoint to get total transferred sum between users in time window
    GET /networks/:network/users/:sender/transferredSums/:receiver?startTime=:timestamp&endTime=:timestamp

  • Added: Config key config.trustline_index.sync_interval the time in seconds in between two fetch fetch
    of graph updates from the database graphfeed

Version 0.18.0

14 Sep 13:48

Choose a tag to compare

Fixed: error handling for firebase when client token is not found

Version 0.17.1

08 Sep 11:38

Choose a tag to compare

  • Added: TrustlineRequestCancel push notification support