Commit Graph

  • a25010a085 [NOD-1566] Add caching to acceptanceDataStore. stasatdaglabs 2020-11-24 12:35:29 +02:00
  • 2d471f9471 [NOD-1566] Add LRUCache to all store objects and initialize them. stasatdaglabs 2020-11-24 12:29:36 +02:00
  • 4a79662334 [NOD-1566] Add caching to blockstore.go. stasatdaglabs 2020-11-24 12:14:06 +02:00
  • 2efec4958f [NOD-1566] Add a dependency to golang-lru. stasatdaglabs 2020-11-24 12:05:51 +02:00
  • c74e8a2733 [NOD-1480] Added general unit test for Coinbase andrey-hash 2020-11-24 11:47:12 +02:00
  • 2334f8b4eb
    [NOD-1564] Add TestChainedTransactions (#1145) Ori Newman 2020-11-24 01:42:53 -08:00
  • d65f382c80
    [NOD-1565] Reorder getSyncInfo in a way that won't unnecessarily call HeaderTipsPruningPoint. (#1146) stasatdaglabs 2020-11-24 11:34:02 +02:00
  • 876d977052 [NOD-1564] Fix errors Ori Newman 2020-11-24 11:32:18 +02:00
  • 19f41fba68 [NOD-1565] Reorder getSyncInfo in a way that won't unnecessarily call HeaderTipsPruningPoint. stasatdaglabs 2020-11-24 11:26:11 +02:00
  • 6b4579adb7 added all the test Isabella Liu 2020-11-24 00:59:10 -05:00
  • 935184e262 Karpov: make wallet flag lowercase. Septen 2020-11-24 03:58:54 +02:00
  • 763625d5c4 [NOD-1564] Add TestChainedTransactions Ori Newman 2020-11-23 18:53:51 +02:00
  • 2096a28d1c
    [NOD-1563] Add TestMaxHeaders (#1144) Ori Newman 2020-11-23 08:33:45 -08:00
  • 96d9e5800f
    [NOD-1561] Add TestCheckParentsIncest and fix validation order (#1143) Ori Newman 2020-11-23 08:27:44 -08:00
  • ff371c1ef4 [NOD-1563] Add TestMaxHeaders Ori Newman 2020-11-23 18:09:53 +02:00
  • 76053d4d1c [NOD-1561] Add TestCheckParentsIncest and fix validation order Ori Newman 2020-11-23 17:41:29 +02:00
  • a6cde558ac [NOD-1433] Change "Stage" sig function according to the new interface - added error as a return type. tal 2020-11-23 17:05:56 +02:00
  • 07859b6218 [NOD-1433] Print formats changed & Cosmetics code changes. tal 2020-11-23 17:03:26 +02:00
  • e1a851664e [NOD-1433] Travers the tests dir and run each test. tal 2020-11-15 17:34:59 +02:00
  • 4c7474edc1 [NOD-1433] Travers the tests dir and run each test. tal 2020-11-09 12:44:53 +02:00
  • 89dd1e61d3 [NOD-1433] Change implementation to adjust genesis's score 0. Also, keep changing the test file to fit the new implementation. tal 2020-11-09 11:48:36 +02:00
  • 6acdcd17de [NOD-1433] New test was added(Test 6). tal 2020-11-08 17:07:22 +02:00
  • bf23889317 Fix golint errors tal 2020-11-08 14:59:36 +02:00
  • 79ff990b5f added "Optimize imports". tal 2020-11-08 14:47:12 +02:00
  • 73d0128f63 Added an implementation factory. tal 2020-11-08 13:03:22 +02:00
  • 61ca8b2e7e 1. impl - choose the highest hash. 2. test - changed the test accordingly. tal 2020-11-05 16:03:18 +02:00
  • ef0943ca29 Update Tests tal 2020-10-29 18:00:45 +02:00
  • 6e5936abff Change to the new API tal 2020-10-27 10:22:45 +02:00
  • 5a70dc48b3 1. Added tests for ori tal 2020-10-26 18:35:31 +02:00
  • 2b9f78353f 1. Added structure "isolatedTest" {k, test} 2. Added for loop on the tests. 3. New test - Test 5. tal 2020-10-26 13:04:37 +02:00
  • c026d7b7a2 Fix bugs in the GHOSTDAG : counters, conntains and isAncestorOf. Added more tests. tal 2020-10-22 17:35:56 +03:00
  • 74493b27d2 added compare between Hashes tal 2020-10-22 16:49:27 +03:00
  • f689253463 added compare between Hashes tal 2020-10-22 11:49:01 +03:00
  • 66be07f616 First test - pass. tal 2020-10-19 18:42:40 +03:00
  • 327f34f2dc Add alternative implementation for ghostdag. change all function's signatures (add error type) tal 2020-10-19 15:20:27 +03:00
  • fd2ea3d84a add alternative implementation for ghostdag tal 2020-10-19 11:57:05 +03:00
  • 8264369c81
    [NOD-1561] Add TestValidateMedianTime (#1141) Ori Newman 2020-11-23 07:18:30 -08:00
  • a51fbcace6 [NOD-1561] Remove redundant variable Ori Newman 2020-11-23 17:09:22 +02:00
  • 8fd1962784 Fixes Mike Zak 2020-11-23 17:02:23 +02:00
  • 6d12d8944a [NOD-1551] Cache transaction ID Ori Newman 2020-11-23 16:56:18 +02:00
  • 942a9455ea [NOD-1561] Add TestValidateMedianTime Ori Newman 2020-11-23 16:40:21 +02:00
  • fc6835bca0 [NOD-1551] Add NewTestConsensusWithDataDir to factory Mike Zak 2020-11-22 11:30:42 +02:00
  • eab91ddaea [NOD-1551] Implement a simple lru cache and add it to utxoDiffStore and headersStore Mike Zak 2020-11-19 17:50:47 +02:00
  • c5d5b3f625 [NOD-1551] Implement real Clone() for utxoDiff Mike Zak 2020-11-19 16:55:14 +02:00
  • bb2d7f72ac
    [NOD-1560] Add TestValidateTransactionInIsolation (#1140) Ori Newman 2020-11-23 06:28:59 -08:00
  • 16c8cc0126 [NOD-1560] Don't change finality duration Ori Newman 2020-11-23 16:15:43 +02:00
  • b1958c2638 [NOD-1560] Remove redundant continue Ori Newman 2020-11-23 16:14:40 +02:00
  • bde69001a9 [NOD-1560] Make ForAllNets copy the params before mutating them Ori Newman 2020-11-23 16:14:23 +02:00
  • 3b8449012c [NOD-1560] Add TestValidateTransactionInIsolation Ori Newman 2020-11-23 15:59:58 +02:00
  • c1505b4748
    [NOD-1555] Use stageDiff to update virtualDiffParents (#1139) Ori Newman 2020-11-23 05:09:39 -08:00
  • cffa07f43a [NOD-1555] Fix logs Ori Newman 2020-11-23 15:00:25 +02:00
  • 149d62d793 [NOD-1555] Fix comment Ori Newman 2020-11-23 14:55:35 +02:00
  • 7c6058556c [NOD-1555] Add logs Ori Newman 2020-11-23 14:51:49 +02:00
  • 0e6acfc06b [NOD-1555] Fix log and rename removeAncestorsFromVirtualDiffParents->removeAncestorsFromVirtualDiffParentsAndAssignDiffChild Ori Newman 2020-11-23 14:40:23 +02:00
  • dec9ef5f75
    [NOD-1555] Implement TestResolveBlockStatusSanity (#1138) stasatdaglabs 2020-11-23 14:29:41 +02:00
  • 373bfccba3 [NOD-1555] Remove redundant check Ori Newman 2020-11-23 14:21:36 +02:00
  • dc37e562fc Merge remote-tracking branch 'origin/v0.8.1-dev' into nod-1555-filter-ancestors-in-updateVirtualDiffParents Ori Newman 2020-11-23 14:21:01 +02:00
  • d099d880e6 [NOD-1555] Fix the test name string. stasatdaglabs 2020-11-23 13:11:39 +02:00
  • 5211727206 [NOD-1557] Cover the consensusStateManager package in trace logs (#1135) Mike Zak 2020-11-23 13:08:10 +02:00
  • 25ee83b4ce [NOD-1555] Implement TestResolveBlockStatusSanity. stasatdaglabs 2020-11-23 13:07:29 +02:00
  • 0013fc2d1e [NOD-1555] Don't add existing blocks in addToVirtualDiffParents Ori Newman 2020-11-23 13:02:16 +02:00
  • 712f422faa [NOD-1555] Use stageDiff to update virtualDiffParents Ori Newman 2020-11-23 11:53:38 +02:00
  • 1bd6187568 [NOD-1557] Call blockStatusStore directly in AddBlockToVirtual when refetching the block status. stasatdaglabs 2020-11-23 11:41:50 +02:00
  • 8942e28629 [NOD-1557] Clarify that some logic in AddBlockToVirtual is there for the sake of logging alone. stasatdaglabs 2020-11-23 11:16:07 +02:00
  • cd0815b86d Merge remote-tracking branch 'origin/v0.8.1-dev' into nod-1557-trace-logs stasatdaglabs 2020-11-23 11:12:53 +02:00
  • 85e0797081 NotifyTransactionAdded: set blueScore Septen 2020-11-23 02:27:09 +02:00
  • 6cbd515208 Karpov: RPC improvements. Fix RPC panics. Septen 2020-11-22 22:43:38 +02:00
  • 7bc7507b9c Lint and typo fixes. Septen 2020-11-16 00:29:02 +02:00
  • a49c033bba Karpov: RPC improvements. Refactoring. Minor fixes. Septen 2020-11-15 02:25:53 +02:00
  • dfb3de4305 Karpov: reimplement address index after rebase. Septen 2020-11-15 02:02:41 +02:00
  • 81b1b8380b Squashed commit of the following (and fix rebase conflicts): Septen 2020-11-12 17:11:40 +02:00
  • 8cec7618a1
    [NOD-1555] Filter ancestors in updateVirtualDiffParents (#1136) Ori Newman 2020-11-22 08:19:00 -08:00
  • 40772f3efa [NOD-1555] Filter ancestors in updateVirtualDiffParents Ori Newman 2020-11-22 18:10:19 +02:00
  • fafe1d534f
    Add TestSequenceLocksActive back (#1133) Elichai Turkel 2020-11-22 17:17:39 +02:00
  • c56a5336f3
    Re-add TestPruningDepth (#1132) Elichai Turkel 2020-11-22 17:04:13 +02:00
  • b06bad1290 [NOD-1557] Make go vet happy. stasatdaglabs 2020-11-22 16:59:31 +02:00
  • 1aecbe4b03 [NOD-1557] Add trace logs to pick_virtual_parents.go. stasatdaglabs 2020-11-22 16:49:13 +02:00
  • 0c34012368
    Update the NewTestConsensus interface to use testing.TB for cleanup and tempdir Elichai Turkel 2020-11-22 16:14:55 +02:00
  • 2ab420fdd7
    Fix new go vet error in 1.15 Elichai Turkel 2020-11-22 16:14:12 +02:00
  • f1676421b9
    Docker: Bump go 1.14 to 1.15 Elichai Turkel 2020-11-22 16:13:57 +02:00
  • 6703cf64b5 [NOD-1557] Add trace logs to populate_tx_with_utxo_entries.go. stasatdaglabs 2020-11-22 15:54:51 +02:00
  • 4df05e9899 [NOD-1557] Add trace logs to set_pruning_utxo_set.go. stasatdaglabs 2020-11-22 15:38:30 +02:00
  • 6ba0100e3f [NOD-1557] Add trace logs to update_virtual.go. stasatdaglabs 2020-11-22 15:17:24 +02:00
  • 6d086661fc
    Add TestSequenceLocksActive back Elichai Turkel 2020-11-22 15:08:59 +02:00
  • a0b217cf51
    Re-add TestPruningDepth Elichai Turkel 2020-11-22 14:53:12 +02:00
  • 09ebea6fca [NOD-1557] Add trace logs to verify_and_build_utxo.go. stasatdaglabs 2020-11-22 14:42:51 +02:00
  • d1a2a201cb [NOD-1557] Fix compilation errors. stasatdaglabs 2020-11-22 14:24:04 +02:00
  • dfffef77a6 [NOD-1557] Add trace logs in multisets.go. stasatdaglabs 2020-11-22 14:15:02 +02:00
  • cc9cb08fcb [NOD-1557] Add trace logs in finality.go. stasatdaglabs 2020-11-22 13:20:49 +02:00
  • f0f43b14f0 [NOD-1557] Add trace logs in calculate_past_utxo.go. stasatdaglabs 2020-11-22 13:15:37 +02:00
  • b3a3121725
    Add TestFinality back (#1129) Elichai Turkel 2020-11-22 12:30:27 +02:00
  • 61081c83f7 [NOD-1557] Add trace logs in resolve_block_status.go. stasatdaglabs 2020-11-22 12:00:32 +02:00
  • e0b0afbb0b add gh action for build and test Isabella Liu 2020-11-19 22:29:13 -05:00
  • 01285cb82c
    Add TestFinality back Elichai Turkel 2020-11-19 17:25:18 +02:00
  • fa772d2d38
    Add VirtualFinalityPoint to TestConsensusStateManager Elichai Turkel 2020-11-19 18:03:33 +02:00
  • c4ad690038 [NOD-1557] Add trace logs in add_block_to_virtual.go. stasatdaglabs 2020-11-19 15:19:33 +02:00
  • 950dd0cc8d
    [NOD-1556] Add some logs (#1110) Svarog 2020-11-19 11:17:05 +02:00
  • cee327f960 [NOD-1556] Make checkIntersectionWithRule return ok as well Mike Zak 2020-11-19 10:57:28 +02:00
  • 2a551873e4 [NOD-1556] UTXODiffAlgebra: add the offending outpoint to the text of errors Mike Zak 2020-11-19 10:41:22 +02:00
  • 3592f78b67 [NOD-1556] Add logs regarding block status and virtual blue score Mike Zak 2020-11-19 10:38:33 +02:00