lnd.xprv/autopilot
Johan T. Halseth bf7f392c11
autopilot: use subtractFees when funding channel
To make the autopilot able to account for fees, we let it use the
subtractFees option when opening channels.

This makes sure that each channel we attempt to open will eat at most
Amt out of our budget. Previously fees would eat into our funds in
addition, causing us to deplete our funds more than expected on each
channel opening.
2019-07-18 00:58:12 +02:00
..
agent_constraints_test.go autopilot: TestConstrainedPrefAttachmentNeedMoreChan->TestConstraintsChannelBudget 2019-01-08 10:10:58 +01:00
agent_constraints.go multi: fix spelling mistakes 2019-05-04 15:35:37 -07:00
agent_test.go autopilot/agent_test: add TestAgentChannelSizeAllocation 2019-03-14 08:49:28 +01:00
agent.go autopilot: use subtractFees when funding channel 2019-07-18 00:58:12 +02:00
choice_test.go autopilot/interface+choice: add NodeScore type 2019-01-08 10:23:48 +01:00
choice.go autopilot/interface+choice: add NodeScore type 2019-01-08 10:23:48 +01:00
combinedattach.go autopilot/interface+externalscoreattach: define ScoreSettable 2019-02-14 11:41:47 +01:00
externalscoreattach_test.go autopilot/externalscoreattach_test: add TestSetNodeScores 2019-02-14 12:37:25 +01:00
externalscoreattach.go autopilot/interface+externalscoreattach: define ScoreSettable 2019-02-14 11:41:47 +01:00
graph_test.go autopilot: add Median method 2019-03-27 15:06:30 +01:00
graph.go autopilot: add Median method 2019-03-27 15:06:30 +01:00
interface.go autopilot: use subtractFees when funding channel 2019-07-18 00:58:12 +02:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
manager.go multi: replace manual CAS with sync.Once in component start/stop 2019-05-30 17:14:04 -03:00
prefattach_test.go autopilot/interface+prefattach: scale node scores to range [0.0, 1.0] 2019-01-21 09:44:37 +01:00
prefattach.go autopilot/prefattach: count small channels negatively 2019-03-27 15:06:30 +01:00