Commit Graph

  • 5f0263c078 Modifications to block minting for unit tests, in order to solve an NPE and give more options to callers. CalDescent 2022-11-26 16:14:45 +00:00
  • 58e5d325ff Added algo feature triggers to BlockChain.java (at future undecided block height & timestamp) CalDescent 2022-11-26 16:10:18 +00:00
  • 7003a8274b Added some API endpoints relating to penalties. Relies on some code not yet committed. CalDescent 2022-11-26 15:51:06 +00:00
  • ab687af4bb Added new db query to fetch a list of all accounts that have created a non-self-share, based on confirmed transactions. CalDescent 2022-11-26 12:21:43 +00:00
  • f50c0c87dd Account repository modifications for blocksMintedPenalty. CalDescent 2022-11-26 12:03:13 +00:00
  • 9c3a4d6e37 BlockChain.java additions for onlineAccountMinterLevelValidationHeight, which were missing from commit 68a0923 CalDescent 2022-11-26 11:55:27 +00:00
  • 1c8a6ce204 When synchronizing, filter out peers that have a recent block with an invalid signer. CalDescent 2022-11-26 11:52:27 +00:00
  • 68a0923582 Disallow level 0 minters in blocks, and exclude them when minting a new block. CalDescent 2022-11-26 11:37:02 +00:00
  • 617c801cbd Made Block.ExpandedAccount public, and added some more getters. This is needed for upcoming additional validation and unit tests. CalDescent 2022-11-26 11:25:44 +00:00
  • b0c9ce7482 Add blocks minted penalty to Accounts table CalDescent 2022-11-26 11:19:23 +00:00
  • 4e829a2d05 Bump version to 3.7.0 v3.7.0 CalDescent 2022-11-07 21:12:34 +00:00
  • a7402adfa5 Merge branch 'null-owned-groups' CalDescent 2022-11-06 21:20:19 +00:00
  • 9255df46cf Script updates to support add/remove dev group admins null-owned-groups CalDescent 2022-11-06 19:46:12 +00:00
  • db22445948 Include API key automatically in publish-auto-update-v5.pl CalDescent 2022-11-06 14:52:14 +00:00
  • 818e037e75 Merge branch 'master' into null-owned-groups CalDescent 2022-11-06 13:08:54 +00:00
  • 9c68f1038a Bump AT version to 1.4.0 CalDescent 2022-11-05 14:02:04 +00:00
  • 10ae383bb6 Merge pull request #102 from catbref/faster-qort-buy-PoC CalDescent 2022-11-01 18:55:21 +00:00
  • aead9cfcbf Proof of concept: speed up QORT buying catbref 2022-11-01 08:55:57 +00:00
  • 055775b13d Include a list of files in the QDN metadata. CalDescent 2022-10-30 18:54:38 +00:00
  • 985c195e9e Added GIF_REPOSITORY, with custom validation function and unit tests. CalDescent 2022-10-30 17:33:21 +00:00
  • 0628847d14 Removed QORTAL_METADATA service tests. CalDescent 2022-10-30 17:25:11 +00:00
  • 4043ae1928 Added QCHAT_IMAGE service (with 500KB file size limit). CalDescent 2022-10-30 17:23:46 +00:00
  • fa80c83864 Remove QORTAL_METADATA service as this uses its own protocol instead. CalDescent 2022-10-30 17:07:56 +00:00
  • f739d8f5c6 Added increaseOnlineAccountsDifficultyTimestamp feature trigger to unit tests. CalDescent 2022-10-28 18:06:34 +01:00
  • 166425bee9 Added feature trigger timestamp (TBC) to increase online accounts mempow difficulty (also TBC). CalDescent 2022-10-28 17:20:39 +01:00
  • 59a804c560 Include "blocks remaining" in systray when syncing from more than 60 minutes away from a peer's chain tip. CalDescent 2022-10-28 16:57:52 +01:00
  • b64c053531 Reuse the work buffer when verifying online accounts from the OnlineAccountsManager import queue. CalDescent 2022-10-28 16:54:53 +01:00
  • 30cd56165a Speed up syncing blocks in the range of 1-12 hours ago by caching the valid online accounts. CalDescent 2022-10-28 16:02:25 +01:00
  • 510328db47 Removed unused timestamp value. CalDescent 2022-10-28 15:50:43 +01:00
  • 9d74f0eec0 Added haschatreference, with possible values of true, false, or null, to allow optional filtering by the presence or absense of a chat reference. CalDescent 2022-10-24 19:21:29 +01:00
  • 09014d07e0 Fixed issues retrieving chatReference from the db. CalDescent 2022-10-23 19:29:31 +01:00
  • f83d4bac7b Reduced online accounts mempow difficulty to 5 on testnets. CalDescent 2022-10-23 17:01:58 +01:00
  • b3273ff01a Removed all mempow feature trigger conditionals. CalDescent 2022-10-23 16:47:42 +01:00
  • 1dd039fb2d Merge branch 'master' into chat-reference CalDescent 2022-10-23 14:14:23 +01:00
  • 1d5497e484 Modifications to support a single node testnet: CalDescent 2022-10-23 14:13:38 +01:00
  • b37aa749c6 Removed onlineAccountsMemPoWEnabled setting as it's no longer needed. CalDescent 2022-10-22 19:34:24 +01:00
  • e45ad37eb5 Fixed bug which could prevent invalid accounts being removed from the queue until the next valid one is added. CalDescent 2022-10-22 19:30:08 +01:00
  • 72985b1fc6 Reduce log spam, especially around the time of node startup before online accounts have been retrieved. CalDescent 2022-10-22 19:24:54 +01:00
  • 6f27d3798c Improved online accounts processing, to avoid creating keys in the map before validation. CalDescent 2022-10-22 19:18:41 +01:00
  • 23a5c5f9b4 Fixed bug in original commit - we need to save the chat reference to the db. CalDescent 2022-10-22 12:50:28 +01:00
  • a4759a0ef4 Re-ordered chat transaction transformation, to simplify UI code. New additions are now at the end of the data bytes. CalDescent 2022-10-22 12:43:40 +01:00
  • 910191b074 Added optional chatReference field to CHAT transactions. CalDescent 2022-10-21 15:58:23 +01:00
  • 57125a91cf Bump version to 3.6.4 v3.6.4 CalDescent 2022-10-15 18:59:42 +01:00
  • 3c565638c1 onlineAccountsMemoryPoWTimestamp set to Sat Oct 22 2022 16:00:00 UTC CalDescent 2022-10-15 18:58:13 +01:00
  • c2d02aead9 Default minPeerVersion set to 3.6.3 CalDescent 2022-10-14 18:44:25 +01:00
  • 0d9aafaf4e Reduced log spam CalDescent 2022-10-14 17:03:10 +01:00
  • 3844358380 Mark a peer as misbehaved if it fails to respond with a usable block 3 times in a row. CalDescent 2022-10-14 16:38:05 +01:00
  • b4125d2bf1 Fix for NPE in verifyMemoryPoW() CalDescent 2022-10-14 11:34:46 +01:00
  • 5c223179ed Updated AdvancedInstaller project for v3.6.3 CalDescent 2022-10-13 23:37:21 +01:00
  • f3cb57417a Merge branch 'master' of github.com:Qortal/qortal CalDescent 2022-10-13 23:36:27 +01:00
  • 7c7f071eba Bump version to 3.6.3 v3.6.3 CalDescent 2022-10-12 08:54:27 +01:00
  • 7c15d88cbc Fix for issue in BLOCK_SUMMARIES_V2 when sending an empty array of summaries. CalDescent 2022-10-12 08:52:58 +01:00
  • d4aaba2293 Bump version to 3.6.2 v3.6.2 CalDescent 2022-10-10 19:06:08 +01:00
  • 10d3176e70 Revert "Always use BlockSummariesMessage V1 (instead of V2) when responding to GetBlockSummaries requests." CalDescent 2022-10-10 10:28:44 +01:00
  • 36fcd6792a Discard BLOCK_SUMMARIES_V2 messages with an ID (thanks to @catbref for the code) CalDescent 2022-10-10 10:28:36 +01:00
  • cb1eee8ff5 GenericUnknownMessage.MINIMUM_PEER_VERSION set to 3.6.1. CalDescent 2022-10-09 20:37:39 +01:00
  • 2d58118d7c Always use BlockSummariesMessage V1 (instead of V2) when responding to GetBlockSummaries requests. CalDescent 2022-10-09 20:11:01 +01:00
  • e6bb0b81cf Revert "Reduce INITIAL_BLOCK_STEP from 8 to 7." CalDescent 2022-10-09 19:11:20 +01:00
  • 8ddf4c9f9f Add polish translation Nuc1eoN 2022-10-09 15:35:19 +02:00
  • 0693e26cda Update/add German translation Nuc1eoN 2022-10-09 15:34:20 +02:00
  • 77d60fc33f Revert "Skip GET_BLOCK_SUMMARIES requests if it can already be fulfilled entirely from the peer's chain tip block summaries cache." CalDescent 2022-10-09 14:11:28 +01:00
  • 504f38b42a Merge pull request #97 from Nuc1eoN/patch-1 CalDescent 2022-10-08 19:49:10 +01:00
  • 3a18599d85 Mark start/stop scripts as executables Nuc1eoN 2022-10-07 23:35:35 +02:00
  • 0088ba8485 Reduce INITIAL_BLOCK_STEP from 8 to 7. CalDescent 2022-10-07 14:47:46 +01:00
  • 8cedf618f4 Skip GET_BLOCK_SUMMARIES requests if it can already be fulfilled entirely from the peer's chain tip block summaries cache. CalDescent 2022-10-07 14:46:09 +01:00
  • fdd95eac56 Limit to 240 blocks in syncToPeerChain(). CalDescent 2022-10-07 11:05:24 +01:00
  • 10b0f0a054 Catch JSON exceptions in PirateChainWalletController. CalDescent 2022-10-05 15:29:29 +01:00
  • 1233ba6703 Bump version to 3.6.1 v3.6.1 CalDescent 2022-10-04 20:08:30 +01:00
  • c35c7180d4 Return empty levels in GET /addresses/online/levels CalDescent 2022-10-03 10:58:47 +01:00
  • 7080b55aac Reintroduced initial sleep period in block archiver. CalDescent 2022-09-25 19:43:56 +01:00
  • 3890fa8490 Renamed constant for consistency CalDescent 2022-09-25 18:46:33 +01:00
  • a9721bab3d Fixed issue causing startup of various components to be delayed by 30 seconds. CalDescent 2022-09-25 18:39:56 +01:00
  • 1bb8f1b6d2 Fixed bug in last commit. CalDescent 2022-09-25 12:36:00 +01:00
  • 765416db71 Yet another attempt to optimize the online accounts import queue processing. CalDescent 2022-09-25 12:26:00 +01:00
  • 5989473c8a Revert "Allow duplicate variations of each OnlineAccountData in the import queue, but don't allow two entries that match exactly." CalDescent 2022-09-25 12:06:14 +01:00
  • aa9da45c01 Added optional filtering by reference in GET /chat/messages CalDescent 2022-09-25 11:37:07 +01:00
  • 4681218416 Include total count in debug trade presence logging CalDescent 2022-09-24 15:49:29 +01:00
  • 5c746f0bd9 Fixed bug which required a node to hold local trade presences before it would request any. CalDescent 2022-09-24 15:48:45 +01:00
  • 309f27a6b8 Moved error to debug, as we now get a burst of these soon after startup, due to commit 99858f3. CalDescent 2022-09-24 15:21:01 +01:00
  • d2ebb215e6 Fixed Synchronizer.getBlockSummaries() which was expecting BLOCK_SUMMARIES, but updated peers send BLOCK_SUMMARIES_V2 BLOCK_SUMMARIES_V2 CalDescent 2022-09-24 14:36:49 +01:00
  • 7a60f713ea Fixed error in rebase. CalDescent 2022-09-24 14:35:02 +01:00
  • e80dd31fb4 BlockSummariesV2Message.MINIMUM_PEER_VERSION set to 3.6.1 CalDescent 2022-09-24 13:53:27 +01:00
  • 94cdc10151 Initial work on BLOCK_SUMMARIES_V2, part of a bigger arc to improve synchronization. catbref 2022-05-31 21:06:34 +01:00
  • 863a5eff97 Moved various online accounts logs to TRACE level, to make it easier to monitor the queue processing when in DEBUG. CalDescent 2022-09-24 13:11:28 +01:00
  • 5b81b30974 Modified online accounts request interval, and introduced bursting. CalDescent 2022-09-24 13:02:27 +01:00
  • 174a779e4c Add accounts from the import queue individually, and then skip future duplicates before unnecessarily validating them again. CalDescent 2022-09-24 10:56:52 +01:00
  • c7cf33ef78 Set hasOurOnlineAccounts to true if one of our accounts is found before signing. CalDescent 2022-09-24 10:23:55 +01:00
  • ea4f4d949b When validating online accounts, enforce mempow if the online account's timestamp is after the feature trigger. CalDescent 2022-09-23 19:45:59 +01:00
  • 6d9e6e8d4c Allow duplicate variations of each OnlineAccountData in the import queue, but don't allow two entries that match exactly. CalDescent 2022-09-23 18:46:01 +01:00
  • 99858f3781 Wait 30 seconds after the node starts before computing our online accounts. CalDescent 2022-09-23 18:28:41 +01:00
  • 84a16157d1 Don't add online accounts to the import queue if they are already validated CalDescent 2022-09-23 18:02:46 +01:00
  • 49d83650f4 Removed online accounts V2 and V1 messaging, as the V3 format will soon be required due to the nonce values. CalDescent 2022-09-23 15:25:44 +01:00
  • 951c85faf1 Fixed bug causing error 500 in some cases. CalDescent 2022-09-20 22:26:30 +01:00
  • 84d42b93e1 Reordered code in Block.mint() to fix potential issue after mempow activates. CalDescent 2022-09-20 08:50:37 +01:00
  • b99b1f5d57 Bump version to 3.6.0 v3.6.0 CalDescent 2022-09-19 17:29:26 +01:00
  • 952c51ab25 QORA / block reward adjustments set to activate at height 1010000 CalDescent 2022-09-19 17:27:07 +01:00
  • 64ef8ab863 OnlineAccountsV3Message.MIN_PEER_VERSION set to 3.6.0 CalDescent 2022-09-19 16:36:39 +01:00
  • 93fd80e289 Require that add/remove admin transactions can only be created by group members. CalDescent 2022-09-19 16:34:31 +01:00
  • 5581b83c57 Added initial admin approval features for groups owned by the null account. CalDescent 2022-09-19 11:03:06 +01:00
  • 5017072f6c Use path parameter instead of query string. CalDescent 2022-09-17 13:50:04 +01:00