CalDescent
8ccb158241
Reduce log spam when in DEBUG mode.
2022-02-01 22:04:12 +00:00
CalDescent
97199d9b91
Display the local and total chunk counts on the loading screen.
2022-02-01 22:03:52 +00:00
CalDescent
5a8b895475
Fixed bug in loading screen, which prevented the DOWNLOADING status from showing.
2022-02-01 22:03:17 +00:00
CalDescent
6c9600cda0
Added API key header to GET /arbitrary/resource/status/* endpoints
2022-02-01 22:02:41 +00:00
CalDescent
82fa6a4fd8
Include "localChunkCount" and "totalChunkCount" in the GET /arbitrary/resource/status/* API responses.
...
These values are left out of other API endpoints where multiple resources are returned, because calculating the chunk counts is too time consuming.
2022-02-01 22:02:14 +00:00
CalDescent
45f2d7ab70
Revert "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."
...
This reverts commit 7aed0354f1
.
2022-02-01 21:55:41 +00:00
CalDescent
33731b969a
Direct peer connections now send a file list request to the peer, rather than individually requesting every chunk for a transaction.
2022-02-01 09:04:31 +00:00
CalDescent
40a8cdc71f
Improved logging when fetching data files
2022-01-31 22:35:12 +00:00
CalDescent
cbe83987d8
Fixed occasional ConcurrentModificationException in the block archive reader.
2022-01-31 21:39:49 +00:00
CalDescent
01e4bf3a77
Try to speed up the shutdown process of the cleanup manager.
2022-01-31 21:39:20 +00:00
CalDescent
b198a8ea07
Fixed issue in ArbitraryDataFile.chunkExists() due to it not checking for the metadata file.
2022-01-31 21:38:51 +00:00
CalDescent
e2e87766fa
Moved log from INFO to DEBUG, as now the synchronizer is on its own thread it can occur more often than before.
2022-01-30 20:15:43 +00:00
CalDescent
f005a0975d
Shut down the synchronizer as soon as the controller is stopping, if we are able to.
2022-01-30 20:14:11 +00:00
CalDescent
5700369935
Prioritize syncing over transaction importing.
2022-01-30 20:09:35 +00:00
CalDescent
8a1fb6fe4e
If a lock can't be obtained when synchronizing, automatically request the sync again.
2022-01-30 20:09:09 +00:00
CalDescent
5b788dad2f
Relocated all synchronizer code from the controller to the synchronizer, and also moved synchonization onto its own thread.
2022-01-30 20:01:22 +00:00
CalDescent
fa2bd40d5f
Reduce log spam
2022-01-30 19:51:49 +00:00
CalDescent
074bfadb28
Don't bother locking if there are no new transactions to process
2022-01-30 19:50:09 +00:00
CalDescent
bd60c793be
Incoming transactions are now added to a queue, and then processed soon after.
...
This solves a problem where incoming transactions could rarely obtain a blockchain lock (due to multiple transactions arriving at once) and therefore most messages were thrown away. It was also causing constant blockchain locks to be acquired, which would often prevent the synchronizer from running.
2022-01-30 19:03:31 +00:00
CalDescent
90f3d2568a
Log whenever the synchronizer can't obtain a blockchain lock, so that blockchain lock issues are more easily noticed.
2022-01-30 19:00:28 +00:00
CalDescent
c73cdefe6f
transactionV5Timestamp moved to blockchain.json
2022-01-30 13:47:20 +00:00
CalDescent
c5093168b1
minAccountLevelToMint value moved to blockchain.json
2022-01-29 22:59:04 +00:00
CalDescent
a35e309a2f
minAccountLevelForBlockSubmissions moved to blockchain.json
2022-01-29 22:57:22 +00:00
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
catbref
244d4f78e2
New network messages ONLINE_ACCOUNTS_V2 and GET_ONLINE_ACCOUNTS_V2.
...
Increased GetOnlineAccountsMessage.MAX_ACCOUNT_COUNT from 1000 to 5000.
The V2 versions are more efficiently encoded and also cache the payload bytes
which reduces CPU when sending to multiple peers.
Serialization / deserialization unit tests included.
Tentative V2 message activation set at core version 3.1.2
see Controller.ONLINE_ACCOUNTS_V2_PEER_VERSION
2022-01-23 16:24:10 +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