This commit bumps the compile time dependency of lnd and lndclient to
the 0.16.x branch. This makes the code forward compatible but does not
yet change anything with respect to the minimum required version the
user needs to run.
With this commit we update to the latest lndclient version of the 0.14.0
branch that reverts a breaking change in the basic client and also fixes
a "close of closed channel" panic.
This commit bumps pool to lndclient 13-7 so that code that depends
on lnd 0.13 can import pool. As is, pool is running with lndclient 0.12,
but pins minimum version to 0.11, so we are already in a state where
some of the apis available at compile time are not enforced by minimum
run version.
This commit bumps this minimum version up to 0.12 to minimize the
difference between the compile and runtime lnd version.
Since the call to connect to a peer is no longer async, a failed
connection would block and stall the whole execution logic until the
setupCtx was canceled. At that point the node we failed to connect with
would not be communicated back to the auctioneer, and we could get
matched with the same node in the next batch attempt.
This fixes that by starting the connection attempt in a go routine.