Closed smk762 closed 1 year ago
this one really fixes my problem
i have this
and after restart it doesn't overwrite the existing DB any more, it continues from where it stopped
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
This PR tests the dev branch API with includes https://github.com/KomodoPlatform/komodo-defi-framework/pull/1967
For syncing ARRR, the following cases apply:
use_date
if off, sync starts 2 days in the past.use_date
if on, sync starts on block height derived from date (rounded to nearest 1000).use_date
if off, sync continues from prior cache height.use_date
if on, and date value has changed since last sync, sync starts on block height derived from date (rounded to nearest 1000).use_date
if on, and date value has not changed since last sync, sync continues from prior cache height.To test: