bitshares1-core icon indicating copy to clipboard operation
bitshares1-core copied to clipboard

Using bts uri scheme, receive "old database version, upgrade and re-sync"

Open roadscape opened this issue 10 years ago • 0 comments

I was trying to test BitShares login, but it wasn't working. I restarted the wallet and it strangely decided to re-index. Repeat 2x. During the following re-index I encountered exploding log files that filled up my drive, which caused the chain folder to be deleted.

So I take the following steps:

  1. Fix BTS wallet (re-dl chain, and re-index)
  2. Login successfully. Quit client.
  3. Launch client. Login successfully. Quit client.
  4. Use the 'BitShares Login' on faucet.bitshares.org. Client launches.
  5. "Reindexing database..." again!

I recall that the logs would report if BTS was launched via URI. I'm not seeing that this time.. all I get:

2015-05-29T22:22:15           bitshares:?               thread ] name:ntp tid:4640415744                        thread.cpp:95
2015-05-29T22:22:15     ntp:ntp_read_loop          request_now ] resolving... ["pool.ntp.org",123]                      ntp.cpp:77
2015-05-29T22:22:15           bitshares:?        open_database ] old database version, upgrade and re-sync                      chain_database.cpp:84
2015-05-29T22:22:15     ntp:ntp_read_loop          request_now ] sending request to 74.120.8.2:123                      ntp.cpp:81
2015-05-29T22:22:15     ntp:ntp_read_loop            read_loop ] received ntp reply from 74.120.8.2:123                 ntp.cpp:147
2015-05-29T22:22:15     ntp:ntp_read_loop            read_loop ] ntp offset: -5581, round_trip_delay 45927                      ntp.cpp:161
2015-05-29T22:22:15     ntp:ntp_read_loop            read_loop ] ntp_delta_time updated to -5581                        ntp.cpp:177
2015-05-29T22:22:17           bitshares:?        open_database ] old database version, upgrade and re-sync                      chain_database.cpp:84
2015-05-29T22:35:36           bitshares:?         extend_chain ] Recalculating supply for 40 assets                     chain_database.cpp:1035

At this point I suspect that logging in via URI scheme is triggering these database upgrades.

roadscape avatar May 29 '15 22:05 roadscape