Commit Graph

10412 Commits

Author SHA1 Message Date
lateminer
5264fc2d83 Remove redundant line in Qt wallet main window 2018-01-21 20:43:18 +03:00
lateminer
05730a0876 Set COPYRIGHT_YEAR to 2018 2018-01-21 18:47:17 +03:00
janko33bd
7bc7f5439c fix redefinition of loginItems 2018-01-19 17:23:52 +01:00
janko33bd
764797ad06 fixed immature/staking balance 2018-01-18 21:09:55 +01:00
janko33bd
65e7103954 Add normalized transaction hash 2018-01-16 21:58:20 +01:00
janko33bd
6484a9e9b2 add stake to gui 2018-01-15 23:28:59 +01:00
janko33bd
5ff1358115 Merge branch 'Blackcoin-Lore' of https://github.com/janko33bd/bitcoin.git into Blackcoin-Lore 2018-01-15 21:15:31 +01:00
janko33bd
71eb1965b9 Merge pull request #26 from lateminer/cashaddr
Add CashAddr address format, iteration 1
2018-01-14 22:08:56 +01:00
lateminer
323a6750c2 Add CashAddr Address Format
Ported from Bitcoin Unlimited, Bitcoin ABC
2018-01-14 22:32:08 +03:00
janko33bd
7cd5894690 Merge pull request #25 from lateminer/blk-icons
Updated BLK icons
2018-01-14 17:43:51 +01:00
lateminer
bf23edfdce Updated BLK icons
about.png
bitcoin_testnet.ico
2018-01-14 16:44:09 +03:00
janko33bd
e4efabd9d3 removing nonexisting files 2018-01-13 23:29:46 +01:00
janko33bd
15de5b2b9b Merge branch 'Blackcoin-Lore' of https://github.com/janko33bd/bitcoin.git into Blackcoin-Lore 2018-01-13 23:12:04 +01:00
janko33bd
fdbb029845 repairing staking icon 2018-01-13 23:09:45 +01:00
janko33bd
43039e9ee2 Merge branch 'Blackcoin-Lore' of https://github.com/janko33bd/bitcoin.git into Blackcoin-Lore 2018-01-13 22:23:35 +01:00
janko33bd
cf9eb9f3e8 Merge pull request #24 from lateminer/block-handling-fixes-0.13
Block and transaction handling updates from Bitcoin Core 0.13.x
2018-01-13 17:24:03 +01:00
lateminer
20938be16f Fix: Reformat version in UpdateTip and other messages 2018-01-13 14:27:47 +03:00
Russell Yanofsky
67c3960ddb Send tip change notification from invalidateblock
This change is needed to prevent sync_blocks timeouts in the mempool_reorg
test after the sync_blocks update in the upcoming commit
"[qa] Change sync_blocks to pick smarter maxheight".

This change was initially suggested by Suhas Daftuar <sdaftuar@chaincode.com>
in https://github.com/bitcoin/bitcoin/pull/8680#r78209060
2018-01-13 13:45:03 +03:00
Alex Morcos
092922c063 Disable fee estimates for a confirm target of 1 block
Backport of #9239 without GUI changes and fixing conflicts in tests.
2018-01-13 13:43:54 +03:00
maiiz
9bb6d44326 Fix relaypriority calculation error 2018-01-13 13:36:35 +03:00
lateminer
1506d6b0ae Add policy: null signature for failed CHECK(MULTI)SIG
e41bd449ab
2018-01-13 13:26:20 +03:00
Pieter Wuille
bba401c693 Report reindexing progress in GUI 2018-01-13 13:10:50 +03:00
Pieter Wuille
2cc8c4ace9 Add -reindex-chainstate that does not rebuild block index 2018-01-13 13:05:41 +03:00
Pieter Wuille
c72b290878 Optimize ActivateBestChain for long chains 2018-01-13 12:59:16 +03:00
Pieter Wuille
26d8544314 Switch reindexing to AcceptBlock in-loop and ActivateBestChain afterwards 2018-01-13 12:49:31 +03:00
Pieter Wuille
722169b74d Make ProcessNewBlock dbp const and update comment 2018-01-13 12:38:06 +03:00
Pieter Wuille
1ab443eec7 Reformat version in UpdateTip and other messages 2018-01-13 12:32:02 +03:00
Patrick Strateman
a1c72cf461 Improve worst-case behavior of CScript::FindAndDelete
Thanks to Sergio Lerner for identifying this issue and suggesting this kind of solution.
2018-01-13 02:52:16 +03:00
Gavin Andresen
5cb6544093 Unit test for CScript::FindAndDelete 2018-01-13 02:52:08 +03:00
Patrick Strateman
e9acefb94b Replace c-style cast with c++ style static_cast. 2018-01-13 02:52:00 +03:00
Patrick Strateman
64f04a5405 Replace memcmp with std::equal in CScript::FindAndDelete
Function is stl; std::equal just makes more sense.
2018-01-13 02:51:52 +03:00
lateminer
c946ec9d9e Revert "mapNextTx: use pointer as key, simplify value"
This reverts commit 52680318bb.
2018-01-13 02:44:28 +03:00
lateminer
87ea7318b3 Fix: dbwrapper: Pass parent CDBWrapper into CDBBatch and CDBIterator 2018-01-13 02:38:07 +03:00
Suhas Daftuar
e46145b850 Eliminate unnecessary call to CheckBlock 2018-01-13 02:19:17 +03:00
Pieter Wuille
09ddb265d6 Stop trimming when mapTx is empty 2018-01-13 02:15:11 +03:00
Kaz Wesley
52680318bb mapNextTx: use pointer as key, simplify value 2018-01-13 02:14:46 +03:00
Suhas Daftuar
4366ce4fa0 VerifyDB: don't check blocks that have been pruned 2018-01-13 02:08:32 +03:00
Pieter Wuille
458cfffcd0 Use SipHash-2-4 for address relay selection 2018-01-13 02:07:58 +03:00
Pieter Wuille
cae6dbb6ab Switch CTxMempool::mapTx to use a hash index for txids 2018-01-13 02:07:51 +03:00
Pieter Wuille
c4641ab588 Use SipHash-2-4 for CCoinsCache index 2018-01-13 02:07:43 +03:00
Pieter Wuille
3806509c82 Add SipHash-2-4 primitives to hash 2018-01-13 02:04:12 +03:00
Pieter Wuille
0108167866 Add tests for CCoins deserialization 2018-01-13 02:03:37 +03:00
Patrick Strateman
7132135a12 CDataStream::ignore Throw exception instead of assert on negative nSize.
Previously disk corruption would cause an assert instead of an exception.
2018-01-13 02:03:30 +03:00
Pieter Wuille
12751d523a Fix OOM bug: UTXO entries with invalid script length 2018-01-13 02:03:22 +03:00
Pieter Wuille
622fa5bb19 Treat overly long scriptPubKeys as unspendable 2018-01-13 02:03:15 +03:00
Pieter Wuille
96a9621534 Introduce constant for maximum CScript length 2018-01-13 02:01:56 +03:00
Wladimir J. van der Laan
584c3d088e dbwrapper: Move HandleError to dbwrapper_private 2018-01-13 02:01:27 +03:00
Wladimir J. van der Laan
b2c1789e61 dbwrapper: Pass parent CDBWrapper into CDBBatch and CDBIterator
Pass parent wrapper directly instead of obfuscation key. This
makes it possible for other databases which re-use this code
to use other properties from the database.

Add a namespace dbwrapper_private for private functions to be used
only in dbwrapper.h/cpp and dbwrapper_tests.
2018-01-13 01:58:42 +03:00
Wladimir J. van der Laan
dacaf6a61c dbwrapper: Remove CDBWrapper::GetObfuscateKeyHex
It is an unnecessary method as it is used only two times
and only internally, and the whole implementation is
HexStr(obfuscate_key).
2018-01-13 01:58:35 +03:00
Wladimir J. van der Laan
ca67fc2407 dbwrapper: Remove throw keywords in function signatures
Using throw() specifications in function signatures is not only
not required in C++, it is considered deprecated for
[various reasons](https://stackoverflow.com/questions/1055387/throw-keyword-in-functions-signature).
It is not implemented by any of the common C++ compilers. The usage is
also inconsistent with the rest of the source code.
2018-01-13 01:58:26 +03:00