CalDescent
314b6fc2f8
Include the initial peers when creating bootstraps
2021-10-27 08:46:52 +01:00
CalDescent
974df031a0
Added another bootstrap host
2021-10-26 21:41:22 +01:00
CalDescent
36d0292c6b
Added "sleep until message" functionality to LTC ACCTv2.
2021-10-26 20:10:05 +01:00
CalDescent
7c16952c92
Added LitecoinACCTv2 and LitecoinACCTv2TradeBot
2021-10-26 19:56:33 +01:00
CalDescent
557807e3ba
Initial attempt at adding "sleep until message" functionality to DOGE ACCTv2.
2021-10-26 10:59:23 +01:00
CalDescent
c1d5b2df29
Added DogecoinACCTv2 and DogecoinACCTv2TradeBot
2021-10-26 10:59:16 +01:00
CalDescent
3e0574e563
Added another missing block archive lookup relating to trade timestamps.
...
Note that this is unlikely to be the cause of some of the zero timestamps issue seen on a subset of nodes - there is still likely to be another problem that needs fixing.
2021-10-25 18:21:40 +01:00
CalDescent
69e557e70d
Delete .sha256 file which was left lying around after running the bootstrap unit tests.
2021-10-25 18:20:58 +01:00
49dd63af1e
updated BTC electrum servers
2021-10-23 00:46:02 -04:00
CalDescent
18c6f0ccc3
Merge pull request #60 from Tocoolmh58/master
2021-10-22 18:05:38 +01:00
55c50a4b5b
add API option to return inverse price ( #61 )
2021-10-22 18:04:53 +01:00
CalDescent
1fbd5f7922
Fix for issue causing tradeTimestamp to report as 0 for trades in archived blocks.
2021-10-17 09:52:59 +01:00
CalDescent
bbb71083ef
Updated AdvancedInstaller project for v2.0.0
2021-10-13 19:11:42 +01:00
CalDescent
e2134d76ec
Bump version to 2.0.0
2021-10-13 18:16:50 +01:00
CalDescent
651372cd64
Bump version to 2.0.0-beta.7
2021-10-12 18:56:58 +01:00
CalDescent
581fe17b58
Added message to check the internet connection if the download cannot start.
2021-10-12 08:08:48 +01:00
CalDescent
af8608f302
Show full stack trace when bootstrapping fails for any reason.
2021-10-12 08:08:05 +01:00
CalDescent
290a19b6c6
Log the URL when downloading a bootstrap, to help with problem solving.
2021-10-12 08:01:47 +01:00
CalDescent
73eaa93be8
Added missing space in log entry.
2021-10-11 23:00:59 +01:00
CalDescent
7ab17383a6
Fix for NPE when serialized block bytes are unavailable.
2021-10-10 13:38:10 +01:00
CalDescent
b103c5b13f
Bump version to 2.0.0-beta.6
2021-10-09 17:46:20 +01:00
CalDescent
b7d8a83017
Log "Downloading bootstrap..." as well as showing it in the splash screen.
2021-10-09 17:46:08 +01:00
CalDescent
e7bf4f455d
Added missing repository.saveChanges() when reimporting data after creating a bootstrap.
2021-10-09 16:57:53 +01:00
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.
2021-10-09 16:57:19 +01:00
CalDescent
eb991c6026
Fixed issue causing bootstrap validation to be ignored before creation.
2021-10-09 16:29:40 +01:00
CalDescent
a78af8f248
Added SHA-256 file digest utility methods.
...
These read the file in small chunks, to reduce memory.
2021-10-09 16:22:21 +01:00
CalDescent
f34bdf0f58
Fixed issue causing minting accounts to be lost in some cases when auto bootstrapping.
2021-10-09 14:31:13 +01:00
CalDescent
ba272253a5
Bump version to 2.0.0-beta.5
2021-10-09 13:03:58 +01:00
CalDescent
9f488b7b77
Sleep for 5s before cleaning up temp path, in case this improves reliability on Windows.
2021-10-09 13:03:32 +01:00
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.
2021-10-09 13:02:47 +01:00
CalDescent
00401080e0
Simplified cleanup process. Individual deletions aren't needed as they are all inside the main temp directory.
2021-10-09 13:02:00 +01:00
CalDescent
b265dc3bfb
Don't log the complete stack trace for exceptions generated by bootstrap.checkRepositoryState(). The error message is enough in these cases.
2021-10-09 11:47:49 +01:00
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