CalDescent
63cabbe960
Log the full exception details and stack trace when creating bootstraps.
2021-10-09 11:39:08 +01:00
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.
2021-10-09 11:38:13 +01:00
CalDescent
a3dcacade9
Now showing errors directly in the POST /bootstrap/create API response.
...
This avoids needing to check the log file each time.
2021-10-09 11:02:21 +01:00
CalDescent
17e65e422c
Bump version to 2.0.0-beta.4
2021-10-08 19:11:25 +01:00
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.
2021-10-08 19:10:02 +01:00
CalDescent
a1e4047695
Rework of bootstrap finalization process.
2021-10-08 18:06:41 +01:00
CalDescent
47ce884bbe
Delete all known peers when creating a bootstrap
2021-10-08 15:24:10 +01:00
CalDescent
1b17c2613d
Show "full node" or "top-only" in the "Downloading bootstrap" message.
2021-10-08 13:12:47 +01:00
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
2021-10-08 12:51:02 +01:00
CalDescent
d00fce86d2
Treat the genesis block as unpruned, as we leave this in the HSQLDB repository.
2021-10-08 12:42:23 +01:00
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.
2021-10-08 12:22:21 +01:00
CalDescent
33b715eb4e
Merge branch 'networking' into v2.0-beta
...
# Conflicts:
# src/main/java/org/qortal/settings/Settings.java
2021-10-07 18:53:49 +01:00
CalDescent
f6effbb6bb
Removed unnecessary repository parameter from PruneManager.isBlockPruned()
2021-10-07 18:51:52 +01:00
CalDescent
dff9ec0704
Don't attempt to cache blocks from the archive, as they will never be recent
2021-10-07 18:50:59 +01:00
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
Tocoolmh58
000f9ed459
Update ApiError_de.properties
2021-10-06 17:23:16 +02:00
Tocoolmh58
c5b2c0b4ec
Create SysTray_de.properties
2021-10-06 17:01:52 +02: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