elective-stereophonic
elective-stereophonic
getBlockchainStatus --> isSyncing, or isSynchronized
singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

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

altsheets

  • Full Member
  • ***
  • Karma: +31/-1
  • Offline Offline
  • Posts: 232
  • check out #AAssetNXT #AltFolio and #AssetGraphs
    • View Profile
    • AssetGraphs-v2 live examples
getBlockchainStatus --> isSyncing, or isSynchronized
« on: August 08, 2015, 04:59:47 pm »

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.

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

elective-stereophonic
elective-stereophonic
assembly
assembly