BTCPayServer.Lightning
BTCPayServer.Lightning copied to clipboard
Fixes key locking issues
Fixes race condition mentioned in #148 and also a potential issue when token is cancelled not releasing semaphore during await Task.Delay(2500, _cts.Token);
possibly causing issues.
Fixed, @Kukks @NicolasDorier!
@MarkCiliaVincenti hey, I prefer we don't get a third party dependency for this, can you just copy the relevant classes.
I would need to copy most classes in here, and then what, update this project whenever I update my library? I don't understand what benefit you believe you will get from using 3rd party classes as opposed to a 3rd party dll. If the reason is security, you can step into and debug the code in the NuGet package as I enabled that functionality, which allows you to confirm that what you see in the source code is the same as what is in the DLL.
Do you want this PR closed?