lnd/routing
Oliver Gugger 699e2b74f6
multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper
With this commit we move the traffic shaper definition from the routing
package to the HTLC switch package as a preparation for being able to
use it there as well.
At the same time we rename it to AuxTrafficShaper to be more in line
with the other auxiliary components.
2024-12-05 21:44:56 +01:00
..
blindedpath blindedpath: minHTLC for blinded path change. 2024-08-26 20:19:31 -05:00
chainview multi: make sure missionControlStore catches done signal 2024-07-23 21:30:08 +08:00
localchans multi: break ChannelConstraints into two sub-structures 2024-08-01 12:00:32 -07:00
route channeldb+routing: persist first hop custom data for route 2024-10-11 14:13:48 +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
additional_edge.go routing: add BlindedPayment() method to AdditionalEdges 2024-07-10 09:12:39 +02:00
additional_edge_test.go routing+refactor: let BlindedEdge carry BlindedPayment 2024-07-10 09:12:39 +02:00
bandwidth.go multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper 2024-12-05 21:44:56 +01:00
bandwidth_test.go multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper 2024-12-05 21:44:56 +01:00
blinding.go routing: final changes to BlindedPaymentPathSet 2024-07-31 09:15:43 +02:00
blinding_test.go routing: swap out final hop blinded route pub keys 2024-07-31 09:14:31 +02:00
control_tower.go routing: make sure StatusInitiated is notified when creating payments 2023-11-15 20:18:21 +08:00
control_tower_test.go routing: make sure StatusInitiated is notified when creating payments 2023-11-15 20:18:21 +08:00
graph.go multi: add abstraction for Router and SessionSource graph access 2024-07-15 15:13:57 +02:00
heap.go routing: add inbound fee support to pathfinding 2024-03-31 18:12:28 +02:00
heap_test.go routing: optimize path finding structures 2019-10-24 21:38:07 -03:00
integrated_routing_context_test.go multi: update PaymentAddr to use fn.Option 2024-10-11 14:20:17 +02:00
integrated_routing_test.go routing: add TlvTrafficShaper to bandwidth hints 2024-10-11 14:13:48 +02:00
log.go multi: add NewLogClosure in lnutils to avoid repetition 2024-07-25 21:25:23 +08:00
missioncontrol.go multi: fee estimation timeout parameters 2024-03-05 09:24:27 +01:00
missioncontrol_state.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
missioncontrol_state_test.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
missioncontrol_store.go multi: make sure missionControlStore catches done signal 2024-07-23 21:30:08 +08:00
missioncontrol_store_test.go missioncontrolstore: add additional tests and benchmarks 2024-06-19 07:33:14 -03:00
missioncontrol_test.go routing+lnrpc: make capacity factor configurable 2023-02-24 15:28:55 +01:00
mock_graph_test.go routing+refactor: remove the need to give CachedGraph source node access 2024-07-15 13:10:24 +02:00
mock_test.go multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper 2024-12-05 21:44:56 +01:00
nodepair.go routing: extended DirectedNodePair functionality 2019-08-13 18:45:06 +02:00
pathfind.go multi: update PaymentAddr to use fn.Option 2024-10-11 14:20:17 +02:00
pathfind_test.go multi: update PaymentAddr to use fn.Option 2024-10-11 14:20:17 +02:00
payment_lifecycle.go multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper 2024-12-05 21:44:56 +01:00
payment_lifecycle_test.go multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper 2024-12-05 21:44:56 +01:00
payment_session.go multi: update PaymentAddr to use fn.Option 2024-10-11 14:20:17 +02:00
payment_session_source.go multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper 2024-12-05 21:44:56 +01:00
payment_session_test.go routing: add TlvTrafficShaper to bandwidth hints 2024-10-11 14:13:48 +02:00
probability_apriori.go trivial: Fix spelling errors 2023-09-21 22:35:33 -04:00
probability_apriori_test.go trivial: Fix spelling errors 2023-09-21 22:35:33 -04:00
probability_bimodal.go routing: stronger use of direct bimodal probability 2023-03-23 11:12:10 +01:00
probability_bimodal_test.go routing: stronger use of direct bimodal probability 2023-03-23 11:12:10 +01:00
probability_estimator.go routing: add probability estimator interface 2023-02-10 09:58:40 +01:00
probability_estimator_test.go routing: add probability benchmarks 2023-02-14 13:34:25 +01:00
README.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
result_interpretation.go routing: add handling for blinded errors from final node 2023-12-18 12:07:56 -05:00
result_interpretation_test.go routing: add handling for blinded errors from final node 2023-12-18 12:07:56 -05:00
router.go multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper 2024-12-05 21:44:56 +01:00
router_test.go multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper 2024-12-05 21:44:56 +01:00
setup_test.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
unified_edges.go routing: skip amtInRange for custom HTLCs 2024-10-11 14:13:48 +02:00
unified_edges_test.go routing: add BlindedPayment to unifiedEdge 2024-07-10 09:12:39 +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