lnd.xprv/htlcswitch
Olaoluwa Osuntokun 6f5ef249e4
htlcswitch: re-write link's packet overflow queue for readability+extensibility
This commit completes a full re-write of the link’s packet overflow
queue with the goals of the making the code itself more understandable
and also allowing it to be more extensible in the future with various
algorithms for handling HTLC congestion avoidance and persistent queue
back pressure.

The new design is simpler and consumes much less coroutines (no longer
a new goroutine for each active HLTC). We now implement a simple
synchronized queue using a standard condition variable.
2017-09-22 15:54:16 -07:00
..
circuit.go lnwire+htlcswitch: minor grammatical, formatting fixes after error PR 2017-07-14 20:08:37 -07:00
failure.go lnwire+htlcswitch: minor grammatical, formatting fixes after error PR 2017-07-14 20:08:37 -07:00
interfaces.go Htlcswitch: switch all accounting and forwarding decisions to use mSAT's 2017-08-22 00:53:04 -07:00
iterator.go htlcswitch: if we fail to parse and onion error, return the proper lnwire.FailCode 2017-09-12 18:10:40 +02:00
link_test.go htlcswitch: fix linter errors 2017-08-22 01:05:32 -07:00
link.go htlcswitch: re-write link's packet overflow queue for readability+extensibility 2017-09-22 15:54:16 -07:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
mock.go multi: txscript.WitnessScript -> txscript.WitnessSignature 2017-08-24 18:55:32 -07:00
packet.go Htlcswitch: switch all accounting and forwarding decisions to use mSAT's 2017-08-22 00:53:04 -07:00
queue_test.go htlcswitch: re-write link's packet overflow queue for readability+extensibility 2017-09-22 15:54:16 -07:00
queue.go htlcswitch: re-write link's packet overflow queue for readability+extensibility 2017-09-22 15:54:16 -07:00
switch_test.go hltcswitch: increase timeout for bi-di payment test due to travis slowness 2017-08-01 12:53:17 -07:00
switch.go htlcswitch: use %x when printing the payment hash of an HTLC 2017-09-12 18:08:50 +02:00
test_utils.go htlcswitch: when generating routes in test payload for last hop in absolute timeout 2017-09-12 21:32:07 +02:00