Commit Graph

734 Commits

Author SHA1 Message Date
Pieter Wuille
6514771a44 Rename to PrecomputedTransactionData 2018-02-20 04:22:20 +00:00
Pieter Wuille
f762d44973 Precompute sighashes
Original version by Nicolas Dorier. Precomputing version by Pieter Wuille.

Edited for Zcash by Ariel Gabizon and Jack Grigg
2018-02-20 04:22:20 +00:00
21E14
8cb98d9105 Remove obsolete reference to CValidationState from UpdateCoins. 2018-02-20 04:22:18 +00:00
Homu
49274558c6 Auto merge of #2940 - str4d:nu-activation-mempool-expiry, r=str4d
Mempool improvements, branch ID awareness

Whenever the local chain tip is updated, transactions in the mempool which commit to an
unmineable branch ID (for example, just before a network upgrade activates, where the
next block will have a different branch ID) will be removed.

Includes commits cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6654
  - Only the mempool index change.
- bitcoin/bitcoin#6776
- bitcoin/bitcoin#7020
- bitcoin/bitcoin#6915

Part of #2074.
2018-02-19 19:00:30 -08:00
Simon
072099d788 Implementation of Overwinter transaction format ZIP 202. 2018-02-16 10:10:15 -08:00
jl777
ac756fd8bb Test 2018-02-13 22:32:14 +02:00
jl777
da7b748e6b Test 2018-02-13 22:30:59 +02:00
jl777
d209491abf Test 2018-02-13 22:25:30 +02:00
jl777
3ca78e0142 Test 2018-02-13 22:06:20 +02:00
jl777
94a465a6e9 Test 2018-02-13 21:59:39 +02:00
jl777
8683bd8d11 Debugging 2018-02-13 21:29:42 +02:00
jl777
de615b43f7 Disable price feed 2018-02-10 15:12:32 +02:00
Ashley Holman
e328fa32b3 TxMemPool: Change mapTx to a boost::multi_index_container
Indexes on:
- Tx Hash
- Fee Rate (fee-per-kb)
2018-02-09 18:35:25 +00:00
syd
dffc025d38 Get rid of consensus.fPowAllowMinDifficultyBlocks.
This closes #1380
2017-11-23 12:20:50 -05:00
jl777
5416af1ddc KOMODO_DEFS_H 2017-11-10 19:15:34 +02:00
jl777
7c130297c2 KOMODO_ASSETCHAIN_MAXLEN -> 65 2017-11-10 19:07:36 +02:00
jl777
b4810651af Test 2017-08-26 13:56:11 +02:00
jl777
768dccac67 Test 2017-08-26 11:04:47 +02:00
jl777
c2daacd692 Test 2017-08-26 10:56:13 +02:00
jl777
d2d3c76629 Test 2017-07-13 11:09:26 +02:00
jl777
b35ca43347 reduce asset chain reorgs 2017-07-12 10:00:14 +02:00
jl777
1141b67821 Revert interest changes 2017-06-04 20:09:30 +03:00
jl777
5d2f557e44 Disable mining unclaimed interest 2017-06-04 19:39:48 +03:00
jl777
403044796e Remove print 2017-04-28 15:16:39 +03:00
jl777
5908165a3d Test 2017-04-27 09:33:10 +03:00
jl777
de939fbb37 Test 2017-04-26 23:24:49 +03:00
jl777
438ba9c17d Test 2017-04-26 23:14:14 +03:00
jl777
1e3f8b44fe Test 2017-04-26 23:10:31 +03:00
jl777
d1d08494e9 Test 2017-04-26 23:06:33 +03:00
jl777
952b990570 Test 2017-04-26 23:00:30 +03:00
jl777
b7ba6413b6 Test 2017-04-26 22:34:31 +03:00
jl777
cc83230c1c Test 2017-04-26 22:32:29 +03:00
jl777
4e624c0452 Test 2017-04-26 19:29:36 +03:00
jl777
edfca062df Test 2017-04-26 19:24:27 +03:00
jl777
1a31463b3d Test 2017-04-26 19:00:44 +03:00
jl777
2825c0b505 Mesh crash test 2017-04-26 18:25:20 +03: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
02d067d7db 1.0.8 2017-04-08 16:42:29 +03:00
jl777
945f015d80 Initial merge 2017-03-30 04:35:16 +03: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
jl777
d965945bda Test 2017-03-26 22:45:46 +03:00
jl777
b000fa04a6 Test 2017-03-26 12:53:24 +03:00
jl777
83f1c673bf Test 2017-03-25 23:05:17 +02:00
jl777
23bf71d1f6 Test 2017-03-25 20:36:39 +02:00
jl777
67478d4a4c Test 2017-03-25 19:06:21 +02:00
jl777
1812efacf4 Test 2017-03-25 18:50:05 +02:00