lnd.xprv/htlcswitch
Olaoluwa Osuntokun 8988a07bce
htlcswitch: eliminate unnecessary indentation in processRemoteAdds
In this commit, we remove a ton of unnecessary indentation in the
processRemoteAdds method. Before this commit, we had a switch statement
on the type of the entry. This was required before when the method was
generic, but now since we already know that it’s an Add, we no longer
require such a statement.
2018-03-12 18:58:46 -07:00
..
circuit_map.go htlcswitch: add additional comments and logging 2018-03-12 18:58:44 -07:00
circuit_test.go htlcswitch/circuit_test: use half adds in circuit map test 2018-03-09 21:08:42 -08:00
circuit.go htlcswitch/circuit: add half adds to circuit map 2018-03-09 21:08:42 -08:00
failure.go htlcswitch/failure: add Encode/Decode to ErrorEncrypter 2018-03-08 21:12:03 -05:00
interfaces.go htlcswitch/interfaces: have HandleSwitchPacket return an error 2018-03-09 21:08:43 -08:00
iterator.go htlcswitch/iterator: use batch API for sphinx router 2018-03-08 21:12:04 -05:00
link_test.go htlcswitch+peer: remove DecodeHopIterator from ChannelLinkConfig 2018-03-12 18:58:08 -07:00
link.go htlcswitch: eliminate unnecessary indentation in processRemoteAdds 2018-03-12 18:58:46 -07:00
log.go htlcswitch: add additional comments and logging 2018-03-12 18:58:44 -07:00
mailbox_test.go htlcswitch/mailbox_test: adds checks for reset and replay of pkts 2018-03-09 21:08:43 -08:00
mailbox.go htlcswitch: add additional comments and logging 2018-03-12 18:58:44 -07:00
mock.go htlcswitch/mock: add mock fwding log to initSwitchWithDB 2018-03-09 21:08:44 -08:00
packet.go htlcswitch/packet: adds serialization to htlcPacket 2018-03-09 21:08:44 -08:00
queue_test.go htlcswitch: Remove obsolete fields from htlcPacket. 2017-12-14 17:53:58 -08:00
queue.go htlcswitch: fix alignment of the packetQueue's fields for 32-bit systems (#507) 2017-12-22 16:32:11 +01:00
sequencer.go build+multi: switch from bolt to bbolt 2018-03-10 19:01:13 -08:00
switch_test.go htlcswitch/switch_test: change forward() -> send() 2018-03-09 21:08:44 -08:00
switch.go htlcswitch: add additional comments and logging 2018-03-12 18:58:44 -07:00
test_utils.go htlcswitch+peer: remove DecodeHopIterator from ChannelLinkConfig 2018-03-12 18:58:08 -07:00