Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client 1.11.10 - NEW RELEASE: Ardor 2.0.5e TestNet - The Ignis ICO is over!! Ardor genesis snapshots will happen at Nxt block 1,630,000 (expected for 25th December)

Pages: [1]

Author Topic: getBlockchainStatus --> isSyncing, or isSynchronized  (Read 407 times)

altsheets

  • Full Member
  • ***
  • Offline Offline
  • Posts: 232
  • check out #AAssetNXT #AltFolio and #AssetGraphs
    • View Profile
    • AssetGraphs-v2 live examples
  • Karma: +31/-1

I suggest a new flag:

getBlockchainStatus -->  isSynchronized
  • true = when numberOfBlocks ~ lastBlockchainFeederHeight,
    and all other perhaps necessary conditions fullfilled.

  • false = when there are still blocks being sync'ed

The NRS is showing a message "Finished blockchain download" anyways - so perhaps in that moment, this flag could be set to True?

See https://forum.thesupernet.org/index.php?topic=796.msg16304#msg16304 and and https://forum.thesupernet.org/index.php?topic=796.msg16340#msg16340 for how I found this idea.

AltFolio | Newbium DataSite | AAssetNXT & -HZ | AssetGraphs | ABEE | Advice | assetparser.py & shareholders.py | bamm.py | PeerCrawler | Github e.g. ChainCountDown, ethjsre | ... much more
Pages: [1]