-
Notifications
You must be signed in to change notification settings - Fork 912
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renepay: put global variables into renepayconfig.h
Signed-off-by: Lagrang3 <[email protected]>
- Loading branch information
1 parent
6b91497
commit 2664fae
Showing
4 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#ifndef LIGHTNING_PLUGINS_RENEPAY_RENEPAYCONFIG_H | ||
#define LIGHTNING_PLUGINS_RENEPAY_RENEPAYCONFIG_H | ||
#include "config.h" | ||
|
||
#define MAX_NUM_ATTEMPTS 10 | ||
|
||
/* Knowledge is proportionally decreased with time up to TIMER_FORGET_SEC when | ||
* we forget everything. */ | ||
#define TIMER_FORGET_SEC 3600 | ||
|
||
/* Time lapse used to wait for failed sendpays. */ | ||
#define COLLECTOR_TIME_WINDOW_MSEC 50 | ||
|
||
#endif /* LIGHTNING_PLUGINS_RENEPAY_RENEPAYCONFIG_H */ |