CalDescent
6003ed3ff7
Revert "Use block's online accounts timestamp (instead of main timestamp) for the mempow hard fork."
...
This reverts commit 8cca6db316
.
2 years ago
CalDescent
03e3619817
Revert "Use onlineAccountTimestamp for all mempow hard fork related code in OnlineAccountsManager too."
...
This reverts commit 23423102e7
.
2 years ago
CalDescent
0e42e7b05a
Merge branch 'master' into online-accounts-mempow-v2-block-updates
...
# Conflicts:
# src/test/resources/test-chain-v2-no-sig-agg.json
2 years ago
CalDescent
d4fbc1687b
Optionally exclude initial data from all trade websockets, using query string parameter excludeInitialData=true
...
Due to the large amount of data, it can take some time for the request to be processed and data to be transferred. It may make more sense to load the initial state from the standard API, and just use the websockets for updates.
2 years ago
CalDescent
8ffdc9b369
POST /crosschain/htlc/importarchivedtrades moved to POST /admin/repository/importarchivedtrades, as this is a repository operation not an HTLC one.
2 years ago
CalDescent
c883dd44c8
Remove LitecoinACCTv2 as it is no longer being used, and is unsafe.
2 years ago
CalDescent
667530e202
Remove DogecoinACCTv2 as it is no longer being used, and is unsafe.
2 years ago
CalDescent
5807d6e0dc
Merge branch 'shares-by-level-rework'
2 years ago
CalDescent
ba4eeed358
Modified GET /arbitrary/resources endpoint (and underlying db queries) to allow filtering names by a list, e.g. "followedNames" or "blockedNames".
2 years ago
CalDescent
82edc4d9f3
OnlineAccountsV3Message MIN_PEER_VERSION set to 3.5.1
2 years ago
CalDescent
2a0d5746e6
Only compute "next" online account signature if mempow hard fork is active.
...
This minimizes the amount of differences in the first phase of the mempow rollout.
2 years ago
CalDescent
23423102e7
Use onlineAccountTimestamp for all mempow hard fork related code in OnlineAccountsManager too.
2 years ago
CalDescent
8879ec5bb4
Avoid computing the proof of work for each online account more than once.
2 years ago
CalDescent
8cca6db316
Use block's online accounts timestamp (instead of main timestamp) for the mempow hard fork.
...
This ensures that we cleanly switch from the old to new online account format, even if a block is minted retroactively.
2 years ago
CalDescent
effe1ac44d
Merge branch 'master' into online-accounts-mempow-v2-block-updates
...
# Conflicts:
# src/main/java/org/qortal/block/BlockChain.java
# src/main/resources/blockchain.json
# src/test/resources/test-chain-v2-no-sig-agg.json
2 years ago
CalDescent
ad4308afdf
Added POST /crosschain/htlc/importarchivedtrades API endpoint.
...
This imports all trades from TradeBotStatesArchive.json into the repository.
2 years ago
CalDescent
6cfd85bdce
Skip over ARRR orders in /refundAll and /redeemAll, as ARRR support hasn't been added for these yet.
...
This should fix 500 error which could prevent forced refund attempts for LTC and other chains. It wouldn't have affected any normal trade-bot refund functionality.
2 years ago
CalDescent
8b61247712
Added shareBinsByLevelV2.
...
This allows for different share bin distribution starting at an undecided future block height. This height will correspond with the QORA reduction. New values decided in recent community vote.
2 years ago
CalDescent
a9267760eb
qoraHoldersShare reworked to qoraHoldersShareByHeight.
...
This allows the QORA share percentage to be modified at different heights, based on community votes. Added unit test to simulate a reduction.
# Conflicts:
# src/test/java/org/qortal/test/minting/RewardTests.java
2 years ago
CalDescent
73396490ba
Set walletsPath and listsPath to AppData folder for new Windows installs.
2 years ago
CalDescent
0b8fcc0a7b
Bump version to 3.5.0
2 years ago
CalDescent
3d3ecbfb15
Merge branch 'master' into pirate-chain
2 years ago
CalDescent
9658f0cdd4
Revert "Rewrite of isNotOldPeer predicate, to fix logic issue."
...
This rewrite may have been causing problems with connections in the network, due to peers being forgotten too easily. Reverting for now to see if it solves the problem.
This reverts commit d81071f254
.
# Conflicts:
# src/main/java/org/qortal/network/Network.java
2 years ago
CalDescent
b23500fdd0
Attempt to hold peer connections for 1-4 hours instead of 5-60 mins, as the constant disconnections are causing too much data to be sent over and over.
...
If this proves to not have any significant bad effects on re-orgs, we could consider setting these even higher or even disabling the auto disconnect by default.
2 years ago
CalDescent
a1365e57d8
Don't log network stats if no messages have been received, as otherwise this floods the logs with empty stats due to failed connections.
2 years ago
CalDescent
d8ca3a455d
Merge pull request #93 from catbref/peer-message-stats
...
Log count & total size of peer messages sent & received when a peer is disconnected
2 years ago
CalDescent
dcc943a906
Hopeful fix for InvalidKeyException seen in some JDK implementations.
2 years ago
CalDescent
cd2010bd06
More algo logging.
2 years ago
CalDescent
8cd16792a2
More logging relating to decryption failures.
2 years ago
CalDescent
4d97586f82
Log exception if AES decryption fails using specific algorithm settings.
2 years ago
CalDescent
3612fd8257
Removed unused throw
2 years ago
CalDescent
ff96868bd9
Log full stack trace if loading a QDN resource fails due to a DataException.
2 years ago
CalDescent
1694d4552e
ArbitraryDataReader.deleteWorkingDirectory() is now optional.
2 years ago
CalDescent
bb1593efd2
Log full IOException stacktrace when obtaining Pirate Chain libraries.
2 years ago
CalDescent
4140546afb
Ignore failures when deleting original QDN compressed file.
2 years ago
CalDescent
19197812d3
Log DataException during transaction validation.
2 years ago
CalDescent
168d32a474
Include memo for outgoing ARRR transactions.
2 years ago
CalDescent
a4fade0157
Validate wallet initialization result when restoring existing wallet.
2 years ago
CalDescent
2ea6921b66
Added more ARRR lightwalletd nodes
2 years ago
CalDescent
11ef31215b
Fixed failing test
2 years ago
CalDescent
830a608b14
Include memo for incoming ARRR transactions.
2 years ago
CalDescent
57acf7dffe
Updated text when downloading wallet files from QDN
2 years ago
CalDescent
9debebe03e
Default birthday for ARRR moved to "arrrDefaultBirthday" (default 2000000).
...
This allows users to increase their default birthday if they know that no wallets were created before a certain block, to reduce sync time. It also fixed some failed unit tests that relied on transactions between blocks 1900000 and 2000000.
2 years ago
catbref
b17e96e121
Log count & total size of peer messages sent & received when a peer is disconnected. Requires org.qortal.net.Peer logging level set to DEBUG
2 years ago
CalDescent
b46c3cf95f
Allow direct connection QDN retries every hour, instead of every 24 hours.
2 years ago
CalDescent
86526507a6
Increase time range and total number of attempts to fetch a QDN resource, as it previously gave up too quickly.
2 years ago
CalDescent
1b9128289f
Added initial support to download Pirate wallet libraries from QDN, using hardcoded transaction signature.
...
Using a hardcoded signature ensures that the libraries cannot be swapped out without a core auto update, which requires the standard dev team approval process.
2 years ago
CalDescent
4a58f90223
Added support for multiple lightwalletd servers.
2 years ago
CalDescent
e68db40d91
Remove sapling params
2 years ago
CalDescent
bd6c0c9a7d
qdata utility renamed to qdn
2 years ago