11143 Commits

Author SHA1 Message Date
Jianping Wu
97b35682e0 WIP: main.cpp compiled. 2018-12-13 10:43:53 -08:00
Jianping Wu
d05ab948e2 WIP: tried to compile keva/main.cpp. 2018-12-13 10:43:53 -08:00
Jianping Wu
c56fb50b55 WIP: namespace/key 2018-12-13 10:43:53 -08:00
Jianping Wu
b112e0c795 WIP: fixed compilation errors. 2018-12-13 10:43:53 -08:00
Jianping Wu
ec2f335382 Started fixing compilation errors. 2018-12-13 10:43:53 -08:00
Jianping Wu
fb0acfc6d9 WIP: started implementing keva_namespace. 2018-12-13 10:43:53 -08:00
Jianping Wu
7b6206d83a nSubsidyHalvingInterval from 840000 to 840000 * 4. 2018-12-13 10:43:53 -08:00
Jianping Wu
30e907bac6 Digishield difficulty adjustment.
Changed block time to 2 minutes.
2018-12-13 10:43:53 -08:00
Jianping Wu
b3a0506e4c Changed initial target. 2018-12-13 10:43:53 -08:00
Jianping Wu
d40f735500 Lowered difficulty for CN algorithm. 2018-12-13 10:43:53 -08:00
Jianping Wu
7f27245431 Switched to cryptonight PoW. 2018-12-13 10:43:53 -08:00
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
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
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
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
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
11b9dbb439a15ed275cba673fdc743c612ea374f -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
212ef1f9547e27295a94eaa9d5ae552d858e2d9f [tests] Check signrawtransaction* errors on missing prevtx info (Anthony Towns)
1825e37075aa7885930cb48c5452ba3e8952b78a 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
1cdbea7f742fa128062009ea8ca22383bceacd1e 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
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
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
ad3c330972
Merge remote-tracking branch 'bitcoin/0.16' into HEAD 2018-07-23 16:53:43 -07: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
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
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
MarcoFalke
ed82e7176d wallet: Erase wtxOrderd wtx pointer on removeprunedfunds
Github-Pull: #13437
Rebased-From: faa18ca046e9043b2cf68cb1bd17cc8c60fe26d9
2018-07-13 11:50:25 -04:00
practicalswift
e15e3a9ddd Remove boost dependency (boost/assign/std/vector.hpp)
Github-Pull: #13545
Rebased-From: 962d8eed5bdbe62b9926f01cb85bdce9d435d3d6
2018-07-13 11:50:25 -04:00
practicalswift
10621995ed Fix incorrect tests
Github-Pull: #13545
Rebased-From: c6fd0df4efcd9f75c43ff527fd57fe43bc47a474
2018-07-13 11:50:25 -04:00
Bernhard M. Wiedemann
170b309981 Make tests pass after 2020
also test that 64 bit integers are properly handled

Github-Pull: #13061
Rebased-From: 3ee4be10500710fc8e9b03acf974fd81224c05c4
2018-07-12 10:27:29 -04:00
Suhas Daftuar
cfc6f7413b [rpcwallet] Clamp walletpassphrase value at 100M seconds
Larger values seem to trigger a bug on macos+libevent (resulting in the
rpc server stopping).

Github-Pull: #12905
Rebased-From: 662d19ff7217d0e6c7975ca311933f640955a53e
2018-07-12 10:03:03 -04:00
joemphilips
bf1f150190 rpc: fix type mistmatch in listreceivedbyaddress
Github-Pull: #12837
Rebased-From: 05c03d1249c6fe30dbfcea9f3f3a3bd02106035b
2018-07-12 10:03:03 -04:00
John Newbery
2291774bd5 [trivial] Add newlines to end of log messages.
Log messages should terminate with a '\n', or the following log will be
written to the same line without a timestamp. Fix a couple of cases
where the message is not terminated with a \n.

Github-Pull: #12887
Rebased-From: 5b10ab0116245ee73b493e2248ad2f8bb8e34f21
2018-07-12 10:03:02 -04:00
MarcoFalke
cf6feb7837 qt: Avoid resetting on resetguisettigs=0
Github-Pull: #12793
Rebased-From: 342fb8034640d4393771899dc132c9e3b170b369
2018-07-12 10:03:02 -04:00
Matt Corallo
c04a4a5ae9 Remove useless mapRequest tracking that just effects Qt display.
I thought we had removed this a long time ago, TBH, its really
confusing feedback to users that we display whether a tx was
broadcast to immediate neighbor nodes, given that has little
indication of whether the tx propagated very far.

Github-Pull: #13622
Rebased-From: beef7ec4be725beea870a2da510d2817487601ec
2018-07-12 09:49:41 -04:00
Kristaps Kaupe
f7401c86b9
Fix parameter count check for importpubkey.
Github-Pull: #13507
Rebased-From: 3f72d04
2018-06-26 07:58:01 +08:00
Adrian Gallagher
67f7fbf9f5
Litecoin: Update default minimum chain work and default assume valid values 2018-06-17 18:57:43 -07:00
Adrian Gallagher
8ca2ccc96c
Litecoin: Bump blockchain size value 2018-06-17 18:57:33 -07:00
Adrian Gallagher
7b0905f640
Litecoin: Update Qt translations 2018-06-17 18:57:23 -07:00
Adrian Gallagher
8203195e2e
Litecoin: GetPoWHash for validation block tests 2018-06-17 18:56:31 -07:00
Adrian Gallagher
4c20019d30
Merge remote-tracking branch 'bitcoin/0.16' 2018-06-17 18:55:26 -07:00