tdex-network / tdex-daemon

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

Rename TDRADE_SATS_PER_BYTE to TX_SATS_PER_BYTE & Fixes #730

Closed altafan closed 1 year ago

altafan commented 1 year ago

This updates the name of the config env var TDRADE_SATS_PER_BYTE to a more general TX_SATS_PER_BYTE.

The daemon then uses this value for all the transactions it crafts including the trades (as already done originally), and also the fragmentation txs, ie. those txs created by the fee/market fragmenter that split the funds in more fragments before being deposited to the related fee/market account.

Before this, we were hardcoding the 0.1 sats/byte ratio, while now it is configurable through env var.

This also includes fixes to the integration test and docker-compose yaml file.

Please @sekulicd review this.

what-the-diff[bot] commented 1 year ago

PR Summary