Skip to content

Commit 8c551ae

Browse files
committed
askrene: move flow refining code to its own file.
askrene.c was getting quite long, and this is self-contained. The only code change is a convenience accessor for the per-htlc-cost hash table. Signed-off-by: Rusty Russell <[email protected]>
1 parent 9d966b4 commit 8c551ae

File tree

5 files changed

+426
-383
lines changed

5 files changed

+426
-383
lines changed

plugins/askrene/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
PLUGIN_ASKRENE_SRC := plugins/askrene/askrene.c plugins/askrene/layer.c plugins/askrene/reserve.c plugins/askrene/mcf.c plugins/askrene/dijkstra.c plugins/askrene/flow.c
2-
PLUGIN_ASKRENE_HEADER := plugins/askrene/askrene.h plugins/askrene/layer.h plugins/askrene/reserve.h plugins/askrene/mcf.h plugins/askrene/dijkstra.h plugins/askrene/flow.h
1+
PLUGIN_ASKRENE_SRC := plugins/askrene/askrene.c plugins/askrene/layer.c plugins/askrene/reserve.c plugins/askrene/mcf.c plugins/askrene/dijkstra.c plugins/askrene/flow.c plugins/askrene/refine.c
2+
PLUGIN_ASKRENE_HEADER := plugins/askrene/askrene.h plugins/askrene/layer.h plugins/askrene/reserve.h plugins/askrene/mcf.h plugins/askrene/dijkstra.h plugins/askrene/flow.h plugins/askrene/refine.h
33
PLUGIN_ASKRENE_OBJS := $(PLUGIN_ASKRENE_SRC:.c=.o)
44

55
$(PLUGIN_ASKRENE_OBJS): $(PLUGIN_ASKRENE_HEADER)

0 commit comments

Comments
 (0)