Commit Graph

  • 4cff03e7fe Include "size" value in the "Synchronized with peer" logs. CalDescent 2021-06-19 09:04:14 +01:00
  • 8e35f131d5 Removed debugging log that wasn't intended to be committed. CalDescent 2021-06-18 08:33:51 +01:00
  • aafb9d7e4f Include running total in "Sent X bytes" log entry. CalDescent 2021-06-18 08:05:35 +01:00
  • 652f30bdbd Added DATA_FILE and GET_DATA_FILE message types. CalDescent 2021-06-18 08:02:57 +01:00
  • f4ba7b2a0c Added onNetworkGetDataFileMessage() handler CalDescent 2021-06-18 08:02:13 +01:00
  • 592490d709 Added GET /data/file/frompeer API endpoint CalDescent 2021-06-18 07:59:46 +01:00
  • 5ac676d201 Added DataFileMessage and GetDataFileMessage, used for requesting and sending files between peers. CalDescent 2021-06-17 19:05:00 +01:00
  • abfe0a925a More DataFile methods and improvements CalDescent 2021-06-17 18:20:42 +01:00
  • fa11f4f45b Moved DataFileChunk(byte[] fileContent) constructor to the superclass so it can be used by regular data files too. CalDescent 2021-06-17 18:20:11 +01:00
  • 1e8dbfe4b7 Delete chunk if it fails the hash validation in the constructor. CalDescent 2021-06-17 18:18:19 +01:00
  • f82f2bd287 Added DELETE /data/file API endpoint CalDescent 2021-06-16 20:03:15 +01:00
  • 76742c3869 Removed .dat extension, and use an extra level in the directory structure (data/aB/cD/aBcDeF... etc) CalDescent 2021-06-16 19:49:12 +01:00
  • 9407e7e418 Data storage location moved to settings ("dataPath") CalDescent 2021-06-16 19:22:50 +01:00
  • 120552b36e Added resource file missing from last commit. CalDescent 2021-06-16 19:13:24 +01:00
  • 9fb58c7ae3 Added the beginnings of an upload API, with some basic data file management. CalDescent 2021-06-16 19:10:35 +01:00
  • b917da765c Removed block 212937 CalDescent 2021-06-15 09:29:07 +01:00
  • cc59510cd0 Removed all cross-chain code. It's not needed for data nodes. CalDescent 2021-06-15 09:27:05 +01:00
  • 86aab7023c Initial settings for data node development. Most to be decided later. CalDescent 2021-06-14 19:40:37 +01:00
  • e3b0a41ba9 Merge branch 'sync-multiple-blocks' CalDescent 2021-06-14 19:01:17 +01:00
  • 802c55dfc8 Merge branch 'networking' CalDescent 2021-06-14 19:00:17 +01:00
  • 280f7814aa Merge branch 'master' of github.com:Qortal/qortal CalDescent 2021-06-14 18:49:55 +01:00
  • 3174681bd8 Removed /src/main/resources/log*.properties from .gitignore CalDescent 2021-06-14 18:49:24 +01:00
  • 853f80b928 Updates to build-zip.sh and build-release.sh CalDescent 2021-06-14 18:46:21 +01:00
  • 8bdad377d7 Removed outdated qortal.jar from "WindowsInstaller/Install Files" directory. CalDescent 2021-06-14 18:41:27 +01:00
  • 9e1c2a5bd1 Updated AdvancedInstaller project for v1.5.4 CalDescent 2021-06-14 18:39:46 +01:00
  • b1777b6011 Bump version to 1.5.4 v1.5.4 CalDescent 2021-06-13 19:22:16 +01:00
  • 904be3005f Enable fast sync by default. CalDescent 2021-06-12 13:07:25 +01:00
  • 95eaf4c887 Merge branch 'master' into sync-multiple-blocks CalDescent 2021-06-12 11:15:28 +01:00
  • e3923b7b22 Fixed issue causing frequent disconnects (found by szisti) CalDescent 2021-06-11 19:10:04 +01:00
  • a43993e3ec Use placeholder build timestamp and build version when building without mvn package (e.g. from within an IDE) CalDescent 2021-06-11 19:01:35 +01:00
  • bc6b3fb5f4 Include timestamps in block-timings.sh CalDescent 2021-06-09 13:04:49 +01:00
  • df47f5d47b Merge branch 'master' into sync-multiple-blocks CalDescent 2021-06-06 10:35:47 +01:00
  • 319e64bacc Defend against an edge case NPE in the chat messages websocket. CalDescent 2021-06-06 10:34:20 +01:00
  • ecf044bed1 Removed qortal-backup folder from git CalDescent 2021-06-06 10:29:58 +01:00
  • 76e1de38e8 Workaround for issue where sometimes an AT stays in "TRADING" mode even after it is marked as finished. This caused Bob's tradebot to enter BOB_REFUNDED mode instead of redeeming the LTC. This workaround treats "TRADING" as "REDEEMED" as long as the AT is finished. It will still enter the BOB_REFUNDED state if the AT's trade state is "REFUNDED" or "CANCELLED", to prevent it trying to redeem LTC without the secret. Longer term we need to prevent the AT itself from getting in this state to begin with, but this should at least solve the LTC redemption problem that occurs as a result. CalDescent 2021-06-05 12:31:49 +01:00
  • 1648a74ed7 Removed code which auto deletes trade bot data if it can't locate the AT after 24 hours. It's not a good idea to ever delete trade bot data, since it can contain private keys necessary to redeem or refund LTC. We have seen at least one instance of this where the trade bot data was deleted for an active trade. We still have the auto backup in these cases, so the keys are recoverable, but it's safest to avoid any auto deletions. CalDescent 2021-06-05 11:25:05 +01:00
  • c63a7884cb Limit to 10 untrimmed blocks per response, as they are larger than the trimmed ones. CalDescent 2021-06-02 09:10:25 +01:00
  • cffbd41f26 Reduce memory allocations in onNetworkGetBlocksMessage CalDescent 2021-06-02 09:09:06 +01:00
  • c443187d0b Reduce log spam by logging the total number of expired unconfirmed transactions that are deleted, rather than each one individually. The individual deletion logs have been moved from INFO to DEBUG. CalDescent 2021-06-01 20:06:37 +01:00
  • 8c305d8390 Reduced log levels of recent synchronizer / controller log additions from INFO to DEBUG. CalDescent 2021-06-01 08:39:38 +01:00
  • 0345c5c03b Updated AdvancedInstaller project for v1.5.3 CalDescent 2021-05-31 21:27:42 +01:00
  • cc6ac4c9d9 Bump version to 1.5.3 v1.5.3 CalDescent 2021-05-31 17:36:21 +01:00
  • 2ceba45782 Fast sync default blocks per request increased to 100. CalDescent 2021-05-30 14:57:58 +01:00
  • ed423ed041 Increased MAX_DATA_SIZE and SYNC_BATCH_SIZE, to increase the effectiveness of the batch sync. CalDescent 2021-05-30 14:54:13 +01:00
  • f58a52eaa4 Further work to increase the response timeout when requesting multiple blocks. CalDescent 2021-05-30 13:10:38 +01:00
  • 688404011b Relocate FETCH_BLOCKS_TIMEOUT to Peer.java and use a static import. CalDescent 2021-05-30 10:08:50 +01:00
  • 8881e0fb75 Merge branch 'master' into sync-multiple-blocks CalDescent 2021-05-30 09:57:56 +01:00
  • 61de7e144e Merge branch 'networking' into sync-multiple-blocks CalDescent 2021-05-30 09:57:35 +01:00
  • 815934ff5c Added GET /crosschain/htlc/redeemAll/LITECOIN API CalDescent 2021-05-29 19:43:08 +01:00
  • c3ff9e49e8 Merge pull request #40 from szisti/fixedNetwork networking CalDescent 2021-05-29 09:51:56 +01:00
  • d52875aa8f Added logs to intentional disconnects Istvan Szabo 2021-05-28 16:06:27 +01:00
  • 9027cd290c Filter out on demand connections when using fixed network Istvan Szabo 2021-05-28 14:37:28 +01:00
  • 58a7203ede Support for configuration based fixed network Istvan Szabo 2021-05-28 07:30:17 +01:00
  • 5a84016a91 Merge pull request #39 from szisti/networking CalDescent 2021-05-28 10:09:07 +01:00
  • bb0269f484 Converted time format Istvan Szabo 2021-05-28 08:53:01 +01:00
  • 1adc9349fc Added connection age to connected peers dto Istvan Szabo 2021-05-28 08:04:57 +01:00
  • 06215c83f2 Reduced log levels Istvan Szabo 2021-05-27 10:48:17 +01:00
  • 8a828137ee Removed code coverage report as it seems to conflict with tests randomly Istvan Szabo 2021-05-27 09:52:33 +01:00
  • de4b1c8f09 Removed missed functional change Istvan Szabo 2021-05-27 09:15:32 +01:00
  • 265d40f04a Code formatting and logging changes for networking Istvan Szabo 2021-05-27 09:03:18 +01:00
  • b64e52c0c0 Automated testing (#38) szisti 2021-05-26 11:27:46 +01:00
  • ac02e5c0a6 Merge pull request #37 from szisti/fix-cross-transaction-display CalDescent 2021-05-26 08:39:51 +01:00
  • 427a415fbf Adjusted bitcoiny to convert transaction info into the new DTO Istvan Szabo 2021-05-25 23:57:54 +01:00
  • 9a3414aaa7 Added new DTO to store the data Istvan Szabo 2021-05-25 23:55:12 +01:00
  • 7f5486dade Merge branch 'master' into sync-multiple-blocks CalDescent 2021-05-25 07:37:01 +01:00
  • c8897ecf9b Rewrite of HSQLDBATRepository.getBlockATStatesAtHeight() SQL query CalDescent 2021-05-24 19:52:20 +01:00
  • 2c8b94d469 Always use the org.qortal.utils.Base58 implementation CalDescent 2021-05-24 19:38:01 +01:00
  • 36c1cfae51 Log the P2SH address when redeeming or refunding LTC via the API. CalDescent 2021-05-24 19:00:04 +01:00
  • 41ad78750e Don't allow QORT addresses to be used as the receiving address when redeeming LTC CalDescent 2021-05-24 18:59:41 +01:00
  • 3eaa4d5b38 Added /crosschain/htlc/refund/LITECOIN/{ataddress}/{receivingAddress} API CalDescent 2021-05-23 18:52:03 +01:00
  • 35176f9550 Added other files to .gitignore CalDescent 2021-05-23 16:57:09 +01:00
  • eb2c7268ea Removed .DS_Store files. CalDescent 2021-05-23 15:31:26 +01:00
  • 80311355ae Added /blocks/signature/{signature}/data API CalDescent 2021-05-23 13:10:47 +01:00
  • 39d1590ace Improved descriptions of the new API endpoints. CalDescent 2021-05-22 14:16:14 +01:00
  • 0b36b650a4 Added /redeem/LITECOIN/{ataddress} API CalDescent 2021-05-22 13:59:00 +01:00
  • 39575e8542 Added /refund/LITECOIN/{ataddress} API CalDescent 2021-05-22 10:09:28 +01:00
  • 326ef498b0 Added /crosschain/htlc/redeem/LITECOIN/{ataddress}/{tradePrivateKey}/{secret}/{receivingAddress} API CalDescent 2021-05-22 09:51:57 +01:00
  • 5148bad82e /crosschain/htlc APIs now take base58 encoded params instead of hex. CalDescent 2021-05-20 09:20:14 +01:00
  • 518f02472f Added POST /crosschain/LitecoinACCTv1/redeemmessage API CalDescent 2021-05-20 07:59:19 +01:00
  • ee5a132eb2 Updated AdvancedInstaller project for v1.5.2 CalDescent 2021-05-17 20:31:28 +01:00
  • 654dc5bff3 Bump version to 1.5.2 v1.5.2 CalDescent 2021-05-17 17:02:38 +01:00
  • 27aeb4f05f Merge branch 'master' into sync-multiple-blocks CalDescent 2021-05-16 11:21:34 +01:00
  • 13dcf7f72a Added/updated some comments relating to a possible future optimization. CalDescent 2021-05-16 11:03:11 +01:00
  • 65c26f17df Reduced "Error while trying to find common block with peer" log from INFO to DEBUG when determining which peer to sync with. When performing the actual synchronization, use INFO logging as this is a more serious error. CalDescent 2021-05-16 10:45:40 +01:00
  • 3bedba71d5 Reduced frequency and level of some synchronizer logs. CalDescent 2021-05-16 10:36:41 +01:00
  • 1ba64d9745 Bumped bitcoinj version from 0.15.6 to 0.15.10 CalDescent 2021-05-16 10:00:28 +01:00
  • 84bf570243 Added optional "maxtrades" parameter to /crosschain/price/{blockchain} API CalDescent 2021-05-16 09:51:11 +01:00
  • 28d50bccf9 Exclude peers if we don't have a complete set of their block summaries. CalDescent 2021-05-16 09:15:37 +01:00
  • 66711c2e9d Require a complete sync in syncToPeerChain() CalDescent 2021-05-16 08:45:23 +01:00
  • 92d8c37d7d Added AT count to block debug logs. CalDescent 2021-05-15 12:54:46 +01:00
  • 5824f75669 Rework of the repository export and import functions. CalDescent 2021-05-15 12:19:15 +01:00
  • deb8adafc9 Added org.json dependency. CalDescent 2021-05-15 09:15:29 +01:00
  • d2649b237c Moved chain weight calculation log from DEBUG to TRACE. CalDescent 2021-05-11 19:01:23 +01:00
  • 255233fe38 Reduced log spam. CalDescent 2021-05-10 09:10:14 +01:00
  • 6532c258f6 Reduced log spam. CalDescent 2021-05-10 09:10:14 +01:00
  • 4ac3984b7c Merge branch 'master' into sync-multiple-blocks CalDescent 2021-05-10 09:09:41 +01:00
  • 83e2b10904 Merge branch 'ignore-old-versions' CalDescent 2021-05-10 09:01:04 +01:00
  • 26c1793d85 Added "allowConnectionsWithOlderPeerVersions" setting (default: true) ignore-old-versions CalDescent 2021-05-10 09:00:42 +01:00
  • 23a9eea26b Merge branch 'ignore-old-versions' CalDescent 2021-05-09 23:02:35 +01:00
  • af9b536dd9 Moved version check above getMinBlockchainPeers() check, so that nodes with old versions aren't counted. CalDescent 2021-05-09 23:00:51 +01:00