Currently stacks-blockchain-api doesn't have a way to subscribe to blocks so we periodically check blockheight but now stacksnursery has no access to this information and can't check for expired swaps.
This leads to hold invoices not being canceled, which leads to channel force closures.
Currently stacks-blockchain-api doesn't have a way to subscribe to blocks so we periodically check blockheight but now stacksnursery has no access to this information and can't check for expired swaps.
This leads to hold invoices not being canceled, which leads to channel force closures.
Requested this feature: https://github.com/blockstack/stacks-blockchain-api/issues/815
Need to apply a workaround meanwhile to avoid remote force closed channels, work ongoing with this commit: https://github.com/pseudozach/lnstxbridge/commit/768159e070ff2695293cb7589ee61644f075a9da