Merge pull request #1705 from Roasbeef/neutrino-update
build: update neutrino to latest version
This commit is contained in:
3 files changed
+6
-5
No files matched your search
Generated
+3
-2
@@ -279,15 +279,16 @@
|
|||||||
revision = "462a8a75388506b68f76661af8d649f0b88e5301"
|
revision = "462a8a75388506b68f76661af8d649f0b88e5301"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
digest = "1:6957e94f0689b74dacdfc9a964fba9efc3524439b644b107c65140a597cb2e0d"
|
digest = "1:461543cea211913463b96ed3bf8cbdadf23c5ac8ec205bcbbc79edeba9e93a9a"
|
||||||
name = "github.com/lightninglabs/neutrino"
|
name = "github.com/lightninglabs/neutrino"
|
||||||
packages = [
|
packages = [
|
||||||
".",
|
".",
|
||||||
"filterdb",
|
"filterdb",
|
||||||
"headerfs",
|
"headerfs",
|
||||||
|
"headerlist",
|
||||||
]
|
]
|
||||||
pruneopts = "UT"
|
pruneopts = "UT"
|
||||||
revision = "d5054cea8fe43c324a473e8aa7e0f6dd93622125"
|
revision = "b451667d69910cd20995452c56e02441896a3349"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
digest = "1:58ab6d6525898cbeb86dc29a68f8e9bfe95254b9032134eb9458779574872260"
|
digest = "1:58ab6d6525898cbeb86dc29a68f8e9bfe95254b9032134eb9458779574872260"
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
name = "github.com/lightninglabs/neutrino"
|
name = "github.com/lightninglabs/neutrino"
|
||||||
revision = "d5054cea8fe43c324a473e8aa7e0f6dd93622125"
|
revision = "b451667d69910cd20995452c56e02441896a3349"
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
name = "github.com/lightningnetwork/lightning-onion"
|
name = "github.com/lightningnetwork/lightning-onion"
|
||||||
|
|||||||
@@ -1924,13 +1924,13 @@ func waitForWalletSync(r *rpctest.Harness, w *lnwallet.LightningWallet) error {
|
|||||||
bestHash, knownHash *chainhash.Hash
|
bestHash, knownHash *chainhash.Hash
|
||||||
bestHeight, knownHeight int32
|
bestHeight, knownHeight int32
|
||||||
)
|
)
|
||||||
timeout := time.After(30 * time.Second)
|
timeout := time.After(10 * time.Second)
|
||||||
for !synced {
|
for !synced {
|
||||||
// Do a short wait
|
// Do a short wait
|
||||||
select {
|
select {
|
||||||
case <-timeout:
|
case <-timeout:
|
||||||
return fmt.Errorf("timeout after 30s")
|
return fmt.Errorf("timeout after 30s")
|
||||||
case <-time.Tick(50 * time.Millisecond):
|
case <-time.Tick(100 * time.Millisecond):
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check whether the chain source of the wallet is caught up to
|
// Check whether the chain source of the wallet is caught up to
|
||||||
|
|||||||
Reference in new issue
Block a user