Commit Graph

  • 24a12cf2a1
    Fix subnetworks FromString and disable reversal (#1557) Elichai Turkel 2021-02-25 16:35:31 +02:00
  • cb48b216d5
    Merge branch 'v0.9.0-dev' into fix-subnetwork-fromstring Ori Newman 2021-02-25 16:26:25 +02:00
  • 30a770074f
    Change RPC conversation logic to use Stringer/FromString Elichai Turkel 2021-02-25 16:20:25 +02:00
  • bd3c39e2fe
    Fix DomaiNSubnetworkID FromString implementation Elichai Turkel 2021-02-25 16:19:56 +02:00
  • 2974425359
    Remove DomainSubnetworkID reversal Elichai Turkel 2021-02-25 16:19:31 +02:00
  • 6597f24bab Add changelog for v0.8.10 Mike Zak 2021-02-25 14:53:09 +02:00
  • 811a2a9717 Add changelog for v0.8.10 v0.8.10 v0.8.10-dev Mike Zak 2021-02-25 14:53:09 +02:00
  • dc84913214 Convert ProtocolError to value-type, so that it can be used withh errors.As + fix SubmitBlock ProtocolError condition (#1555) Svarog 2021-02-24 17:10:45 +02:00
  • 127fd065c5
    Convert ProtocolError to value-type, so that it can be used withh errors.As + fix SubmitBlock ProtocolError condition (#1555) v0.8.10-rc2 Svarog 2021-02-24 17:10:45 +02:00
  • 0d0d77efd8 Simplify condition further Mike Zak 2021-02-24 16:58:08 +02:00
  • 8246bdbad4 Convert ProtocolError to value-type, so that it can be used wihth errors.As Mike Zak 2021-02-24 16:56:01 +02:00
  • 880bb5c72c Fix condition from || to && Mike Zak 2021-02-24 16:55:38 +02:00
  • 201646282b
    Fix the target block rate to create less bursty mining (#1554) Ori Newman 2021-02-24 16:35:38 +02:00
  • 88e6dfffba
    Merge branch 'v0.9.0-dev' into fix-block-rate-target Svarog 2021-02-24 15:35:10 +02:00
  • 735bc2eef3 Fix the target block rate to create less bursty mining Ori Newman 2021-02-24 15:24:46 +02:00
  • 2a147fb46d Update to version 0.8.10 v0.8.10-rc1 Mike Zak 2021-02-24 13:24:22 +02:00
  • 0fa2237774
    Add isClosed to all iterators and panic/return error if used after closing Elichai Turkel 2021-02-21 15:48:17 +02:00
  • 3ab7807280
    Add defer iterator.Close() whenever we open an iterator Elichai Turkel 2021-02-18 11:57:55 +02:00
  • 02d7e42e87
    Add Close() function to all the iterators Elichai Turkel 2021-02-18 11:57:14 +02:00
  • 3f08bf87a8
    Fix mempool.RemoveTransactions (#1551) Svarog 2021-02-24 12:47:21 +02:00
  • c3525dbb23 Merge branch 'fix-remove-transactions' of github.com:kaspanet/kaspad into fix-remove-transactions Mike Zak 2021-02-24 12:14:46 +02:00
  • d6947f697b Don't crash if mempool.RemoveTransactions returns an error. log.Critical instead Mike Zak 2021-02-24 12:14:37 +02:00
  • 49f51c9144
    Merge branch 'v0.9.0-dev' into fix-remove-transactions Svarog 2021-02-24 10:50:06 +02:00
  • 581a12db96
    Add RPC reconnection to the miner (#1552) Ori Newman 2021-02-24 10:25:13 +02:00
  • 344b3ac910 Change logs Ori Newman 2021-02-24 10:19:12 +02:00
  • 399044221c
    Merge branch 'v0.9.0-dev' into fix-remove-transactions Svarog 2021-02-24 09:49:34 +02:00
  • 325b438862
    Merge branch 'v0.9.0-dev' into add-rpc-reconnection-to-miner Ori Newman 2021-02-23 18:25:12 +02:00
  • c202b73ecf Fix wrapf Ori Newman 2021-02-23 18:21:51 +02:00
  • a8a247c94d Add RPC reconnection to the miner Ori Newman 2021-02-23 18:18:59 +02:00
  • fb6c9c8f21
    Remove virtual diff parents (#1550) Svarog 2021-02-23 17:19:35 +02:00
  • 1fca3e78ef Merge remote-tracking branch 'origin/v0.9.0-dev' into remove-virtual-diff-parents Mike Zak 2021-02-23 17:00:50 +02:00
  • f5babe504e Merge branch 'remove-virtual-diff-parents' of github.com:kaspanet/kaspad into remove-virtual-diff-parents Mike Zak 2021-02-23 16:54:00 +02:00
  • 2cf77a4dc7 Write a better log message Mike Zak 2021-02-23 16:53:52 +02:00
  • 2adb4f5d0f
    Fix UTXO index (#1548) Ori Newman 2021-02-23 16:51:51 +02:00
  • 1661b03b7d Fix mempool.RemoveTransactions Mike Zak 2021-02-23 16:26:59 +02:00
  • 713d6151b8
    Merge branch 'v0.9.0-dev' into fix-utxoindex Elichai Turkel 2021-02-23 16:22:48 +02:00
  • 616137e8f0
    Merge branch 'v0.9.0-dev' into remove-virtual-diff-parents Svarog 2021-02-23 15:52:08 +02:00
  • 2a06726e53 Remove receiver from serialization functions Ori Newman 2021-02-23 15:47:36 +02:00
  • 212bc30a36 Add comment Ori Newman 2021-02-23 15:45:15 +02:00
  • 4d3465b0a6 Add sanity check Ori Newman 2021-02-23 15:41:13 +02:00
  • f616dbe8c4 Rename StopNotify to StopNotifying Ori Newman 2021-02-23 15:35:58 +02:00
  • 3620757f57 Change LogBlock location Ori Newman 2021-02-23 15:31:33 +02:00
  • e94d5d5cb2 Check an unchecked error Mike Zak 2021-02-23 15:01:11 +02:00
  • e04e7ab878 If block is genesis - don't do all the mumbo-jumbo with oldSelectedTip Mike Zak 2021-02-23 14:30:48 +02:00
  • da37955682 Remove any mentions of virtualDiffParents Mike Zak 2021-02-23 14:24:14 +02:00
  • 8c67feec3c resolveSingleBlockStatus: If the block being resolved is going to be the next selectedTip - set it as old selectedTip's diffChild Mike Zak 2021-02-23 14:06:14 +02:00
  • 9ffda2b1da
    Change disconnect log level to INFO (#1549) Ori Newman 2021-02-23 13:52:47 +02:00
  • 93010cd17d resolveSingleBlockStatus: If the block being resolved is not going to be the next selectedTip - set it's diffParent to be the old selectedTip Mike Zak 2021-02-23 12:50:49 +02:00
  • 0425bf0be3 Add disconnected log and change log levels Ori Newman 2021-02-23 12:45:14 +02:00
  • 6d90a38b64 Change Dialing to DEBUG Ori Newman 2021-02-23 12:31:08 +02:00
  • d5367d3f4b Change disconnect log level to INFO Ori Newman 2021-02-23 12:28:40 +02:00
  • 00de5d59ec Fix iterators in UTXO index and fix TestUTXOIndex Ori Newman 2021-02-22 19:09:41 +02:00
  • 7a9862ab93 Fix compilation error Ori Newman 2021-02-22 15:58:42 +02:00
  • d2693fa834 [NOD-1429] Add additional test karim1king 2020-11-11 18:51:36 +02:00
  • 2676e6a6f4 [NOD-1429] add mining manager unit tests karim1king 2020-11-11 03:08:22 +02:00
  • 5d03d72bd3 commit for update the branch with current version nod-1429-write-specified-unit-tests-for-Miner tal 2021-02-22 15:25:41 +02:00
  • 487796e732
    Merge branch 'v0.9.0-dev' into fix-utxoindex Ori Newman 2021-02-22 14:18:28 +02:00
  • caf28440be Add UTXO set override notification Ori Newman 2021-02-22 14:16:37 +02:00
  • bee0893660
    Renamed BlueBlockWindow to just BlockWindow (#1547) Svarog 2021-02-22 11:33:39 +02:00
  • e43189bf72
    Merge branch 'v0.9.0-dev' into rename-blue-block-window Svarog 2021-02-22 10:34:29 +02:00
  • 89a3b2001a Update comment Mike Zak 2021-02-22 10:34:04 +02:00
  • 5a200606c9 Renamed BlueBlockWindow to just BlockWindow Mike Zak 2021-02-22 10:30:25 +02:00
  • 435c667c45 Add recovery to UTXO index Ori Newman 2021-02-21 19:50:02 +02:00
  • a7bb1853f9
    Adds tests for transaction validator and block validators (#1531) talelbaz 2021-02-21 17:46:22 +02:00
  • 915c0399bb Change spaces to tab tal 2021-02-21 17:29:57 +02:00
  • 4e2c58facb adds missing '}'. tal 2021-02-21 17:18:23 +02:00
  • 47ac77a529
    Merge branch 'v0.9.0-dev' into nod-1453-write-specified-unit-tests-for-transaction-and-block-validators talelbaz 2021-02-21 17:12:57 +02:00
  • 35e555e959
    Tests validateDifficulty ( ValidatePruningPointViolationAndProofOfWorkAndDifficulty) (#1532) talelbaz 2021-02-21 17:00:34 +02:00
  • 7c9a0e3f8e Merge branch 'nod-1453-write-specified-unit-tests-for-transaction-and-block-validators' of github.com:kaspanet/kaspad into nod-1453-write-specified-unit-tests-for-transaction-and-block-validators tal 2021-02-21 16:56:38 +02:00
  • c4e3e1b44e Merge remote-tracking branch 'origin/v0.9.0-dev' into nod-1453-write-specified-unit-tests-for-transaction-and-block-validators tal 2021-02-21 16:52:05 +02:00
  • 8711c4698e Change a variable name(txWithAnEmptyInvalidScript to txWithInvalidSignature). tal 2021-02-21 16:51:01 +02:00
  • d28b07e26f Remove an unused test( all the tests in this file were passed to other test files). tal 2021-02-21 16:47:16 +02:00
  • 4de096f0bf
    Merge branch 'v0.9.0-dev' into validateDifficultyTest Ori Newman 2021-02-21 16:36:07 +02:00
  • 2e559e56fa Fix according to review - fix comments. tal 2021-02-21 16:33:02 +02:00
  • d6f991bb4d
    Merge branch 'v0.9.0-dev' into nod-1453-write-specified-unit-tests-for-transaction-and-block-validators talelbaz 2021-02-21 16:16:50 +02:00
  • a250f697ee
    Prevent fast failing (#1545) Elichai Turkel 2021-02-21 16:09:19 +02:00
  • 502d32dd9e
    Merge branch 'v0.9.0-dev' into nod-1453-write-specified-unit-tests-for-transaction-and-block-validators talelbaz 2021-02-21 16:08:40 +02:00
  • 45ebdcc09a Add OnPruningPointUTXOSetOverrideHandler Ori Newman 2021-02-21 16:00:44 +02:00
  • 17b359ec56 Fix comment. tal 2021-02-21 15:53:10 +02:00
  • 0b83303a81 Fixes according to the review notes: add notes and change variables name. tal 2021-02-21 15:50:35 +02:00
  • 5ee35c0225 Add GetVirtualUTXOs Ori Newman 2021-02-21 13:57:25 +02:00
  • 4109ea960c
    Merge branch 'v0.9.0-dev' into actions Elichai Turkel 2021-02-21 12:15:45 +02:00
  • f66708b3c6
    Make the CI more verbose and cache kaspad dependencies in the dockerfile (#1541) Elichai Turkel 2021-02-21 12:15:32 +02:00
  • 02fca7c2cc
    Merge branch 'v0.9.0-dev' into verbose-ci Svarog 2021-02-21 11:59:04 +02:00
  • b896c93ccb
    Prevent fast failing Elichai Turkel 2021-02-21 11:55:02 +02:00
  • 8fbea5d239
    Increase the sleep time in kaspaminer when the node is not synced (#1544) Svarog 2021-02-21 11:46:06 +02:00
  • 574613bfa4
    Merge branch 'v0.9.0-dev' into increase-polling-interval-when-not-synced stasatdaglabs 2021-02-21 11:37:52 +02:00
  • 1f9275233f Fixes according to the review notes:delete the function genesisBits - No usages. tal 2021-02-21 11:01:45 +02:00
  • 54f10c9611
    Merge branch 'v0.9.0-dev' into verbose-ci Svarog 2021-02-21 09:20:20 +02:00
  • 5fa06fe7d7
    Upgrade everything to go1.16 (#1539) Svarog 2021-02-21 09:17:21 +02:00
  • 6f11c657c1 Increase the sleep time in kaspaminer when the node is not synced Mike Zak 2021-02-21 08:48:06 +02:00
  • de7acfb807 Add VirtualUTXODiff and VirtualParents to block insertion result Ori Newman 2021-02-18 14:14:24 +02:00
  • b521a59540
    Merge branch 'v0.9.0-dev' into go-1-16 Ori Newman 2021-02-18 11:56:55 +02:00
  • 3b8eda2226 go test race detector in github actions at cron job (#1534) v0.8.9-rc2 v0.8.9 v0.8.9-dev Elichai Turkel 2021-02-17 18:59:42 +02:00
  • 06fd6f1b95
    Parallelize tests on Dockerfile (#1540) Ori Newman 2021-02-18 11:38:44 +02:00
  • 54782b0046
    Improve the docker caching of kaspad dependencies Elichai Turkel 2021-02-18 10:57:56 +02:00
  • 848733bc77
    Make the CI more verbose Elichai Turkel 2021-02-18 10:47:13 +02:00
  • d4e8f17457
    Merge branch 'v0.9.0-dev' into paralellize-tests-on-dockerfile Svarog 2021-02-18 10:41:45 +02:00
  • d2f4ed660c
    Disallow header only blocks on RPC, relay and when requesting IBD full blocks (#1537) Ori Newman 2021-02-18 10:39:12 +02:00
  • 5f210f023d
    Merge branch 'v0.9.0-dev' into paralellize-tests-on-dockerfile Ori Newman 2021-02-18 10:34:35 +02:00