Wallet needs optimizations


#1

Sync is so slow.

The wallet is the showcase of the smartcash and should inspire confidence. But at the moment it’s not really the case.


#2

how so? its working just great for me.


#3
  1. in case you want to upgrade to 1.0.0
    Please follow guide
    https://smartcash.freshdesk.com/solution/articles/35000027197-how-to-upgrade-to-smartcash-wallet-v1-0-0-major-upgrade-
    https://smartcash.freshdesk.com/a/solutions/articles/35000027174
  2. in case you just want to sync fast ( make sure you have wallet version 1.0.0)
    2.1 If you want to add peers I have some nodes for you
    Click “Help” then “Debug window” and select "Console"
    then in the console enter -
    addnode 108.61.199.235 add
    addnode 107.191.45.69 add
    addnode 45.76.180.246 add
    2.2 Create config file with name (smartcash.conf) in data folder
    https://smartcash.freshdesk.com/support/solutions/articles/35000027195-where-is-the-data-folder-for-my-desktop-smartcash-wallet-stored-
    If you just want to sync fast put connect=seed.smrt.cash in your config (no other add nodes)
    It forces you to only connect to a single 1.0.0 version seed node, which is not what you want for sending transactions
    Once you are sync’d remove that line.

#4

I’m on version 1.0.0 but it tooks hours to sync, even with the bootstrap. Without bootstrap it should take weeks.

Thank you for tricks.


#5

Why you don’t use LevelDB in place of Berkeley DB ?


#6

@pekinight please update your wallet to v1.0.1


#7

I did but I had to put the data folder on my SSD to speed up sync and even on my SSD it took all night to sync. I think it should rely more on RAM cache to avoid disk congestion. I’m pretty sure the DB could be optimized. I will try to check the code source for this but I am amateur on DB.


#8

When you used bootstrap file it will much more fast to sync