Post
Topic
Board Announcements (Altcoins)
Re: NXT :: descendant of Bitcoin - Updated Information
by
Jean-Luc
on 07/02/2014, 09:45:23 UTC
Jean-Luc, it takes 17 minutes to scan the blockchain on my odroid-xu:
Code:
[2014-02-06 20:21:40.352] DEBUG: Database cache size set to 253440 kB
[2014-02-06 20:21:44.208] Database is at level 6
[2014-02-06 20:21:44.215] Updated database is at level 6
[2014-02-06 20:21:44.252] Scanning blockchain...
[2014-02-06 20:38:09.239] ...Done
[2014-02-06 20:38:09.246] NRS 0.7.0e started successfully.

On the old version with .nxt file it took only 9 secounds...
Must have a really slow hard drive... Not much I can do about that now, reading 100 MB database from disk can be expected to be slow, compared to when everything is in memory.

Eventually I will get rid of the need for a full scan. Now it is needed so that accounts, aliases, orders, etc, can be loaded and updated based on the information in each block and every transaction, and then kept in memory. When we switch to storing those in database tables too, a scan will be needed only when for some reason the content of those tables gets out of sync with whatever is in the blocks and transactions tables.