lnd/routing
eugene 59fea192b7
server+routing: pass isAlias to router
This allows the router to determine what is and isn't an alias from
lnd's definition of an alias. Any ChannelAnnouncement that has an
alias ShortChannelID field is not verified on-chain. To prevent a
DoS vector from existing, the gossiper ensures that only the local
lnd node can send its ChannelAnnouncements to the router with an
alias ShortChannelID.
2022-07-07 17:10:28 -04:00
..
chainview multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
localchans multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
route routing+channeldb: send payment metadata from invoice 2022-04-13 22:55:40 +02:00
shards multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
testdata
ann_validation.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
bandwidth_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
bandwidth.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
control_tower_test.go multi: add keep-failed-payment-attempts flag 2022-07-03 21:04:27 +00:00
control_tower.go channeldb+routing: htlcs are pruned on settle 2022-07-03 21:04:34 +00:00
errors.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
graph.go multi: use single read transaction for path finding 2021-10-22 09:32:49 +02:00
heap_test.go
heap.go
integrated_routing_context_test.go multi: use single read transaction for path finding 2021-10-22 09:32:49 +02:00
integrated_routing_test.go multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
log.go
missioncontrol_state_test.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
missioncontrol_state.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
missioncontrol_store_test.go
missioncontrol_store.go routing: fix memory corruption in MC store 2021-12-08 23:10:16 +01:00
missioncontrol_test.go
missioncontrol.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
mock_graph_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
mock_test.go channeldb+routing: htlcs are pruned on settle 2022-07-03 21:04:34 +00:00
nodepair.go
notifications_test.go multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
notifications.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
pathfind_test.go multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
pathfind.go routing+channeldb: send payment metadata from invoice 2022-04-13 22:55:40 +02:00
payment_lifecycle_test.go server+routing: pass isAlias to router 2022-07-07 17:10:28 -04:00
payment_lifecycle.go routing: fix formatting 2022-07-06 13:33:02 +02:00
payment_session_source.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
payment_session_test.go routing: add time_pref parameter to queryroutes and sendpayment 2022-04-13 20:26:46 +02:00
payment_session.go routing+channeldb: send payment metadata from invoice 2022-04-13 22:55:40 +02:00
probability_estimator_test.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
probability_estimator.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
README.md
result_interpretation_test.go multi: run gosimports 2022-02-10 11:02:01 +01:00
result_interpretation.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
router_test.go server+routing: pass isAlias to router 2022-07-07 17:10:28 -04:00
router.go server+routing: pass isAlias to router 2022-07-07 17:10:28 -04:00
setup_test.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
stats.go
unified_policies_test.go
unified_policies.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
validation_barrier_test.go routing+discovery: uniform error codes in routing 2022-01-05 04:27:33 +08:00
validation_barrier.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00

routing

Build Status MIT licensed GoDoc

The routing package implements authentication+validation of channel announcements, pruning of the channel graph, path finding within the network, sending outgoing payments into the network and synchronizing new peers to our channel graph state.

Installation and Updating

⛰  go get -u github.com/lightningnetwork/lnd/routing