lnd/routing
Andrey Samokhvalov 8fa2b95c12 lnd: remove seelog logger
The btclog package has been changed to defining its own logging
interface (rather than seelog's) and provides a default implementation
for callers to use.

There are two primary advantages to the new logger implementation.

First, all log messages are created before the call returns.  Compared
to seelog, this prevents data races when mutable variables are logged.

Second, the new logger does not implement any kind of artifical rate
limiting (what seelog refers to as "adaptive logging").  Log messages
are outputted as soon as possible and the application will appear to
perform much better when watching standard output.

Because log rotation is not a feature of the btclog logging
implementation, it is handled by the main package by importing a file
rotation package that provides an io.Reader interface for creating
output to a rotating file output.  The rotator has been configured
with the same defaults that btcd previously used in the seelog config
(10MB file limits with maximum of 3 rolls) but now compresses newly
created roll files.  Due to the high compressibility of log text, the
compressed files typically reduce to around 15-30% of the original
10MB file.
2017-06-25 14:19:56 +01:00
..
chainview lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
testdata routing: add proper test for excessive number of hops 2017-02-02 00:24:16 -08:00
README.md multi: fix formatting issues in packge README's 2017-03-27 16:25:25 -07:00
errors.go routing: reject channel announcement if connected vertexes are unknown 2017-05-14 19:27:24 -07:00
graph.go routing: rewrite package to conform to BOLT07 and factor in fees+timelocks 2016-12-27 16:44:22 -08:00
heap.go routing: introduce new heap for storing candidate shortest paths 2017-03-21 12:20:30 -07:00
heap_test.go multi: run all test instances in parallel 2017-06-17 01:00:07 +02:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
notifications.go routing: fix vet error, ensure wait group in topologyClient isn't copied 2017-06-25 13:48:52 +01:00
notifications_test.go multi: run all test instances in parallel 2017-06-17 01:00:07 +02:00
pathfind.go routing: add ToHopPayloads method to routing.Route 2017-06-16 22:37:47 +02:00
pathfind_test.go multi: run all test instances in parallel 2017-06-17 01:00:07 +02:00
router.go routing: fix vet error, ensure wait group in topologyClient isn't copied 2017-06-25 13:48:52 +01:00
router_test.go multi: run all test instances in parallel 2017-06-17 01:00:07 +02:00

README.md

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