CalDescent
abfe0a925a
More DataFile methods and improvements
3 years ago
CalDescent
fa11f4f45b
Moved DataFileChunk(byte[] fileContent) constructor to the superclass so it can be used by regular data files too.
3 years ago
CalDescent
1e8dbfe4b7
Delete chunk if it fails the hash validation in the constructor.
3 years ago
CalDescent
f82f2bd287
Added DELETE /data/file API endpoint
...
This deletes a file referenced by a user supplied SHA256 digest string (which we will use as the file's "ID" in the Qortal data system). In the future this could be extended to delete all associated chunks, but first we need to build out the data chain so we have a way to look up chunks associated with a file hash.
3 years ago
CalDescent
76742c3869
Removed .dat extension, and use an extra level in the directory structure (data/aB/cD/aBcDeF... etc)
3 years ago
CalDescent
9407e7e418
Data storage location moved to settings ("dataPath")
3 years ago
CalDescent
120552b36e
Added resource file missing from last commit.
3 years ago
CalDescent
9fb58c7ae3
Added the beginnings of an upload API, with some basic data file management.
3 years ago
CalDescent
b917da765c
Removed block 212937
3 years ago
CalDescent
cc59510cd0
Removed all cross-chain code. It's not needed for data nodes.
3 years ago
CalDescent
86aab7023c
Initial settings for data node development. Most to be decided later.
3 years ago
CalDescent
e3b0a41ba9
Merge branch 'sync-multiple-blocks'
3 years ago
CalDescent
802c55dfc8
Merge branch 'networking'
3 years ago
CalDescent
280f7814aa
Merge branch 'master' of github.com:Qortal/qortal
3 years ago
CalDescent
3174681bd8
Removed /src/main/resources/log*.properties from .gitignore
...
We must be careful not to add files to the resources folder accidentally, given that a bundled log4j2.properties file is used in preference to the user's copy. By keeping this out of gitignore, it becomes more obvious if a file is added, and it can then be caught and removed before a release.
3 years ago
CalDescent
853f80b928
Updates to build-zip.sh and build-release.sh
...
There were necessary for these scripts to function in my build environment (Mac OSX). This may give errors when running in other environments, but we can deal with that in future, when others need to use these scripts.
3 years ago
CalDescent
8bdad377d7
Removed outdated qortal.jar from "WindowsInstaller/Install Files" directory.
...
Including an older JAR in the source code only leads to confusion, because a zip of the source code is automatically included with each github release. From what I can see, there is no need for it to be here. Added to .gitignore so we have the option of keeping a local copy.
3 years ago
CalDescent
9e1c2a5bd1
Updated AdvancedInstaller project for v1.5.4
3 years ago
CalDescent
b1777b6011
Bump version to 1.5.4
3 years ago
CalDescent
904be3005f
Enable fast sync by default.
3 years ago
CalDescent
95eaf4c887
Merge branch 'master' into sync-multiple-blocks
3 years ago
CalDescent
e3923b7b22
Fixed issue causing frequent disconnects (found by szisti)
...
When sending or requesting more than 1000 online accounts, peers would be disconnected with an EOF or connection reset error due to an intentional null response. This response has been removed and it will instead now only send the first 1000 accounts, which prevents the disconnections from occurring.
In theory, these accounts should be in a different order on each node, so the 1000 limit should still result in a fairly even propagation of accounts. However, we may want to consider increasing this limit, to maximise the propagation speed.
Thanks to szisti for tracking this one down.
3 years ago
CalDescent
a43993e3ec
Use placeholder build timestamp and build version when building without mvn package (e.g. from within an IDE)
...
This fixes an exception thrown when running directly in IntelliJ, as previously we relied on mvn package to parse the commit hash and timestamp.
3 years ago
CalDescent
bc6b3fb5f4
Include timestamps in block-timings.sh
3 years ago
CalDescent
df47f5d47b
Merge branch 'master' into sync-multiple-blocks
3 years ago
CalDescent
319e64bacc
Defend against an edge case NPE in the chat messages websocket.
3 years ago
CalDescent
ecf044bed1
Removed qortal-backup folder from git
3 years ago
CalDescent
76e1de38e8
Workaround for issue where sometimes an AT stays in "TRADING" mode even after it is marked as finished. This caused Bob's tradebot to enter BOB_REFUNDED mode instead of redeeming the LTC. This workaround treats "TRADING" as "REDEEMED" as long as the AT is finished. It will still enter the BOB_REFUNDED state if the AT's trade state is "REFUNDED" or "CANCELLED", to prevent it trying to redeem LTC without the secret. Longer term we need to prevent the AT itself from getting in this state to begin with, but this should at least solve the LTC redemption problem that occurs as a result.
3 years ago
CalDescent
1648a74ed7
Removed code which auto deletes trade bot data if it can't locate the AT after 24 hours. It's not a good idea to ever delete trade bot data, since it can contain private keys necessary to redeem or refund LTC. We have seen at least one instance of this where the trade bot data was deleted for an active trade. We still have the auto backup in these cases, so the keys are recoverable, but it's safest to avoid any auto deletions.
3 years ago
CalDescent
c63a7884cb
Limit to 10 untrimmed blocks per response, as they are larger than the trimmed ones.
3 years ago
CalDescent
cffbd41f26
Reduce memory allocations in onNetworkGetBlocksMessage
3 years ago
CalDescent
c443187d0b
Reduce log spam by logging the total number of expired unconfirmed transactions that are deleted, rather than each one individually. The individual deletion logs have been moved from INFO to DEBUG.
3 years ago
CalDescent
8c305d8390
Reduced log levels of recent synchronizer / controller log additions from INFO to DEBUG.
...
These are no longer necessary now that we have achieved good stability in the network.
3 years ago
CalDescent
0345c5c03b
Updated AdvancedInstaller project for v1.5.3
3 years ago
CalDescent
cc6ac4c9d9
Bump version to 1.5.3
3 years ago
CalDescent
2ceba45782
Fast sync default blocks per request increased to 100.
3 years ago
CalDescent
ed423ed041
Increased MAX_DATA_SIZE and SYNC_BATCH_SIZE, to increase the effectiveness of the batch sync.
3 years ago
CalDescent
f58a52eaa4
Further work to increase the response timeout when requesting multiple blocks.
3 years ago
CalDescent
688404011b
Relocate FETCH_BLOCKS_TIMEOUT to Peer.java and use a static import.
3 years ago
CalDescent
8881e0fb75
Merge branch 'master' into sync-multiple-blocks
3 years ago
CalDescent
61de7e144e
Merge branch 'networking' into sync-multiple-blocks
...
# Conflicts:
# src/main/java/org/qortal/network/Peer.java
3 years ago
CalDescent
815934ff5c
Added GET /crosschain/htlc/redeemAll/LITECOIN API
...
This loops through all sell orders and attempts to redeem the LTC from each one. It will return true if at least one was redeemed, or false if none are available to be redeemed. Details are logged to the log.txt file rather than returned in the API response.
3 years ago
CalDescent
c3ff9e49e8
Merge pull request #40 from szisti/fixedNetwork
...
Support for configuration based fixed network
3 years ago
Istvan Szabo
d52875aa8f
Added logs to intentional disconnects
3 years ago
Istvan Szabo
9027cd290c
Filter out on demand connections when using fixed network
3 years ago
Istvan Szabo
58a7203ede
Support for configuration based fixed network
3 years ago
CalDescent
5a84016a91
Merge pull request #39 from szisti/networking
...
Code formatting, connection age, and logging changes for networking
3 years ago
Istvan Szabo
bb0269f484
Converted time format
3 years ago
Istvan Szabo
1adc9349fc
Added connection age to connected peers dto
3 years ago
Istvan Szabo
06215c83f2
Reduced log levels
3 years ago