tdex-network / tdex-daemon

Go implementation of the TDEX Beta Daemon
https://tdex.network
MIT License
11 stars 13 forks source link

Local price feeder #691

Closed sekulicd closed 1 year ago

sekulicd commented 1 year ago

This incorporates price feeder inside daemon with the addition of new proto service that is in charge for configuring price feeds for markets.

This is in WIP state cause of few reasons:

  1. Its not tested
  2. Swap pkg cant be compiled cause of wrong protobuf version, i need advise on which commit and need to cherry-pick or which new protobuf version to use @altafan

@tiero @altafan please review.

altafan commented 1 year ago

2) the original implementation of the price feeder service is designed to be configured only with a static json file, therefore there's no way to dynamically add or remove feeds for markets. Since we are refactoring how to interact with it, let's just make changes to the source implementations to fit our new needs.

3) pkg/swap is fixed in #685. Once it gets merged you can sync with upstream/v1 and get rid of this problem.

altafan commented 1 year ago

Closes #657.