Commit Graph

  • 080dd0f0d6 [DEV-74] Moved diffChild next to diff, improved their comments, moved the explanations for diffFrom and withDiff to the appropriate methods, got rid of utxoIterator, and renamed areInputsInUTXO to containsInputs. Stas Boutenko 2018-08-07 17:59:09 +03:00
  • 201902faf1 [DEV-75] Made verifyDAG in rpcserver.go not use block height for iteration. Stas Boutenko 2018-08-07 17:25:57 +03:00
  • 797a6d75a6 [DEV-75] Got rid of HeightRange(), as no one was using it. Stas Boutenko 2018-08-07 16:32:07 +03:00
  • 9c94eca8c7 [DEV-75] Got rid of Contains(). Stas Boutenko 2018-08-07 16:29:08 +03:00
  • 621b455658 [DEV-75] Got rid of Next(). Stas Boutenko 2018-08-07 16:23:26 +03:00
  • f89f1c1d0f [DEV-75] Got rid of SetTip everywhere except for tests. Stas Boutenko 2018-08-07 15:35:45 +03:00
  • 9822369815 [DEV-75] Got rid of virtualBlock.tip(). Stas Boutenko 2018-08-07 15:26:38 +03:00
  • f3100280c8 [DEV-75] Got rid of virtualBlock.equals, which was not used anywhere. Stas Boutenko 2018-08-06 17:46:06 +03:00
  • 85e1cebf63 [DEV-75] Updated initBlockNode to allow for virtual (headerless) nodes, updated dbDAGState to contain multiple tip hashes, implemented virtualBlock.setTips. Stas Boutenko 2018-08-06 17:37:11 +03:00
  • ed5df3bf7d [DEV-66] Make only transaction version 1 a standard transaction (#40) Ori Newman 2018-08-06 16:59:33 +03:00
  • a616616c39 [DEV-66] change checkTransactionStandard to get policy as argument Ori Newman 2018-08-06 16:48:51 +03:00
  • 40ad63f7f6 [DEV-75] Renamed receivers from c to v. Stas Boutenko 2018-08-06 16:44:14 +03:00
  • a1f03c7e8d [DEV-75] Got rid of chainView height and findFork. Stas Boutenko 2018-08-06 16:21:39 +03:00
  • 1daf23e050 [DEV-75] Moved queries for the genesis block from virtualBlock to BlockDAG. Stas Boutenko 2018-08-06 16:14:29 +03:00
  • 2f3d16cba3 [DEV-75] Renamed newDAGView to newVirtualBlock. Stas Boutenko 2018-08-06 16:08:41 +03:00
  • 20a2e8372c [DEV-75] Renamed dag -> virtual, dagView -> virtualBlock. Stas Boutenko 2018-08-06 13:28:09 +03:00
  • 112d8e7afe [DEV-66] Make only transaction version 1 a standard transaction Ori Newman 2018-08-06 13:23:45 +03:00
  • dc79eb432b [DEV-86] re-implement dagview to be dag compatible Ori Newman 2018-08-06 10:40:19 +03:00
  • 49c5e7c274 [DEV-75] Found a typo. Stas Boutenko 2018-08-06 13:11:37 +03:00
  • 95b4251d73 Merge branch 'master' into dev-74-support-diff-utxos Stas Boutenko 2018-08-05 16:43:30 +03:00
  • b25677bb89 [DEV-74] Wrote an explanation on utxoSet. Stas Boutenko 2018-08-05 16:31:29 +03:00
  • 05f885ccbb [DEV-81] Added tests to bucket.Get and .Delete error cases + .Delete now returns error on empty key Mike Zak 2018-08-05 15:46:17 +03:00
  • 6caf77b196 [DEV-81] Added tests to CreateBucket error cases Mike Zak 2018-08-05 14:42:34 +03:00
  • 0e940ebd36 [DEV-81] tx.putKey no longer returns error, because there is no case when it does Mike Zak 2018-08-05 14:33:43 +03:00
  • 062173a1e2 [DEV-86] remove selectedPrevBlock from initDAGState Ori Newman 2018-08-05 12:39:28 +03:00
  • fa062e200c [DEV-74] Moved the documentation for utxoDiff into utxoset.go. Stas Boutenko 2018-08-05 12:17:28 +03:00
  • 19446ba197 [DEV-74] Wrote explanations for TestDiffUTXOSet_addTx. Stas Boutenko 2018-08-05 11:52:27 +03:00
  • c2381f9f86 [DEV-74] Wrote explanations for all utxoSet tests besides addTx. Stas Boutenko 2018-08-05 11:41:16 +03:00
  • 247b004dfa [DEV-74] Wrote explanations for utxoCollection and utxoDiff tests. Stas Boutenko 2018-08-05 10:47:44 +03:00
  • aa4c02936c [DEV-81] Added tests for various cursor edge-cases Mike Zak 2018-08-02 18:32:43 +03:00
  • d6ed0b69e1 [DEV-81] Added tests for cursor.skipPendingUpdates Mike Zak 2018-08-02 17:59:01 +03:00
  • eb6a489ef8 [DEV-74] Moved utxoCollection and utxoDiff into utxoset.go. Stas Boutenko 2018-08-02 16:52:15 +03:00
  • 2849d109de [DEV-74] Added a few comments. Added reference-equals checks to clone functions. Stas Boutenko 2018-08-02 16:47:34 +03:00
  • 904f2cf2e3 [DEV-72] Write Blues() Ori Newman 2018-08-02 16:34:40 +03:00
  • 5c277431a7 [DEV-72] fix grammar Ori Newman 2018-08-02 16:33:00 +03:00
  • ece931821f [DEV-72] fix formatting and add comments to TestPhantom Ori Newman 2018-08-02 16:03:52 +03:00
  • 29569a2b9b [DEV-81] Added tests for handleRollback error-cases Mike Zak 2018-08-02 15:32:07 +03:00
  • 32e25a962c [DEV-81] Moved database/error_test.go from database_test package to database package + added test for IsErrorCode Mike Zak 2018-08-02 14:15:06 +03:00
  • 4dba51a637 [DEV-74] Fixed bad test logic in TestDiffUTXOSet_addTx. Stas Boutenko 2018-08-02 13:52:07 +03:00
  • 3b227470ef [DEV-74] Renamed verifyTx to areInputsInUTXO and removed a superfulous test. Stas Boutenko 2018-08-02 13:22:20 +03:00
  • 6f1d590103 [DEV-74] Renamed variables in utxoset.go. Stas Boutenko 2018-08-02 13:06:16 +03:00
  • 837c601490 [DEV-74] Removed superfluous utxoCollection iterator and moved utxoIterator into utxoset.go. Stas Boutenko 2018-08-02 12:48:54 +03:00
  • fb8559c601 [DEV-72] set K=10 and add comments to phantom and phantom tests Ori Newman 2018-08-02 12:29:16 +03:00
  • 89b19c1f21 [DEV-74] Corrected test names in utxoCollection_test. Stas Boutenko 2018-08-01 18:18:38 +03:00
  • 71f50ff3b0 [DEV-74] Converted the type of utxoCollection from map[daghash.Hash]map[uint32]*wire.TxOut to map[wire.OutPoint]*UtxoEntry. Stas Boutenko 2018-08-01 18:14:48 +03:00
  • 6360973eb4 [DEV-81] Added tests to cursor.Delete + made sure it returns error when transaction is not writable Mike Zak 2018-08-01 17:10:27 +03:00
  • 569aebb3e3 [DEV-72] add K to dagconfig.Params, and add expected reds to all phantom tests Ori Newman 2018-08-01 16:51:13 +03:00
  • 2e19968170 [DEV-81] Added tests for deleteFile Mike Zak 2018-08-01 15:01:58 +03:00
  • dc00c6f318 [DEV-81] Moved init and UseLogger to separate file to make them more easily-testable + added tests Mike Zak 2018-08-01 14:27:35 +03:00
  • 5a012ae677 [DEV-74] Renamed diff to diffFrom for clarity's sake. Stas Boutenko 2018-08-01 13:21:13 +03:00
  • abc1d17189 [DEV-74] Renamed blockNode.utxoDiff to blockNode.diff. Stas Boutenko 2018-08-01 12:59:23 +03:00
  • 8ae5a4d83f [DEV-74] Removed utxoDiff.inverted. Stas Boutenko 2018-08-01 12:56:15 +03:00
  • ddb24d2588 [DEV-72] block V was missing, so renamed w -> v, x -> w etc Ori Newman 2018-07-31 17:12:23 +03:00
  • 139da6dfb8 [DEV-72] use node.String instead of %v Ori Newman 2018-07-31 15:50:02 +03:00
  • 93b85d7161 [DEV-72] block V was missing, so renamed w -> v, x -> w etc Ori Newman 2018-07-31 15:47:40 +03:00
  • 725a573048 [DEV-72] change blueScore to uint64 Ori Newman 2018-07-31 15:08:02 +03:00
  • 16e9ab2fcb [DEV-74] Moved confusing "negatives" test to be part of the general utxoCollection test. Stas Boutenko 2018-07-31 10:23:18 +03:00
  • df439e31f6 [DEV-74] Fixed bad test and corrected failing test. Stas Boutenko 2018-07-30 18:10:29 +03:00
  • 2b77ff1c41 [DEV-81] Added some tests for dbcache Mike Zak 2018-07-30 18:02:38 +03:00
  • b4c35933ee [DEV-74] Renamed confusing "previousHash" to "hash". Stas Boutenko 2018-07-30 17:58:12 +03:00
  • f7e6207edb Merge remote-tracking branch 'origin/master' into dev-74-support-diff-utxos Stas Boutenko 2018-07-30 17:06:43 +03:00
  • 2bec41555a [DEV-74] Removed superfluous whitespace. Stas Boutenko 2018-07-30 17:05:26 +03:00
  • f6e3e0bba1 [DEV-74] Changed blockNode.utxoDiff to be of type utxoDiff. Stas Boutenko 2018-07-30 17:01:44 +03:00
  • bae0b52f1b [DEV-74] Wrote a toRemove test for addTx. Stas Boutenko 2018-07-30 16:52:13 +03:00
  • 2878e5b43b [DEV-74] Wrote tests for addTx. Stas Boutenko 2018-07-30 16:03:41 +03:00
  • 40cf1af435 [DEV-74] Added a negative test for diffUTXOSet.withDiff. Stas Boutenko 2018-07-30 14:49:33 +03:00
  • cb5cd28d0c [DEV-74] Wrote tests for diffUTXOSet iterator. Stas Boutenko 2018-07-30 14:26:27 +03:00
  • 52e89a584b [DEV-72] remove K from dagconfig.Params Ori Newman 2018-07-30 14:21:50 +03:00
  • b508e34308 [DEV-72] remove K from dagconfig.Params Ori Newman 2018-07-30 14:21:00 +03:00
  • dfd24644e1 [DEV-72] fix hash order Ori Newman 2018-07-30 14:12:37 +03:00
  • 2ea08d7e6d [DEV-74] Added some tests for diffUTXOSet. Stas Boutenko 2018-07-30 12:22:28 +03:00
  • 9f3e58520c [DEV-72] remove prints Ori Newman 2018-07-30 12:06:57 +03:00
  • 0ff89b2f45 [DEV-72] add secret mining and censorship attack tests Ori Newman 2018-07-30 12:01:42 +03:00
  • 7db7a792b6 [DEV -74] Added tests for fullUTXOSet. Stas Boutenko 2018-07-29 16:12:09 +03:00
  • 4c81fc9d81 [DEV-81] Completed coverage of reconcileDB() Mike Zak 2018-07-29 14:49:16 +03:00
  • f675ffc90e Merge remote-tracking branch 'origin/master' into dev-81-database-coverage Mike Zak 2018-07-29 14:34:17 +03:00
  • 2068ac299a [DEV-77] Wire converage Svarog 2018-07-29 14:32:28 +03:00
  • 19a043602b Dev 80 dagconfig coverage (#37) Svarog 2018-07-29 10:46:17 +03:00
  • 3f406f8ca8 [DEV-80] Fixed namings of test variables Mike Zak 2018-07-29 10:41:13 +03:00
  • c0d4cbbb17 [DEV-77] Fixed error message copy-paste typo Mike Zak 2018-07-29 10:38:19 +03:00
  • 0cb5aa2595 [DEV-74] Implemented utxoSet. Stas Boutenko 2018-07-26 18:17:11 +03:00
  • 8ead59c8cd [DEV-81] Added database.UseLogger test Mike Zak 2018-07-26 18:08:40 +03:00
  • db17c0c56a [DEV-72] write functions to order blockSet by hash and write blue tests Ori Newman 2018-07-26 17:33:34 +03:00
  • 334afa0f57 [DEV-81] Overwrite maxOpenFiles for testInterface to force tests to check the LRU-mechanism in openFile Mike Zak 2018-07-26 16:24:13 +03:00
  • b549a9734e [DEV-77] using binaryFreeListMaxItems instead of freeListMaxItems in TestBinaryFreeList Mike Zak 2018-07-26 15:19:32 +03:00
  • f4044f40b3 [DEV-80] Added tests for Bech32Prefix.To/FromString + DNSSeed.String() Mike Zak 2018-07-26 14:44:34 +03:00
  • 42abd4c339 [DEV-74] Implemented utxoDiff and its tests. Stas Boutenko 2018-07-26 12:47:48 +03:00
  • 5f1206a4b3 [DEV-80] Added tests for Strings(hashes) Mike Zak 2018-07-26 12:23:22 +03:00
  • 057b741ca4 [DEV-77] Added test for BlockHeader.IsGenesis() Mike Zak 2018-07-26 11:57:42 +03:00
  • 17a66e3caf [DEV-77] Added MsgSendHeaders and MsgFeeFilter test-cases for TestMessage Mike Zak 2018-07-26 11:25:11 +03:00
  • d9083b0ebb [DEV-77] Added test-cases to TestVarIntWireErrors to check for errors when writing the varint length Mike Zak 2018-07-26 10:59:53 +03:00
  • 8b9faa3d0e [DEV-77] Added tests for binaryFreeList Mike Zak 2018-07-26 10:44:06 +03:00
  • d161c24c28 [DEV-77] Restructured returnScriptBuffers to be more idiomatic and testable Mike Zak 2018-07-26 10:34:00 +03:00
  • c6b55ca846 [DEV-77] Fixed formatting in BlockHeader .SelectedPrevBlock and IsGenesis Mike Zak 2018-07-26 10:31:51 +03:00
  • 606a1f18bc [DEV-77] Added tests for ScriptFreeList Mike Zak 2018-07-25 17:20:29 +03:00
  • f6fc1ec3ae [DEV-74] Implemented utxoCollection tests. Stas Boutenko 2018-07-25 15:20:58 +03:00
  • c9a30a3cf9 [DEV-74] Improved utxoIterator tests. Stas Boutenko 2018-07-25 12:49:21 +03:00
  • 226abbc37b
    Merge pull request #32 from daglabs/dev-31-convert-time-int64 stasatdaglabs 2018-07-25 12:20:08 +03:00
  • 0c09c859b5 [DEV-31] fix nonce, bits, and timestamp comments Ori Newman 2018-07-25 12:16:57 +03:00
  • bdbc2fae84 [DEV-72] write blues tests Ori Newman 2018-07-25 12:11:00 +03:00