CalDescent
c3f19ea0c1
Don't allow the custom validation methods to evade superclass validation.
2 years ago
CalDescent
e31515b4a2
Fixed bugs preventing single file GIF repositories and QCHAT attachments from passing validation.
2 years ago
CalDescent
8ad46b6344
Fixed/removed incorrect comments
2 years ago
CalDescent
2f7912abce
Compute balances for Bitcoin-like coins using unspent outputs. Should fix occasional incorrect balance issue, and speed up loading time.
2 years ago
CalDescent
64529e8abf
Added "reverse" and "includeOnlineSignatures" params to `GET /blocks/range/{height}` endpoint.
2 years ago
CalDescent
9d81ea7744
Bump version to 3.8.4
2 years ago
CalDescent
688acd466c
Set checkpoint to block 1136300
2 years ago
CalDescent
81cf46f5dd
Disable block signing on topOnly nodes. Minting rewards are still earned on topOnly for now.
2 years ago
CalDescent
4c52d6f0fc
Fixed bug causing initial latestATStates data to be discarded.
2 years ago
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.
2 years ago
CalDescent
dfe3754afc
Block connections with peers older than 3.8.2, as those versions are nonfunctional due to recent feature triggers.
2 years ago
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.
2 years ago
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.
2 years ago
CalDescent
2a55eba1f7
Updated AdvancedInstaller project for v3.8.3
2 years ago
CalDescent
39e59cbcf8
Bump version to 3.8.3
2 years ago
CalDescent
016191bdb0
Reduce log spam when a QDN resource can't be found due to it not being published.
2 years ago
CalDescent
0596a07c7d
Reduced ArbitraryDataFileRequestThread count from 10 to 5, to reduce network flooding.
2 years ago
CalDescent
c62c59b445
Use correct timeout (12s) when sending arbitrary data to a peer, and improved logging.
2 years ago
CalDescent
f78101e9cc
Updated a default bootstrap host to use a domain instead of its IP.
2 years ago
CalDescent
476fdcb31d
Added serialization tests for chatReference, and grouped with other serialization tests into a single package.
2 years ago
CalDescent
02d5043ef7
Added missing calls to electrumX.setBlockchain(instance); for DGB and RVN. Thanks to @QuickMythril for noticing this.
2 years ago
CalDescent
0ad9e2f65b
Added QCHAT_ATTACHMENT service, with custom validation function.
2 years ago
CalDescent
4dc0033a5a
Added missing chatReferenceTimestamp in unit tests.
2 years ago
CalDescent
745cfe8ea1
chatReferenceTimestamp set to 1674316800000 (Sat, 21 Jan 2023 16:00:00 GMT)
2 years ago
CalDescent
6284a4691c
Import test transactions as part of the serialization tests, to catch any issues with db schema data lengths.
2 years ago
CalDescent
41f88be55e
Test serialization of CHAT transactions
2 years ago
CalDescent
ba95f8376f
Increase CHAT transaction data limits to the maximum (4000 bytes) to allow for upcoming UI features.
2 years ago
CalDescent
8e97c05b56
Added missing feature trigger from unit tests.
2 years ago
CalDescent
eb569304ba
Improved refund/refundAll HTLC code, to handle cases where there have been multiple purchase attempts for the same AT.
2 years ago
CalDescent
b0486f44bb
Added chat_reference index to speed up searches.
2 years ago
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
2 years ago
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.
2 years ago
CalDescent
6b45901c47
Fixed validation of existing reward share transactions.
2 years ago
CalDescent
166f9bd079
Bump version to 3.8.2
2 years ago
CalDescent
2f8f896077
Merge remote-tracking branch 'catbref/bugfix-deploy-at'
2 years ago
CalDescent
9a77aff0a6
Reduced difficulty of PUBLICIZE transactions from 15 to 14 (it is now the same as ARBITRARY transactions)
2 years ago
CalDescent
c6d65a88dc
Increase mempow difficulty and threshold in ChatTransaction, to match the values in the UI.
2 years ago
CalDescent
4aea29a91b
Improved PublicizeTransaction validation.
2 years ago
CalDescent
0e81665a36
Revert "Filter out peers of divergent or significantly inferior chains when syncing."
...
This reverts commit 1dc7f056f9
. To be un-reverted in future when there is more time available for testing.
2 years ago
CalDescent
2a4ac1ed24
Limit to 250 CHAT messages per hour per account.
2 years ago
CalDescent
bb74b2d4f6
MAX_AVG_RESPONSE_TIME for ElectrumX servers increased from 0.5s to 1s.
2 years ago
CalDescent
758a02d71a
Log Pirate light client server address if the wallet unable to be initialized.
2 years ago
CalDescent
7ae142fa64
Improved transaction validation.
2 years ago
CalDescent
a75ed0e634
Bump additional expandedAccount level references held in memory.
2 years ago
CalDescent
e40dc4af59
Fixed group ban expiry.
2 years ago
CalDescent
e678ea22e0
Fixed NPE in unit tests. Still need to work out how/when this was introduced.
2 years ago
CalDescent
cf3195cb83
Set "minAccountsToActivateShareBin" to 0 for certain tests.
2 years ago
CalDescent
80048208d1
Moved some test sponsorship utility methods to AccountUtils, so they can be used in other test classes too.
2 years ago
CalDescent
08de1fb4ec
Disallow CHAT transactions with timestamps more than 5 minutes in the future.
2 years ago
CalDescent
99d5bf9103
Disallow transactions with timestamps more than 30 mins in the future (reduced from 24 hours)
2 years ago