ExchangeUnion / xud

Exchange Union Daemon 🔁 ⚡️
https://exchangeunion.com
GNU Affero General Public License v3.0
115 stars 44 forks source link

feat(connext): reconcile deposit when channel balance changes #2027

Closed ghost closed 3 years ago

ghost commented 3 years ago

This PR changes the logic around /deposit calls. Previously, we were creating new commitment transaction every 5 seconds. With this PR we'll only create new state updates when the channel balance of ETH changes.

Related issue: https://github.com/ExchangeUnion/xud/issues/2019

ghost commented 3 years ago

@sangaman comments added - going to merge this. If the comments are not clear, I'll add more in a follow-up PR.