CalDescent
d4ff7bbe4d
Fixed inaccurate README text that was accidentally merged from the data node repository.
2022-01-29 22:37:27 +00:00
CalDescent
d4d73fc5fc
Merge pull request #67 from otaku/docker
...
feat: add Dockerfile
2022-01-29 20:15:06 +00:00
CalDescent
bb35030112
Merge pull request #65 from QuickMythril/reduce-doge-fee
...
reduce DOGE fees
2022-01-29 20:14:04 +00:00
CalDescent
7aed0354f1
We (currently) can't filter unconfirmed transactions by address, because only the public key is stored in the database until it is confirmed (at which point there is an entry in the TransactionParticipants table which contains the address). Given that this isn't a simple problem to solve, for now it makes sense to reject this combination if requested via the /transactions/search API.
2022-01-29 19:24:28 +00:00
CalDescent
c4f763960c
Don't delete a resource's cache if a build is in progress.
...
Hopeful fix for "Unable to delete cache for resource: Unable to delete directory" error, and possibly some other file conflicts.
2022-01-29 19:18:06 +00:00
CalDescent
c5182a4589
Increased MAX_ACCOUNT_COUNT in GetOnlineAccountsMessage from 1000 to 5000
2022-01-29 12:39:43 +00:00
CalDescent
fc1a376fbd
Added POST /transaction/fee API endpoint, to return the recommended fee for the supplied transaction data.
2022-01-29 10:38:15 +00:00
CalDescent
27387a134f
Fixed typo
2022-01-28 19:58:32 +00:00
CalDescent
be7bb2df9e
Added GET /transaction/unitfee API endpoint, to obtain the unit fee for a transaction type
...
Additional params:
- timestamp: to allow for hard forks. Default: the current time
- level: the account level, to allow for the future possibility of different fees per level. Not currently used.
2022-01-28 19:00:15 +00:00
CalDescent
72a291a54a
Added initial support of different unit fees per transaction type.
...
Included a timestamp property, as this will be needed for each update (hard fork).
2022-01-28 18:50:03 +00:00
CalDescent
b1342d84fb
Updated potentially misleading log message.
2022-01-28 11:02:37 +00:00
CalDescent
cdd57190ce
Use getEffectiveMintingLevel() rather than getLevel()
2022-01-28 10:16:42 +00:00
CalDescent
d200a098cd
Updated AdvancedInstaller project for v3.0.4
2022-01-27 23:18:34 +00:00
CalDescent
a0ed3f53a4
Merge branch 'master' of github.com:Qortal/qortal
2022-01-27 22:45:40 +00:00
CalDescent
e5c12b18af
Bump version to 3.0.4
2022-01-27 19:58:39 +00:00
CalDescent
7808a1553e
Fixed case sensitive ordering issues in other aspects of QDN.
2022-01-27 18:46:59 +00:00
CalDescent
a0ba016171
Fixed case sensitive ordering issue in websites list.
2022-01-27 18:42:52 +00:00
CalDescent
344704b6bf
MIN_LEVEL_FOR_BLOCK_SUBMISSION temporarily increased to 6.
...
This is to hopefully improve network stability whilst a more advanced solution is being worked on. It also allows us to collect some data on how well the network behaves when there are less block candidates. It should have no effect on minting rewards (other than any side effects as a result of improved network stability).
2022-01-27 18:15:00 +00:00
CalDescent
3303e41a39
Fixed unhandled case in GET /arbitrary/{service}/{name}* endpoints
2022-01-27 18:12:21 +00:00
CalDescent
4e71ae0e59
Allow QDN data to be served without authentication by setting "qdnAuthBypassEnabled":true
...
This allows the GET /arbitrary/{service}/{name} and GET /{service}/{name}/{identifier} endpoints to operate without any authentication. Useful for those who are running public QDN nodes and need to serve data over http(s).
2022-01-27 18:10:24 +00:00
CalDescent
9daf7a6668
Synchronize lists, to prevent an occasional ConcurrentModificationException
2022-01-26 22:40:34 +00:00
Alexander Do
a2b2b63932
feat: add Dockerfile
2022-01-23 16:48:34 -08:00
CalDescent
af06774ba6
Clear the cache when deleting data, so that it disappears from the data management screen.
2022-01-23 22:53:35 +00:00
CalDescent
311fe98f44
Bump version to 3.0.3
2022-01-23 13:19:49 +00:00
CalDescent
6f7c8d96b9
Removed ApiService instance creation in ApplyUpdate as it wasn't really needed, and probably not sensible to instantiate it here.
2022-01-23 12:57:28 +00:00
CalDescent
ff6ec83b1c
Removed localAuthBypassEnabled override in unit tests.
...
Hopefully this will allow us to proactively catch any missing API keys in the future.
2022-01-23 12:48:37 +00:00
CalDescent
ea10eec926
Fixed bug in auto update process - use the API key when stopping the node.
...
Luckily this code is included in the new JAR, not the old one, so we should be able to regain auto update ability by issuing a new update.
2022-01-23 12:38:19 +00:00
CalDescent
be561a1609
Add default "dataPath" to Windows installer builds, so that QDN data is located in AppData
2022-01-22 22:27:14 +00:00
CalDescent
6f724f648d
Fixed testDirectoryDigest() which has been failing for a couple of versions (due to gitignore removing the cache file)
2022-01-22 20:48:58 +00:00
CalDescent
048776e090
Ignore failing test due to recent API update, which makes the test incompatible. To be fixed later.
2022-01-22 20:43:28 +00:00
CalDescent
a7c02733ec
Updated approve-auto-update.sh to use new service format
2022-01-22 19:40:13 +00:00
CalDescent
59346db427
Bump version to 3.0.2
2022-01-22 18:45:32 +00:00
CalDescent
25efee55b8
Added networking optimization, to avoid wasted processing on every read.
...
Thanks to @catbref for finding this.
2022-01-22 18:43:32 +00:00
CalDescent
b30445c5f8
Increase MAX_ACCOUNT_COUNT to 5000 (around 0.5MB of data) to see if it helps with minting efficiency.
2022-01-21 16:11:21 +00:00
CalDescent
d105613e51
Improvements to some /blocks API endpoints
2022-01-21 16:07:18 +00:00
CalDescent
ef43e78d54
Reduced log spam
2022-01-21 15:20:16 +00:00
CalDescent
6f61fbb127
Reduced strictness of rate limiter, to allow two additional file list requests (15 and 30 seconds after initial attempt)
...
This should help catch any remaining chunks that were unable to be fetched in the first attempt due to network failures, bad peers, etc.
2022-01-21 15:20:04 +00:00
CalDescent
9f9b7cab99
Include "size" in /arbitrary/resource APIs
...
Note that this is not always accurate - it relates to the largest transaction size for this name, not necessarily the latest or the combined size of multiple transactions. This can be made accurate as soon as we have a "Resources" table to store this info. Trying to do it before then will be too inefficient in terms of queries.
2022-01-21 14:42:37 +00:00
CalDescent
f129e16878
Added retry mechanism to relay file deletions, just in case it fails on the first try.
...
A longer term solution to this hypothetical problem is to store relays in RAM or a temp folder only. Or maybe add an indicator file to instruct the cleanup manager to delete it. But this will require more development. 10 deletion attempts (each 1 second apart) should be enough for now.
2022-01-21 14:32:15 +00:00
CalDescent
8a42dce763
Use the first responding peer in the relay map.
...
This encourages shorter relays, since longer ones will take more time to respond, and also prevents a peer from intentionally taking a long time to respond so that it overwrites an existing entry.
Longer term we could consider keeping track of all respondents for each hash, if there are still issues with data retrieval. I suspect this won't be needed though, as the requesting peer has 16+ different peers connected, and therefore potentially 16 different mappings already.
2022-01-21 14:23:55 +00:00
CalDescent
6423d5e474
Optimized onNetworkGetArbitraryDataFileListMessage() to remove duplicate calls to Files.exists()
2022-01-21 14:12:59 +00:00
CalDescent
6e91157dcf
Improved cache clearing process and logging.
2022-01-21 13:32:59 +00:00
CalDescent
85c61c1bc1
Added GET /arbitrary/resources/search API
...
Example usage
List all websites with a name containing the word "crow" (using default identifier):
http://localhost:12391/arbitrary/resources/search?service=WEBSITE&query=crow&default=true&limit=20
List all resources with name or identifier containing the word "crow":
http://localhost:12391/arbitrary/resources/search?query=crow&default=false&limit=20
2022-01-21 10:04:18 +00:00
CalDescent
54af36fb85
Remove duplicates in GET /arbitrary/hosted/resources response
2022-01-20 22:34:41 +00:00
CalDescent
fcdcc939e6
Sort hosted data in reverse order (newest first)
2022-01-20 22:29:19 +00:00
CalDescent
13450d5afa
Added limit/offset to GET /arbitrary/hosted API endpoints
2022-01-20 22:28:28 +00:00
CalDescent
5e1e653095
Removed unnecessary database lookups in GET /hosted/resources API
2022-01-20 20:39:46 +00:00
CalDescent
e8fabcb449
Removed extra isDataLocal() check in GET /hosted/resources which was evading the cache.
2022-01-20 20:38:57 +00:00
CalDescent
a4ce41ed39
Updated qort and qdata to check for apikey.txt in $HOME/qortal, which is the most commonly installed location.
...
This allows the script to be run from any directory, as long as the core is installed at $HOME/qortal.
2022-01-20 20:31:16 +00:00
CalDescent
1b42062d57
Default minPeerVersion set to 3.0.1
2022-01-20 20:25:20 +00:00