mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-16 03:24:23 +01:00
create-gossipstore.c can read scid -> satoshis csv file. The csv is in the format scid ,satoshis where there is a black space after scid. Made a header file that contains a struct. Modified makefile. Added cmdline arg --scidfile /path/to/csv and made the constant capacity command optional. create-gossipstore prints stats at the end.
This commit is contained in:
@@ -42,7 +42,7 @@ devtools/dump-gossipstore: $(DEVTOOLS_OBJS) $(DEVTOOLS_COMMON_OBJS) $(JSMN_OBJS)
|
||||
devtools/dump-gossipstore.o: gossipd/gen_gossip_store.h
|
||||
|
||||
devtools/create-gossipstore: $(DEVTOOLS_OBJS) $(DEVTOOLS_COMMON_OBJS) $(JSMN_OBJS) $(CCAN_OBJS) $(BITCOIN_OBJS) wire/fromwire.o wire/towire.o devtools/create-gossipstore.o gossipd/gen_gossip_store.o
|
||||
devtools/create-gossipstore.o: gossipd/gen_gossip_store.h
|
||||
devtools/create-gossipstore.o: gossipd/gen_gossip_store.h devtools/create-gossipstore.h
|
||||
|
||||
devtools/onion.c: ccan/config.h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user