CalDescent
e7bf4f455d
Added missing repository.saveChanges() when reimporting data after creating a bootstrap.
3 years ago
CalDescent
a7f212c4f2
Create a .sha256 file to accompany each bootstrap
...
This can ultimately be validated after download, and can also be used to help coordinate updates on the various bootstrap hosts.
3 years ago
CalDescent
eb991c6026
Fixed issue causing bootstrap validation to be ignored before creation.
3 years ago
CalDescent
a78af8f248
Added SHA-256 file digest utility methods.
...
These read the file in small chunks, to reduce memory.
3 years ago
CalDescent
f34bdf0f58
Fixed issue causing minting accounts to be lost in some cases when auto bootstrapping.
3 years ago
CalDescent
ba272253a5
Bump version to 2.0.0-beta.5
3 years ago
CalDescent
9f488b7b77
Sleep for 5s before cleaning up temp path, in case this improves reliability on Windows.
3 years ago
CalDescent
3fb7df18a0
Delete temp directories at the beginning of the bootstrap process too, as Windows doesn't like deleting it at the end of the process.
3 years ago
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
17e65e422c
Bump version to 2.0.0-beta.4
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
33b715eb4e
Merge branch 'networking' into v2.0-beta
...
# Conflicts:
# src/main/java/org/qortal/settings/Settings.java
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
5a55ef64c4
Bump version to 2.0.0-beta.3
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
81bf79e9d3
Bump version to 2.0.0-beta.2
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
27903f278d
Add tmp folder to gitignore
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