Commit Graph

  • 5d25171e9a
    Merge branch 'v0.9.0-dev' into send-virtual-selected-parent-inv stasatdaglabs 2021-02-10 16:56:34 +02:00
  • af0041f4dd Removed NextLowHash Mike Zak 2021-02-10 16:56:20 +02:00
  • efec2ffcfd Convert to/from protowire GetBlocksResponse with no verbose data correctly Mike Zak 2021-02-10 16:53:19 +02:00
  • c8046bca09 Fix TestVirtualSelectedParentChain. stasatdaglabs 2021-02-10 16:49:28 +02:00
  • 103f7a1855 Fix TestIBDWithPruning better and signal from the IBD syncer to the IBD syncee that the DAG is split amongst them. stasatdaglabs 2021-02-10 16:45:50 +02:00
  • 1222a555f2
    Prune blocks below pruning point when moving pruning point during IBD (#1513) Svarog 2021-02-10 16:39:36 +02:00
  • dedf48256c
    Merge branch 'v0.9.0-dev' into 1416-prune-old-blocks-when-moving-pruning-point-after-ibd Svarog 2021-02-10 16:19:12 +02:00
  • bb9652695f Minor style fixes Mike Zak 2021-02-10 16:14:15 +02:00
  • e235fcaab8 Allow antiPastHashesBetween to receive unrelated low and high hashes Mike Zak 2021-02-10 15:15:57 +02:00
  • 07b0b150f8 Merge remote-tracking branch 'origin/v0.9.0-dev' into nod-1453-write-specified-unit-tests-for-transaction-and-block-validators tal 2021-02-10 15:06:02 +02:00
  • f0af3cd029 Handle a forgotten error Mike Zak 2021-02-10 13:39:09 +02:00
  • 2a31e515fc
    Limit stdout level to info by default Elichai Turkel 2021-02-10 12:57:43 +02:00
  • 5de124da24
    Rename debuglevel to loglevel Elichai Turkel 2021-02-10 12:57:20 +02:00
  • 0477b4f579 Fix TestIBDWithPruning. stasatdaglabs 2021-02-10 12:34:23 +02:00
  • cff4506008 Include verbose data only if it was requested + Add comments to HandleGetBlocks Mike Zak 2021-02-10 09:30:15 +02:00
  • ce32bd2c0c Merge branch 'get-blocks' of github.com:kaspanet/kaspad into get-blocks Mike Zak 2021-02-09 18:54:21 +02:00
  • 7232fbb904 Add Anticone to fakeRelayInvsContext Mike Zak 2021-02-09 18:54:07 +02:00
  • 9ba1faa3cf
    Merge branch 'v0.9.0-dev' into get-blocks Svarog 2021-02-09 18:48:53 +02:00
  • 77cdd4df3e Include the selectedTip's anticone in GetBlocks Mike Zak 2021-02-09 18:43:33 +02:00
  • 52a107f131 Add GetBlocks RPC Mike Zak 2021-02-09 16:54:13 +02:00
  • 6ff9b380e6 Add a log to SendVirtualSelectedParentInv. stasatdaglabs 2021-02-09 16:09:33 +02:00
  • 651038e37d Send peers the hash of the virtual selected parent once connection is established. stasatdaglabs 2021-02-09 16:06:25 +02:00
  • db7ea104dc Defer call onEnd of LogAndMeasureExecutionTime Mike Zak 2021-02-09 16:06:00 +02:00
  • bb96719698
    Better benchmark elichai-prof Elichai Turkel 2021-02-09 16:03:41 +02:00
  • ea0279749d Remove BlockHexes from GetBlocks request and response Mike Zak 2021-02-09 15:31:05 +02:00
  • f13fc35b9e
    Adds new tests for "BlockAtDepth" function and validate the old tests on DAGTraversal. (#1500) talelbaz 2021-02-09 15:28:37 +02:00
  • 5902dcfc72
    Merge branch 'v0.9.0-dev' into fixTestsOfDagTraversal Svarog 2021-02-09 15:19:33 +02:00
  • f00b02b3e8 delete double lines tal 2021-02-09 15:04:13 +02:00
  • 3d67ee150a not finish tal 2021-02-09 14:55:27 +02:00
  • 2d61a67592
    Change some logs (#1511) Elichai Turkel 2021-02-09 14:00:02 +02:00
  • 0b3b445298 Merge remote-tracking branch 'origin/v0.9.0-dev' into nod-1453-write-specified-unit-tests-for-transaction-and-block-validators tal 2021-02-09 13:47:23 +02:00
  • c012382548
    Change some logs Elichai Turkel 2021-02-09 13:47:11 +02:00
  • 1a63823254 Changes according to the review - the order of the function has changed. tal 2021-02-09 13:37:46 +02:00
  • bb5482dad0 Prune only blocks that are below the pruning point Mike Zak 2021-02-09 12:56:28 +02:00
  • 6626a3357f Merge branch 'v0.9.0-dev' into 1416-prune-old-blocks-when-moving-pruning-point-after-ibd-bfs Svarog 2021-02-09 10:57:00 +02:00
  • 5d2fbd8079 Prune blocks between old and imported pruning points when importing pruning point, to assure that no unrpuned blocks remain Mike Zak 2021-02-09 10:51:34 +02:00
  • 3a4fa6e0e1
    Add blockVerboseData to blockAddedNotifications (#1508) stasatdaglabs 2021-02-09 10:30:16 +02:00
  • 419332e339 Changes according to the review - divide the test into three separate tests and change names to variables. tal 2021-02-09 10:27:18 +02:00
  • 342c1545f3 Run the documentation generator. stasatdaglabs 2021-02-09 10:05:39 +02:00
  • d5a399121e Add blockVerboseData to blockAddedNotifications. stasatdaglabs 2021-02-09 09:54:32 +02:00
  • 2edf6bfd07
    Minimize memory usage in tests (#1495) Elichai Turkel 2021-02-08 18:37:02 +02:00
  • 4fd67e0ee8
    Merge branch 'v0.9.0-dev' into minimize-memory-tests stasatdaglabs 2021-02-08 18:14:47 +02:00
  • 85e190f293 Prune all blocks in the store Mike Zak 2021-02-08 17:24:27 +02:00
  • 8225f7fb3c
    Add GetInfo RPC command (#1504) Ori Newman 2021-02-08 16:33:21 +02:00
  • a921d883ae
    Merge branch 'v0.9.0-dev' into add-get-info-rpc-command Ori Newman 2021-02-08 16:00:15 +02:00
  • d81f7836f2 Rename ID to p2p ID Ori Newman 2021-02-08 15:55:44 +02:00
  • 27e4450266 Add GetInfo RPC command Ori Newman 2021-02-08 15:50:08 +02:00
  • 00a79d6851 Implement PruneAllBlocks Mike Zak 2021-02-08 15:49:32 +02:00
  • f2e6a51ff5 Remove SelectedParentIterator, and refactor SelectedChildIterator to support First and Error Mike Zak 2021-02-08 15:49:05 +02:00
  • 11e38876ab
    Add a preallocate option to all caches and disable in tests Elichai Turkel 2021-02-07 11:15:35 +02:00
  • 22192963d1
    Fix leveldb tests Elichai Turkel 2021-02-07 11:14:41 +02:00
  • 6899b07b01
    Make leveldb cache configurable Elichai Turkel 2021-02-07 11:13:15 +02:00
  • 3d0a2a47b2
    Move testGHOSTDagSorter to testutils, and build a boilerplate for overriding specific managers (#1486) Elichai Turkel 2021-02-08 15:24:26 +02:00
  • 3280087d95
    Merge branch 'v0.9.0-dev' into factory-overhall stasatdaglabs 2021-02-08 15:14:33 +02:00
  • 4a354cd538
    Validate transactions on BuildBlock (#1491) Ori Newman 2021-02-08 14:59:43 +02:00
  • f078e6638f Merge branch 'test-txs-in-build-block' of github.com:kaspanet/kaspad into test-txs-in-build-block Ori Newman 2021-02-08 14:46:15 +02:00
  • 7ae66d1458 Add transaction validator to block builder constructor and fix TestValidateAndInsertErrors Ori Newman 2021-02-08 14:45:56 +02:00
  • 82d5b0abfa
    Merge branch 'v0.9.0-dev' into factory-overhall Elichai Turkel 2021-02-08 14:10:51 +02:00
  • 6cddf8cc5b
    Add test prefix to SetDataDir and SetGHOSTDAGManager Elichai Turkel 2021-02-08 14:09:12 +02:00
  • 50c06fb1a6
    Merge branch 'v0.9.0-dev' into test-txs-in-build-block stasatdaglabs 2021-02-08 14:01:30 +02:00
  • 1a3b16aaa3
    Don't change the new reindex root if the blue score of the selected tip is lower than the current reindex root (#1501) Ori Newman 2021-02-08 14:00:53 +02:00
  • 1d84d990ba
    Merge branch 'v0.9.0-dev' into test-txs-in-build-block stasatdaglabs 2021-02-08 13:53:34 +02:00
  • 64588db270 Merge remote-tracking branch 'origin/v0.9.0-dev' into fixTestsOfDagTraversal tal 2021-02-08 12:55:45 +02:00
  • fef4461065 Changes according to the review - more detailed error messages, added constants, changed to 3 independent graphs (instead of extending), and changes all the abbreviations. tal 2021-02-08 12:54:54 +02:00
  • 854c81d0b1
    Merge branch 'v0.9.0-dev' into factory-overhall stasatdaglabs 2021-02-08 10:46:06 +02:00
  • 80be524036 Merge remote-tracking branch 'origin/v0.9.0-dev' into fix-reachability-bluescore-bug Ori Newman 2021-02-08 10:45:50 +02:00
  • 5b5a7e60af
    Add aggregated headers processing logs (#1487) Ori Newman 2021-02-08 10:45:13 +02:00
  • 4b370f7622
    Merge branch 'v0.9.0-dev' into log-headers stasatdaglabs 2021-02-08 10:36:29 +02:00
  • bf6b16f9ab Split deletePastBlocks into sub-routines Mike Zak 2021-02-08 09:53:22 +02:00
  • d30f05b250
    Remove IsPushOnlyScript from mempool validation (#1492) Ori Newman 2021-02-08 10:04:19 +02:00
  • 194cedd770 Don't change the new reindex root if the blue score of the selected tip is lower than the current reindex root Ori Newman 2021-02-07 18:48:43 +02:00
  • 83efae37ad
    Merge branch 'v0.9.0-dev' into log-headers Ori Newman 2021-02-07 19:29:02 +02:00
  • 9f13a5f4c0 Unite headers and blocks log Ori Newman 2021-02-07 19:27:44 +02:00
  • 631241a7af
    Merge branch 'v0.9.0-dev' into remove-isPushOnlyScript-from-mempool Ori Newman 2021-02-07 19:08:22 +02:00
  • 13b1c49564 Merge remote-tracking branch 'origin/v0.9.0-dev' into fixTestsOfDagTraversal tal 2021-02-07 18:09:54 +02:00
  • 89122e2078 Optimization on create the Dag chain. tal 2021-02-07 17:51:02 +02:00
  • 196710e5ec Adds tests for the "blockAtDepth" function and verify old other tests. tal 2021-02-07 17:37:54 +02:00
  • fb078e9138
    Merge branch 'v0.9.0-dev' into factory-overhall Elichai Turkel 2021-02-07 16:59:37 +02:00
  • 4ca1f1a355 Rename tx -> transactions Ori Newman 2021-02-07 16:58:34 +02:00
  • af182fce6e Merge remote-tracking branch 'origin/v0.9.0-dev' into test-txs-in-build-block Ori Newman 2021-02-07 16:57:48 +02:00
  • 42a94c5aa2
    Allow overriding managers in consensus, starting with ghostdag Elichai Turkel 2021-02-04 12:45:02 +02:00
  • 6bc7a4eb85
    Allow GetMissingBlockBodyHashes return an empty list if the missing blocks were requested before IBD start (#1498) Svarog 2021-02-07 16:12:15 +02:00
  • a1e2a6b6ef Add link to issue in comment about error to be fixed Mike Zak 2021-02-07 15:37:24 +02:00
  • 6f8a1717dc Allow GetMissingBlockBodyHashes return an empty list if the missing blocks were requested before IBD start Mike Zak 2021-02-07 15:17:49 +02:00
  • 6380c41b97
    Merge branch 'v0.9.0-dev' into log-headers stasatdaglabs 2021-02-07 13:05:02 +02:00
  • c5737cae01
    Merge branch 'v0.9.0-dev' into test-txs-in-build-block Ori Newman 2021-02-07 11:19:06 +02:00
  • 3ff9bbab13 Fix TestCheckTransactionStandard Ori Newman 2021-02-04 18:32:32 +02:00
  • 190d048142 Remove IsPushOnlyScript from mempool validation Ori Newman 2021-02-04 18:19:31 +02:00
  • 608d1f8ef9
    Add TestBlueWork (#1488) Ori Newman 2021-02-04 17:12:33 +02:00
  • 4c7865a69a
    Merge branch 'v0.9.0-dev' into test-txs-in-build-block Ori Newman 2021-02-04 17:12:19 +02:00
  • 5a945c69b6
    Merge branch 'v0.9.0-dev' into TestBlueWork stasatdaglabs 2021-02-04 17:03:04 +02:00
  • 3a5a7cde34 Add comments and blue score check Ori Newman 2021-02-04 17:01:36 +02:00
  • 85ccefd956 Validate transactions on BuildBlock Ori Newman 2021-02-04 16:50:53 +02:00
  • 4a727df6ff
    Move testGHOSTDagSorter to testutils Elichai Turkel 2021-02-04 12:43:51 +02:00
  • a792d4a19e
    Don't fsync immediately after all writes (#1490) stasatdaglabs 2021-02-04 16:36:46 +02:00
  • a6b4deae70 Don't fsync immediately after all writes stasatdaglabs 2021-02-04 16:28:02 +02:00
  • 8941c518fc
    Remove the no-longer relevant highHashReceived mechanism in syncHeaders. (#1489) stasatdaglabs 2021-02-04 16:06:20 +02:00
  • 8b7d991358 Remove the no-longer relevant highHashReceived mechanism in syncHeaders. stasatdaglabs 2021-02-04 15:10:57 +02:00
  • 45eb39e0f2 Add TestBlueWork Ori Newman 2021-02-04 15:01:33 +02:00
  • f186f123fc Add aggregated headers processing logs Ori Newman 2021-02-04 13:26:30 +02:00