Commit Graph

7189 Commits

Author SHA1 Message Date
lateminer
eea97b0e37 Make it compile and apply some fixes 2018-10-14 22:49:30 +03:00
lateminer
af1585d232 Update client version to 2.12.2.1 2018-10-14 19:09:13 +03:00
lateminer
f7422db2f7 Update to Core 0.12.2 2018-10-14 19:07:51 +03:00
Gregory Maxwell
1bf644c43f IBD check uses minimumchain work instead of checkpoints. 2018-10-14 17:00:29 +03:00
lateminer
75402d67c1 Remove checkpoints for regtest 2018-10-14 16:48:47 +03:00
lateminer
9cc4974283 Make it compile 2018-10-14 16:44:21 +03:00
Pavel Janík
e670323162 Log invalid block hash to make debugging easier. 2018-10-14 15:26:26 +03:00
Gregory Sanders
edf4aef1e2 reduce number of lookups in TransactionWithinChainLimit 2018-10-14 15:20:09 +03:00
Gregory Sanders
96b938e00c CreateTransaction: Don't return success with too-many-ancestor txn 2018-10-14 15:19:59 +03:00
ptschip
99c318c13f Do not download transactions during inital sync 2018-10-14 15:11:16 +03:00
Gregory Sanders
8a0d1a55f9 SelectCoinsMinConf: Prefer coins with fewer ancestors 2018-10-14 15:06:03 +03:00
Russell Yanofsky
db82c9a2cf Add microbenchmarks to profile more code paths.
The new benchmarks exercise script validation, CCoinsDBView caching,
mempool eviction, and wallet coin selection code.

All of the benchmarks added here are extremely simple and don't
necessarily mirror common real world conditions or interesting
performance edge cases. Details about how specific benchmarks can be
improved are noted in comments.

Github-Issue: #7883
2018-10-14 14:59:41 +03:00
Luke Dashjr
22cb3dc62b Add MIT license to Makefiles 2018-10-14 14:59:27 +03:00
Yuri Zhykin
ecf2bf5582 bench: Added base58 encoding/decoding benchmarks 2018-10-14 14:58:18 +03:00
Wladimir J. van der Laan
dc38daaf38 bench: Add crypto hash benchmarks
Add benchmarks for the cryptographic hash algorithms:

- RIPEMD160
- SHA1
- SHA256
- SHA512

Continues work on #7883.
2018-10-14 14:58:09 +03:00
Pieter Wuille
cc2794d2f8 Benchmark rolling bloom filter 2018-10-14 14:58:00 +03:00
Wladimir J. van der Laan
6f8a719a73 Implement univalue changes 2018-10-14 14:49:52 +03:00
Pieter Wuille
a64fec0574 Return txid even if ATMP fails for new transaction 2018-10-14 14:34:12 +03:00
Gregory Maxwell
0fab6dc7aa Make RelayWalletTransaction attempt to AcceptToMemoryPool. 2018-10-14 14:29:19 +03:00
lateminer
43e6bbc312 Make it compile 2018-10-14 14:22:03 +03:00
MarcoFalke
7d639de831 [qt] Remove Priority from coincontrol dialog 2018-10-13 19:07:00 +03:00
Kaz Wesley
000a97ca5f replace mapNextTx with slimmer setSpends 2018-10-13 18:59:42 +03:00
lateminer
17401c86d1 Fix backporting errors
pos.cpp
primitives/transaction.cpp
rpc/rawtransaction.cpp
script/sign.cpp
script/sign.h
txmempool.cpp
2018-10-13 18:55:32 +03:00
Pieter Wuille
00cb4673b2 Predeclare PrecomputedTransactionData as struct 2018-10-13 17:59:39 +03:00
Pieter Wuille
cd30f2becb Rename to PrecomputedTransactionData 2018-10-13 17:57:50 +03:00
Pieter Wuille
d8d19c532f Precompute sighashes 2018-10-13 17:39:41 +03:00
Pieter Wuille
81e04cabfe Refactor script validation to observe amounts 2018-10-13 17:05:24 +03:00
lateminer
c6238629b3 Remove drivechain support using OP_COUNT_ACKS 2018-10-13 16:30:31 +03:00
lateminer
b76793c9f9 Fix backporting errors
main.cpp
wallet/wallet.cpp
wallet/wallet.h
2018-10-13 16:14:49 +03:00
Alex Morcos
b821da64ef Implement "feefilter" P2P message. 2018-10-13 15:44:02 +03:00
lateminer
41ffefbe33 Fix backporting errors
rpc/mining.cpp
2018-10-13 15:20:47 +03:00
mruddy
42d12434d5 RPC: fix generatetoaddress failing to parse address and add unit test 2018-10-13 14:36:55 +03:00
Andrew C
64978cb9c5 Create generatetoaddress rpc 2018-10-13 14:36:16 +03:00
Pieter Wuille
d40f1252ff Make the generate RPC call function for non-regtest 2018-10-13 14:28:11 +03:00
Leviathn
392e034334 Remove internal miner 2018-10-13 14:24:42 +03:00
Suhas Daftuar
75e463decf Improve handling of unconnecting headers 2018-10-13 14:05:45 +03:00
Luke Dashjr
f178b7d0a3 RPC/Mining: getblocktemplate: Update and fix formatting of help 2018-10-13 14:00:04 +03:00
lateminer
b35f06eda3 Update code with PACKAGE_NAME and COPYRIGHT_HOLDERS 2018-10-13 13:49:46 +03:00
Luke Dashjr
4184fc7707 getblocktemplate: Use version/force mutation to support pre-BIP9 clients 2018-10-13 02:43:09 +03:00
Luke Dashjr
c5899e25d0 getblocktemplate: Explicitly handle the distinction between GBT-affecting softforks vs not 2018-10-13 02:43:00 +03:00
Luke Dashjr
116f49d390 Implement BIP 9 GBT changes
- BIP9DeploymentInfo struct for static deployment info
- VersionBitsDeploymentInfo: Avoid C++11ism by commenting parameter names
- getblocktemplate: Make sure to set deployments in the version if it is LOCKED_IN
- In this commit, all rules are considered required for clients to support
2018-10-13 02:42:30 +03:00
lateminer
a20e1a0db9 Take care of backporting errors 2018-10-13 02:36:24 +03:00
Kalle Alm
8e919e9d59 [rpc] Add abortrescan command to RPC interface. 2018-10-13 02:21:39 +03:00
Kalle Alm
0b91aeefa7 [wallet] Add support for aborting wallet transaction rescans. 2018-10-13 02:15:50 +03:00
lateminer
1ba00e08fe Set nDefaultDbCache back to 100 MiB 2018-10-13 02:03:13 +03:00
Wladimir J. van der Laan
bdf4c81eac Bump -dbcache default to 300MiB
Also cap the allocation for the leveldb-specific cache for the UTXO set
to 8MiB.
This avoids that the extra cache memory goes to the much less effective
leveldb cache instead of our application-level cache.
2018-10-13 02:01:31 +03:00
Johnson Lau
c4e8c11932 Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH 2018-10-13 01:53:13 +03:00
Cory Fields
7813585f6a c++11: detect and correct for boost builds with an incompatible abi 2018-10-13 01:33:48 +03:00
Jonas Schnelli
f3298b9ce7 Only pass -lQt5PlatformSupport if >=Qt5.6 2018-10-13 01:23:21 +03:00
instagibbs
0bd32be132 Adapt ZMQ/rest serialization to take rpcserialversion arg 2018-10-13 01:03:45 +03:00