CalDescent
00401080e0
Simplified cleanup process. Individual deletions aren't needed as they are all inside the main temp directory.
3 years ago
CalDescent
b265dc3bfb
Don't log the complete stack trace for exceptions generated by bootstrap.checkRepositoryState(). The error message is enough in these cases.
3 years ago
CalDescent
63cabbe960
Log the full exception details and stack trace when creating bootstraps.
3 years ago
CalDescent
f6c1a7e6db
Disregard exceptions in the bootstrap creation cleanup process because these don't affect the created bootstrap - instead just log the exception and full stack trace.
3 years ago
CalDescent
a3dcacade9
Now showing errors directly in the POST /bootstrap/create API response.
...
This avoids needing to check the log file each time.
3 years ago
CalDescent
f53e2ffa47
Add initial peers on node startup if we don't have any in the repository.
...
This will be needed for future bootstraps, which don't contain any peers. It is also useful for those who have used the DELETE /peers/known API.
3 years ago
CalDescent
a1e4047695
Rework of bootstrap finalization process.
3 years ago
CalDescent
47ce884bbe
Delete all known peers when creating a bootstrap
3 years ago
CalDescent
1b17c2613d
Show "full node" or "top-only" in the "Downloading bootstrap" message.
3 years ago
CalDescent
dedc8d89c7
Handle case when attempting to load a block from the archive by reference, but the referenced block is in the main block repository, not the archive. This is the case with the genesis block.
...
Should fix issue where no block summaries were returned when syncing from block 1
3 years ago
CalDescent
d00fce86d2
Treat the genesis block as unpruned, as we leave this in the HSQLDB repository.
3 years ago
CalDescent
abab2d1cde
Fixed issue preventing blocks from being served from the archive.
...
Now prefixing the byte buffer with the block height to mimic a cached block message.
3 years ago
CalDescent
f6effbb6bb
Removed unnecessary repository parameter from PruneManager.isBlockPruned()
3 years ago
CalDescent
dff9ec0704
Don't attempt to cache blocks from the archive, as they will never be recent
3 years ago
CalDescent
bfaf4c58e4
Make sure to check the archive when serving block summaries and signatures
3 years ago
CalDescent
ab7d24b637
Updated status wording
3 years ago
CalDescent
c256dae736
Ensure that the temp directory is always in the parent directory of the db folder.
3 years ago
CalDescent
045026431b
Create a cleaner base directory path, without the "/./"
3 years ago
CalDescent
4dff91a0e5
Initial bootstrap import retry interval reduced from 5 minutes to 1 minute
3 years ago
CalDescent
7105872a37
Improved exception message
3 years ago
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.
3 years ago
CalDescent
c82293342f
Show full exception stack trace when a bootstrap import fails
3 years ago
CalDescent
8d6dffb3ff
Added test for bootstrap random host selection.
3 years ago
CalDescent
2f6a8f793b
Invert the colours in the splash screen
3 years ago
CalDescent
9bcd0bbfac
Reduce log spam
3 years ago
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.
3 years ago
Tocoolmh58
000f9ed459
Update ApiError_de.properties
3 years ago
Tocoolmh58
c5b2c0b4ec
Create SysTray_de.properties
3 years ago
CalDescent
b7e9af100a
Added scheduled repository maintenance feature. Currently disabled by default.
3 years ago
CalDescent
0d6409098f
Added another bootstrap host
3 years ago
CalDescent
e07238ded8
Fixed variable name
3 years ago
CalDescent
ddf966d08c
Show progress status when extracting files
3 years ago
CalDescent
65dca36ae1
Show progress status when downloading a bootstrap
3 years ago
CalDescent
289dae0780
Fixed issue causing the local repository data backup to be overwritten with an empty list.
3 years ago
CalDescent
71f802ef35
Exponentially backoff when bootstrapping fails, to reduce bandwidth
...
The retry interval starts at 5 minutes and doubles with each failure.
3 years ago
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).
3 years ago
CalDescent
de3ebf664f
Fixed issue with format specifier
3 years ago
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.
3 years ago
CalDescent
889f6fc5fc
Add a "testnet-" prefix in filenames when creating or importing bootstraps on testnet, so that the two databases can be kept separate.
3 years ago
CalDescent
41c2ed7c67
Fixed out of memory errors when copying AT states.
3 years ago
CalDescent
cdf47d4719
Reduce log spam.
3 years ago
CalDescent
4f48751d0b
Fixed issue caused when trying to update the splash frame status in a headless environment.
3 years ago
CalDescent
b6d3e82304
Update status when performing repository maintenance
3 years ago
CalDescent
4f892835b8
Show maximum time estimations in archiving and pruning statuses
3 years ago
CalDescent
ac49221639
Show warning status on startup if the database is missing the AtStatesHeightIndex.
3 years ago
CalDescent
75ed5db3e4
Test multiple files when bulk archiving.
3 years ago
CalDescent
59c8e4e6a2
Fixed bug in earlier commit
3 years ago
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.
3 years ago
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.
3 years ago
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.
3 years ago