cd10dc712f
This commit puts a missing piece in place by properly parsing and validating the per hop payload received in incoming HTLC’s. When forwarding HTLC’s we ensure that the payload recovered is consistent with our current forwarding policy. Additionally, when we’re the “exit node” for a payment, then we ensure that the HTLC extended matches up with our expectation w.r.t the payment amount to be received. |
||
---|---|---|
.. | ||
circuit.go | ||
interfaces.go | ||
iterator.go | ||
link_test.go | ||
link.go | ||
log.go | ||
mock.go | ||
packet.go | ||
queue_test.go | ||
queue.go | ||
switch_test.go | ||
switch.go | ||
test_utils.go |