Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multinode #154

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
5c24253
channeldb: export net.Addr encode/decode methods
ellemouton Oct 22, 2024
6e1c03d
channeldb+graph/db: move net.Addr encode/decode to graph db package
ellemouton Oct 22, 2024
b3b27f0
channeldb/graphdb: move outpoint ser/deser funcs to graphdb
ellemouton Oct 22, 2024
78c4cac
contractcourt: use graphdb outpoint helpers
ellemouton Oct 22, 2024
12fa3f7
multi+refactor: move models package to graph/db
ellemouton Oct 22, 2024
d57cd21
refactor: move graph related DB code to graph/db from channeldb
ellemouton Oct 22, 2024
ac0fe7d
channeldb+graphdb: init graph DB outside of channel db
ellemouton Oct 22, 2024
924fae6
channeldb: define a single AddrSource interface
ellemouton Oct 22, 2024
f67eedb
channeldb: implement a multi-source AddrSource
ellemouton Oct 22, 2024
74a6ce6
channeldb: let AddrsForNode indicate if the node was found or not
ellemouton Nov 3, 2024
03f15e2
multi: let chan and graph db implement AddrSource
ellemouton Oct 22, 2024
7c1b046
channeldb: remove graph db from channeldb
ellemouton Oct 22, 2024
6303b0d
refactor: move graphsession pkg to graph package
ellemouton Oct 22, 2024
0fb5892
multi: move LightningNode struct to models package
ellemouton Oct 29, 2024
1d69b3a
multi: remove kvdb.Tx from ChannelGraphSource.ForAllOutgoingChannels
ellemouton Oct 29, 2024
9c75f9e
itest: assert no failed updates in test
ellemouton Oct 29, 2024
c094ecd
multi: fix linter errors
ellemouton Oct 24, 2024
9aeb7f4
docs: add release notes entry for 9236
ellemouton Nov 1, 2024
1504b31
TEMP: show diff files separation works
ellemouton Oct 29, 2024
4815214
autopilot: move memChannelGraph to test file
ellemouton Nov 3, 2024
e438618
graph: create an abstract graphdb.RTx interface
ellemouton Nov 3, 2024
0ca1c7f
graph: unify ForEachNodeChannel and ForEachNodeChannelWithTx
ellemouton Nov 3, 2024
d4e2181
graph+multi: unify FetchLightningNode and FetchLightningNodeTx
ellemouton Nov 3, 2024
259c55e
autopilot: remove access to graphdb.ChannelGraph pointer
ellemouton Nov 3, 2024
e12c410
invoicesrpc: remove invoicerpc server's access to ChannelGraph pointer
ellemouton Nov 3, 2024
3bfa058
multi: add GraphSource interface and GraphProvider to ImplementationC…
ellemouton Nov 3, 2024
412a162
graph+routing: rename NewPathFindTx to NewReadTx
ellemouton Nov 4, 2024
b1702a9
multi: pass a graphdb.RTx to ForEachNode
ellemouton Nov 4, 2024
2810c48
graph+routing: let FetchNodeFeatures take a RTx
ellemouton Nov 4, 2024
a536f95
multi: add a `--gossip.no-sync` option
ellemouton Nov 4, 2024
af35130
lnd: introduce the Providers interface
ellemouton Nov 4, 2024
be18ca6
TEMP: multinode binary!
ellemouton Nov 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ build:
@$(call print, "Building debug lnd and lncli.")
$(GOBUILD) -tags="$(DEV_TAGS)" -o lnd-debug $(DEV_GCFLAGS) $(DEV_LDFLAGS) $(PKG)/cmd/lnd
$(GOBUILD) -tags="$(DEV_TAGS)" -o lncli-debug $(DEV_GCFLAGS) $(DEV_LDFLAGS) $(PKG)/cmd/lncli
$(GOBUILD) -tags="$(DEV_TAGS)" -o multinode-debug $(DEV_GCFLAGS) $(DEV_LDFLAGS) $(PKG)/cmd/multinode

#? build-itest: Build integration test binaries, place them in itest directory
build-itest:
Expand All @@ -136,6 +137,7 @@ install-binaries:
@$(call print, "Installing lnd and lncli.")
$(GOINSTALL) -tags="${tags}" -ldflags="$(RELEASE_LDFLAGS)" $(PKG)/cmd/lnd
$(GOINSTALL) -tags="${tags}" -ldflags="$(RELEASE_LDFLAGS)" $(PKG)/cmd/lncli
$(GOINSTALL) -tags="${tags}" -ldflags="$(RELEASE_LDFLAGS)" $(PKG)/cmd/multinode

#? manpages: generate and install man pages
manpages:
Expand Down
Loading
Loading