lnd/routing
yyforyongyu fa2c766866
routing: remove the mutex and use SyncMap instead
This commit removes the lock used to protect the map `topologyClients`
and replace the map with a `SyncMap`.
2023-01-19 07:08:18 +08: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
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 routing: add more verbose logs 2023-01-17 07:26:57 +08:00
control_tower_test.go routing: rename Fail to FailPayment 2022-12-07 18:38:01 +08:00
control_tower.go routing: rename Fail to FailPayment 2022-12-07 18:38:01 +08:00
errors.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
graph.go routing+routerrpc: add capacity in rpcs 2022-12-12 13:22:29 +01:00
heap_test.go
heap.go
integrated_routing_context_test.go routing: Fix possible infinite loop on first hop misleading hint 2022-11-11 04:23:55 -03:00
integrated_routing_test.go routing: Fix possible infinite loop on first hop misleading hint 2022-11-11 04:23:55 -03: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 routing: use T.TempDir to create temporary test directory 2022-08-24 09:03:05 +08:00
missioncontrol_store.go lnwire: allow longer failure messages 2022-12-02 14:27:59 +01:00
missioncontrol_test.go routing: apply capacity factor 2022-12-12 13:22:29 +01:00
missioncontrol.go routing: use capacity in pathfinding 2022-12-12 13:22:28 +01:00
mock_graph_test.go routing+routerrpc: add capacity in rpcs 2022-12-12 13:22:29 +01:00
mock_test.go routing: use capacity in pathfinding 2022-12-12 13:22:28 +01:00
nodepair.go
notifications_test.go routing: replace defer cleanup with t.Cleanup 2022-10-13 17:47:04 +08:00
notifications.go routing: remove the mutex and use SyncMap instead 2023-01-19 07:08:18 +08:00
pathfind_test.go routing+routerrpc: add capacity in rpcs 2022-12-12 13:22:29 +01:00
pathfind.go router: return probability from findPath 2022-12-12 13:22:29 +01:00
payment_lifecycle_test.go routing: fix race condition in TestUpdatePaymentState 2023-01-17 14:26:37 -08:00
payment_lifecycle.go routing: stop tracking totalAmount in paymentLifecycle 2022-12-07 18:38:01 +08:00
payment_session_source.go routing+routerrpc: add capacity in rpcs 2022-12-12 13:22:29 +01:00
payment_session_test.go router: return probability from findPath 2022-12-12 13:22:29 +01:00
payment_session.go router: return probability from findPath 2022-12-12 13:22:29 +01:00
probability_estimator_test.go routing: apply capacity factor 2022-12-12 13:22:29 +01:00
probability_estimator.go routing: apply capacity factor 2022-12-12 13:22:29 +01:00
README.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04: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 router: return probability from findPath 2022-12-12 13:22:29 +01:00
router.go routing: remove the mutex and use SyncMap instead 2023-01-19 07:08:18 +08:00
setup_test.go
stats.go
unified_edges_test.go routing: implement capacity in getEdge 2022-12-12 13:22:28 +01:00
unified_edges.go routing: implement capacity in getEdge 2022-12-12 13:22:28 +01:00
validation_barrier_test.go
validation_barrier.go routing: refactor WaitForDependants to allow detailed logging 2022-12-08 17:57:01 +08: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