lnd.xprv/htlcswitch
Olaoluwa Osuntokun 6a255fb588
htlcswitch: relax timelock verification in middle link to allow for shadow routes
In this commit, we relax the time lock verification when we realize
we’re an intermediate hop. We no longer directly assert that the time
lock we receive is _identical_, instead we allow slow slack and will
reject iff, the incoming timelock minus the outgoing time lock doesn’t
meet our delta requirements.
2017-10-22 18:36:56 -07: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 htlcswitch: update tests to expect new ForwardingError type 2017-10-10 22:19:19 -07:00
link.go htlcswitch: relax timelock verification in middle link to allow for shadow routes 2017-10-22 18:36:56 -07:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
mock.go Htlcswitch: rename Deobfuscator and Obfuscator interfaces 2017-10-10 22:19:19 -07: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: rename Deobfuscator and Obfuscator interfaces 2017-10-10 22:19:19 -07:00
switch.go htlcswitch: always return an instance of ForwardingError from handleLocalDispatch 2017-10-16 18:42:16 -07:00
test_utils.go Htlcswitch: rename Deobfuscator and Obfuscator interfaces 2017-10-10 22:19:19 -07:00