-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update and refactor to remove race conditions. Add API keys to paymen…
…t method for app ln # Conflicts: # submodules/btcpayserver
- Loading branch information
Showing
41 changed files
with
663 additions
and
284 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
namespace BTCPayApp.Core.Contracts; | ||
using BTCPayApp.Core.Helpers; | ||
|
||
public interface IConfigProvider | ||
namespace BTCPayApp.Core.Contracts; | ||
|
||
public abstract class ConfigProvider : IDisposable | ||
{ | ||
Task<T?> Get<T>(string key); | ||
Task Set<T>(string key, T? value, bool backup); | ||
Task<IEnumerable<string>> List(string prefix); | ||
public abstract Task<T?> Get<T>(string key); | ||
public abstract Task Set<T>(string key, T? value, bool backup); | ||
public abstract Task<IEnumerable<string>> List(string prefix); | ||
public AsyncEventHandler<string>? Updated; | ||
|
||
public virtual void Dispose() | ||
{ | ||
Updated = null; | ||
} | ||
} |
Oops, something went wrong.