lnd.xprv/htlcswitch
Olaoluwa Osuntokun 890559edfa
htlcswitch: add new mailBox abstraction to the package
In this commit, we add a new abstraction to the package: the mailBox.
The mailBox is a non-blocking, concurrent safe, in-order queue for
delivering messages to a given channelLink instance. With this
abstraction in place, we can now allow the switch to no longer launch a
new goroutine for each forwarded HTLC, or instantiated user payment.
2017-11-10 19:51:01 -08:00
..
circuit.go Htlcswitch: rename Deobfuscator and Obfuscator interfaces 2017-10-10 22:19:19 -07:00
failure.go htlcswitch: add new ExtraMsg field to ForwardingError 2017-10-16 18:15:51 -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: rename Deobfuscator and Obfuscator interfaces 2017-10-10 22:19:19 -07:00
link_test.go not finished index persistence 2017-11-09 16:38:58 -08:00
link.go not finished index persistence 2017-11-09 16:38:58 -08:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
mailbox_test.go htlcswitch: add new mailBox abstraction to the package 2017-11-10 19:51:01 -08:00
mailbox.go htlcswitch: add new mailBox abstraction to the package 2017-11-10 19:51:01 -08:00
mock.go htlcswitch+channel: add channel states synchronization 2017-11-09 16:38:57 -08:00
packet.go Htlcswitch: rename Deobfuscator and Obfuscator interfaces 2017-10-10 22:19:19 -07:00
queue_test.go htlcswitch: expand TestWaitingQueueThreadSafety to assert proper queue length 2017-09-25 16:55:18 -07:00
queue.go htlcswitch: expand TestWaitingQueueThreadSafety to assert proper queue length 2017-09-25 16:55:18 -07:00
switch_test.go htlcswitch.test: add server error channel to concurrent access panic 2017-11-09 16:38:57 -08:00
switch.go htlcswitch: fix clean of channel link 2017-11-09 16:38:57 -08:00
test_utils.go htlcswitch+channel: add channel states synchronization 2017-11-09 16:38:57 -08:00