Commit Graph

  • 7cdceb6df0
    Cache the miner state (#1844) Elichai Turkel 2021-11-09 00:12:30 +02:00
  • f11b284eaa Make go lint happy Kaspa Profiler 2021-11-08 23:04:38 +02:00
  • 49074c1bdb Change MinerState to State Kaspa Profiler 2021-11-08 22:48:32 +02:00
  • 85d537e806
    Merge branch 'v0.11.1-dev' into cache-miner-state Ori Newman 2021-11-08 09:15:50 +02:00
  • cc5248106e Update to version 0.11.1 stasatdaglabs 2021-07-29 07:13:32 +03:00
  • 6159574a8b
    Modify the miner and related code to use the new MinerCache Elichai Turkel 2021-11-07 20:25:56 +02:00
  • a6f51291e1
    Implement a MinerState to cache the matrix and friends Elichai Turkel 2021-11-07 20:24:26 +02:00
  • e3463b7268
    Replace Keccak256 in oPoW with CSHAKE256 with domain seperation (#1842) v0.11.0 v0.11.0-dev Elichai Turkel 2021-11-07 18:36:30 +02:00
  • eeb1f69f9a Fix tests Ori Newman 2021-11-07 18:07:52 +02:00
  • 3d8402a983 Add comments to genesis coinbase Ori Newman 2021-11-07 17:40:06 +02:00
  • 4c4de5e34e Add message to genesis coinbase Ori Newman 2021-11-07 17:36:54 +02:00
  • d98ce18eec Define genesis's block level to be the maximal one Ori Newman 2021-11-07 17:15:02 +02:00
  • 541e4b88d3 Define genesis's block level to be the maximal one Ori Newman 2021-11-07 16:56:21 +02:00
  • 135e228f9e
    Update tests Elichai Turkel 2021-11-07 12:26:29 +02:00
  • 4c93386bfa
    Update genesis blocks Elichai Turkel 2021-11-07 12:26:14 +02:00
  • e9d8f0b975
    Add benchmarks to hash writers to compare blake2b to the CSHAKE Elichai Turkel 2021-11-07 12:00:41 +02:00
  • 61178978f4
    Replace keccak with CSHAKE256 in oPoW Elichai Turkel 2021-11-07 12:00:09 +02:00
  • a2173ef80a
    Switch PoW to a keccak heavyhash variant (#1841) v0.11.0-rc6 Ori Newman 2021-11-07 11:17:15 +02:00
  • 02dcb5b52f
    Merge branch 'v0.11.0-dev' into opow Ori Newman 2021-11-07 10:54:56 +02:00
  • fa85ad09eb Fix tests Ori Newman 2021-11-07 10:52:31 +02:00
  • 8122a0b2b1 Fix genesis Ori Newman 2021-11-07 10:52:05 +02:00
  • 1093f87e18 Change to pow hash to keccak256 Ori Newman 2021-11-07 10:51:40 +02:00
  • aeb4500b61
    Add the daglabs-dev mainnet dnsseeder. (#1840) stasatdaglabs 2021-11-07 10:39:54 +02:00
  • a388112e86 Merge remote-tracking branch 'origin/v0.11.0-dev' into mainnet-dnsseeder mainnet-dnsseeder stasatdaglabs 2021-11-07 10:21:19 +02:00
  • 0a1daae319
    Allow mainnet flag and raise wallet fee (#1838) Ori Newman 2021-11-07 10:04:27 +02:00
  • 49285d64f2 Add the daglabs-dev mainnet dnsseeder. stasatdaglabs 2021-11-07 10:02:43 +02:00
  • 0b2d9c6672
    Merge branch 'v0.11.0-dev' into allow-mainnet-flag-and-raise-wallet-fee stasatdaglabs 2021-11-07 09:44:25 +02:00
  • 131cd3357e
    Rename FixedSubsidySwitchHashRateDifference to FixedSubsidySwitchHashRateThreshold and set its value to 150GH/s. (#1837) stasatdaglabs 2021-11-07 09:33:39 +02:00
  • 5e088ac06e
    Merge branch 'v0.11.0-dev' into allow-mainnet-flag-and-raise-wallet-fee Ori Newman 2021-11-07 09:31:33 +02:00
  • a0c66060d2 Allow mainnet flag and raise wallet fee Ori Newman 2021-11-07 09:30:12 +02:00
  • c395d82026 Rename FixedSubsidySwitchHashRateDifference to FixedSubsidySwitchHashRateThreshold and set its value to 150GH/s. update-hash-rate-threshold stasatdaglabs 2021-11-07 08:54:46 +02:00
  • ff72568d6b
    Fix pruning point anticone order (#1836) Ori Newman 2021-11-07 08:21:34 +02:00
  • b04873ea8c
    Replace our current PoW algorithm with oPoW Elichai Turkel 2021-11-06 21:46:25 +02:00
  • 08939eabfa
    Add a HeavyHash implementation Elichai Turkel 2021-11-06 21:44:01 +02:00
  • c87fbddf2f
    Replace our current PoW algorithm with oPoW opow Elichai Turkel 2021-11-06 21:46:25 +02:00
  • 98a7925eb6
    Add a HeavyHash implementation Elichai Turkel 2021-11-06 21:44:01 +02:00
  • 0d09d1df66
    Add a xoShiRo256PlusPlus implementation Elichai Turkel 2021-11-06 21:43:41 +02:00
  • c26b4deefe
    Add another hash domain for HeavyHash Elichai Turkel 2021-11-06 21:31:29 +02:00
  • beea357e36 Extend "sudden hash rate drop" test length to 45 minutes Kaspa Profiler 2021-11-06 09:33:38 +02:00
  • 50b05e2ddf Send pruning point anticone in topological order Fix a UTXO pagination bug Lengthen the stabilization time for the last DAA test Kaspa Profiler 2021-11-05 19:33:05 +02:00
  • 2dddb650b9
    Switch to a fixed block subsidy after a certain work threshold (#1831) v0.11.0-rc5 stasatdaglabs 2021-10-31 15:04:51 +02:00
  • 128613780d Merge remote-tracking branch 'origin/v0.11.0-dev' into mainnet-switch stasatdaglabs 2021-10-31 14:15:54 +02:00
  • 4ad631b7dd Add missing error handling. stasatdaglabs 2021-10-31 14:14:07 +02:00
  • 8d2e7f07ba Implement TestBlockRewardSwitch. stasatdaglabs 2021-10-31 14:09:30 +02:00
  • 99aaacd649
    Check blue score before requesting a pruning proof (#1835) Ori Newman 2021-10-31 12:48:18 +02:00
  • 3ad3e4fc61 Add a comment explaining what we do when the pruning point is not found in isBlockRewardFixed. stasatdaglabs 2021-10-31 11:46:05 +02:00
  • 694bf5a78d Use the correct variable. stasatdaglabs 2021-10-31 11:38:01 +02:00
  • 6fbfaae12b Properly handle new pruning point blocks in isBlockRewardFixed. stasatdaglabs 2021-10-31 11:32:33 +02:00
  • 20a1d92aef
    Merge branch 'v0.11.0-dev' into check-blue-score-before-pruning-proof Ori Newman 2021-10-31 11:21:10 +02:00
  • b1903bcba1 Don't fail many-tips if kaspad exits ungracefully Ori Newman 2021-10-31 11:08:24 +02:00
  • 3136396253 Don't call newBlockPruningPoint twice in buildBlock. stasatdaglabs 2021-10-31 10:01:38 +02:00
  • b41f61c8c1 Check the mainnet switch from the block's point of view rather than the virtual's. stasatdaglabs 2021-10-31 09:55:11 +02:00
  • 083e50db10
    Merge branch 'v0.11.0-dev' into mainnet-switch stasatdaglabs 2021-10-31 08:50:46 +02:00
  • cd97569bd8 BuildPruningPointProof should return empty proof if the pruning point is genesis Ori Newman 2021-10-31 08:25:39 +02:00
  • 77a344cc29
    In IBD, validate the timestamps of the headers of the pruning point and selected tip (#1829) stasatdaglabs 2021-10-30 20:32:49 +03:00
  • b649ee0fca Merge branch 'v0.11.0-dev' into validate-ibd-timestamps Ori Newman 2021-10-30 19:08:32 +03:00
  • 991c9422d2 Check blue score before requesting a pruning proof Ori Newman 2021-10-30 19:03:25 +03:00
  • 03e3d03d5e Format consensus_defaults.go Ori Newman 2021-10-30 19:02:16 +03:00
  • 8d9d25b748 Fix coinbasemanager constructor arguments order Ori Newman 2021-10-30 17:24:58 +03:00
  • ad3962626e Extract blue score and blue work from the header instead of from the ghostdagDataStore. stasatdaglabs 2021-10-17 16:09:44 +03:00
  • 531f3b0a76 Fix bad call to ghostdagDataStore.Get. stasatdaglabs 2021-10-17 13:19:46 +03:00
  • c6bdfa30b4 Call isBlockRewardFixed from calcBlockSubsidy. stasatdaglabs 2021-10-17 13:18:28 +03:00
  • f7208ae791 Fix factory.go. stasatdaglabs 2021-10-12 11:57:54 +03:00
  • c54db577e3 Implement isBlockRewardFixed. stasatdaglabs 2021-10-12 11:47:18 +03:00
  • 3dbc42b4f7
    Implement the new block subsidy function (#1830) stasatdaglabs 2021-10-30 10:16:47 +03:00
  • befbc911b5 Use shift instead of powInt64 to determine subsidyRandom Ori Newman 2021-10-29 15:56:01 +03:00
  • 7c5afb4662 Re-rename functions Ori Newman 2021-10-29 14:48:35 +03:00
  • cdf6bb2bcd Check coinbase subsidy for every block Ori Newman 2021-10-29 14:42:57 +03:00
  • 6017b07ea0 Increase the timeout in many-tips to 30 minutes. stasatdaglabs 2021-10-26 17:03:39 +03:00
  • 45c78e68ff Fix TestAmountUnitConversions. stasatdaglabs 2021-10-26 15:20:52 +03:00
  • ab4546cd31 Fix TestBlockWindow. stasatdaglabs 2021-10-26 15:20:31 +03:00
  • 42a7e4e97f Fix TestAmountCreation. stasatdaglabs 2021-10-26 15:15:35 +03:00
  • a177ba4778 Fix TestPruning. stasatdaglabs 2021-10-26 15:14:58 +03:00
  • a61d9eb714 Restore maxSompi to what it used to be. stasatdaglabs 2021-10-26 15:02:31 +03:00
  • 8744f0d4ff Use the first two bytes of the selected parent's hash for randomness instead of math/rand. stasatdaglabs 2021-10-26 14:52:54 +03:00
  • 1d67503702 Properly handle trusted data blocks in calculateMergeSetSubsidySum. stasatdaglabs 2021-10-26 14:36:33 +03:00
  • 3ac12f087a Rename SubsidyMinGenesisReward to MinSubsidy. stasatdaglabs 2021-10-26 14:26:24 +03:00
  • 862e9beb4f Clarify a comment. stasatdaglabs 2021-10-26 14:21:55 +03:00
  • 277c112d2c In calcBlockSubsidy, divide the big.Int numerator by the big.Int denominator instead of converting to float64. stasatdaglabs 2021-10-26 14:20:55 +03:00
  • a6d8834ffc Expand on a comment in TestCheckBlockIsNotPruned. stasatdaglabs 2021-10-26 13:25:14 +03:00
  • 9703d8dde4 Add a TODO about optimizing trusted data DAA window blocks. stasatdaglabs 2021-10-26 13:22:13 +03:00
  • e28fcf6f35 Rename coinbaseOutputForBlueBlock to coinbaseOutputAndSubsidyForBlueBlock. stasatdaglabs 2021-10-26 13:03:27 +03:00
  • 45b05849b4 Fix serializing the wrong value into the coinbase payload. stasatdaglabs 2021-10-26 13:01:49 +03:00
  • edf3d33cf3 Merge remote-tracking branch 'origin/v0.11.0-dev' into block-subsidy stasatdaglabs 2021-10-26 12:56:57 +03:00
  • 1b9be28613
    Improve ExpectedHeaderPruningPoint performance (#1833) Ori Newman 2021-10-26 11:01:26 +03:00
  • 605cfe5802 Add suggestedLowHash to nextPruningPointAndCandidateByBlockHash Ori Newman 2021-10-26 09:20:45 +03:00
  • 04d0b23458 Improve ExpectedHeaderPruningPoint perf Ori Newman 2021-10-25 22:57:53 +03:00
  • 5dbb1da84b
    Implement pruning point proof (#1832) Ori Newman 2021-10-26 09:48:27 +03:00
  • 9ba63c2e31 Don't test windows Ori Newman 2021-10-26 09:24:03 +03:00
  • 885ca5790a Revert "Improve ExpectedHeaderPruningPoint perf" Ori Newman 2021-10-26 09:14:13 +03:00
  • 2a761e1b21 Fix comment Ori Newman 2021-10-26 09:08:09 +03:00
  • bca1080e71 Improve ExpectedHeaderPruningPoint perf Ori Newman 2021-10-25 22:57:53 +03:00
  • c9f7c93b3f Revert page file to 16gb Ori Newman 2021-10-25 19:15:51 +03:00
  • 825631845c Rename isAncestorOfPruningPoint->isAncestorOfSelectedTip Ori Newman 2021-10-25 19:04:05 +03:00
  • c72f5636e0 Add comment in func (c *ConnectionManager) Stop() Ori Newman 2021-10-25 18:57:51 +03:00
  • c5f5f9d674 Add comment for PruningProofM Ori Newman 2021-10-25 18:54:49 +03:00
  • 4a3b72f9cc Test64IncomingConnections->Test16IncomingConnections Ori Newman 2021-10-25 18:52:55 +03:00
  • c3da6a34db Increase p2p max message size Ori Newman 2021-10-18 08:56:39 +03:00
  • 44e77ac848 Fix TestCalculateSignatureHashECDSA. stasatdaglabs 2021-10-17 11:53:08 +03:00
  • f549137234 Fix TestCalculateSignatureHashSchnorr. stasatdaglabs 2021-10-17 11:49:07 +03:00