Commit Graph

  • 019bc55d17 Rename transaction->dbTx Ori Newman 2021-06-14 12:05:08 +03:00
  • c1d4fc9590 Add a special type for prefix Ori Newman 2021-06-14 12:03:33 +03:00
  • 2539f5c62b Add prefix to forgotten stores Ori Newman 2021-06-14 11:33:06 +03:00
  • 017696139a Remove redundant check for uint64 < 0 Mike Zak 2021-06-14 11:32:01 +03:00
  • 0edf27715a removeTransaction: Remove redeemers in orphan pool as well Mike Zak 2021-06-14 09:50:43 +03:00
  • aab939eeed Re-apply policy_test as check_transactions_standard_test Mike Zak 2021-06-13 17:58:39 +03:00
  • 941cb59c89 Add prefix to stores Ori Newman 2021-06-10 19:21:58 +03:00
  • 87edaa8cd9 Call ValidateTransactionAndPopulateWithConsensusData on unorphanTransaction Mike Zak 2021-06-13 17:09:47 +03:00
  • ffed7514b1 Unorphan the correct transactions Mike Zak 2021-06-13 17:03:27 +03:00
  • b583390158 Skip the coinbase transaction in HandleNewBlockTransactions Mike Zak 2021-06-13 16:46:59 +03:00
  • 6ba997db50 Fix expected text in test for duplicate transactions Mike Zak 2021-06-13 16:41:59 +03:00
  • ffd300af0c Fix various lint errors and tests Mike Zak 2021-06-13 16:35:03 +03:00
  • 4e51cc57c0 properly calculate targetBlocksPerSecond in config.go Mike Zak 2021-06-13 14:29:36 +03:00
  • 472473e0be bugfix: GetTransaction panics when ok is false Mike Zak 2021-06-13 13:59:22 +03:00
  • 2ed6c2b4f5 Add mutex to mempool Mike Zak 2021-06-13 11:47:26 +03:00
  • 70399dae2a
    Added a friendly error message when genesis hash is not relevant to database (#1745) Constantine Bitensky 2021-06-13 11:36:47 +03:00
  • 875899f6f4 Merge remote-tracking branch 'origin/genesis' into genesis Constantine Bitensky 2021-06-13 11:26:29 +03:00
  • b55cdc86cc Merge remote-tracking branch 'origin/genesis' into genesis Constantine Bitensky 2021-06-10 19:59:42 +03:00
  • 87fe568437 Handle non-standard transaction errors properly Mike Zak 2021-06-13 10:50:38 +03:00
  • 6fff2bad93 Update rebroadcast logic to use new structure Mike Zak 2021-06-13 10:46:01 +03:00
  • 6adef21e30 Rewire kaspad to use new mempool, and fix compilation errors Mike Zak 2021-06-13 10:37:06 +03:00
  • a53c270d36 Implement RevalidateHighPriorityTransactions Mike Zak 2021-06-13 09:45:29 +03:00
  • 1f3a7bbcc9 Call ValidateTransactionInIsolation where needed Mike Zak 2021-06-13 09:34:23 +03:00
  • 66e61c949c
    Merge branch 'v0.11.0-dev' into genesis Svarog 2021-06-13 09:12:03 +03:00
  • a5ff5e6d72 Merge remote-tracking branch 'origin/genesis' into genesis Constantine Bitensky 2021-06-10 19:59:42 +03:00
  • 6ba6621dcc Merge remote-tracking branch 'origin/genesis' into genesis Constantine Bitensky 2021-06-09 18:06:20 +03:00
  • 2ae1b7853f
    Added comment to database lock error (#1746) Constantine Bitensky 2021-06-10 19:49:08 +03:00
  • 50728275ae Add comments to exported functions Mike Zak 2021-06-10 18:02:44 +03:00
  • 2ba8f4f310 Implement missing mempool interface methods Mike Zak 2021-06-10 17:39:34 +03:00
  • 70a9607df1 Implement HandleNewBlockTransactions Mike Zak 2021-06-10 17:15:54 +03:00
  • bec182e3f4 Implement ValidateAndInsertTransaction Mike Zak 2021-06-10 16:31:26 +03:00
  • e071d20565
    Merge branch 'v0.11.0-dev' into database_lock Svarog 2021-06-10 14:54:13 +03:00
  • fa0680e8b0 More readable database lock error string Constantine Bitensky 2021-06-09 18:17:08 +03:00
  • 87aac20227 More readable database lock error string Constantine Bitensky 2021-06-09 18:17:08 +03:00
  • ad8282abba Merge remote-tracking branch 'origin/genesis' into genesis Constantine Bitensky 2021-06-09 18:06:20 +03:00
  • ffaea636c2 Added database not empty check Constantine Bitensky 2021-06-09 18:04:11 +03:00
  • b9286f0f25 Merge remote-tracking branch 'origin/genesis' into genesis Constantine Bitensky 2021-06-09 18:04:11 +03:00
  • 27585f408c Implement fillInputs Mike Zak 2021-06-09 17:57:01 +03:00
  • d32aea4cc4 Implement validateTransaction functions Mike Zak 2021-06-09 17:34:38 +03:00
  • 6694d4b6a1 Make it branch agnostic Constantine Bitensky 2021-06-09 17:13:43 +03:00
  • 00fa2b4ac1 Make it branch agnostic Constantine Bitensky 2021-06-09 17:13:43 +03:00
  • d53d040bee
    Add .github/workflows/stability-fast.yml to run stability test (#1744) Constantine Bitensky 2021-06-09 15:11:56 +03:00
  • 45ba3bec43 Merge remote-tracking branch 'upstream/v0.11.0-dev' into mempool-redesign mempool-redesign Mike Zak 2021-06-09 15:05:14 +03:00
  • fcac18fc94
    Merge branch 'v0.11.0-dev' into stability_test Svarog 2021-06-09 14:57:20 +03:00
  • befc0172ee Add allowOrphans to ValidateAndInsertTransaction stub Mike Zak 2021-06-09 14:56:27 +03:00
  • 82e807cf5a Use maximumOrphanTransactionCount Mike Zak 2021-06-09 14:53:31 +03:00
  • 0f5a4a75d5 Make it branch agnostic Constantine Bitensky 2021-06-09 14:51:13 +03:00
  • c64583f303 Make it branch agnostic Constantine Bitensky 2021-06-09 14:42:55 +03:00
  • a778b29aaa Make it branch agnostic Constantine Bitensky 2021-06-09 14:28:56 +03:00
  • 033d3712b4 Make it branch agnostic Constantine Bitensky 2021-06-09 14:27:13 +03:00
  • d1a7206ff4 Make it branch agnostic Constantine Bitensky 2021-06-09 14:24:58 +03:00
  • 3f0c0815b4 Make it branch agnostic Constantine Bitensky 2021-06-09 14:18:38 +03:00
  • 6f26b28dd2 Make it branch agnostic Constantine Bitensky 2021-06-09 14:15:15 +03:00
  • 2fdd2849a1 Make it branch agnostic Constantine Bitensky 2021-06-09 14:11:29 +03:00
  • 1223a8ee67 Make it branch agnostic Constantine Bitensky 2021-06-09 14:09:51 +03:00
  • 7f3ab2c78c Make it branch agnostic Constantine Bitensky 2021-06-09 14:08:43 +03:00
  • ca59628024 Make it branch agnostic Constantine Bitensky 2021-06-09 13:54:30 +03:00
  • ad0c67de45 Make it branch agnostic Constantine Bitensky 2021-06-09 13:52:54 +03:00
  • ff92d66168 Make it branch agnostic Constantine Bitensky 2021-06-09 13:50:08 +03:00
  • 6a1be46d47 Make it branch agnostic Constantine Bitensky 2021-06-09 13:48:31 +03:00
  • dcc117d23f Make it branch agnostic Constantine Bitensky 2021-06-09 12:51:07 +03:00
  • aef730946d Make it branch agnostic Constantine Bitensky 2021-06-09 12:49:38 +03:00
  • 6469036e1b Make it branch agnostic Constantine Bitensky 2021-06-09 12:46:35 +03:00
  • 69caea5ae9 Make it branch agnostic Constantine Bitensky 2021-06-09 12:44:39 +03:00
  • 8b3ec0d05b Make it branch agnostic Constantine Bitensky 2021-06-09 12:41:47 +03:00
  • 3588de7f0e Make it branch agnostic Constantine Bitensky 2021-06-09 12:38:56 +03:00
  • 99dff73198 Make it branch agnostic Constantine Bitensky 2021-06-09 12:35:29 +03:00
  • 9574b53b55 Make it branch agnostic Constantine Bitensky 2021-06-09 12:34:17 +03:00
  • 664af2e9ef Make it branch agnostic Constantine Bitensky 2021-06-09 12:32:02 +03:00
  • 5ecc62f3aa Make it branch agnostic Constantine Bitensky 2021-06-09 12:30:31 +03:00
  • 9618f0e26c Make it branch agnostic Constantine Bitensky 2021-06-09 12:27:08 +03:00
  • b3b8b41bde Make it branch agnostic Constantine Bitensky 2021-06-09 12:18:29 +03:00
  • 0d33206811 Make it branch agnostic Constantine Bitensky 2021-06-09 12:16:08 +03:00
  • bfa804b300 If a transaction was removed from the mempool - update it's redeemers in orphan pool as well Mike Zak 2021-06-09 10:32:14 +03:00
  • f47f1acde0 FIXME Master branch is commented! Uncomment it. Constantine Bitensky 2021-06-09 11:00:26 +03:00
  • c0992ecbe0 Added .github/stability-fast.yml Constantine Bitensky 2021-06-09 10:59:37 +03:00
  • 1175a8afe7 Merge remote-tracking branch 'origin/v0.11.0-dev' into testsCheckSequenceVerify testsCheckSequenceVerify tal 2021-06-08 17:58:21 +03:00
  • 7e6eaf9299 Delete an unnecessary comment. tal 2021-06-08 17:57:56 +03:00
  • 4f62bc0fc6 Merge branch 'kaspanet:v0.11.0-dev' into v0.11.0-dev Constantine Bitensky 2021-06-08 17:43:19 +03:00
  • 79c74c482b
    Get connections from Seeder when no connections left (#1742) Constantine Bitensky 2021-06-08 17:42:13 +03:00
  • 7115b54d3f Implement RemoveTransaction Mike Zak 2021-06-08 17:39:10 +03:00
  • e98b5c9007 Added .github/stability-fast.yml Constantine Bitensky 2021-06-08 17:11:14 +03:00
  • 25cc6184d6 Implement transactionsPool.addTransaction Mike Zak 2021-06-08 16:30:53 +03:00
  • a17116b7c5 Fixes #1588 Constantine Bitensky 2021-06-08 16:09:06 +03:00
  • 4e46be67a4 Implemented processOrphansAfterAcceptedTransaction Mike Zak 2021-06-08 16:05:39 +03:00
  • 35eb4b9d87 Implement maybeAddOrphan and AddOrphan Mike Zak 2021-06-08 15:08:49 +03:00
  • 3b0394eefe
    Skip solving the block if SkipProofOfWork (#1741) Ori Newman 2021-06-08 15:44:27 +03:00
  • bd239afdbd Skip solving the block if SkipProofOfWork Ori Newman 2021-06-08 15:12:08 +03:00
  • 2402d48c3e Implement removeOrphan Mike Zak 2021-06-08 14:35:49 +03:00
  • b9339e8815 Changed names and comments. tal 2021-06-08 14:02:51 +03:00
  • 9a1d548e7f Implemented removeOrphan Mike Zak 2021-06-08 14:00:17 +03:00
  • 65da2462b8 Implemented mempoolUTXOSet.checkDoubleSpends Mike Zak 2021-06-08 10:44:02 +03:00
  • 4335a8eaf8 Implement removeTransaction, remove sanity checks Mike Zak 2021-06-08 10:35:17 +03:00
  • d88fe305c5 Implemented mempoolUTXOSet.addTransaction Mike Zak 2021-06-08 10:27:06 +03:00
  • 099f023b5b Implement getParentsInPool Mike Zak 2021-06-08 10:16:45 +03:00
  • 2294559198 Move all model objects to model package Mike Zak 2021-06-08 10:01:46 +03:00
  • 71875c99d6 Invert the condition for banning when mempool rejects a transaction Mike Zak 2021-06-07 14:07:25 +03:00
  • c099fd2986 Add error.go to mempool Mike Zak 2021-06-07 11:46:31 +03:00
  • 9891591745 More readable error string Constantine Bitensky 2021-06-06 19:59:15 +03:00
  • 17357a0fca Orphan maps should be idToOrphan Mike Zak 2021-06-07 10:21:36 +03:00