In this commit, we’ve modified the link and the switch to start to use the new mailBox in place of the existing synchronous message send directly into the link’s upstream/downstream channels. With his change, we no longer need to spawn a new goroutine each time an HTLC needs to be forwarded, or a user payment is initiated. |
||
---|---|---|
.. | ||
circuit.go | ||
failure.go | ||
interfaces.go | ||
iterator.go | ||
link_test.go | ||
link.go | ||
log.go | ||
mailbox_test.go | ||
mailbox.go | ||
mock.go | ||
packet.go | ||
queue_test.go | ||
queue.go | ||
switch_test.go | ||
switch.go | ||
test_utils.go |