Files
lnd.xprv/channeldb
Olaoluwa Osuntokun d5423f007d channeldb: add option to re-use existing db transaction for graph traversals
This commit modifies the LightningNode.ForEachChannel method to give
the caller the option of re-using an existing database transaction
instead of always creating a new db transaction with each invocation.
Internally boltdb will run into an error/dead-lock if a nested
transaction is attempted.

Such an action might be attempted if one were to use the traversal
functions in  a path finding algorithm. Therefore in order to avoid
that after, we now allow the re-use of transactions to facilitate
nested calls to ForEachChannel.
2016-12-27 16:43:00 -08:00
..
2016-12-27 16:16:23 -08:00
2016-12-27 16:42:56 -08:00
2016-12-27 16:42:56 -08:00