KomodoPlatform / komodo-wallet

Komodo Wallet
https://app.komodoplatform.com
239 stars 206 forks source link

Z coin optional date #2367

Closed smk762 closed 1 year ago

smk762 commented 1 year ago

This PR tests the dev branch API with includes https://github.com/KomodoPlatform/komodo-defi-framework/pull/1967

image

For syncing ARRR, the following cases apply:

To test:

cipig commented 1 year ago

this one really fixes my problem

i have this image

and after restart it doesn't overwrite the existing DB any more, it continues from where it stopped

cipig commented 1 year ago

image

if i just check "use date sync" and keep the date same it starts from

21 06:09:48, coins::z_coin::z_rpc:389] INFO Older/Newer sync height detected!, rewinding walletdb to new height: Some(2490000)
21 06:10:05, coins::z_coin::z_rpc:497] INFO Older/Newer sync height detected!, rewinding blocks_db to new height: 2490000
21 06:10:12, coins::z_coin::z_rpc:882] INFO (Re)starting light_wallet_db_sync_loop for ARRR, blocks per iteration 5000, interval in ms 0

after restart, overwriting the existing DB my DB started originally in 2021

checked all cases with "If prior cache exists", the last 3 ones... working as expected