Commit Graph

10514 Commits

Author SHA1 Message Date
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
fe7cd5b231 qa/rpc-tests: bip9-softforks: Add tests for getblocktemplate versionbits updates 2018-10-13 02:42:39 +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
Anthony Towns
d69798cd45 Add configure check for -latomic 2018-10-13 01:26:32 +03:00
Jonas Schnelli
f3298b9ce7 Only pass -lQt5PlatformSupport if >=Qt5.6 2018-10-13 01:23:21 +03:00
Jonas Schnelli
40df66a94f Use runtime linking of QT libdbus, use custom/temp. SDK URL 2018-10-13 01:21:25 +03:00
Jonas Schnelli
569c83cd2c Fix bitcoin_qt.m4 and fix-xcb-include-order.patch 2018-10-13 01:18:48 +03:00
instagibbs
0bd32be132 Adapt ZMQ/rest serialization to take rpcserialversion arg 2018-10-13 01:03:45 +03:00
Gregory Sanders
ab2332461b Add option to return non-segwit serialization via rpc 2018-10-13 01:03:04 +03:00
MarcoFalke
552ef391d7 [doc] gbuild: Set memory explicitly (default is too low) 2018-10-13 00:42:17 +03:00
lateminer
66779ce2b2 Small changes to ThreadStakeMiner() 2018-10-13 00:17:04 +03:00
lateminer
66dd63a23b Proof-of-stake related code refactoring and cleanup 2018-10-12 23:40:50 +03:00
lateminer
da2c4ec6c9 Add RPC call reservebalance 2018-10-12 21:02:30 +03:00
lateminer
e9886e3f1b Code cleanup 2018-10-12 00:34:40 +03:00
lateminer
d452787a2c Completely remove coinage 2018-10-12 00:04:41 +03:00
lateminer
4fc1725b73 Take regtest genesis block hash and merkle root from ABC fork 2018-10-11 23:58:14 +03:00
lateminer
ea7c933b6a Change website to blackcoin.org 2018-10-11 23:49:40 +03:00
lateminer
09d7ba178d Change some testnet and regtest parameters 2018-10-11 23:44:09 +03:00
lateminer
2a3074a1eb Set nLastPOWBlock = 1000 for regtest 2018-10-11 23:32:45 +03:00
lateminer
42f11db5fd Set nLastPOWBlock = 10000 for testnet 2018-10-11 23:30:53 +03:00
lateminer
7dd8d191e0 Some refactoring in CheckStakeKernelHash() 2018-10-11 23:27:53 +03:00
lateminer
e31f80c7c3 Add proof-of-stake logging 2018-10-11 23:16:52 +03:00
lateminer
b338987d94 Move block height check from ContextualCheckBlock() to ConnectBlock() 2018-10-11 22:56:04 +03:00
lateminer
b1bb30cb3a Remove address indexes 2018-10-11 22:02:52 +03:00
lateminer
a059d578cd Replace CDataStream with CHashWriter so it compiles
pos.cpp
2018-10-11 20:31:15 +03:00
lateminer
3a29ae6903 Some code refactoring and cleanup 2018-10-02 01:04:31 +03:00
lateminer
3f46f91ace Added changelog 2018-10-01 19:53:46 +03:00
lateminer
fa1053cce6 Add Blackcoin copyrights on splash screen 2018-09-30 20:10:09 +03:00
lateminer
ba7d6c9b91 Add more paragraphs in LicenceInfo() 2018-09-30 19:57:06 +03:00
lateminer
c1280c7ccf Fix bug in LicenseInfo() that causes crash 2018-09-30 19:52:11 +03:00
lateminer
847c6af31a Revert "Comment checkSubtractFeeFromAmount()"
This reverts commit e4d21f3de7.
2018-09-30 19:50:51 +03:00
Wladimir J. van der Laan
34e36c8384 qt: Plug many memory leaks
None of these are very serious, and are leaks in objects that are
created at most one time.

In most cases this means properly using the QObject parent hierarchy,
except for BanTablePriv/PeerTablePriv which are not QObject,
so use a std::unique_ptr instead.
2018-09-30 19:35:26 +03:00
lateminer
f73b73845e Fix qt: Avoid shutdownwindow-related memory leak 2018-09-30 19:32:37 +03:00
Wladimir J. van der Laan
e9c62ea15a qt: Avoid shutdownwindow-related memory leak
Store a reference to the shutdown window on BitcoinApplication,
so that it will be deleted when exiting the main loop.
2018-09-30 19:28:50 +03:00
Wladimir J. van der Laan
df6a9014b7 qt: Translate all files, even if wallet disabled
This passes all QT cpp files to the lupdate executable which extracts
translations, no matter what conditional functionality is enabled.
2018-09-30 19:25:50 +03:00
Wladimir J. van der Laan
7829900147 test: add ensure_ascii setting to AuthServiceProxy
Add a setting ensure_ascii to AuthServiceProxy. This setting,
defaulting to True (backwards compatible),
is passed through to json.dumps. If set to False, non-ASCII characters
>0x80 are not escaped. This is useful for testing server
input processing, as well as slightly more bandwidth friendly in case of
heavy unicode usage.
2018-09-30 19:21:32 +03:00
Wladimir J. van der Laan
78b629251a test: test utf-8 for labels in wallet 2018-09-30 19:21:24 +03:00
lateminer
da797cdf7a Remove unnecessary argument in GetConfigFile() 2018-09-30 19:17:41 +03:00
fsb4000
286cf0989b check that transactionView->selectionModel()->selectedRows(0) exists 2018-09-30 19:10:39 +03:00
lateminer
e4d21f3de7 Comment checkSubtractFeeFromAmount() 2018-09-30 19:06:20 +03:00
CryptAxe
c3e51a90cb [qt] Add use available balance in send coins dialog 2018-09-30 19:02:13 +03:00