Commit Graph

  • ea46808dac [DEV-336] Remove redundant checks in updateAddrNew and updateAddrTried Ori Newman 2019-01-28 13:11:27 +02:00
  • e63b992885 Merge remote-tracking branch 'origin/master' into dev-341-increase-mining-test-coverage Ori Newman 2019-01-28 13:07:49 +02:00
  • 97805ae3ca [DEV-341] Test GasLimit filtering in NewBlockTemplate Ori Newman 2019-01-28 13:07:33 +02:00
  • a82e6ae24a [DEV-92] Package blockdag tests (#177) stasatdaglabs 2019-01-27 18:04:31 +02:00
  • 3a1be3b86e [DEV-92] Fixed formatting. Stas Boutenko 2019-01-27 17:27:45 +02:00
  • 1b8151889d Merge branch 'master' into dev-92-blockdag-tests Stas Boutenko 2019-01-27 17:24:49 +02:00
  • 354ce34a85 [DEV-92] Covered utxoSet with tests. Stas Boutenko 2019-01-27 16:41:12 +02:00
  • 9b7020e013 Merge remote-tracking branch 'origin/master' into dev-341-increase-mining-test-coverage Ori Newman 2019-01-27 15:27:19 +02:00
  • 31e1b0a030 [DEV-336] Load DAG with subnetwork from the config file Ori Newman 2019-01-27 15:20:41 +02:00
  • e617b1fea0 [DEV-92] Covered error.go with tests. Stas Boutenko 2019-01-27 15:20:40 +02:00
  • 5d5fc8cfaf Merge remote-tracking branch 'origin/master' into dev-336-update-peer-package-to-accomodate-partial-nodes Ori Newman 2019-01-27 15:15:31 +02:00
  • 0693e82f08 [DEV-336] Split addresses in address manager by subnetwork id Ori Newman 2019-01-24 15:34:23 +02:00
  • 8d4a8522c4 [DEV-92] Got rid of some old stuff related to STXOs. Stas Boutenko 2019-01-27 15:10:49 +02:00
  • dd10ba6cb1 [DEV-92] Covered blockset.go with tests. Stas Boutenko 2019-01-27 15:01:42 +02:00
  • c4f6a1d569 [DEV-92] Added tests for blockSet.subtract and blockSet.addSet. Stas Boutenko 2019-01-27 14:43:28 +02:00
  • 100fbbaaa4 [DEV-361] Create type TxID as alias to daghash.Hash. (#175) Evgeny Khirin 2019-01-27 14:27:10 +02:00
  • e653558838 [DEV-361] Fixed more missed renames Evgeny Khirin 2019-01-27 14:24:06 +02:00
  • a719a73e08 [DEV-361] Removed usage of zeroHash Evgeny Khirin 2019-01-27 14:12:02 +02:00
  • 22a983c145 [DEV-92] Added test for blockSet.highest. Fixed a bug in it. Stas Boutenko 2019-01-27 14:03:59 +02:00
  • 2110f4fd04 [DEV-361] Fixed missed renames Evgeny Khirin 2019-01-27 13:52:17 +02:00
  • f016e3892f [DEV-361] Create type TxID as alias to daghash.Hash. Use it for transaction IDs Evgeny Khirin 2019-01-27 13:24:46 +02:00
  • 91d346d4b2 [DEV-92] Covered blocknode.go with tests. Stas Boutenko 2019-01-27 13:24:03 +02:00
  • 9a2eee78a4 [DEV-319] Update WS-API call notifyNewTransactions to allow filtering by SubNetworkID (#174) stasatdaglabs 2019-01-24 18:18:03 +02:00
  • d3bc1971b9 [DEV-319] Added comments to explain the initialization of marshalledJSONVerboseFull and marshalledJSONVerbosePartial. Stas Boutenko 2019-01-24 17:59:11 +02:00
  • 9f93a1c50b [DEV-311] Enforce gas limit in blocks (#172) Svarog 2019-01-24 17:25:11 +02:00
  • 941bba10b7 [DEV-311] Removed remaining dag-specific parameters from checkBlockSanity Mike Zak 2019-01-24 17:17:55 +02:00
  • fb70715db7 [DEV-311] some chain=>DAG updates in comments Mike Zak 2019-01-24 17:14:04 +02:00
  • 6bf9366873 [DEV-311] Update gas usage before Mike Zak 2019-01-24 16:57:20 +02:00
  • ad33e5daf5 [DEV-319] Added a check in handleNotifyNewTransactions to avoid unnecessary validation. Stas Boutenko 2019-01-24 16:44:54 +02:00
  • 3b2d9fa946 [DEV-311] Removed SubnetworkID as parameter to CheckBlockSanity Mike Zak 2019-01-24 16:42:25 +02:00
  • 684d184ec7 [DEV-319] Added a test for marshalling/unmarshalling the new varient of notifyNewTransactions. Stas Boutenko 2019-01-24 15:28:26 +02:00
  • 276c2d93ab [DEV-319] Renamed a parameter for clarity. Stas Boutenko 2019-01-24 15:06:18 +02:00
  • 060513ea41 [DEV-319] Reduced some duplication in notifyForNewTx. Stas Boutenko 2019-01-24 15:03:58 +02:00
  • b3f64e557f [DEV-319] Implemented NotifyNewTransactions command validation. Stas Boutenko 2019-01-24 14:54:31 +02:00
  • c87467e731 [DEV-319] Implemented transaction data sending logic. Stas Boutenko 2019-01-24 13:55:07 +02:00
  • 6960e2469a [DEV-212] Removed looping by extraNonce in cpuminer (#173) Evgeny Khirin 2019-01-24 12:25:37 +02:00
  • b207375b90 [DEV-212] Fixed build Evgeny Khirin 2019-01-24 12:20:55 +02:00
  • 1f140ee8da [DEV-212] Removed looping by extraNonce in cpuminer Evgeny Khirin 2019-01-24 11:55:03 +02:00
  • 40a5a64ff9 [DEV-311] Moved CheckBlockSanity to be method of BlockDAG, and removed subnetworkStore argument Mike Zak 2019-01-23 17:55:51 +02:00
  • 6433c5b2b4 [DEV-311] Added subnetworkID to config in TestcheckBlockSanity Mike Zak 2019-01-23 17:31:56 +02:00
  • 6f57dcada9 Merge remote-tracking branch 'origin/master' into dev-311-gas-limit Mike Zak 2019-01-23 17:26:34 +02:00
  • b7850b382d [DEV-339] Check how mempool handles dependent transactions, see if there's any problem there (if so - fix it), and tell the team about it (#169) Evgeny Khirin 2019-01-23 16:38:46 +02:00
  • 9507ed0a97 [DEV-351] Disallow unrequested transactions (#171) Svarog 2019-01-23 16:34:57 +02:00
  • c524b1c92d Merge branch 'master' into dev-339-mempool-dependent-transactions-4 Evgeny Khirin 2019-01-23 16:25:08 +02:00
  • f003e2f97f [DEV-339] Changed addTransaction do not loop on inputs second time Evgeny Khirin 2019-01-23 15:02:27 +02:00
  • 349e62fcd5 [DEV-332] Create partial block message in wire and make sure partial nodes receive partial blocks (#170) stasatdaglabs 2019-01-23 14:51:05 +02:00
  • 9728929652 Merge remote-tracking branch 'origin/master' into dev-351-disallow-unrequested-txs Mike Zak 2019-01-23 14:28:19 +02:00
  • 4635520d30 [DEV-332] Fixed bad ConvertToPartial condition. Stas Boutenko 2019-01-23 14:25:34 +02:00
  • 41b8164f28 [DEV-351] Disallow unrequested transactions Mike Zak 2019-01-23 14:24:58 +02:00
  • eb74297d1f Merge remote-tracking branch 'origin/master' into dev-332-partial-blocks Stas Boutenko 2019-01-23 14:11:18 +02:00
  • b963c0d364
    Dev 334 make id merkle root and transaction id, fix tests, and add new tests (#166) Ori Newman 2019-01-23 14:04:23 +02:00
  • b3bda05e41 [DEV-332] Extracted ConvertToPartial to its own method. Added a test. Added a condition for converting to a partial block. Stas Boutenko 2019-01-23 14:00:56 +02:00
  • cdfe0fda4b [DEV-334] fix serializeSize comment Ori Newman 2019-01-23 13:59:32 +02:00
  • 5f18cca707 [DEV-334] add comment to dag.SubnetworkID() Ori Newman 2019-01-23 13:30:18 +02:00
  • ea2e9e18f3 Merge remote-tracking branch 'origin/master' into dev-334-make-id-merkle-root Ori Newman 2019-01-23 13:29:50 +02:00
  • 9643a67827 [DEV-334] Add Root method for merkle root Ori Newman 2019-01-23 13:02:36 +02:00
  • 9811c7c670 [DEV-339] Removed extra loop in addTransaction function Evgeny Khirin 2019-01-23 13:16:05 +02:00
  • 8b6691ae13 [DEV-339] Fixed compilation Evgeny Khirin 2019-01-22 18:03:41 +02:00
  • b9ace74022 [DEV-339] Small fixes after code review Evgeny Khirin 2019-01-22 18:01:52 +02:00
  • bcff4794f0 [DEV-332] Implemented clearing out the payloads of transactions of outgoing blocks for partial nodes. Stas Boutenko 2019-01-22 16:53:30 +02:00
  • 0e8eeada05 Merge remote-tracking branch 'origin/master' into dev-311-gas-limit Mike Zak 2019-01-22 16:20:15 +02:00
  • 2340a314a9 [DEV-332] Got rid of NTBlockDisconnected, as no one was ever triggering it. (It was part of reorg) Stas Boutenko 2019-01-22 16:11:10 +02:00
  • ab59bae2b0 [DEV-339] Handling of dependent transactions in mempool Evgeny Khirin 2019-01-22 14:56:53 +02:00
  • a98e774cc6 Merge remote-tracking branch 'origin/master' into dev-332-partial-blocks Stas Boutenko 2019-01-22 13:58:32 +02:00
  • 4be23bff07 [DEV-348] Don't send transactions of wrong sub-network to partial peers, and reject messages of such (#164) stasatdaglabs 2019-01-22 13:56:40 +02:00
  • 31d07fe6a6 [DEV-332] Got rid of MerkleProof. Turns out we no longer need it. Stas Boutenko 2019-01-22 13:41:21 +02:00
  • 2f17fc7dc3 [DEV-332] Fixed merge issues. Stas Boutenko 2019-01-22 13:18:23 +02:00
  • bc68b9442f Merge remote-tracking branch 'origin/master' into dev-332-partial-blocks Stas Boutenko 2019-01-22 13:16:50 +02:00
  • f318b3a4df [DEV-348] Removed an unnecessary check over the native subnetwork. Stas Boutenko 2019-01-22 12:16:38 +02:00
  • 0b38c99b7b [DEV-348] Extracted subnetwork compatibility to a method. Wrote a test for it. Stas Boutenko 2019-01-22 12:11:58 +02:00
  • 459701890f [DEV-348] Rephrased a comment. Stas Boutenko 2019-01-22 11:19:28 +02:00
  • d22803ce87 [DEV-334] Add ID() function to Coin interface and rename hash to txID in a few places Ori Newman 2019-01-21 18:25:45 +02:00
  • d4e1c12f11 [DEV-339] Handle dependent transactions as orphans Evgeny Khirin 2019-01-21 17:44:37 +02:00
  • fe4f5f5ba4 [DEV-348] Fixed a bug in transaction validation. Stas Boutenko 2019-01-21 16:18:20 +02:00
  • 7e739a6430 [DEV-352] Fix phantom hack (#167) Ori Newman 2019-01-21 15:46:23 +02:00
  • de61d4763c [DEV-348] Fixed formatting. Stas Boutenko 2019-01-21 15:27:54 +02:00
  • 27403c3f4d [DEV-348] Added a check for invalid transaction in maybeAcceptTransaction. Added handling for native networks. Stas Boutenko 2019-01-21 15:25:13 +02:00
  • e5c41fdf7f [DEV-352] Fix phantom hack Ori Newman 2019-01-21 13:59:04 +02:00
  • 461fa2c1c6 [DEV-334] fix SubnetworkDAGCoin -> SubnetworkIDNative Ori Newman 2019-01-20 18:10:32 +02:00
  • 2f778b1eab Merge remote-tracking branch 'origin/master' into dev-334-make-id-merkle-root Ori Newman 2019-01-20 18:06:28 +02:00
  • d986f47538 [DEV-334] Fix tests Ori Newman 2019-01-17 18:18:56 +02:00
  • 4c8715e27c Merge branch 'master' into dev-348-partial-transactions Stas Boutenko 2019-01-20 16:44:39 +02:00
  • f00651c4e3 [DEV-353] Rename subnetwork to subnetworkID everywhere in the code except for the command line flag (#165) stasatdaglabs 2019-01-20 16:22:25 +02:00
  • f5f9407a8f [DEV-353] Renamed dagcoin -> native. Stas Boutenko 2019-01-20 16:15:26 +02:00
  • bd76126a62 [DEV-348] Renamed isRemoteTransactionFull to shouldTxBeFull. Stas Boutenko 2019-01-20 16:07:41 +02:00
  • b5805a4420 [DEV-353] Renamed subnetwork -> subnetworkID. Stas Boutenko 2019-01-20 15:49:42 +02:00
  • 3a4542e544 [DEV-348] Fixed formatting. Stas Boutenko 2019-01-20 13:03:03 +02:00
  • ec8fb6872c [DEV-348] Added a comment for Config.SubnetworkID. Stas Boutenko 2019-01-20 12:56:30 +02:00
  • 1fcdaeee46 [DEV-348] Added test for non-zero payload partial transactions. Stas Boutenko 2019-01-20 12:51:38 +02:00
  • a4388edbd4 [DEV-348] Fixed broken tests. Stas Boutenko 2019-01-20 12:27:49 +02:00
  • ff5934b5af [DEV-348] Implemented filtering inventory by subnetwork. Stas Boutenko 2019-01-20 12:22:59 +02:00
  • f05ef3fa61 [DEV-348] Added a (incomplete) filter for propogation of transactions. Stas Boutenko 2019-01-20 12:00:46 +02:00
  • 0d19918ba6 [DEV-348] Implemented validating incoming transactions for bad partial transactions. Stas Boutenko 2019-01-17 16:21:11 +02:00
  • 5d40088e3b [DEV-311] Add SubnetworkStore to last remaining call for CheckBlockSanity Mike Zak 2019-01-17 12:43:31 +02:00
  • abb9f41259 Added gas validation in CheckBlockSanity Mike Zak 2019-01-16 17:00:14 +02:00
  • 961ada2918 [DEV-311] Moved subnetwork storage from directly in DAG to subnetworkStore Mike Zak 2019-01-16 16:59:39 +02:00
  • 5792b5d0d0 Merge remote-tracking branch 'origin/master' into dev-334-make-id-merkle-root Ori Newman 2019-01-15 17:19:35 +02:00
  • b8fcd6072c [DEV-334] Fix tests Ori Newman 2019-01-15 17:14:34 +02:00
  • 4bab20a99e Merge branch 'master' into dev-348-partial-transactions Stas Boutenko 2019-01-15 16:27:51 +02:00
  • 10ee7df252 [DEV-333] Update version message to include sub-network (#163) stasatdaglabs 2019-01-15 16:25:56 +02:00