Add share cards
This commit is contained in:
51 files changed
+1193
-239
No files matched your search
@@ -49,7 +49,7 @@ func main() {
|
||||
ck := ckpool.New(cfg.CKPoolSockDir)
|
||||
rpc := bitcoind.NewRPC(cfg.BitcoinRPCURL, cfg.BitcoinRPCUser, cfg.BitcoinRPCPassword, cfg.BitcoinRPCTimeout)
|
||||
|
||||
// Persistent block history. Non-fatal if it can't be opened — the
|
||||
// Persistent block history. Non-fatal if it can't be opened, the
|
||||
// aggregator falls back to an in-memory ring so the pool keeps
|
||||
// running even with a broken data volume.
|
||||
var blockStore *store.BlockStore
|
||||
@@ -144,7 +144,7 @@ func main() {
|
||||
// Wait for the aggregator's first refresh before starting the log
|
||||
// tailer. This guarantees currentChain is set before any block
|
||||
// events are processed, so blocks are always stamped with the
|
||||
// correct chain — preventing false orphans on network switches.
|
||||
// correct chain, preventing false orphans on network switches.
|
||||
select {
|
||||
case <-agg.Ready():
|
||||
log.Info("first snapshot ready")
|
||||
|
||||
Reference in new issue
Block a user