lnd/routing
Jesse de Wit 0266ab77ab
routing+routerrpc: test stream cancellation
Test stream cancellation of the TrackPayments rpc call. In order to achieve
this, ControlTowerSubscriber is converted to an interface, to avoid trying to
close a null channel when closing the subscription. By returning a mock
implementation of the ControlTowerSubscriber in the test that problem is
avoided.
2022-09-10 21:53:01 +02:00
..
chainview routing: use T.TempDir to create temporary test directory 2022-08-24 09:03:05 +08: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 routing: add private key attribute in router test 2021-06-23 18:13:02 +08:00
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 routing+routerrpc: test stream cancellation 2022-09-10 21:53:01 +02:00
control_tower.go routing+routerrpc: test stream cancellation 2022-09-10 21:53:01 +02: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 routing: optimize path finding structures 2019-10-24 21:38:07 -03:00
heap.go multi: use minimal policy in cache 2021-09-29 17:00:04 +02:00
integrated_routing_context_test.go routing: use T.TempDir to create temporary test directory 2022-08-24 09:03:05 +08:00
integrated_routing_test.go multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
log.go routing: define subsystem constant 2019-12-11 00:17:04 +01:00
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 routing: use T.TempDir to create temporary test directory 2022-08-24 09:03:05 +08:00
missioncontrol_store.go routing: fix memory corruption in MC store 2021-12-08 23:10:16 +01:00
missioncontrol_test.go routing: use T.TempDir to create temporary test directory 2022-08-24 09:03:05 +08:00
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 routing+routerrpc: test stream cancellation 2022-09-10 21:53:01 +02:00
nodepair.go routing: extended DirectedNodePair functionality 2019-08-13 18:45:06 +02:00
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 routing: use T.TempDir to create temporary test directory 2022-08-24 09:03:05 +08:00
pathfind.go routing+channeldb: send payment metadata from invoice 2022-04-13 22:55:40 +02:00
payment_lifecycle_test.go routing: use T.TempDir to create temporary test directory 2022-08-24 09:03:05 +08: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 multi: unify code blocks in READMEs 2021-01-22 09:14:11 +01:00
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 routing: use T.TempDir to create temporary test directory 2022-08-24 09:03:05 +08:00
router.go routing: add SendToRouteSkipTempErr to skip temp error failure 2022-07-15 19:03:12 +08:00
setup_test.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
stats.go routing/router: log aggregate graph processing stats 2019-06-13 18:18:30 -07:00
unified_policies_test.go multi: move bandwidth hints behind interface 2021-10-19 09:50:49 +02:00
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