Add log to help debug 5208 (#5211)

This commit is contained in:
Chris Stewart 2023-08-28 12:32:16 -05:00 committed by GitHub
parent a18dc6c55f
commit 3ae41032a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1017,6 +1017,8 @@ case class PeerManager(
currentFilterHeaderCount <- chainApi.getFilterHeaderCount()
currentFilterCount <- chainApi.getFilterCount()
_ <- {
logger.info(
s"createFilterSyncJob blockCount=$blockCount oldFilterHeaderCount=$oldFilterHeaderCount filterHeaderCount=$currentFilterHeaderCount oldFilterCount=$oldFilterCount filterCount=$currentFilterCount")
//make sure filter sync hasn't started since we schedule the job...
//see: https://github.com/bitcoin-s/bitcoin-s/issues/5167
val isOutOfSync = PeerManager.isFiltersOutOfSync(