Commit Graph

  • 4c6584d831 Set NUM_CLIENTS=128 in the rpc-idle-clients stability test. stasatdaglabs 2021-08-12 10:02:17 +03:00
  • 97d3191aac Increase RPCMaxInboundConnections to 128. stasatdaglabs 2021-08-12 09:26:04 +03:00
  • f45d33afe8 Make go vet happy. stasatdaglabs 2021-08-12 09:11:29 +03:00
  • 7c73cd00f2 Implement TestRPCMaxInboundConnections. stasatdaglabs 2021-08-12 09:07:11 +03:00
  • 68559d5f49 Increment/decrement the right variable. stasatdaglabs 2021-08-12 08:18:43 +03:00
  • e2817d11bf Limit the amount of inbound RPC connections. stasatdaglabs 2021-08-12 08:16:00 +03:00
  • 4befdbf659 Fix failing tests. stasatdaglabs 2021-08-11 11:01:40 +03:00
  • 530e00627f Generate new genesis blocks. stasatdaglabs 2021-08-11 10:51:10 +03:00
  • e0333623bb Add DAAScore, blueWork, and finalityPoint to blocks' hashes. stasatdaglabs 2021-08-11 10:43:29 +03:00
  • ea25d2cab4 Fix failing tests. stasatdaglabs 2021-08-11 10:27:12 +03:00
  • 8995a6f244 Add checkCoinbaseBlueScore to validateBodyInContext. stasatdaglabs 2021-08-11 09:44:28 +03:00
  • 554b7ed771 Move checkDAAScore and checkBlueWork to validateBlockHeaderInContext. stasatdaglabs 2021-08-11 09:32:57 +03:00
  • 1b0f0914f5 Revert "Add debug logs." stasatdaglabs 2021-08-11 09:17:18 +03:00
  • 357b9572e5 Skip finality point validation for block whose finality points are the virtual genesis. stasatdaglabs 2021-08-11 09:16:55 +03:00
  • 3c18f519cc Add debug logs. stasatdaglabs 2021-08-11 09:04:08 +03:00
  • 649dba1045 Don't validate the finality point for blocks with trusted data. stasatdaglabs 2021-08-11 09:03:54 +03:00
  • f0c7a0f446 Make blockBuilder use VirtualFinalityPoint instead of directly calling FinalityPoint with the virtual hash. stasatdaglabs 2021-08-11 09:03:07 +03:00
  • 52d7faf31f Fix tests that failed due to missing reachability data. stasatdaglabs 2021-08-10 13:38:05 +03:00
  • 59ec750b7f Add finalityPoint to blockBuilder. stasatdaglabs 2021-08-10 13:28:07 +03:00
  • d8ae036c9e Fix genesis blocks' finality points. stasatdaglabs 2021-08-10 13:09:29 +03:00
  • bfb72fe916 Add finality point validation to ValidateHeaderInContext. stasatdaglabs 2021-08-10 13:01:25 +03:00
  • e73b9b6448 Add blue work to buildBlock and fix failing tests. stasatdaglabs 2021-08-10 12:51:57 +03:00
  • 56738282c1 Add a blue work check in validateDifficultyDAAAndBlueWork. stasatdaglabs 2021-08-10 12:44:11 +03:00
  • c8b89f5764 Fix failing tests. stasatdaglabs 2021-08-10 12:28:33 +03:00
  • 05355970bb Add DAA score to buildBlock. stasatdaglabs 2021-08-10 12:20:18 +03:00
  • 3614fbb3f6 Check for header DAA score in validateDifficulty. stasatdaglabs 2021-08-10 12:04:58 +03:00
  • 1513a36ea5 Add DAAScore, BlueWork, and FinalityPoint to protowire header types and fix failing tests. stasatdaglabs 2021-08-10 11:45:27 +03:00
  • e5e1b84f8b Add DAAScore, BlueWork, and FinalityPoint to NewImmutableBlockHeader and fix compilation errors. stasatdaglabs 2021-08-10 11:21:21 +03:00
  • af826609bb Add DAAScore, BlueWork, and FinalityPoint to externalapi.BlockHeader. stasatdaglabs 2021-08-10 10:01:06 +03:00
  • 4132891ac9
    In calculateDiffBetweenPreviousAndCurrentPruningPoints, collect diffChild hashes instead of UTXODiffs to give the GC a chance to clean up UTXODiffs. (#1815) v0.11.0-rc4 stasatdaglabs 2021-08-08 12:46:21 +03:00
  • 4ec5990e8f
    Merge branch 'v0.11.0-dev' into memory-optimize-calculate-diff-between-previous-and-current-pruning-points Ori Newman 2021-08-08 11:36:04 +03:00
  • 2094f4facf
    Decrease the size of the small chains in many-small-chains-and-one-big-chain.json, since the merge set size limit was reduced to k*10. (#1816) stasatdaglabs 2021-08-08 11:22:27 +03:00
  • 95bf96e237 Decrease the size of the small chains in many-small-chains-and-one-big-chain.json, since the merge set size limit was reduced to k*10. stasatdaglabs 2021-08-08 11:06:18 +03:00
  • 13af9276ae In calculateDiffBetweenPreviousAndCurrentPruningPoints, collect diffChild hashes instead of UTXODiffs to give the GC a chance to clean up UTXODiffs. stasatdaglabs 2021-08-08 09:22:04 +03:00
  • 2de68f43f0
    Use blockStatusStore instead of blockStore in missingBlockBodyHashes. (#1814) stasatdaglabs 2021-08-05 09:45:09 +03:00
  • e40a938089 Use blockStatusStore instead of blockStore in missingBlockBodyHashes. stasatdaglabs 2021-08-05 09:02:42 +03:00
  • 81688e2435 Populate the cache in HasBlock if the block exists. stasatdaglabs 2021-08-05 08:19:06 +03:00
  • d748089a14
    Update the virtual after overriding the virtual UTXO set (#1811) v0.11.0-rc3 Ori Newman 2021-08-02 17:02:15 +03:00
  • c27b8d0e1e Remove sanity check Ori Newman 2021-08-02 15:49:16 +03:00
  • 8de6a3d39c Add pruningPoint to importVirtualUTXOSetAndPruningPointUTXOSet Ori Newman 2021-08-02 15:38:47 +03:00
  • 0f1cfe7b80 Put the updateVirtual inside importVirtualUTXOSetAndPruningPointUTXOSet Ori Newman 2021-08-02 15:16:06 +03:00
  • 16b7e1f336 Update the virtual after overriding the virtual utxo set Ori Newman 2021-08-02 14:23:03 +03:00
  • fbe0e4d751 UTXO Index Refactor Constantine Bitensky 2021-07-18 22:42:48 +03:00
  • 7d1071a9b1
    Update testnet version to testnet-6 (#1808) v0.11.0-rc2 stasatdaglabs 2021-07-29 10:12:23 +03:00
  • c3ef223474 Fix failing test. stasatdaglabs 2021-07-29 09:29:40 +03:00
  • d3563e70f2 Update testnet version to testnet-6. stasatdaglabs 2021-07-29 09:18:12 +03:00
  • 754c80d169 Update to version 0.11.1 stasatdaglabs 2021-07-29 07:13:32 +03:00
  • 15fda1fd6e Increase the mass limit 100x no-limit-tag Ori Newman 2021-07-28 17:08:03 +03:00
  • f26a7fdedf
    Return headers first (#1806) v0.11.0-rc1 Ori Newman 2021-07-27 17:07:29 +03:00
  • 4a7ce21928 Fix comments and variable names Ori Newman 2021-07-27 16:06:08 +03:00
  • 509caa1597 Fix ResolveVirtual Ori Newman 2021-07-27 13:09:54 +03:00
  • 925cc791dd resolve virtual only after IBD Ori Newman 2021-07-27 11:26:10 +03:00
  • 7f05d65bce Delete TestHandleRelayInvs Ori Newman 2021-07-26 16:14:30 +03:00
  • 0fd66a3db3 Return headers first Ori Newman 2021-07-26 14:54:48 +03:00
  • d207888b67
    Implement pruned headers node (#1787) Ori Newman 2021-07-26 12:24:07 +03:00
  • 92dc61b820 Rename shouldNotAddGenesis->skipAddingGenesis Ori Newman 2021-07-26 11:40:04 +03:00
  • 001ac57a78 Add comment Ori Newman 2021-07-26 10:48:28 +03:00
  • 7ac4c7c38f Update ConsensusReference comment Ori Newman 2021-07-26 10:45:09 +03:00
  • f733f54b6c Merge remote-tracking branch 'origin/v0.11.0-dev' into implement-pruned-headers-node Ori Newman 2021-07-26 10:42:47 +03:00
  • 082b858e4b Move ConsensusReference to domain Ori Newman 2021-07-26 10:30:18 +03:00
  • baf7e03ca3 Switch to trusted data when encountering virtual genesis in blockWithTrustedData Ori Newman 2021-07-26 10:06:30 +03:00
  • 9ef03d511c Fix a bug in calculateBlockWindowHeap Ori Newman 2021-07-25 13:56:58 +03:00
  • c459599512 Split IBD to 100 blocks each time Ori Newman 2021-07-25 13:56:40 +03:00
  • c1de11ffc2 Send the message to Discord. stasatdaglabs 2021-07-20 10:12:47 +03:00
  • 17cb43de26 Use the proper run url. stasatdaglabs 2021-07-20 09:55:23 +03:00
  • 6c92623c2f Add URLs to the message. stasatdaglabs 2021-07-20 09:48:48 +03:00
  • 042647c37e See what secrets the job object holds. stasatdaglabs 2021-07-20 09:36:36 +03:00
  • 334e1ee78a Continue constructing the message. stasatdaglabs 2021-07-20 09:24:06 +03:00
  • 94a7205958 Also echo GITHUB_JSON for easier debugging. stasatdaglabs 2021-07-20 09:09:56 +03:00
  • f75b88e0cc Pass the entire github json to notify_discord.sh. stasatdaglabs 2021-07-20 09:08:24 +03:00
  • 6c33dbb008 Attempt to parse the event JSON. stasatdaglabs 2021-07-20 08:48:36 +03:00
  • 1a222031e4 Try to figure out what's inside github.event. stasatdaglabs 2021-07-20 08:37:51 +03:00
  • d8715a49b7 Begin writing a commit message. stasatdaglabs 2021-07-20 08:21:08 +03:00
  • c05830fa49 Send an environment variable into notify_discord.sh. stasatdaglabs 2021-07-19 15:15:01 +03:00
  • e5e671da84 Try a third way to run a a shell script. stasatdaglabs 2021-07-19 15:03:11 +03:00
  • 4fcc9637d8 Fix slash direction. stasatdaglabs 2021-07-19 15:00:43 +03:00
  • a2bd8a6ad6 Try a different way to run notify_discord.sh. stasatdaglabs 2021-07-19 14:58:19 +03:00
  • aa95bd0dd1 Intentionally fail fast stability tests. stasatdaglabs 2021-07-19 14:52:08 +03:00
  • b1101923f1 Add a failure step to the stability-test-fast github action. stasatdaglabs 2021-07-19 14:49:14 +03:00
  • 38e2ee1b43
    Change the log level of the transaction propagation log from Info to Debug. (#1804) stasatdaglabs 2021-07-19 10:30:29 +03:00
  • b739175e9f
    Merge branch 'v0.11.0-dev' into propagation-log-level stasatdaglabs 2021-07-19 08:45:12 +03:00
  • f8d75a4cd0 Change the log level of the transaction propagation log from Info to Debug. stasatdaglabs 2021-07-19 08:43:28 +03:00
  • aba44e7bfb
    Disable relative time lock by time (#1800) talelbaz 2021-07-18 17:52:16 +03:00
  • ae590d51e2 Change function name and order of the functions calls tal 2021-07-18 13:47:59 +03:00
  • 516ca43c1f Get rid of maxReasonLength Ori Newman 2021-07-18 11:31:43 +03:00
  • adb8629348 Merge remote-tracking branch 'origin/v0.11.0-dev' into disableRelativeTimeLockByTime tal 2021-07-18 10:45:20 +03:00
  • 62061a3457 Split verifyLockTime to functions with and without threshold.relative lockTimes dont need threshold check tal 2021-07-18 10:44:38 +03:00
  • f01e6ff090 Merge remote-tracking branch 'origin/v0.11.0-dev' into implement-pruned-headers-node Ori Newman 2021-07-15 19:02:15 +03:00
  • f8c3476da0 Change BlockWithMetaData->BlockWithTrustedData Ori Newman 2021-07-15 18:58:28 +03:00
  • 8dcf26e2e9 Add GetMempoolEntriesByAddresses to kaspactl Mike Zak 2021-07-15 18:16:34 +03:00
  • 942535ee82 Add GetMempoolEntriesByAddresses to rpcclient Mike Zak 2021-07-15 18:14:21 +03:00
  • 02a5cb8f58 Move isVirtualGenesisOnlyParent to utils Ori Newman 2021-07-15 18:02:51 +03:00
  • 60e9b9347b Implement HandleGetMempoolEntriesByAddresses Mike Zak 2021-07-15 09:15:55 +03:00
  • 92d7c4cce9 Rename blockWindowHeap->calculateBlockWindowHeap Ori Newman 2021-07-15 15:54:56 +03:00
  • 2bed389a00 Remove redundant copy Ori Newman 2021-07-15 15:53:43 +03:00
  • cb85c6e8d5 Add SelectedChild to DAGTraversalManager Ori Newman 2021-07-15 15:52:29 +03:00
  • c731d74bc0
    Replace queue by stack in GetRedeemer (#1802) Constantine Bitensky 2021-07-15 15:02:06 +03:00
  • 3cb8422b9f
    Merge branch 'v0.11.0-dev' into GetRedeemerOOM Constantine Bitensky 2021-07-15 13:58:36 +03:00
  • 2b8abe5c12 Replace queue by stack in GetRedeemer Constantine Bitensky 2021-07-15 13:53:45 +03:00
  • c2aa4e62b1 Add comment to defaultDifficultyAdjustmentWindowSize Ori Newman 2021-07-15 13:52:18 +03:00