mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
4063a5aaee
* Quality of life improvements to payout processors * Allows more fleixble intervals for payout processing from 10-60 mins to 1min-24hours(requested by users) * Cancel ln payotus that expired (bolt11) * Allow cancelling of ln payotus that have failed to be paid after x attempts * Allow conifguring a threshold for when to process on-chain payouts (reduces fees) # Conflicts: # BTCPayServer.Tests/SeleniumTests.cs * Simplify the code * switch to concurrent dictionary * Allow ProcessNewPayoutsInstantly * refactor plugin hook service to have events available and change processor hooks to actions with better args * add procesor extended tests * Update BTCPayServer.Tests/GreenfieldAPITests.cs * fix concurrency issue * Update BTCPayServer/PayoutProcessors/BaseAutomatedPayoutProcessor.cs --------- Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
10 lines
239 B
C#
10 lines
239 B
C#
using BTCPayServer.Data;
|
|
|
|
namespace BTCPayServer.PayoutProcessors.OnChain;
|
|
|
|
public class OnChainAutomatedPayoutBlob : AutomatedPayoutBlob
|
|
{
|
|
public int FeeTargetBlock { get; set; } = 1;
|
|
public decimal Threshold { get; set; } = 0;
|
|
}
|