CalDescent
bfaf4c58e4
Make sure to check the archive when serving block summaries and signatures
2021-10-07 18:50:25 +01:00
CalDescent
ab7d24b637
Updated status wording
2021-10-07 09:02:28 +01:00
CalDescent
c256dae736
Ensure that the temp directory is always in the parent directory of the db folder.
2021-10-07 09:02:13 +01:00
CalDescent
5a55ef64c4
Bump version to 2.0.0-beta.3
2021-10-06 19:51:33 +01:00
CalDescent
045026431b
Create a cleaner base directory path, without the "/./"
2021-10-06 19:50:32 +01:00
CalDescent
4dff91a0e5
Initial bootstrap import retry interval reduced from 5 minutes to 1 minute
2021-10-06 19:45:18 +01:00
CalDescent
7105872a37
Improved exception message
2021-10-06 19:44:30 +01:00
CalDescent
179bd8e018
Moved repository reopen to the finally {} block, so that we're never left without a repository instance. Should fix occasional "No repository available" error seen when retrying.
2021-10-06 19:44:04 +01:00
CalDescent
c82293342f
Show full exception stack trace when a bootstrap import fails
2021-10-06 19:32:49 +01:00
CalDescent
81bf79e9d3
Bump version to 2.0.0-beta.2
2021-10-06 18:23:51 +01:00
CalDescent
8d6dffb3ff
Added test for bootstrap random host selection.
2021-10-06 18:23:17 +01:00
CalDescent
2f6a8f793b
Invert the colours in the splash screen
2021-10-06 18:22:52 +01:00
CalDescent
9bcd0bbfac
Reduce log spam
2021-10-06 18:22:38 +01:00
CalDescent
cd359de7eb
Scheduled maintenance now enabled by default, but uses a min and a max, to reduce the chances of multiple nodes running maintenance at the same time. Default to min: 7 days, max: 30 days.
2021-10-06 18:22:31 +01:00
CalDescent
b7e9af100a
Added scheduled repository maintenance feature. Currently disabled by default.
2021-10-06 08:52:27 +01:00
CalDescent
0d6409098f
Added another bootstrap host
2021-10-05 22:08:18 +01:00
CalDescent
e07238ded8
Fixed variable name
2021-10-04 22:52:47 +01:00
CalDescent
27903f278d
Add tmp folder to gitignore
2021-10-04 22:45:05 +01:00
CalDescent
ddf966d08c
Show progress status when extracting files
2021-10-04 22:44:51 +01:00
CalDescent
65dca36ae1
Show progress status when downloading a bootstrap
2021-10-04 22:38:58 +01:00
CalDescent
289dae0780
Fixed issue causing the local repository data backup to be overwritten with an empty list.
2021-10-04 09:28:16 +01:00
CalDescent
71f802ef35
Exponentially backoff when bootstrapping fails, to reduce bandwidth
...
The retry interval starts at 5 minutes and doubles with each failure.
2021-10-04 09:25:23 +01:00
CalDescent
0135f25b9d
Delete existing repository before extracting bootstrap
...
This limits the amount of additional space needed to the size of the compressed bootstrap (currently just under 4GB for full nodes, or 200MB for top-only nodes).
2021-10-04 09:15:54 +01:00
CalDescent
de3ebf664f
Fixed issue with format specifier
2021-10-04 09:11:11 +01:00
CalDescent
850d879726
Use a "tmp" folder in the Qortal directory rather than a system generated temp folder.
...
This avoids the need to move files between partitions, and we also can't assume that the system partition has enough space to do the extraction.
2021-10-04 09:10:56 +01:00
CalDescent
5397e6c723
Bump version to 2.0.0-beta.1
2021-10-03 22:59:11 +01:00
CalDescent
889f6fc5fc
Add a "testnet-" prefix in filenames when creating or importing bootstraps on testnet, so that the two databases can be kept separate.
2021-10-03 22:57:38 +01:00
CalDescent
41c2ed7c67
Fixed out of memory errors when copying AT states.
2021-10-03 22:51:15 +01:00
CalDescent
cdf47d4719
Reduce log spam.
2021-10-03 22:33:36 +01:00
CalDescent
210368bea0
Bump version to 2.0.0-beta.0
2021-10-03 19:43:28 +01:00
CalDescent
4f48751d0b
Fixed issue caused when trying to update the splash frame status in a headless environment.
2021-10-03 19:43:10 +01:00
CalDescent
b6d3e82304
Update status when performing repository maintenance
2021-10-03 19:31:05 +01:00
CalDescent
3bb3528aa5
Merge branch 'master' into bootstrap
2021-10-03 18:44:13 +01:00
CalDescent
4f892835b8
Show maximum time estimations in archiving and pruning statuses
2021-10-03 18:41:47 +01:00
CalDescent
ac49221639
Show warning status on startup if the database is missing the AtStatesHeightIndex.
2021-10-03 18:34:21 +01:00
CalDescent
75ed5db3e4
Test multiple files when bulk archiving.
2021-10-03 17:33:02 +01:00
CalDescent
59c8e4e6a2
Fixed bug in earlier commit
2021-10-03 16:09:52 +01:00
CalDescent
52b322b756
Take a backup of local data before overwriting with a bootstrap.
...
Also moved the import phase to after the validation phase, so that the data returns after the bootstrap.
2021-10-03 16:09:40 +01:00
CalDescent
dc876d9c96
Force a bootstrap if the block archive isn't intact on launch
...
This allows the topOnly setting to be disabled and the node will automatically bootstrap to the archive version. A rebuild isn't attempted if bootstrapping is disabled, in order to reduce risk.
2021-10-03 16:00:11 +01:00
CalDescent
5b028428c4
Checkpoint immediately after starting/upgrading the repository
...
This should fix a longstanding issue where quitting the core before the first checkpoint (1-2 hours after first launch) causes the database to become corrupt.
2021-10-03 15:47:10 +01:00
CalDescent
f67a0469fc
SplashFrame styling improvements
2021-10-03 15:33:53 +01:00
CalDescent
494cd0efff
Added white background to splash frame - I think it looks nicer this way, and it may solve the X2Go issues too.
2021-10-03 15:27:19 +01:00
CalDescent
fc8e38e862
Show version number in the "Starting Qortal Core" status.
2021-10-03 15:22:21 +01:00
CalDescent
f09fb5a209
Run the bulk block archiver any time that it isn't reported to be up to date. This should allow it to re-run if the user quits the core before it completes.
2021-10-03 15:17:31 +01:00
CalDescent
b00c1c1575
Update splash frame statuses when reshaping, pruning, or building the block archive
2021-10-03 15:16:36 +01:00
CalDescent
7e5dd62a92
Show bootstrap statuses on splash frame.
2021-10-03 15:01:50 +01:00
CalDescent
35718f6215
Fixed issue with bootstrap retries.
2021-10-03 15:00:40 +01:00
CalDescent
a6d3891a95
Fixed bugs when importing bootstrap.
2021-10-03 09:48:14 +01:00
CalDescent
9591c4eb58
Added support for creating top-only bootstraps
2021-10-02 19:13:18 +01:00
CalDescent
8aaf720b0b
Force archiveEnabled to false if we're in top only mode.
...
Most of the code handles this case anyway, but it's an easy place for bugs to be created. So it's safest to enforce it at the settings level.
2021-10-02 19:11:47 +01:00