Commit Graph

1963 Commits

Author SHA1 Message Date
Svyatoslav Nikolsky 92b0774cc6 hash incoming headers without holding sync lock 2019-04-05 12:05:09 +03:00
Svyatoslav Nikolsky 5d26582830 name all (excl main) threads 2019-04-05 11:27:19 +03:00
Svyatoslav Nikolsky d0b0249ca2 cache transaction outputs during block accept 2019-04-05 10:45:29 +03:00
Svyatoslav Nikolsky 0f6ff605d7
Merge pull request #71 from paritytech/disable_doublespend_check_for_coinbase
Disable TransactionDoubleSpend for coinbase transactions
2019-04-04 17:28:57 +03:00
Svyatoslav Nikolsky 71ccddd1b5
Merge pull request #70 from paritytech/do_not_verify_headers_twice2
Do not verify headers twice during synchronization
2019-04-04 17:28:49 +03:00
Svyatoslav Nikolsky f8e772b88d disable TransactionDoubleSpend for coinbase tx 2019-04-04 15:16:40 +03:00
Svyatoslav Nikolsky 76f2577c33 fixed test 2019-04-04 11:28:02 +03:00
Svyatoslav Nikolsky 54ba2892ec added HeadersVerifying block state + headers fetch heuristic 2019-04-04 10:36:07 +03:00
Svyatoslav Nikolsky 8d43a5ed2e fixed trace 2019-04-04 08:50:26 +03:00
Svyatoslav Nikolsky e0a4a04380 tweak sync constants for async headers verification 2019-04-04 07:25:25 +03:00
Svyatoslav Nikolsky 2626366c7c do not verify headers twice 2019-04-04 07:25:25 +03:00
Svyatoslav Nikolsky f69e0a00a1
Merge pull request #69 from paritytech/actually_verify_headers_async
Actually verify headers
2019-04-04 07:24:13 +03:00
Svyatoslav Nikolsky f1ae363000 do not saturate until there are headers verifying 2019-04-03 16:37:38 +03:00
Svyatoslav Nikolsky e947ae847c actually veify headers 2019-04-03 16:35:02 +03:00
Svyatoslav Nikolsky d93ba52f2c
Merge pull request #67 from paritytech/verify_headers_in_separate_thread
Verify headers in separate thread
2019-04-03 08:15:49 +03:00
Svyatoslav Nikolsky bc6ddbec63 fix docs 2019-04-02 14:05:45 +03:00
Svyatoslav Nikolsky 8926e83347 verify headers in separate thread 2019-04-02 14:03:55 +03:00
NikVolf 44e72c1503 augment test 2019-04-01 18:32:26 +03:00
NikVolf 8474d4aac1 smoky test 2019-04-01 17:41:13 +03:00
Svyatoslav Nikolsky 687e71c952
Merge pull request #65 from paritytech/equihash_optimization1
Optimize equihash implementation
2019-03-29 15:01:57 +03:00
Svyatoslav Nikolsky 6702102c3b
Merge pull request #66 from dconnolly/allow-dead-code-where-appropriate
Mark allow(dead_code) on compute_hsig() for now
2019-03-29 09:00:42 +03:00
Deirdre Connolly 347f217e0f Mark allow(dead_code) on compute_hsig() for now 2019-03-29 01:33:43 -04:00
NikVolf 79887986a9 half stubbed join split verification 2019-03-28 18:33:18 +03:00
Svyatoslav Nikolsky b5bc00a5dd equihash2 -> equihash 2019-03-28 17:27:55 +03:00
Svyatoslav Nikolsky bf8bb67a26 optimize equihash implementation 2019-03-28 17:25:50 +03:00
NikVolf 3b984adfd0 input api 2019-03-26 16:09:59 +03:00
Svyatoslav Nikolsky a31b7c0ac7
Merge pull request #63 from paritytech/minimize_hashing2
Minimize chain structures hashing (part#2)
2019-03-25 18:08:09 +03:00
Svyatoslav Nikolsky 961993e0a8 minimize hashing #2 2019-03-25 14:41:44 +03:00
Nikolay Volf bf9cb27353
Merge pull request #62 from paritytech/update-deps
Update and deduplicate dependencies
2019-03-25 11:53:25 +01:00
NikVolf 93b37f3192 update and dedup deps 2019-03-25 12:39:24 +03:00
Svyatoslav Nikolsky 0fd196d748
Merge pull request #61 from paritytech/penalize_for_unkown_headers
Penalize peer when receiving unknown headers message
2019-03-21 12:50:21 +03:00
Svyatoslav Nikolsky 3fedf352ac
Merge pull request #59 from paritytech/minimize_hashing
Minimize chain structures hashing (part#1)
2019-03-21 12:34:05 +03:00
Svyatoslav Nikolsky 746dcf503a penalize for unknown headers 2019-03-21 10:06:03 +03:00
Nikolay Volf b69ef3eada
Merge pull request #57 from paritytech/fix_getheaders_max_len
Changed max number of headers in the headers message
2019-03-20 17:27:03 +01:00
Svyatoslav Nikolsky ef9f2eb74c fixed bencher compilation 2019-03-20 16:20:00 +03:00
Svyatoslav Nikolsky 750579597b changed max number of headers in the headers message 2019-03-20 14:03:25 +03:00
Svyatoslav Nikolsky 481ad468ce do not decode (and also hash) messages that will be ignored because of syncing 2019-03-20 12:50:01 +03:00
Svyatoslav Nikolsky eb43e22cd3 explicint Indexed*::from_raw calls 2019-03-20 12:29:04 +03:00
Nikolay Volf 199af25098
Merge pull request #56 from paritytech/strict
Add some strictness and tests to pghr13
2019-03-19 13:23:38 +03:00
Nikolay Volf 4eb92627ef
Merge pull request #55 from paritytech/add-note
Add source for externsion field algo
2019-03-18 20:02:36 +03:00
NikVolf b4a9e9aa40 add strictness 2019-03-18 17:37:48 +01:00
NikVolf 6824acbb68 add source for externsion field algo 2019-03-18 17:06:00 +01:00
Nikolay Volf 969c827429
Merge pull request #54 from paritytech/macfix
Fix debug builds for some Mac OS setups
2019-03-18 10:30:59 +03:00
NikVolf 0df169bcc1 also cargo.lock commit 2019-03-15 19:47:17 +03:00
NikVolf 6cfcb328b3 add patch for heapsize 2019-03-15 19:45:28 +03:00
Nikolay Volf 9ac447fb76
Merge pull request #53 from paritytech/sprout
Some crypto primitives for PGHR13 proofs verification
2019-03-15 18:43:46 +03:00
NikVolf bde39bb90c use master for bn 2019-03-15 14:09:19 +03:00
NikVolf 7b697645a7 fix naming 2019-03-15 14:07:14 +03:00
NikVolf 52f4115b3c fix warnings 2019-03-14 15:25:11 +03:00
NikVolf b14184a503 final bits 2019-03-14 15:24:10 +03:00