mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
bitcoind: keep running fee estimate.
This avoids us having to query it when we create anchor transaction, and lets us always use dynamic fee information. The config options for max and min are now percentages, rather than absolute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -12,7 +12,6 @@ enum state {
|
||||
*/
|
||||
STATE_OPEN_WAIT_FOR_OPEN_NOANCHOR,
|
||||
STATE_OPEN_WAIT_FOR_OPEN_WITHANCHOR,
|
||||
STATE_OPEN_WAIT_FOR_ANCHOR_CREATE,
|
||||
STATE_OPEN_WAIT_FOR_ANCHOR,
|
||||
STATE_OPEN_WAIT_FOR_COMMIT_SIG,
|
||||
STATE_OPEN_WAITING_OURANCHOR,
|
||||
@@ -93,8 +92,6 @@ enum state_input {
|
||||
/*
|
||||
* Bitcoin events
|
||||
*/
|
||||
/* Bitcoin anchor tx created. */
|
||||
BITCOIN_ANCHOR_CREATED,
|
||||
/* It reached the required depth. */
|
||||
BITCOIN_ANCHOR_DEPTHOK,
|
||||
/* It didn't reach the required depth in time. */
|
||||
|
||||
Reference in New Issue
Block a user