lnd.xprv/routing
Valentine Wallace 0fd6004958
multi: partition lnwire.ChanUpdateFlag into ChannelFlags and MessageFlags
In this commit:

* we partition lnwire.ChanUpdateFlag into two (ChanUpdateChanFlags and
ChanUpdateMsgFlags), from a uint16 to a pair of uint8's

* we rename the ChannelUpdate.Flags to ChannelFlags and add an
additional MessageFlags field, which will be used to indicate the
presence of the optional field HtlcMaximumMsat within the ChannelUpdate.

* we partition ChannelEdgePolicy.Flags into message and channel flags.
This change corresponds to the partitioning of the ChannelUpdate's Flags
field into MessageFlags and ChannelFlags.

Co-authored-by: Johan T. Halseth <johanth@gmail.com>
2019-01-22 08:42:26 +01:00
..
chainview routing/chainview: new neutrino API 2018-10-16 19:28:29 -07:00
testdata routing: fix node ordering in test graph 2018-12-05 09:15:27 +01:00
ann_validation.go discovery+routing: move validation logic to routing package 2018-09-11 20:12:07 +02:00
conf_experimental.go routing/conf: add experimental assume valid conf 2018-09-03 20:15:18 -07:00
conf.go routing/conf: add experimental assume valid conf 2018-09-03 20:15:18 -07:00
errors.go routing: return ErrRejected if found in reject cache 2018-08-23 07:40:40 +02:00
graph.go routing: rewrite package to conform to BOLT07 and factor in fees+timelocks 2016-12-27 16:44:22 -08:00
heap_test.go routing: correct recent type change in heap_test.go 2018-02-12 16:44:42 -08:00
heap.go lnrpc+routing: fix issues with missing data in unmarshallRoute 2018-10-13 22:59:23 +02:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
missioncontrol.go routing: prune channels unidirectional 2018-12-05 14:39:23 +01:00
notifications_test.go multi: partition lnwire.ChanUpdateFlag into ChannelFlags and MessageFlags 2019-01-22 08:42:26 +01:00
notifications.go multi: partition lnwire.ChanUpdateFlag into ChannelFlags and MessageFlags 2019-01-22 08:42:26 +01:00
pathfind_test.go multi: partition lnwire.ChanUpdateFlag into ChannelFlags and MessageFlags 2019-01-22 08:42:26 +01:00
pathfind.go multi: partition lnwire.ChanUpdateFlag into ChannelFlags and MessageFlags 2019-01-22 08:42:26 +01:00
README.md multi: fix formatting issues in packge README's 2017-03-27 16:25:25 -07:00
router_test.go multi: partition lnwire.ChanUpdateFlag into ChannelFlags and MessageFlags 2019-01-22 08:42:26 +01:00
router.go multi: partition lnwire.ChanUpdateFlag into ChannelFlags and MessageFlags 2019-01-22 08:42:26 +01:00
validation_barrier_test.go routing/validation_barrier_test: test semaphore and quit 2018-05-08 16:32:08 -07:00
validation_barrier.go routing/validation_barrier: adds ErrVBarrierShuttingDown 2018-05-08 16:32:08 -07:00

routing

Build Status MIT licensed GoDoc

The routing package implements authentication+validation of channel announcements, pruning of the channel graph, path finding within the network, sending outgoing payments into the network and synchronizing new peers to our channel graph state.

Installation and Updating

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