CalDescent
932a553b91
Merge branch 'master' into q-apps
...
# Conflicts:
# src/main/java/org/qortal/api/resource/ArbitraryResource.java
2023-01-22 16:37:02 +00:00
CalDescent
1d568fa462
Return file lists via /arbitrary/metadata/* endpoints, but exclude it from /arbitrary/resources/* endpoints.
2023-01-22 16:29:23 +00:00
CalDescent
328ba48224
Merge branch 'master' into qdn-file-list
2023-01-22 16:12:54 +00:00
CalDescent
6196841609
Allow files without extensions in QCHAT_ATTACHMENT validation.
2023-01-22 15:59:16 +00:00
CalDescent
9f30571b12
Use a filename without an extension when publishing data from a string (instead of .tmp)
2023-01-22 15:58:53 +00:00
CalDescent
1f7fec6251
Exclude .qortal directory in validation functions, as it was incorrectly failing with "DIRECTORIES_NOT_ALLOWED".
2023-01-20 10:40:20 +00:00
CalDescent
c3f19ea0c1
Don't allow the custom validation methods to evade superclass validation.
2023-01-20 10:21:05 +00:00
CalDescent
e31515b4a2
Fixed bugs preventing single file GIF repositories and QCHAT attachments from passing validation.
2023-01-20 10:14:42 +00:00
CalDescent
8ad46b6344
Fixed/removed incorrect comments
2023-01-20 09:58:28 +00:00
CalDescent
57eacbdd59
Added "GET_PRICE" action.
2023-01-19 20:47:06 +00:00
CalDescent
86d6037af3
Added "SEARCH_TRANSACTIONS" action.
2023-01-19 20:22:29 +00:00
CalDescent
ca80fd5f9c
Added "FETCH_BLOCK" and "FETCH_BLOCK_RANGE" Q-Apps actions.
2023-01-19 20:05:46 +00:00
CalDescent
03a54691a1
Merge branch 'master' into q-apps
2023-01-19 19:57:01 +00:00
CalDescent
3c8088e463
Removed all code duplication for Q-Apps API endpoints.
...
Requests are now internally routed to the existing API handlers. This should allow new Q-Apps API endpoints to be added much more quickly, as well as removing the need to maintain their code separately from the regular API endpoints.
2023-01-19 19:56:50 +00:00
CalDescent
2f7912abce
Compute balances for Bitcoin-like coins using unspent outputs. Should fix occasional incorrect balance issue, and speed up loading time.
2023-01-18 19:30:43 +00:00
CalDescent
64529e8abf
Added "reverse" and "includeOnlineSignatures" params to GET /blocks/range/{height}
endpoint.
2023-01-18 19:04:54 +00:00
CalDescent
9d81ea7744
Bump version to 3.8.4
2023-01-16 20:26:00 +00:00
CalDescent
688acd466c
Set checkpoint to block 1136300
2023-01-16 20:23:43 +00:00
CalDescent
81cf46f5dd
Disable block signing on topOnly nodes. Minting rewards are still earned on topOnly for now.
2023-01-16 20:18:23 +00:00
CalDescent
4c52d6f0fc
Fixed bug causing initial latestATStates data to be discarded.
2023-01-15 21:58:17 +00:00
CalDescent
c03f271825
Keep track of peers which are too divergent, and return an isTooDivergent
boolean in /peers APIs.
...
isTooDivergent will be true or false if a definitive decision has been made, or missing from the response if not yet known. Therefore it should be safe to treat `"isTooDivergent": false` as a peer that is on the same chain.
2023-01-15 12:44:19 +00:00
CalDescent
dfe3754afc
Block connections with peers older than 3.8.2, as those versions are nonfunctional due to recent feature triggers.
2023-01-15 12:07:27 +00:00
CalDescent
30105199a2
Default pruneBlockLimit increased from 1450 to 6000 (approx 5 days), to be more similar to the AT states retention time of full nodes.
2023-01-15 12:00:32 +00:00
CalDescent
e91e612b55
Added checkpoint lookup on startup.
...
Currently enabled for topOnly nodes only. This will detect if the node is on a divergent chain, and will force a bootstrap or resync (depending on settings) in order to rejoin the main chain.
2023-01-15 11:33:16 +00:00
CalDescent
2a55eba1f7
Updated AdvancedInstaller project for v3.8.3
2023-01-15 11:28:37 +00:00
CalDescent
39e59cbcf8
Bump version to 3.8.3
2023-01-14 18:47:46 +00:00
CalDescent
016191bdb0
Reduce log spam when a QDN resource can't be found due to it not being published.
2023-01-14 15:15:48 +00:00
CalDescent
0596a07c7d
Reduced ArbitraryDataFileRequestThread count from 10 to 5, to reduce network flooding.
2023-01-14 12:58:35 +00:00
CalDescent
c62c59b445
Use correct timeout (12s) when sending arbitrary data to a peer, and improved logging.
2023-01-14 12:57:44 +00:00
CalDescent
f78101e9cc
Updated a default bootstrap host to use a domain instead of its IP.
2023-01-14 11:07:54 +00:00
CalDescent
476fdcb31d
Added serialization tests for chatReference, and grouped with other serialization tests into a single package.
2023-01-14 10:38:50 +00:00
CalDescent
02d5043ef7
Added missing calls to electrumX.setBlockchain(instance); for DGB and RVN. Thanks to @QuickMythril for noticing this.
2023-01-13 20:17:27 +00:00
CalDescent
0ad9e2f65b
Added QCHAT_ATTACHMENT service, with custom validation function.
2023-01-13 20:08:47 +00:00
CalDescent
4dc0033a5a
Added missing chatReferenceTimestamp in unit tests.
2023-01-13 19:45:52 +00:00
CalDescent
745cfe8ea1
chatReferenceTimestamp set to 1674316800000 (Sat, 21 Jan 2023 16:00:00 GMT)
2023-01-13 19:45:38 +00:00
CalDescent
6284a4691c
Import test transactions as part of the serialization tests, to catch any issues with db schema data lengths.
2023-01-13 19:28:44 +00:00
CalDescent
41f88be55e
Test serialization of CHAT transactions
2023-01-13 19:27:38 +00:00
CalDescent
ba95f8376f
Increase CHAT transaction data limits to the maximum (4000 bytes) to allow for upcoming UI features.
2023-01-13 19:27:02 +00:00
CalDescent
8e97c05b56
Added missing feature trigger from unit tests.
2023-01-13 19:25:06 +00:00
CalDescent
2c78f4b45b
Fixed typo and reworded "methods" to "actions", for consistency with the code.
2023-01-13 18:25:30 +00:00
CalDescent
613ce84df8
More documentation updates
2023-01-13 18:11:44 +00:00
CalDescent
2822d860d8
Fixed sample app
2023-01-13 18:01:38 +00:00
CalDescent
5a052a4f67
Documentation updates
2023-01-13 17:57:01 +00:00
CalDescent
32c2f68cb1
Initial APIs and core support for Q-Apps
2023-01-13 17:36:27 +00:00
CalDescent
4232616a5f
Fixed QDN website preview functionality.
2023-01-13 12:07:24 +00:00
CalDescent
8ddcae249c
Added gatewayLoopbackEnabled setting (default false) to allow serving gateway requests via localhost.
...
Useful for testing, but not recommended for production environments.
2023-01-13 12:05:57 +00:00
CalDescent
eb569304ba
Improved refund/refundAll HTLC code, to handle cases where there have been multiple purchase attempts for the same AT.
2023-01-06 10:38:25 +00:00
CalDescent
b0486f44bb
Added chat_reference index to speed up searches.
2023-01-02 17:47:36 +00:00
CalDescent
cecf28ab7b
Merge branch 'chat-reference'
...
# Conflicts:
# src/main/java/org/qortal/block/BlockChain.java
# src/main/java/org/qortal/repository/hsqldb/HSQLDBDatabaseUpdates.java
# src/main/resources/blockchain.json
# src/test/resources/test-chain-v2-block-timestamps.json
# src/test/resources/test-chain-v2-disable-reference.json
# src/test/resources/test-chain-v2-founder-rewards.json
# src/test/resources/test-chain-v2-leftover-reward.json
# src/test/resources/test-chain-v2-minting.json
# src/test/resources/test-chain-v2-qora-holder-extremes.json
# src/test/resources/test-chain-v2-qora-holder-reduction.json
# src/test/resources/test-chain-v2-qora-holder.json
# src/test/resources/test-chain-v2-reward-levels.json
# src/test/resources/test-chain-v2-reward-scaling.json
# src/test/resources/test-chain-v2-reward-shares.json
# src/test/resources/test-chain-v2.json
2023-01-02 17:32:38 +00:00
CalDescent
98b92a5bf1
Introduced "historic threshold" to ARBITRARY transactions in order to save on verification times of older transactions.
...
This is based on the approach used for PUBLICIZE transactions.
2023-01-02 16:58:50 +00:00