Commit Graph

  • 529c94e04e [NOD-805] Fix a comment. stasatdaglabs 2020-04-02 09:14:00 +03:00
  • a92a15ea47 [NOD-805] Fix merge errors. stasatdaglabs 2020-04-01 13:55:16 +03:00
  • 97fcec7384 Merge remote-tracking branch 'origin/v0.3.0-dev' into nod-805-database-redesign stasatdaglabs 2020-04-01 13:54:22 +03:00
  • 9a95529381
    [NOD-868] Delete the old database package (#683) stasatdaglabs 2020-04-01 13:51:17 +03:00
  • b948bce166 [NOD-868] Remove pointless transactions. stasatdaglabs 2020-04-01 13:47:52 +03:00
  • e32b6c82b5 [NOD-868] Fixup doc.go and README.md. stasatdaglabs 2020-04-01 13:16:24 +03:00
  • c3437d0d5f [NOD-868] Explain the openDB parameter in DAGSetup. stasatdaglabs 2020-04-01 13:14:43 +03:00
  • 90e0446653 [NOD-868] Replace comments in initDAGState with logs. stasatdaglabs 2020-04-01 13:11:50 +03:00
  • ecf769ccce [NOD-868] Rename putDAGState to saveDAGState. stasatdaglabs 2020-04-01 13:04:21 +03:00
  • b20a7a679b
    [NOD-874] If the node is not current call sm.restartSyncIfNeeded() on handleInvMsg (#684) Ori Newman 2020-04-01 12:56:10 +03:00
  • d60af0b93d [NOD-874] Fix comment Ori Newman 2020-04-01 12:45:49 +03:00
  • 101e324fe9 [NOD-874] Fix comment Ori Newman 2020-04-01 12:39:32 +03:00
  • d7b41007d2 [NOD-874] Fix comment Ori Newman 2020-04-01 12:35:37 +03:00
  • 6b4f96b5e4 [NOD-874] Check haveUnknownInvBlock before restartSyncIfNeeded Ori Newman 2020-04-01 12:22:20 +03:00
  • ff7359f134 [NOD-874] If the node is not current call sm.restartSyncIfNeeded() on handleInvMsg Ori Newman 2020-04-01 12:08:35 +03:00
  • b7acf88248 [NOD-868] Rename dbXXX functions to just xxx. stasatdaglabs 2020-04-01 10:59:43 +03:00
  • 4f888f2764 [NOD-868] Fix merge errors. stasatdaglabs 2020-04-01 10:50:20 +03:00
  • 292cea96e3 Merge remote-tracking branch 'origin/nod-805-database-redesign' into nod-868-database-cleanup stasatdaglabs 2020-04-01 10:47:41 +03:00
  • 2c67c8cdfb
    [NOD-865] Move misc db logic to db access (#681) Ori Newman 2020-04-01 10:33:47 +03:00
  • fb2d928bfd [NOD-865] Remove erroneous tx commit Ori Newman 2020-04-01 10:26:16 +03:00
  • 8903ce89cc [NOD-865] Make clear functions get a dbTx as an arg Ori Newman 2020-04-01 10:20:52 +03:00
  • 52ccc04915 [NOD-868] Use NewTx instead of NoTx where required. stasatdaglabs 2020-04-01 10:03:59 +03:00
  • e511ec996d [NOD-865] Make clearBucket function Ori Newman 2020-04-01 09:47:44 +03:00
  • 6ff1fe4bd8 [NOD-865] Remove redundant comments Ori Newman 2020-04-01 09:41:38 +03:00
  • 77167c0ac5 [NOD-865] Remove the prefix "db" from some functions Ori Newman 2020-04-01 09:40:44 +03:00
  • f5a771ab92 [NOD-868] Rename database2 to database. stasatdaglabs 2020-04-01 09:38:05 +03:00
  • d16433ddf5 [NOD-868] Add openDB to DAGSetup to emulate the old dbpath in dag.config. stasatdaglabs 2020-04-01 09:29:36 +03:00
  • 4f4ee228bc Merge remote-tracking branch 'origin/nod-865-move-misc-db-logic-to-db-access' into nod-868-database-cleanup stasatdaglabs 2020-03-31 17:36:19 +03:00
  • 0fcd10667b [NOD-868] Remove the old database package. stasatdaglabs 2020-03-31 17:34:12 +03:00
  • 8719572ba9 [NOD-868] Remove errors.go. stasatdaglabs 2020-03-31 17:32:29 +03:00
  • 87e8632def [NOD-868] Remove the old ffldb besides the interface and errors.go. stasatdaglabs 2020-03-31 17:30:24 +03:00
  • abfc68b26f [NOD-865] Fix comment Ori Newman 2020-03-31 17:23:16 +03:00
  • 81959d408c [NOD-868] Remove references to DB. stasatdaglabs 2020-03-31 17:20:28 +03:00
  • 33fcfa7a58 [NOD-865] Fix tests Ori Newman 2020-03-31 17:19:37 +03:00
  • f08f0e59c7 [NOD-868] Remove all unused methods from the old database's interfaces. stasatdaglabs 2020-03-31 17:07:57 +03:00
  • 0e6bd9f95b [NOD-868] Remove all tests from old database. stasatdaglabs 2020-03-31 17:02:26 +03:00
  • 0f0172e4a2 Merge remote-tracking branch 'origin/nod-805-database-redesign' into nod-865-move-misc-db-logic-to-db-access Ori Newman 2020-03-31 16:47:01 +03:00
  • edcc829075 [NOD-865] Change a comment Ori Newman 2020-03-31 16:42:11 +03:00
  • 2b660909d2
    [NOD-866] Migrate database logic in blockdag/indexers package to dbaccess (#682) stasatdaglabs 2020-03-31 16:41:45 +03:00
  • 355a8b3414 [NOD-866] Explain collecting keys before deleting them. stasatdaglabs 2020-03-31 16:26:41 +03:00
  • 05ad3161b8 [NOD-866] Rename ClearAcceptanceIndex to DropAcceptanceIndex. stasatdaglabs 2020-03-31 16:25:27 +03:00
  • d9670a065f [NOD-866] Fix comment over ForEachHash. stasatdaglabs 2020-03-31 16:24:18 +03:00
  • f8b49b4e2f [NOD-865] Rename SubnetworkExists->HasSubnetwork Ori Newman 2020-03-31 15:34:22 +03:00
  • aab1fbe63c [NOD-865] Change bucket from utxodiffs to utxo-diffs Ori Newman 2020-03-31 15:30:31 +03:00
  • faacb04373 [NOD-865] Rename RegisterSubnetwork -> StoreSubnetwork Ori Newman 2020-03-31 15:29:52 +03:00
  • 0cbf32dbcb [NOD-865] Don't iterate cursors while changing db data Ori Newman 2020-03-31 15:29:05 +03:00
  • b5db20d69e [NOD-865] Make ClearReachabilityData transactive Ori Newman 2020-03-31 15:26:09 +03:00
  • ff8939fbb6 [NOD-865] Change Exists to Has, and use accessor.Has where possible Ori Newman 2020-03-31 15:23:46 +03:00
  • 527ddb80a5 [NOD-865] Create function for db keys Ori Newman 2020-03-31 15:21:00 +03:00
  • bc216528b2 [NOD-866] Remove pointless indirection in acceptanceindex. stasatdaglabs 2020-03-31 15:06:53 +03:00
  • ce66ef757b [NOD-881] Recover TestGHOSTDAGErrors Ori Newman 2020-03-31 13:00:18 +03:00
  • 36d866375e
    [NOD-881] Don't recalculate subtreesize for children (#678) Ori Newman 2020-03-31 12:43:02 +03:00
  • 024edc30a3
    [NOD-857] Add generalized profiler package and use it everwhere (#679) Svarog 2020-03-31 12:41:21 +03:00
  • 1c9bc6dc44 [NOD-881] Fix BenchmarkReindexInterval to use b.N Ori Newman 2020-03-31 12:25:50 +03:00
  • 0b34980ba2 [NOD-881] Use b.ResetTimer Ori Newman 2020-03-31 12:08:02 +03:00
  • 91e1faa49b [NOD-866] Fix a comment. stasatdaglabs 2020-03-31 11:56:48 +03:00
  • 500de31eeb [NOD-866] Fix a comment. stasatdaglabs 2020-03-31 11:54:38 +03:00
  • 12620716d8 [NOD-865] Add comments. stasatdaglabs 2020-03-31 11:50:29 +03:00
  • e68ed6f48b [NOD-865] Add forgotten Commit call. stasatdaglabs 2020-03-31 11:42:33 +03:00
  • 6e74bd0f55 [NOD-865] Remove old Get signature with "exists" Ori Newman 2020-03-31 11:40:40 +03:00
  • 7b7c2e7e4d [NOD-865] Pass the block's hash instead of the whole block. stasatdaglabs 2020-03-31 11:28:38 +03:00
  • 67c6726ea5 [NOD-865] Fix a block not being sent to ConnectBlock. stasatdaglabs 2020-03-31 11:16:27 +03:00
  • efd1ab1b7a [NOD-881] Make BenchmarkReindexInterval clearer Ori Newman 2020-03-31 11:14:05 +03:00
  • f01d95c25a [NOD-865] Migrate the acceptance index to dbaccess. stasatdaglabs 2020-03-31 11:07:33 +03:00
  • 6aa5e0b5a8
    [NOD-882] Remove ecc and hdkeychain (#680) Ori Newman 2020-03-31 10:58:11 +03:00
  • b6f264257b [NOD-865] Pass TxContext to ConnectBlock. stasatdaglabs 2020-03-31 10:30:59 +03:00
  • 35cf6dbcb5 [NOD-865] Remove a lot of no-longer relevant logic from indexers. stasatdaglabs 2020-03-31 10:14:59 +03:00
  • 90fa950e65 Merge remote-tracking branch 'origin/nod-805-database-redesign' into nod-865-migrate-indexers stasatdaglabs 2020-03-31 09:34:33 +03:00
  • 05e6702218 [NOD-865] Use dbaccess transactions where possible Ori Newman 2020-03-30 18:22:43 +03:00
  • 3fa3623885 [NOD-865] Move multiset db operations to dbaccess Ori Newman 2020-03-30 18:08:41 +03:00
  • 9f16dcc6da [NOD-865] Remove old Get signature with "exists" Ori Newman 2020-03-30 17:51:42 +03:00
  • c5cd1ee196 [NOD-857] Dependency-inject log into profiling.Start() Mike Zak 2020-03-30 17:41:02 +03:00
  • 28ae596b0a [NOD-865] Fix createDAGState Ori Newman 2020-03-30 17:20:39 +03:00
  • 149d831bf9 Merge remote-tracking branch 'origin/nod-805-database-redesign' into nod-865-move-misc-db-logic-to-db-access Ori Newman 2020-03-30 17:20:08 +03:00
  • 3dd0331e3e
    [NOD-867] Migrate database logic in blockdag/dagio.go to dbaccess (#675) stasatdaglabs 2020-03-30 16:56:59 +03:00
  • 11374c81f1 [NOD-882] Remove HDCoinType from dagParams Ori Newman 2020-03-30 16:34:33 +03:00
  • 97950b411c [NOD-867] Remove preallocation in initDAGState. stasatdaglabs 2020-03-30 16:25:33 +03:00
  • a46b8c2c71 [NOD-867] Fix an error message. stasatdaglabs 2020-03-30 16:22:09 +03:00
  • 64e53a4997 [NOD-867] Move a misplaced comment. stasatdaglabs 2020-03-30 16:20:51 +03:00
  • 87b82181a7 [NOD-882] Remove ecc and hdkeychain Ori Newman 2020-03-30 15:12:22 +03:00
  • aa3ff21381 Merge remote-tracking branch 'origin/nod-805-database-redesign' into nod-865-migrate-indexers stasatdaglabs 2020-03-30 14:27:52 +03:00
  • fd786dd994 [NOD-867] Fix merge errors. stasatdaglabs 2020-03-30 14:22:44 +03:00
  • fe0f861305 Merge remote-tracking branch 'origin/nod-805-database-redesign' into nod-867-migrate-dagio stasatdaglabs 2020-03-30 14:17:13 +03:00
  • 84661d3b11 Merge branch 'nod-805-database-redesign' of github.com:kaspanet/kaspad into nod-805-database-redesign Mike Zak 2020-03-30 14:01:46 +03:00
  • 6fb76b7978 Merge remote-tracking branch 'origin/v0.3.0-dev' into nod-805-database-redesign Mike Zak 2020-03-30 14:00:37 +03:00
  • 151687fcb4 [NOD-865] Delete blockidhash.go. stasatdaglabs 2020-03-30 13:49:24 +03:00
  • 1e4a97e915 [NOD-867] Unexport blockIndexKey. stasatdaglabs 2020-03-30 12:50:49 +03:00
  • b822ab74be [NOD-867] Fix comments and errors. stasatdaglabs 2020-03-30 12:47:59 +03:00
  • 2c104d868d [NOD-867] Fix merge errors. stasatdaglabs 2020-03-30 12:41:34 +03:00
  • 0aedc03e60 Merge remote-tracking branch 'origin/nod-805-database-redesign' into nod-867-migrate-dagio stasatdaglabs 2020-03-30 12:35:47 +03:00
  • a826bd91ba
    [NOD-862] Replace calls to Tx.StoreBlock, Tx.HasBlock, Tx.FetchBlock with appropriate calls in dbaccess (#672) stasatdaglabs 2020-03-30 12:24:32 +03:00
  • cd7d513f25 [NOD-881] Don't recalculate subtreesize for children Ori Newman 2020-03-30 12:06:14 +03:00
  • 1b68005956 [NOD-862] Fix merge errors. stasatdaglabs 2020-03-30 11:55:59 +03:00
  • 9436d15895 Merge remote-tracking branch 'origin/nod-805-database-redesign' into nod-862-dbaccess-blocks stasatdaglabs 2020-03-30 11:51:08 +03:00
  • 15f01a81e4
    [NOD-889] Instead of returning a boolean for not-found, return an error (#677) stasatdaglabs 2020-03-30 11:49:11 +03:00
  • c12c2b16a6 [NOD-889] Add IsNotFoundError to dbaccess. stasatdaglabs 2020-03-30 11:45:52 +03:00
  • 9bcccdccd4 [NOD-889] Fix double space in a comment. stasatdaglabs 2020-03-30 11:35:22 +03:00
  • deac33b296 [NOD-889] Fix format. stasatdaglabs 2020-03-30 11:33:54 +03:00
  • 4f90d6580a [NOD-889] Wrapped ErrNotFound for Get calls with nicer error messages. stasatdaglabs 2020-03-30 11:33:07 +03:00
  • e86f188f58 [NOD-889] Instead of returning a boolean for not-found, return an error. stasatdaglabs 2020-03-30 11:29:32 +03:00