Commit Graph

16194 Commits

Author SHA1 Message Date
Jianping Wu
fac4394247 Started working on Cryptonight. 2018-12-13 10:43:53 -08:00
Jianping Wu
855dc114e9 WIP: support two OPs. 2018-12-13 10:43:52 -08:00
Jianping Wu
4837682b4d WIP: started implementing namespace, key and value. 2018-12-13 10:43:52 -08:00
Jianping Wu
ec7aaa8b1f Fixed genesis block generation - GetPoWHash is scrypt hash, GetHash is SHA2 hash! 2018-12-13 10:43:52 -08:00
Jianping Wu
108ab19e27 WIP: changed pchMessageStart for test and regtest. 2018-12-13 10:43:52 -08:00
Jianping Wu
ddc94011a2 WIP: started working on genesis block. 2018-12-13 10:43:52 -08:00
Adrian Gallagher
e2f9d9c5c1
Merge pull request #552 from MiWCryptoCurrency/master
qt: Revert "Force TLS1.0+ for SSL connections"
2018-10-30 11:32:27 +11:00
MiWCryptoCurrency
10753d669d
qt: Revert "Force TLS1.0+ for SSL connections"
fix for upstream bitcoin qt5 openssl issue: https://github.com/bitcoin/bitcoin/pull/14403
2018-10-25 20:51:22 -04:00
Adrian Gallagher
69fce74411
Merge pull request #536 from thrasher-/0.16
v0.16.3 patchset
2018-09-19 13:16:47 +10:00
Adrian Gallagher
23705f3bfa
Litecoin: Update release notes for v0.16.3 2018-09-18 19:14:49 -07:00
Adrian Gallagher
f1250033bd
Litecoin: Update man pages 2018-09-18 18:59:37 -07:00
Adrian Gallagher
c84d27f39e Bitcoin Core 0.16.3 final
-----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEnerg3HBjJJ+wVHRoHkrtYphs0l0FAlugRdQACgkQHkrtYphs
 0l0AuAf/TIQkEZte6q0/E3Sp+2ejoSuNCS+jsDpN7eSYEazHL4e9GIe2TmpnNG9u
 5Lb5BT0Tv5zDc5ivf3Quuq0dQqRmQAyl0EiM7kSjYF3MOBFAXt4Yi4W1VRrfT9Fb
 Nabx8F8NzjnlgxuF0kLXUMfxKCN92d2fl2m4APXgyKA+OFoC2XQ/GBnqUdwMlCic
 XeDZf/xc2vZOHP0HNIn2asqdnsJBBPscjsGMcdsrEq62FZ9lmnm8FVycKbkhqaP0
 lFxVp4JbJKWKRAIks56HPjPo3TU5VEnvHyOqmwCU3rxoDGDbHWRzByApqmcyM68F
 IA5HwltL4+hM9pNouIt/U6UantsFKA==
 =nB5i
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEWcrw6W8j9TdHlF/U/jNIh3gJOGwFAluhonwACgkQ/jNIh3gJ
 OGy+9Af9FT5MeQ4ucRBtXh/VjaNU78EZUywMzvJSzAyvYgqwO0WpvUXBN+9GyMM/
 k+yBvbj9PkJGSHavuGyx+2otsh3eXrd9TN2UyZiVdu8h1HBMFcsd1TxtrX+M5R7R
 HCeFA3yPF91WAw2O4fhhHUsHE2fsLR+HXyMcJa86vpJsjQdd388VGKUm7tRVwKGa
 TBFBKd5cvpLrzHFU6L7lSj7WNAIO80Bfn032P0mHB90+juP6Qpeknb7+l+TQBU9d
 mcCzpKR2oUvUtpWCTfTtC/F+NnJMA0O18wkn+UWoPXLnqCD48Dj/wYo1V6efHkRo
 HiTXg772nySxI4z7vl5zdwum75BmEg==
 =A6lU
 -----END PGP SIGNATURE-----

Merge tag 'v0.16.3' into HEAD

Bitcoin Core 0.16.3 final
2018-09-18 18:12:02 -07:00
Wladimir J. van der Laan
49e34e2880
doc: Update manpages for 0.16.3
Tree-SHA512: e631405dd03438ac4b5fae5ed2fc0cb061e4cb7092ab068dd99b7c3001c95d166224f50af759454dbf47a2954409ac62c1232988918dd6650213918b853aea2d
2018-09-18 01:55:20 +02:00
Wladimir J. van der Laan
a0f4ff6088
doc: 0.16.3 release notes
Tree-SHA512: 4237ac0c1cd0c0f4c3f50494cf5985a95317730194820a22e2814571107a684fdd5253625707c95ac558a1ad8ab9f36904c46647d0cb931fe67ea2407738133a
2018-09-18 01:42:22 +02:00
Wladimir J. van der Laan
86e2f1d4bb
build: Bump version to 0.16.3
Tree-SHA512: 56565311429f56d68508215eaa04f31f3e3f0144f367fc874da78652ce0aeb62b1d609513d9f8dcb204425c8e108103855a737eefc661f8b1f94c6219a9518a3
2018-09-18 01:26:53 +02:00
Wladimir J. van der Laan
696b936aa3
Merge #14249: [0.16] Fix crash bug with duplicate inputs within a transaction
9bd08fd465 [qa] backport: Test for duplicate inputs within a transaction (Suhas Daftuar)
d1dee20547 Fix crash bug with duplicate inputs within a transaction (Suhas Daftuar)

Pull request description:

  This is a backport of #14247 to 0.16.

Tree-SHA512: f11b2b0f2d8089bbac7542f78a0f14fc15c693604cb1168ef5ea71852a206da7eb53b6e420376ed1380583961176ba2d283e409e19d783c7a68c3407933a89b0
2018-09-18 01:25:55 +02:00
Suhas Daftuar
9bd08fd465 [qa] backport: Test for duplicate inputs within a transaction 2018-09-17 17:58:49 -04:00
Suhas Daftuar
d1dee20547 Fix crash bug with duplicate inputs within a transaction
Introduced by #9049
2018-09-17 22:22:30 +02:00
Adrian Gallagher
eba0e1ca3f
Merge pull request #532 from thrasher-/0.16
Litecoin Core 0.16.2 final changes
2018-08-27 10:58:35 +10:00
Adrian Gallagher
658d0dc7ee
Litecoin: Bump date in man pages 2018-08-26 16:29:29 -07:00
Adrian Gallagher
1882995138
Bump Litecoin release notes for 0.16 final release 2018-08-26 16:17:01 -07:00
Adrian Gallagher
defc472744
Merge remote-tracking branch 'bitcoin/0.16' into HEAD 2018-08-26 15:57:58 -07:00
Wladimir J. van der Laan
9e116a6f87
Merge #13852: [0.16] doc: correct the help output for -prune
11b9dbb439 -prune option -help output aligned with code (Hennadii Stepanov)

Pull request description:

  Backports #13844 to the 0.16 branch.

Tree-SHA512: 84cac57ca3b1ef34892e73f131b5f3cc50d3f9e268a4123092cf6cdf519fc20616b5b084f9e9343505c15a2cf663a2c94d18c4587bcb7c261cbe32eeac8afe9b
2018-08-08 12:36:33 +02:00
Wladimir J. van der Laan
b64f02fcfa
Merge #13796: [0.16] Make signrawtransaction give an error when amount is needed but missing
212ef1f954 [tests] Check signrawtransaction* errors on missing prevtx info (Anthony Towns)
1825e37075 Error on missing amount in signrawtransaction* (Anthony Towns)

Pull request description:

  Backport of #13547 to 0.16

Tree-SHA512: 7a660023b6948632a1f949443c18fa45add75ec8c36df1ebbaccd181dd1560c1bef460f061f8dab36b6a5df295eb4967effaa2cf55ea06b41d8f7562842a39ec
2018-08-08 12:29:30 +02:00
Hennadii Stepanov
11b9dbb439
-prune option -help output aligned with code
see: .../src/init.cpp#L1063

Github-Pull: #13844
Rebased-From: 312ff01
2018-08-02 21:35:23 +08:00
Wladimir J. van der Laan
6518bcd56c
Merge #13797: [0.16] bitcoinconsensus: invalid flags should be set to bitcoinconsensus_error type, add test cases covering bitcoinconsensus error codes
1cdbea7f74 bitcoinconsensus: invalid flags should be set to bitcoinconsensus_error type, add test cases covering bitcoinconsensus error codes (Thomas Kerin)

Pull request description:

  Backport of #13655 to 0.16

Tree-SHA512: b62e185f2aa957f09255090e59f96c039f47a5623d68b6fef8d1dd831c6d3135b039be5cfad0f823687ff2a5143d24e34bd83fefcc9ba5b68f43054cbd9d909d
2018-07-30 17:04:07 +02:00
Wladimir J. van der Laan
8561515022
doc: Clean out release notes after 0.16.2
Tree-SHA512: fb7208356134322f3515c682ac7349eddb1ff54094abe397c94acb7e931b42265aca6b716eba072f79ebdb4a69ea87a5e40b6c4a48571db5b7b095ead45456ef
2018-07-30 16:38:26 +02:00
Thomas Kerin
1cdbea7f74 bitcoinconsensus: invalid flags should be set to bitcoinconsensus_error type, add test cases covering bitcoinconsensus error codes
Github-Pull: #13655
Rebased-From: 417b6c1d2990ffc78c029442e027797d724a101f
2018-07-29 21:08:45 +00:00
Anthony Towns
212ef1f954 [tests] Check signrawtransaction* errors on missing prevtx info
Github-Pull: #13547
Rebased-From: 685d1d8115f61b15115d80523dd8273f0a816534
2018-07-29 20:26:45 +00:00
Anthony Towns
1825e37075 Error on missing amount in signrawtransaction*
Signatures using segregated witness commit to the amount being spent,
so that value must be passed into signrawtransactionwithkey and
signrawtransactionwithwallet. This ensures an error is issued if that
doesn't happen, rather than just assuming the value is 0 and producing
a signature that is almost certainly invalid.

Github-Pull: #13547
Rebased-From: a3b065b51fb333d976108a1fe34b7f663fd67285
2018-07-29 20:26:45 +00:00
Adrian Gallagher
78bcc3345d
Merge pull request #523 from thrasher-/0.16
Preparation for 0.16.2 release candidate
2018-07-24 14:21:42 +10:00
Adrian Gallagher
d949bf74d1
Litecoin: Release notes for v0.16.2 2018-07-23 19:07:52 -07:00
Adrian Gallagher
157fe556b2
Litecoin: Bump man pages 2018-07-23 18:12:34 -07:00
Adrian Gallagher
ccf37a45fe
Litecoin: Fix wallet_abandonconflict test 2018-07-23 18:12:30 -07:00
Adrian Gallagher
ad3c330972
Merge remote-tracking branch 'bitcoin/0.16' into HEAD 2018-07-23 16:53:43 -07:00
Wladimir J. van der Laan
2848aa808f
Merge #13703: 0.16.2: [doc] Bump manpages
0296b9c85e 0.16.2: Bump manpages (MarcoFalke)

Pull request description:

Tree-SHA512: 6fffb8ca0e3f2fbbb7561bf9e8710b1ece6475cc76d56120b790b0fa6261cb7a06f65816ab49a37e1ef5b99883d3e9649ac7f8dcabcfb716de03ca85a86cd320
2018-07-20 14:54:20 +02:00
MarcoFalke
0296b9c85e 0.16.2: Bump manpages 2018-07-18 13:38:06 -04:00
Wladimir J. van der Laan
08ca314410
doc: Fill in changelog and credits in release notes
Tree-SHA512: cb2a7cd91447b6e4ad13055e97b542c6984309e28cd33898f3c4bbe92141c6cb65cc472821b34e63f94aa675553d8d68709c431255ccc17e0fc0c54c0c3836bc
2018-07-18 15:36:50 +02:00
Wladimir J. van der Laan
7649da3588
Merge #13678: build: Bump version to 0.16.2
Tree-SHA512: f146372b303213af48ed57fc33ef1cc0aa07a205c53bb5bba291f58dfcae56673841e726a54fd57e6faedfddb011f6e8b40230635abf5701deac1b2ef4b03e59
2018-07-17 12:43:12 +02:00
Cory Fields
4244dbddc4 build: Bump version to 0.16.2 2018-07-16 12:53:21 -04:00
Wladimir J. van der Laan
63daa10015
doc: Clean out release notes for 0.16.2 2018-07-16 15:50:34 +02:00
Ben Woosley
20461fc272
Fix that CWallet::AbandonTransaction would only traverse one level
Prior to this change, it would mark only the first layer of
child transactions abandoned, due to always following the input hashTx
rather than the current now tx.

Github-Pull: #13652
Rebased-From: 89e70f9d7fe384ef9de4fa3828d4c80523290186
Tree-SHA512: 403da0cc400a807e5a30038bd505881a68208c3f9e96ad5a7755e763666982bc3c19564ac13a5757612c8b6efc331fb2ad0edbaf7e830993b84bc64624423e54
2018-07-16 15:37:42 +02:00
Wladimir J. van der Laan
7f27af22b0
Merge #13644: 0.16: Remaining backports for 0.16.2
d9c563095d qa: Initialize lockstack to prevent null pointer deref (MarcoFalke)
21dd5127a4 gui: Show messages as text not html (Wladimir J. van der Laan)
f78e7f6589 [qt] send: Clear All also resets coin control options (Sjors Provoost)
657dfc5bca Fix csBestBlock/cvBlockChange waiting in rpc/mining (Pieter Wuille)
88d1a649a2 Consensus: Fix bug when compiler do not support __builtin_clz* (532479301)
b72c0bd4c9 [qa] Add a test for merkle proof malleation (Suhas Daftuar)
6b9dc8ceae have verifytxoutproof check the number of txns in proof structure (Gregory Sanders)
ed82e7176d wallet: Erase wtxOrderd wtx pointer on removeprunedfunds (MarcoFalke)
e15e3a9ddd Remove boost dependency (boost/assign/std/vector.hpp) (practicalswift)
10621995ed Fix incorrect tests (practicalswift)
170b309981 Make tests pass after 2020 (Bernhard M. Wiedemann)
cfc6f7413b [rpcwallet] Clamp walletpassphrase value at 100M seconds (Suhas Daftuar)
bf1f150190 rpc: fix type mistmatch in listreceivedbyaddress (joemphilips)
2291774bd5 [trivial] Add newlines to end of log messages. (John Newbery)
cf6feb7837 qt: Avoid resetting on resetguisettigs=0 (MarcoFalke)
cbdabef35e qa: Fix wallet_listreceivedby race (MarcoFalke)
79c4fff9ed [tests] Fixed intermittent failure in p2p_sendheaders.py. (lmanners)
c04a4a5ae9 Remove useless mapRequest tracking that just effects Qt display. (Matt Corallo)

Pull request description:

  Some gui/doc/rpc/qa backports

Tree-SHA512: f1e918d2ca6016fc7c5d5adf5d537553a1769731e2dcac788edf02c7354387861ec5bcd0cbf3c833c1485d500c55a73a2799a8b39ed14477524ac46b4ff2332d
2018-07-16 14:49:53 +02:00
MarcoFalke
d9c563095d qa: Initialize lockstack to prevent null pointer deref
Github-Pull: #13300
Rebased-From: fa9da85b7cc759d06bc24854be2bad0ea87b6006
2018-07-14 11:12:47 -04:00
Wladimir J. van der Laan
21dd5127a4 gui: Show messages as text not html
Currently, error messages (such as InitError) are displayed as-is, which
means Qt does auto detection on the format.

This means that it's possible to inject HTML from the command line
though e.g. specifying a wallet name with HTML in it. This isn't
a direct security risk because fetching content from internet is
disabled (and as far as I know we never report strings received
from the network this way). However, it can be confusing.

So explicitly force the format as text.

Github-Pull: #12617
Rebased-From: 6fbc0986fa2d49a1cb65b60eca71c25c84842a54
2018-07-13 13:33:58 -04:00
Sjors Provoost
f78e7f6589 [qt] send: Clear All also resets coin control options
Github-Pull: #12432
Rebased-From: f506c0a7f8ea6bae089177884e44e38cd2bfeb23
2018-07-13 13:33:58 -04:00
Pieter Wuille
657dfc5bca Fix csBestBlock/cvBlockChange waiting in rpc/mining
Github-Pull: #12743
Rebased-From: 45dd13503918e75a45ce33eb5c934b998790fdc8
2018-07-13 12:23:39 -04:00
532479301
88d1a649a2 Consensus: Fix bug when compiler do not support __builtin_clz*
#ifdef is not correct since defination is defined to 0 or 1. Should change to #if

Github-Pull: #12573
Rebased-From: 18307849b405f9e2067eaa8091b105838f413707
2018-07-13 12:23:39 -04:00
Suhas Daftuar
b72c0bd4c9 [qa] Add a test for merkle proof malleation
Github-Pull: #13452
Rebased-From: d280617bf569f84457eaea546541dc74c67cd1e4
2018-07-13 12:23:39 -04:00
Gregory Sanders
6b9dc8ceae have verifytxoutproof check the number of txns in proof structure
Github-Pull: #13452
Rebased-From: ed82f1700006830b6fe34572b66245c1487ccd29
2018-07-13 12:23:39 -04:00