mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 17:55:36 +01:00
The exposed AddNode, AddEdge and UpdateEdge methods of the Builder are
currently synchronous since even though they pass messages to the
network handler which spins off the handling in a goroutine, the public
methods still wait for a response from the handling before returning.
The only part that is actually done asynchronously is the topology
notifications.
We previously tried to simplify things in [this
commit](
|
||
---|---|---|
.. | ||
db | ||
testdata | ||
builder.go | ||
builder_test.go | ||
errors.go | ||
interfaces.go | ||
log.go | ||
notifications.go | ||
notifications_test.go | ||
setup_test.go | ||
stats.go |