Commit Graph

  • e586965904 [NOD-1548] Add comment Mike Zak 2020-12-03 15:01:27 +02:00
  • 84218190f5 [NOD-1548] Make GHOSTDAGData immutable + don't clone in store Mike Zak 2020-12-03 14:50:19 +02:00
  • a059b36648 [NOD-1548] Readd TestDifficulty Ori Newman 2020-11-18 10:16:02 +02:00
  • a585f32763
    [NOD-1551] Make UTXODiff immutable + skip cloning it in datastore (#1167) Svarog 2020-12-03 13:24:24 +02:00
  • f534256d50 [NOD-1551] Make utxoEntry pointert-receiver + clone ScriptPubKey in getter Mike Zak 2020-12-03 12:37:16 +02:00
  • 5b80005ed8 [NOD-1551] Remove redundant call for .CloneMutable and then .ToImmutable Mike Zak 2020-12-03 12:27:37 +02:00
  • 17381434c4 [NOD-1551] Remove redundant code Mike Zak 2020-12-03 12:23:12 +02:00
  • 5b8719b7d2 Made transactionToCompare type exported andrey-hash 2020-12-03 10:28:28 +02:00
  • bc313bad18 Some formatting and naming fixes andrey-hash 2020-12-03 09:42:22 +02:00
  • 1368e99c55 [NOD-1579] Check all antiPast hashes instead of just the lowHash's anticone to filter for header-only blocks. stasatdaglabs 2020-12-02 18:11:07 +02:00
  • ea58440a63 [NOD-1579] Add an error log about a condition that should never happen. stasatdaglabs 2020-12-02 18:07:49 +02:00
  • 3d9c6420d4 [NOD-1551] Clone scriptPubKey in NewUTXOEntry Mike Zak 2020-12-02 17:30:03 +02:00
  • 321eae1cb9 [NOD-1579] Fix full blocks over header-only blocks not failing the missing-parents validation. stasatdaglabs 2020-12-02 17:03:56 +02:00
  • 34f992ff92 Allow to configure consensus with a JSON file Ori Newman 2020-12-02 16:15:05 +02:00
  • 90ae6169d7 [NOD-1551] Track immutable references generated from mutable UTXODiff, and invalidate them if the mutable one changed Mike Zak 2020-12-02 16:47:58 +02:00
  • 546aaa8b56 [NOD-1579] Fix a typo in a variable name. stasatdaglabs 2020-12-02 16:30:27 +02:00
  • 0cfa9cd598 [NOD-1579] Make various go quality tools happy. stasatdaglabs 2020-12-02 15:22:39 +02:00
  • 59a0221cd8 [NOD-1576] Make coverage tests for equal and clone inside model and externalapi andrey-hash 2020-12-02 15:19:13 +02:00
  • a9896571bc [NOD-1579] Add logs. stasatdaglabs 2020-12-02 15:16:35 +02:00
  • e33b627cd7 [NOD-1579] Remove a debug log. stasatdaglabs 2020-12-02 15:01:24 +02:00
  • 992cfbf9f9 [NOD-1579] Fix merge errors. stasatdaglabs 2020-12-02 14:55:13 +02:00
  • 78d499e324 [NOD-1551] Rename ToUnmutable -> ToImmutable Mike Zak 2020-12-02 14:48:46 +02:00
  • ee095ff0d5 Merge remote-tracking branch 'origin/v0.8.2-dev' into nod-1579-change-ibd stasatdaglabs 2020-12-02 14:48:07 +02:00
  • 8f69f5915e [NOD-1579] Remove maxOrphanBlueScoreDiff. stasatdaglabs 2020-12-02 14:36:05 +02:00
  • 805c108345 [NOD-1579] Fix bad chunk size in syncMissingBlockBodies. stasatdaglabs 2020-12-02 14:33:32 +02:00
  • 0e0ba24e2e [NOD-1551] Comlete making UTXOEntry immutable + don't clone it in UTXOCollectionClone Mike Zak 2020-12-02 13:58:33 +02:00
  • 4e039842ab [NOD-1579] Fix a slew of bugs in missingBlockBodyHashes and selectedChildIterator. stasatdaglabs 2020-12-02 13:55:57 +02:00
  • 98982aaebb Merge remote-tracking branch 'origin/v0.8.2-dev' into nod-1551-optimize-things Mike Zak 2020-12-02 13:35:27 +02:00
  • 9866abb75a [NOD-1583] Split consensusserialization to consensushashing and serialization Mike Zak 2020-12-02 13:01:55 +02:00
  • ab3c81c552 [NOD-1583] Move all TestXXX interfaces to testapi Mike Zak 2020-12-02 11:55:33 +02:00
  • 1e2a256bde [NOD-1583] Split consensusserialization to consensushashing and serialization Mike Zak 2020-12-02 13:01:55 +02:00
  • 11628273d6 [NOD-1583] Move all TestXXX interfaces to testapi Mike Zak 2020-12-02 11:55:33 +02:00
  • 9756d64f28
    [NOD-1582] Fix orphan resolution (#1169) Ori Newman 2020-12-02 03:05:33 -08:00
  • e2add0a3d3 [NOD-1582] Use LogAndMeasureExecutionTime where possible Ori Newman 2020-12-02 13:00:56 +02:00
  • b7bcd22b98 [NOD-1551] Partial commit Mike Zak 2020-12-02 11:48:23 +02:00
  • d3b1f3c457 [NOD-1579] Rename a variable. stasatdaglabs 2020-12-02 10:28:07 +02:00
  • 21fc2d4219
    [NOD-1433] Write specified unit tests for GHOSTDAG (#1010) Elichai Turkel 2020-12-01 16:54:13 +02:00
  • 3830df34b2
    Merge pull request #1170 from kaspanet/tal-ghost-fix Elichai Turkel 2020-12-01 16:29:51 +02:00
  • 17e7819c27
    Remove non-json ghostdag tests Elichai Turkel 2020-12-01 16:24:01 +02:00
  • 3ee0ff2098 [NOD-1579] Fix a bug in createBlockLocator. stasatdaglabs 2020-12-01 16:13:27 +02:00
  • 8f3b932bc4 [NOD-1579] Fix a log. stasatdaglabs 2020-12-01 14:56:37 +02:00
  • ab2b4e8e5a [NOD-1579] Implement and use dequeueIncomingMessageAndSkipInvs. stasatdaglabs 2020-12-01 14:42:18 +02:00
  • e17ee66112 [NOD-1579] Add logs to TrySetIBDRunning and UnsetIBDRunning. stasatdaglabs 2020-12-01 13:40:55 +02:00
  • 48dc9a82f7 [NOD-1579] Use insertModeHeader. stasatdaglabs 2020-12-01 13:33:07 +02:00
  • 4bebb1d96a
    Add a coment above tal's ghostdag2 impl Elichai Turkel 2020-12-01 13:26:06 +02:00
  • 76803d7bb7 [NOD-1579] Implement validateAgainstSyncStateAndResolveInsertMode. stasatdaglabs 2020-12-01 13:22:36 +02:00
  • faf21a042e
    fix the interfaces after merge Elichai Turkel 2020-12-01 13:20:08 +02:00
  • a8b7a25b2e
    Merge branch 'v0.8.2-dev' into tal-ghost-fix Elichai Turkel 2020-12-01 13:19:08 +02:00
  • af91b69b20
    Fix the non-json tests Elichai Turkel 2020-12-01 13:18:41 +02:00
  • c56f34b73b
    Fix the jsons Elichai Turkel 2020-12-01 13:18:17 +02:00
  • 1d8d21eaf4
    Use another github action to increase windows page size Elichai Turkel 2020-11-30 20:33:43 +02:00
  • 8de224b092 [NOD-1579] Fix bad SyncStateSynced condition. stasatdaglabs 2020-12-01 12:34:25 +02:00
  • a9a835691d
    Add doc comment for ProtocolError.Unwrap() Elichai Turkel 2020-11-30 18:24:01 +02:00
  • 087fce5013
    Change the docker file to use the new test script Elichai Turkel 2020-11-30 18:16:52 +02:00
  • f645ee607b
    Change github workflow to use the new test script Elichai Turkel 2020-11-30 18:16:24 +02:00
  • 8b939de8be
    added all the test Isabella Liu 2020-11-24 00:59:10 -05:00
  • 51d2b0d128
    add gh action for build and test Isabella Liu 2020-11-19 22:29:13 -05:00
  • 0bee2831e4
    Add a test script Elichai Turkel 2020-11-30 18:11:01 +02:00
  • 5891ffa6ce [NOD-1579] Simplify validateAndInsertBlock. stasatdaglabs 2020-12-01 12:10:43 +02:00
  • 2684e7b199 [NOD-1582] Don't remove peer on routerpkg.ErrRouteClosed from RPC Ori Newman 2020-12-01 12:09:06 +02:00
  • a78475ea58 [NOD-1582] Fix multiple request per missing ancestor Ori Newman 2020-12-01 12:08:32 +02:00
  • 376427437e [NOD-1581] Enable fsync in database writes Mike Zak 2020-12-01 11:41:35 +02:00
  • 1d04e2adc1 [NOD-1551] Add comments Mike Zak 2020-12-01 08:40:43 +02:00
  • ea30a8e42e [NOD-1551] Fix database Mike Zak 2020-11-30 18:37:50 +02:00
  • 5d4abcc63d [NOD-1551] Fixes everywhere except database Mike Zak 2020-11-30 17:21:21 +02:00
  • 92e2a65fcc [NOD-1551] Make UTXO-Diff implemented fully in utils/utxo Mike Zak 2020-11-30 16:31:47 +02:00
  • f1c6df48c9
    [#1028] Replace oldschnorr with the BIP340 schnorr variant (#1165) Elichai Turkel 2020-12-01 08:48:23 +02:00
  • 67bbd67dc0
    Update integration tests to use the new txscript and new schnorr pubkey Elichai Turkel 2020-11-30 20:30:17 +02:00
  • de97eedaab
    Update sigcache tests to use new schnorr pubkey Elichai Turkel 2020-11-30 20:29:46 +02:00
  • 5e5daeb7f0
    Update txscript sign_test to use the new schnorr Elichai Turkel 2020-11-30 20:28:56 +02:00
  • a601cf2bf2
    Update txscript/sign.go to use the new Schnorr KeyPair API Elichai Turkel 2020-11-30 20:12:33 +02:00
  • 6d6c53b15a
    Update the txscript engine tests Elichai Turkel 2020-11-30 20:11:20 +02:00
  • aba845a392
    Update the txscript engine to support only 32 bytes pubkeys Elichai Turkel 2020-11-30 20:10:57 +02:00
  • b8a7ff973e
    Update go-secp256k1 to v0.0.3 Elichai Turkel 2020-11-30 20:09:31 +02:00
  • 46dc2e9773 [NOD - 1143] Cosmetics changes. tal 2020-11-30 17:15:20 +02:00
  • ac4c31d3a0 [NOD-1579] Rename mode to syncInfo. stasatdaglabs 2020-11-30 15:51:31 +02:00
  • b28e5ce816 [#1126] Place selectedParent to be first on blueMergeSet. tal 2020-11-30 15:48:08 +02:00
  • d154de9158 [NOD-1579] Fix a comment. stasatdaglabs 2020-11-30 15:28:07 +02:00
  • 35c4e69c06 [NOD-1579] Don't run IBD if it is already running. stasatdaglabs 2020-11-30 15:27:12 +02:00
  • 183158b60a [NOD-1579] Simplify runIBDIfNotRunning. stasatdaglabs 2020-11-30 15:12:08 +02:00
  • 4b56ed2da9 [#1126] Change pacement between blockRight and blockLeft . tal 2020-11-30 14:51:50 +02:00
  • 694615e41b [NOD-1579] Specifically check for StatusHeaderOnly in blockrelay. stasatdaglabs 2020-11-30 14:45:15 +02:00
  • a2dfc53496 [NOD-1579] Add some comments. stasatdaglabs 2020-11-30 14:35:28 +02:00
  • b09f31be93
    Merge pull request #1162 from kaspanet/new-jsons talelbaz 2020-11-30 14:30:22 +02:00
  • 9014ab74df [NOD-1579] Implement limited block locators. stasatdaglabs 2020-11-30 14:25:41 +02:00
  • e17a98b7ba [#1126] Use WALK function in tests & cosmetic changes. tal 2020-11-30 14:08:25 +02:00
  • a2cb4be6d7 [NOD-1579] Implement isBlockInOrphanResolutionRange. stasatdaglabs 2020-11-30 14:06:51 +02:00
  • 80c445c78b
    [NOD-1551] Optimize binary writes + remove redundant VarInt code (#1163) Svarog 2020-11-30 13:45:06 +02:00
  • 2366478f3b [NOD-1551] Fix TestBech32 for Go1.15 Mike Zak 2020-11-30 12:59:23 +02:00
  • 85d9ddebad [NOD-1551] Remove varInt tests Mike Zak 2020-11-30 12:55:01 +02:00
  • d07e1ea287 [NOD-1551] Optimize binary writes + remove redundant VarInt code Mike Zak 2020-11-30 12:25:59 +02:00
  • 0db39833f3
    Update the dag json tests Elichai Turkel 2020-11-30 12:20:13 +02:00
  • 3b6eb73e53
    [NOD-1551] Remove lock in SigCache (#1161) Svarog 2020-11-30 11:34:19 +02:00
  • 6bd498bff6 [NOD-1551] Remove lock in SigCache Mike Zak 2020-11-29 14:12:04 +02:00
  • 97941c4ff7 [NOD-1579] Fix TestIBD. stasatdaglabs 2020-11-30 10:48:42 +02:00
  • f407c44a8d
    [Issue - #1126] - Checking pruning point violation - pruning point in the past. (#1160) talelbaz 2020-11-30 09:57:15 +02:00
  • a50adb0533 [#1126] "FindNextPruningPoint" - remove "return nil" when there is no pruning point on the if expression. tal 2020-11-29 18:08:52 +02:00
  • 83510f9ddc [NOD-1579] Implement addToOrphanSetAndRequestMissingParents. stasatdaglabs 2020-11-29 17:59:02 +02:00
  • 58a3958355 [#1126] "FindNextPruningPoint" - cosmetics change. tal 2020-11-29 17:52:09 +02:00
  • 96158823ea [#1126] "FindNextPruningPoint" - save the pruning point in case the point is the genesis and change code internal order. tal 2020-11-29 17:47:50 +02:00