Commit Graph

  • 03d5b7f0bf Add TestLowestChainBlockAboveOrEqualToBlueScore Ori Newman 2021-01-12 14:49:36 +02:00
  • 265ba61f5a Remove finality erroneous optimization from LowestChainBlockAboveOrEqualToBlueScore Ori Newman 2021-01-12 14:49:26 +02:00
  • c1361e5b3e
    Change log sizes and add some new features to logger (#1400) Elichai Turkel 2021-01-12 13:26:29 +02:00
  • b3c57b6961
    Add comment and increase log rotations to save last 64 logs Elichai Turkel 2021-01-12 13:16:56 +02:00
  • ef1413f624
    Merge branch 'v0.8.5-dev' into logger Elichai Turkel 2021-01-12 12:58:01 +02:00
  • 35a623045e
    Add more pruning related logs Elichai Turkel 2021-01-12 12:57:03 +02:00
  • 53744ceb45
    Compare transaction IDs with Equal (#1401) Ori Newman 2021-01-12 12:53:33 +02:00
  • 6b4d38c471 Compare transaction IDs with Equal Ori Newman 2021-01-12 12:44:46 +02:00
  • f01c8bf102
    Allow logs to be printed in the current working directory Elichai Turkel 2021-01-12 11:37:40 +02:00
  • 80e10e8572
    Add an option to not print logs to stdout Elichai Turkel 2021-01-12 11:37:11 +02:00
  • a9583a8e10
    Increase default log sizes, and increase kaspad log sizes Elichai Turkel 2021-01-12 11:36:29 +02:00
  • bcf2302460
    Add high hash to block locator, and add block locator tests (#1397) Ori Newman 2021-01-12 11:16:25 +02:00
  • 2bd8d89906 Remove redundant assignments Ori Newman 2021-01-12 10:04:04 +02:00
  • 9624b7e991 Fix review's comments. tal 2021-01-12 09:26:18 +02:00
  • a8bcf46b1e resolve conflicts Anastasiia 2021-01-11 23:11:36 +02:00
  • 5517e888f2 extend TestConsensus_GetBlockInfo Anastasiia 2021-01-11 23:05:38 +02:00
  • 7c4ac19203 DONE blockprocessor_test Anastasiia 2021-01-11 22:47:29 +02:00
  • a0ad9a6d32 [NOD-1427] refactor unit tests setup for block processor karim1king 2020-10-30 15:24:48 +02:00
  • 3ee1281f4a [NOD-1427] fix and improve unit tests for block processor karim1king 2020-10-30 13:53:55 +02:00
  • 47e2bb9053 [NOD-1427] write unit tests for block processor karim1king 2020-10-22 17:39:19 +03:00
  • 2d5a911952 Adds test for error cases on the function checkBlockStatus. tal 2021-01-11 19:18:13 +02:00
  • 496072c6d9
    Merge branch 'v0.8.5-dev' into add-high-hash-to-block-locator Ori Newman 2021-01-11 18:10:13 +02:00
  • 1e99089464 Remove redundant function Ori Newman 2021-01-11 18:07:50 +02:00
  • 69a5945486 Add tests for block locator Ori Newman 2021-01-11 18:06:40 +02:00
  • c3a70515fe Include high hash in the block locator Ori Newman 2021-01-11 18:06:18 +02:00
  • 6101e6bdb6
    Fix UTXO serialization, its test, and the static check that missed it (#1396) Ori Newman 2021-01-11 17:45:17 +02:00
  • ffa61e0eca
    Merge branch 'v0.8.5-dev' into fix-utxo-deserialization Elichai Turkel 2021-01-11 17:39:55 +02:00
  • d9b97afb92
    Don't swallow errors in HandleNewBlockTransactions. (#1390) stasatdaglabs 2021-01-11 17:16:15 +02:00
  • 06c45eeedb
    Merge branch 'v0.8.5-dev' into new-block-transactions-errors Ori Newman 2021-01-11 16:06:50 +02:00
  • 163466696b
    Merge branch 'v0.8.5-dev' into fix-utxo-deserialization Elichai Turkel 2021-01-11 15:57:55 +02:00
  • b8ca33d91d
    Add selected chain store and optimize block locator with it (#1394) Ori Newman 2021-01-11 15:51:45 +02:00
  • 954897e84a Use one line for static check Ori Newman 2021-01-11 15:47:59 +02:00
  • d977fc01f9 Remove duplicate case Ori Newman 2021-01-11 15:47:49 +02:00
  • b00090837a
    Merge branch 'v0.8.5-dev' into add-selected-chain-store Ori Newman 2021-01-11 15:43:28 +02:00
  • 94f8f39519 Merge remote-tracking branch 'origin/v0.8.5-dev' into fix-utxo-deserialization Ori Newman 2021-01-11 15:40:44 +02:00
  • c7deda41c6
    Fix deserialization of script version in UTXOSet deserialization (#1395) Svarog 2021-01-11 15:23:27 +02:00
  • 5534cf33b9 Fix UTXO serialization, its test, and the static check that missed it Ori Newman 2021-01-11 15:09:50 +02:00
  • 53eb32d280 Prevent endless loop in block locator Ori Newman 2021-01-11 15:08:40 +02:00
  • 097ffc00a2
    Merge branch 'v0.8.5-dev' into utxo-deserialization-bugs Svarog 2021-01-11 15:05:45 +02:00
  • 810f4eb20f Log the error when converting it into ErrMalformedUTXO Mike Zak 2021-01-11 15:04:28 +02:00
  • f0589a124b Add support for (de)serialization of (u)int16 Mike Zak 2021-01-11 14:35:51 +02:00
  • 75367f7014 Handle error when failed to deserialize Script version Mike Zak 2021-01-11 14:34:48 +02:00
  • 9fbcac8c40 Initalize protoUTXOSetIterator with index = -1 Mike Zak 2021-01-11 14:30:58 +02:00
  • 434cf45112
    Adds a new test to validate POW, and Fix Main-net and Test-net genesis block data. (#1389) talelbaz 2021-01-11 13:15:26 +02:00
  • f2a8b37e48 Remove boolean from HeadersSelectedChainStore interface Ori Newman 2021-01-11 13:14:30 +02:00
  • 196f6776b6 Use binary.LittleEndian directly to allow compiler optimizations Ori Newman 2021-01-11 13:06:57 +02:00
  • 18cb774ec2 Rename CalculateSelectedParentChainChanges to CalculateChainPath and SelectedParentChainChanges->SelectedChainPath Ori Newman 2021-01-11 12:55:30 +02:00
  • dd2c76eb65 Fix IsStaged Ori Newman 2021-01-11 12:50:47 +02:00
  • f8bfc74808 Fix comments Ori Newman 2021-01-11 12:49:51 +02:00
  • 9694de4650 Adds one arg to the function call "NewTestConsensus" (the function sig has changed). tal 2021-01-11 11:35:33 +02:00
  • ba551555a2 Fix build error Ori Newman 2021-01-11 10:36:34 +02:00
  • 177b3fadb9
    Merge branch 'v0.8.5-dev' into add-selected-chain-store Ori Newman 2021-01-11 10:27:23 +02:00
  • f66e59cb8e Add selected chain store and optimize block locator with it Ori Newman 2021-01-10 17:27:08 +02:00
  • c9b8e6f6a7
    Merge branch 'v0.8.5-dev' into checkPOWTest Ori Newman 2021-01-11 09:45:30 +02:00
  • 7d67cf6014 Change from <= to < in the for statement in "solveBlockWithWrongPOW" function tal 2021-01-10 15:50:34 +02:00
  • e89f1d160b Replace 0xFFFFFFFFFFFFFFFF to math.MaxUint64 in "solveBlockWithWrongPOW" function and change the function's comment of "TestPOW" tal 2021-01-10 15:30:42 +02:00
  • 058b4ae23a Replace 0xFFFFFFFFFFFFFFFF to math.MaxUint64 in "solveBlockWithWrongPOW" function and change the function's comment of "TestPOW" tal 2021-01-10 15:27:38 +02:00
  • 1a4683b7a3 Delete function "solveBlock" on proof_of_work_test.go and call the function mining.SolvaBlock instead. Also, remove using of random in "solveBlockWithWrongPOW" function. tal 2021-01-10 15:02:46 +02:00
  • 2cc0bf1639
    Optimize block locator using finality store (#1386) Elichai Turkel 2021-01-10 13:36:02 +02:00
  • cd76c2ce33
    Merge branch 'v0.8.5-dev' into locator-optimize Elichai Turkel 2021-01-10 13:24:17 +02:00
  • 6c65598b55 Don't swallow errors in HandleNewBlockTransactions. stasatdaglabs 2021-01-10 13:13:59 +02:00
  • 6ec441f549 Fix window's test for testnet and change the expected pruning point for mainnet and testnet. tal 2021-01-10 13:11:13 +02:00
  • 06d6ca7c73
    Use finalityStore to optimize LowestChainBlockAboveOrEqualToBlueScore Elichai Turkel 2021-01-10 12:40:53 +02:00
  • bc02705425
    Make sure block locator doesn't include a hash lower than the lowHash in the block locator Elichai Turkel 2021-01-10 11:47:58 +02:00
  • 5662f57546 Adds a new test to validate POW, and Fix Main-net and Testnet genesis block data. tal 2021-01-10 13:00:35 +02:00
  • 0f2d0d45b5
    Add TargetBlocksPerSecond for kaspaminer (#1385) Ori Newman 2021-01-10 12:44:24 +02:00
  • b40216b911
    Merge branch 'v0.8.5-dev' into add-target-block-rate-to-miner Svarog 2021-01-10 12:33:42 +02:00
  • 09e1a73340
    Added some logs to block-relay and IBD flows (#1384) Svarog 2021-01-10 12:05:34 +02:00
  • 96f67c2a23
    Merge branch 'v0.8.5-dev' into logs-to-flows stasatdaglabs 2021-01-10 11:54:20 +02:00
  • 5a5f41c0ca
    Merge branch 'v0.8.5-dev' into add-target-block-rate-to-miner Ori Newman 2021-01-10 11:51:41 +02:00
  • 2fe59ae42e Add TargetBlocksPerSecond for kaspaminer Ori Newman 2021-01-10 11:50:52 +02:00
  • afe00c85d3 Added some logs to block-relay and IBD flows Mike Zak 2021-01-10 11:41:20 +02:00
  • c6d20c1f6f
    Start IBDBlockLocator from PruningPoint instead of Genesis (#1383) Svarog 2021-01-10 11:06:06 +02:00
  • 59c0ad3378 Merge remote-tracking branch 'origin/v0.8.4-dev' into checkPOWTest tal 2021-01-10 11:03:43 +02:00
  • 0d127978b9 commit for do fetch&merge tal 2021-01-10 11:03:37 +02:00
  • 156f12604f Start IBDBlockLocator from PruningPoint instead of Genesis Mike Zak 2021-01-10 09:22:27 +02:00
  • 49e0a2a2e7
    Add basic support for archival node (#1370) Svarog 2021-01-10 10:25:15 +02:00
  • e09f5a59e2
    Merge branch 'v0.8.5-dev' into archival-node Svarog 2021-01-10 10:17:48 +02:00
  • 285ae5cd40
    Update READMEs and add CONTRIBUTING.md (#1381) Ori Newman 2021-01-10 09:13:00 +02:00
  • 2853cba7f1
    Merge branch 'v0.8.5-dev' into archival-node Svarog 2021-01-10 09:07:21 +02:00
  • 1d3ddf50e0 Update README.md Ori Newman 2021-01-07 18:09:45 +02:00
  • 4cd5558087 Update README.md Ori Newman 2021-01-07 18:01:31 +02:00
  • e268a65aba Update README.md Ori Newman 2021-01-07 17:48:25 +02:00
  • 9e4d6760b9 Update READMEs and CONTRIBUTING.md Ori Newman 2021-01-07 17:39:13 +02:00
  • b8f0912b15 Update go version Ori Newman 2021-01-07 17:23:11 +02:00
  • 3cfe0adc91 Update READMEs and add CONTRIBUTING.md Ori Newman 2021-01-07 17:18:54 +02:00
  • cfff49e4da Use spaces over tabs msutton 2021-01-07 17:05:12 +02:00
  • 541205904e
    Add RPC documentation (#1379) stasatdaglabs 2021-01-07 16:55:47 +02:00
  • 024b2a2a2e
    Merge branch 'v0.8.5-dev' into autogenerated-rpc-docs Ori Newman 2021-01-07 16:46:16 +02:00
  • 256b7f25f1
    Decrease grpc client dial timeout to one second (#1378) Ori Newman 2021-01-07 16:26:37 +02:00
  • c11f39cb38 Rerun go generate .. stasatdaglabs 2021-01-07 16:23:45 +02:00
  • bf42f1ed10 Fix formatting into protowire/README.md. stasatdaglabs 2021-01-07 16:16:58 +02:00
  • 9b518eccb5 Fix merge errors. stasatdaglabs 2021-01-07 16:14:53 +02:00
  • 4d30777864 Merge remote-tracking branch 'origin/v0.8.5-dev' into autogenerated-rpc-docs stasatdaglabs 2021-01-07 16:13:38 +02:00
  • d37e1b19a6 Fix a formatting error. stasatdaglabs 2021-01-07 16:04:15 +02:00
  • b7f4f660d0 Finish writing RPC documentation. stasatdaglabs 2021-01-07 16:01:46 +02:00
  • 3edbc8371a Decrease grpc client dial timeout to one second Ori Newman 2021-01-07 16:01:37 +02:00
  • 1d15e924a3 Continue writing RPC documentation. stasatdaglabs 2021-01-07 15:47:30 +02:00
  • 74a065e744 Use a custom protoc-gen-doc. stasatdaglabs 2021-01-07 15:04:18 +02:00
  • b0e8fecc47 Ignore local test datasets msutton 2021-01-07 14:40:07 +02:00