Commit Graph

  • c75ade5d2d Get rid of blockHeapNode Ori Newman 2021-07-15 13:49:34 +03:00
  • f9f51e3403 Rename ConsensusWrapper->ConsensusReference Ori Newman 2021-07-15 13:39:34 +03:00
  • f58efb6889 Fix checkResolveVirtual Ori Newman 2021-07-15 12:28:12 +03:00
  • 9d0fcc0e48 Ignore type flag of relative time lock - interpret as DAA score tal 2021-07-15 11:57:25 +03:00
  • a771124ca3 Fix netsync stability test Ori Newman 2021-07-14 18:26:15 +03:00
  • f8c995a52c Don't use separate staging area when resolving resolveBlockStatus Ori Newman 2021-07-14 18:26:02 +03:00
  • d593463636 Added request/response types Mike Zak 2021-07-14 17:15:35 +03:00
  • 31feaa27ef Add comments about consensus wrapper Ori Newman 2021-07-14 17:20:23 +03:00
  • dbc29c4be0 Merge remote-tracking branch 'origin/v0.11.0-dev' into implement-pruned-headers-node Ori Newman 2021-07-14 17:08:13 +03:00
  • 1011affe7e Remove +1 from everywhere we use difficultyAdjustmentWindowSize and increase the default value by one Ori Newman 2021-07-14 16:34:06 +03:00
  • a54532c453 Get rid of low hash in block locators Ori Newman 2021-07-14 16:21:04 +03:00
  • 60e7a8ebed
    Make transaction propagation much more frequent (#1799) Svarog 2021-07-14 16:06:24 +03:00
  • c4e81310d0 replace the selected parent with virtual genesis on removePrunedBlocksFromGHOSTDAGData Ori Newman 2021-07-14 15:43:57 +03:00
  • 63d9470a79 Change virtual genesis hash Ori Newman 2021-07-14 15:35:52 +03:00
  • 2facfba81f Update f.transactionIDsToPropagate after brodacasting Mike Zak 2021-07-14 15:30:49 +03:00
  • 45da5810a4 Set pruning point selected child when importing the pruning point UTXO set Ori Newman 2021-07-14 15:26:24 +03:00
  • 8e34fd83e5 Merge remote-tracking branch 'origin/v0.11.0-dev' into disableRelativeTimeLockByTime tal 2021-07-14 15:06:46 +03:00
  • 3a407d3ddf ignore type flag tal 2021-07-14 15:06:23 +03:00
  • 6e576e00b9 * Change GetVirtualSelectedParentChainFromBlockResponseMessage and VirtualSelectedParentChainChangedNotificationMessage to show only added block hashes * Remove ResolveVirtual * Use externalapi.ConsensusWrapper inside MiningManager * Fix pruningmanager.blockwithmetadata Ori Newman 2021-07-14 14:48:08 +03:00
  • a6a61cda4b Make transaction propagation much more frequent Mike Zak 2021-07-14 14:45:50 +03:00
  • 369a3bac09
    Limit block mass instead of merge set limit + Introduce SigOpCount to TransactionInput (#1790) Svarog 2021-07-14 14:21:57 +03:00
  • 1bc8f7ddce Merge remote-tracking branch 'origin/v0.11.0-dev' into 1693-max-block-mass Mike Zak 2021-07-14 14:05:23 +03:00
  • 8022e4cbea
    Validate locktime when admitted into mempool and when building a block. (#1794) talelbaz 2021-07-14 11:00:03 +03:00
  • 5b46d69b43 Assign mass a new number for backward-compatibility Mike Zak 2021-07-14 10:44:18 +03:00
  • 25ea6268c0 Change the function name:ValidateTransactionInContextIgnoringUTXO tal 2021-07-14 10:25:03 +03:00
  • 717c4eb70f UTXO Index refactor stage 1 Constantine Bitensky 2021-07-13 17:57:33 +03:00
  • d1551447e3 Validate locktime when admitted into mempool and when build a block. Also, fix isFinalized to use DAAscore instead of blue score. tal 2021-07-13 15:54:56 +03:00
  • 297340f30f Move PopulateMass to beggining of ValidateAndInsertTransaction + fix in it Mike Zak 2021-07-13 11:42:28 +03:00
  • 37b3a9fc09 Add PopulateMass to fakeRelayInvsContext Mike Zak 2021-07-13 11:25:40 +03:00
  • 4320fe8f12 Move transactionEstimatedSerializedSize to transactionvalidator Mike Zak 2021-07-13 11:23:29 +03:00
  • 881d857e06 Unexport CreateTransactionWithLockedOutput function tal 2021-07-12 17:50:24 +03:00
  • da85173763 Remove remaining usages of tx size in mempool Mike Zak 2021-07-12 16:38:26 +03:00
  • 76f978138f Convert verboseData and block size check to mass Mike Zak 2021-07-12 16:32:56 +03:00
  • 586891e6bc Rename interface_datastructures_daawindowstore.go to interface_datastructures_blocks_with_meta_data_daa_window_store.go Ori Newman 2021-07-12 16:18:47 +03:00
  • 06f61cb482 Ban on invalid pruning point Ori Newman 2021-07-12 16:14:14 +03:00
  • abda9792f6 Update rpc transaction verbose data to include mass rather then size Mike Zak 2021-07-12 16:11:18 +03:00
  • 35981244b3 Add test of CSV with wrong sequence tal 2021-07-12 16:10:01 +03:00
  • 8c05f6728c Get rid of mustAccepted in receiveBlockWithMetaData Ori Newman 2021-07-12 16:07:55 +03:00
  • 06ef2b81d0 Merge branch '1693-max-block-mass' of github.com:svarogg/kaspad into 1693-max-block-mass Mike Zak 2021-07-12 16:05:34 +03:00
  • 2f4f29805f Move DeleteStagingConsensus outside of defer Ori Newman 2021-07-12 16:05:05 +03:00
  • c4f8eaed6e
    Merge branch 'v0.11.0-dev' into 1693-max-block-mass Svarog 2021-07-12 16:04:57 +03:00
  • 20618c39bc Tests for CSV tal 2021-07-12 15:45:50 +03:00
  • b4c1cee105 Increase windows pagefile Ori Newman 2021-07-12 13:06:28 +03:00
  • a342216c2f Remove blocksWithMetaDataGHOSTDAGDataStore Ori Newman 2021-07-12 13:04:27 +03:00
  • 3006d87f39 Add comment to IsRecoverableError Ori Newman 2021-07-12 12:24:40 +03:00
  • 7f6edd43d9 Commit changes inside ResolveVirtual Ori Newman 2021-07-12 12:22:58 +03:00
  • 8d7d8e2bef Remove redundant code Ori Newman 2021-07-12 12:20:47 +03:00
  • e56bc45406 Renames and comments Ori Newman 2021-07-12 12:19:05 +03:00
  • da875fedab Don't delete staging on non-recoverable errors Ori Newman 2021-07-12 11:54:13 +03:00
  • a3d5d165f8 Remove redundant argument from sendGetBlockLocator Ori Newman 2021-07-12 10:52:34 +03:00
  • 0622f4c391 Renames and comments Ori Newman 2021-07-11 18:57:16 +03:00
  • 5720d2ea9c Remove irrelevant check Ori Newman 2021-07-11 18:52:09 +03:00
  • 03b29c0f8d Check reindex root after each block at TestUpdateReindexRoot Ori Newman 2021-07-11 18:51:34 +03:00
  • 38833d4821 Fix window size to the real value Ori Newman 2021-07-11 18:01:16 +03:00
  • 1cfec4d9ff Fix comments, errors ane names Ori Newman 2021-07-11 17:53:46 +03:00
  • 091ebd26bf Fix TestCheckLockTimeVerifyConditionedByAbsoluteTimeWithWrongLockTime Ori Newman 2021-07-11 15:41:42 +03:00
  • 9b9b619df6 Merge remote-tracking branch 'origin/v0.11.0-dev' into implement-pruned-headers-node Ori Newman 2021-07-11 15:27:27 +03:00
  • bfd0834578 Start working on removing any remaining reference to block/tx size Mike Zak 2021-07-11 14:11:29 +03:00
  • f7167962b2 Merge remote-tracking branch 'origin/v0.11.0-dev' into testsCheckSequenceVerify tal 2021-07-11 10:20:39 +03:00
  • a0b3cb29b3 Save for rebase tal 2021-07-11 10:20:16 +03:00
  • 28ac77b202
    Tests for timelock - check lock time verify (CLTV) (#1751) talelbaz 2021-07-08 18:09:45 +03:00
  • 7cd9be55a4 Remove redundant check if highest share block is below the pruning point Ori Newman 2021-07-08 18:03:41 +03:00
  • 7c293ecb0d Make MsgBlockWithMetaData implement its own representation Ori Newman 2021-07-08 15:32:33 +03:00
  • d8cef8a3a4
    Merge branch 'v0.11.0-dev' into testsLoctTimeAndSequence Ori Newman 2021-07-08 17:52:38 +03:00
  • 3683f50542 Creating wrapper functions to lockTime&sequence numbers that call to a shared function in script builder. tal 2021-07-08 17:50:57 +03:00
  • a800a3bda7 Call AddData instead of addData. Rename fixedSize to unpaddedSize tal 2021-07-08 17:13:28 +03:00
  • 28af7eb596
    Add stability-fast action to pull requests (#1791) Constantine Bitensky 2021-07-08 16:08:21 +03:00
  • 7215fa26e2 Fix LockTimeThreshold constant, fix opcodeCheckLockTimeVerify and opcodeCheckSequenceVerify(padding in the end), add support for sequence and lock time number in the script builder, add more checks to the CLTV test. tal 2021-07-08 15:10:21 +03:00
  • fac14c83c2 Add stability-fast action to pull requests cbitensky 2021-07-08 14:51:37 +03:00
  • 150715f49c Add stability-fast action to pull requests cbitensky 2021-07-08 14:37:07 +03:00
  • a836d0bed6 Add stability-fast action to pull requests cbitensky 2021-07-08 13:43:08 +03:00
  • 662a308ed2 Add stability-fast action to pull requests cbitensky 2021-07-08 13:42:06 +03:00
  • 10eee3025d Add stability-fast action to pull requests cbitensky 2021-07-08 13:39:59 +03:00
  • a8894cc423 Add stability-fast action to pull requests cbitensky 2021-07-08 13:24:18 +03:00
  • f5496ee7cf Add stability-fast action to pull requests cbitensky 2021-07-08 13:16:33 +03:00
  • 59bd28c1fd Add stability-fast action to pull requests cbitensky 2021-07-08 12:32:41 +03:00
  • fd8e07b2c2 Update protowire/rpc.md Mike Zak 2021-07-08 12:15:55 +03:00
  • a492e46859 Add stability-fast action to pull requests cbitensky 2021-07-08 11:51:05 +03:00
  • 892933fdf5 always add own sigOpCount to sigHash Mike Zak 2021-07-08 12:10:15 +03:00
  • 421869b96a Add sanity check to checkBlockMass to make sure all transactions have their mass filled Mike Zak 2021-07-08 10:15:02 +03:00
  • dda61a55d8 Remove remaining places talking about block size Mike Zak 2021-07-08 10:12:43 +03:00
  • a4d241c30a
    Batch transaction inv messages (#1788) stasatdaglabs 2021-07-07 17:54:57 +03:00
  • 79508fcdfd Add stability-fast action to pull requests cbitensky 2021-07-07 16:32:33 +03:00
  • e2f403ea30
    Merge branch 'v0.11.0-dev' into transaction-batching Ori Newman 2021-07-07 16:53:53 +03:00
  • 487fab0e2b
    Implement a stability test to stress test the DAA algorithm (#1767) stasatdaglabs 2021-07-07 16:14:22 +03:00
  • 14cdb8fe47
    Merge branch 'v0.11.0-dev' into daa-stability-tests Svarog 2021-07-07 15:57:18 +03:00
  • 03602681a7 Clean code Ori Newman 2021-07-07 14:49:41 +03:00
  • 7aef9ae8b5 Add a log for transaction propagation. stasatdaglabs 2021-07-07 14:47:15 +03:00
  • 95450eeb50 Merge remote-tracking branch 'origin/v0.11.0-dev' into implement-pruned-headers-node Ori Newman 2021-07-07 14:09:36 +03:00
  • 5e63259757 Add p2p_request_ibd_blocks.go Ori Newman 2021-07-07 13:53:31 +03:00
  • 4d01752ea0 Fix TxRelayTest. stasatdaglabs 2021-07-07 13:00:02 +03:00
  • de23a11333 Fix tests. stasatdaglabs 2021-07-07 12:48:25 +03:00
  • a307b1e637 Fix lint errors Ori Newman 2021-07-07 12:48:04 +03:00
  • 2f3829d9b4 Delete TestHandleRelayInvs parts that cover the old IBD flow Ori Newman 2021-07-07 12:30:03 +03:00
  • 23b827e7e8 Implement EnqueueTransactionIDsForPropagation. stasatdaglabs 2021-07-07 11:48:15 +03:00
  • 60eed688df Fix all tests except TestHandleRelayInvs Ori Newman 2021-07-06 19:44:33 +03:00
  • 2f272cd517
    Expire old transactions when both an amount of DAA and an amount of time had passed. (#1784) stasatdaglabs 2021-07-06 15:23:53 +03:00
  • d8c4d83a87
    Merge branch 'v0.11.0-dev' into expire-old-transactions-by-time Ori Newman 2021-07-06 15:15:00 +03:00
  • e3a6d9e49a
    Added RPC connection server version checking, fixes https://github.com/kaspanet/kaspad/issues/1047 (#1783) Constantine Bitensky 2021-07-06 15:10:35 +03:00
  • 1f587056d4 Expire old transactions when both an amount of DAA and an amount of time had passed. stasatdaglabs 2021-07-06 15:04:25 +03:00