lnd/lnwire
Joost Jager 1d97cf1229
htlcswitch+routing: implement expiry_too_far failure
In this commit we add a check to HtlcSatifiesPolicy to verify that the
time lock for the outgoing htlc that is requested in the onion packet
isn't too far in the future.

Without this check, anyone could force an unreasonably long time lock on
the forwarding node.
2018-10-15 08:51:08 +02:00
..
2018-04-17 19:02:04 -07:00
2018-04-17 19:02:04 -07:00
2018-04-17 19:02:04 -07:00
2018-04-17 19:03:27 -07:00
2018-04-17 19:02:04 -07:00
2018-04-17 19:02:04 -07:00
2018-04-17 19:02:04 -07:00

lnwire

Build Status MIT licensed GoDoc

The lnwire package implements the Lightning Network wire protocol.

This package has intentionally been designed so it can be used as a standalone package for any projects needing to interface with lightning peers at the wire protocol level.

Installation and Updating

$ go get -u github.com/lightningnetwork/lnd/lnwire