Merge pull request #100 from zcash/fix/sync-improvements
Fix/sync improvements
This commit is contained in:
commit
e426a44ab4
|
@ -368,7 +368,7 @@ public class CompactBlockProcessor {
|
|||
|
||||
validateChainOperation.completionHandler = { (finished, cancelled) in
|
||||
guard !cancelled else {
|
||||
LoggerProxy.debug("Warning: operation cancelled")
|
||||
LoggerProxy.debug("Warning: validateChainOperation operation cancelled")
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -411,7 +411,7 @@ public class CompactBlockProcessor {
|
|||
|
||||
scanBlocksOperation.completionHandler = { [weak self] (finished, cancelled) in
|
||||
guard !cancelled else {
|
||||
LoggerProxy.debug("Warning: operation cancelled")
|
||||
LoggerProxy.debug("Warning: scanBlocksOperation operation cancelled")
|
||||
return
|
||||
}
|
||||
self?.processBatchFinished(range: range)
|
||||
|
|
|
@ -16,7 +16,7 @@ extension CompactBlockRange {
|
|||
|
||||
extension BlockID {
|
||||
|
||||
static let saplingActivationHeight: UInt64 = 280_000
|
||||
static let saplingActivationHeight: UInt64 = UInt64(ZcashSDK.SAPLING_ACTIVATION_HEIGHT)
|
||||
|
||||
init(height: UInt64) {
|
||||
self = BlockID()
|
||||
|
|
Loading…
Reference in New Issue