Commit Graph

12058 Commits

Author SHA1 Message Date
jl777
4d4a7cd55d https://github.com/zcash/zcash/pull/2259/commits
https://github.com/zcash/zcash/pull/2259/commits
2017-04-14 08:33:04 +03:00
Nathan Wilcox
451047d14a Bump version numbers for v1.0.8-1. 2017-04-13 17:10:32 -07:00
Daira Hopwood
60b7410cce Add check for JoinSplit priority as calculated by CCoinsViewCache::GetPriority.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-04-13 22:40:37 +01:00
Daira Hopwood
ec19e8e283 Simplify JoinSplit priority calculation. refs 1896
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-04-13 22:40:20 +01:00
str4d
c83c5932e4 Add unit test for security issue 2017-04-11.a 2017-04-13 17:59:36 +01:00
str4d
e40180aa0f Update tests to check actual infinity as well as INF_FEERATE 2017-04-13 17:59:36 +01:00
Daira Hopwood
0090c64534 Don't rely on a finite upper bound on fee rate or priority.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-04-13 17:59:36 +01:00
jl777
56403c7e15 Test 2017-04-10 17:35:51 +03:00
jl777
41ebe9c6a8 Test 2017-04-10 15:41:40 +03:00
jl777
20b4fe1d43 Test 2017-04-10 15:35:21 +03:00
jl777
f11e832013 Test 2017-04-10 10:17:07 +03:00
jl777
4206dee514 Test 2017-04-10 10:12:40 +03:00
jl777
967c5efdff Test 2017-04-10 10:08:08 +03:00
jl777
c5ab46041e Test 2017-04-10 10:06:42 +03:00
jl777
32f8faad5d Test 2017-04-10 09:58:57 +03:00
jl777
8094795afc Test 2017-04-10 09:57:54 +03:00
jl777
4415b53eed Test 2017-04-10 09:48:38 +03:00
Daira Hopwood
5a49c929dd Delete old protocol version constants and simplify code that used them.
fixes #2244

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-04-09 13:19:48 +01:00
jl777
02d067d7db 1.0.8 2017-04-08 16:42:29 +03:00
jl777
6e9f40ca49 Test 2017-03-30 05:42:52 +03:00
jl777
4e5be25928 Test 2017-03-30 05:40:36 +03:00
jl777
d5f3353d30 Test 2017-03-30 05:34:26 +03:00
jl777
e251f1edcd Test 2017-03-30 05:31:42 +03:00
jl777
ebbbc9345b Test 2017-03-30 05:28:40 +03:00
jl777
0e8cbf3ba1 Test 2017-03-30 05:26:43 +03:00
jl777
1cca98997f Test 2017-03-30 05:25:03 +03:00
jl777
14f3daa65f Test 2017-03-30 05:22:38 +03:00
jl777
f8402b5dd9 Test 2017-03-30 05:18:17 +03:00
jl777
7edaed9bc7 Test 2017-03-30 05:13:06 +03:00
jl777
b599dcc6f6 Test 2017-03-30 05:12:28 +03:00
jl777
0a3a81e076 Test 2017-03-30 05:07:23 +03:00
jl777
8645a9b446 Test 2017-03-30 05:01:33 +03:00
jl777
04b023802b Test 2017-03-30 04:39:41 +03:00
jl777
bcba24d157 Test 2017-03-30 04:37:22 +03:00
jl777
945f015d80 Initial merge 2017-03-30 04:35:16 +03:00
Jack Grigg
0d0265fd11 Use AtomicTimer for metrics screen thread count 2017-03-29 18:25:09 +13:00
Wladimir J. van der Laan
2854c4e366 Remove ChainParams::DefaultMinerThreads
No longer relevant after #5957. This hack existed because of another
hack where the numthreads parameter, on regtest, doubled as how many
blocks to generate.
2017-03-29 16:06:02 +13:00
Wladimir J. van der Laan
da1357e6cc Use real number of cores for default -par, ignore virtual cores
To determine the default for `-par`, the number of script verification
threads, use [boost::thread::physical_concurrency()](http://www.boost.org/doc/libs/1_58_0/doc/html/thread/thread_management.html#thread.thread_management.thread.physical_concurrency)
which counts only physical cores, not virtual cores.

Virtual cores are roughly a set of cached registers to avoid context
switches while threading, they cannot actually perform work, so spawning
a verification thread for them could even reduce efficiency and will put
undue load on the system.

Should fix issue #6358, as well as some other reported system overload
issues, especially on Intel processors.

The function was only introduced in boost 1.56, so provide a utility
function `GetNumCores` to fall back for older Boost versions.
2017-03-29 16:06:00 +13:00
Daira Hopwood
83aac13083 Update version numbers.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-03-27 21:01:18 +01:00
jl777
e41cf01052 WLC 2017-03-27 10:11:48 +03:00
jl777
d965945bda Test 2017-03-26 22:45:46 +03:00
jl777
d31a803782 Test 2017-03-26 22:23:06 +03:00
jl777
ba2a8aa714 Test 2017-03-26 22:05:42 +03:00
jl777
548befdc62 Test 2017-03-26 21:55:20 +03:00
jl777
38fb23568e Test 2017-03-26 21:52:55 +03:00
jl777
e86de02591 Test 2017-03-26 21:49:19 +03:00
jl777
a2a15c59f8 Test 2017-03-26 21:46:49 +03:00
jl777
c83e66e128 Test 2017-03-26 21:42:20 +03:00
jl777
9bd8223b2c Test 2017-03-26 21:36:03 +03:00
jl777
0c780ec8fa Test 2017-03-26 21:32:18 +03:00