590 Commits

Author SHA1 Message Date
Jianping Wu
d50ffd42b1 Returned correct error message when downloading blocks. 2019-03-21 18:02:56 -07:00
Jianping Wu
ddc43217ca Genesis block also used cn header. 2019-03-21 16:20:45 -07:00
Jianping Wu
937095dd4d WIP: started fixing make check. Fixed difficulty computation. 2019-03-20 20:51:25 -07:00
Jianping Wu
d48d05a182 Supported Cryptonight Variant 4. 2019-03-20 12:26:47 -07:00
Jianping Wu
8766247be1 Fixed CN RPC call transfer. 2019-03-19 22:49:52 -07:00
Jianping Wu
350f6fa953 Fixed CN APIs. 2019-03-18 10:29:26 -07:00
Jianping Wu
27617b446b Fixed CN error messages for mining. 2019-03-15 18:15:38 -07:00
Jianping Wu
b9335132b0 WIP: changed CN dummy key. 2019-03-08 14:45:46 -08:00
Jianping Wu
8d8c36a77f WIP: mining started to work! 2019-03-08 13:15:24 -08:00
Jianping Wu
9e442eb109 WIP: fixed block serialization. 2019-03-08 11:19:10 -08:00
Jianping Wu
420c6a56d6 WIP: fixed keva block deserialization. 2019-03-07 22:37:20 -08:00
Jianping Wu
4d44c773c6 WIP: Fixed extra field deserialization. 2019-03-07 22:07:49 -08:00
Jianping Wu
adb3502f77 WIP: HexStr the template blob. 2019-03-07 17:32:08 -08:00
Jianping Wu
8f4b44cbf6 WIP: added get_info for cryptonote. 2019-03-07 16:21:06 -08:00
Jianping Wu
5424d869fa WIP: fixed getblocktemplate. 2019-03-07 15:44:38 -08:00
Jianping Wu
ed57dabf1e Moved to testnet7.
Fixed getblocktemplate.
2019-03-07 15:18:17 -08:00
Jianping Wu
57ab5c7255 WIP: implemented submitblock. 2019-03-06 23:15:11 -08:00
Jianping Wu
baf31da4a7 WIP: integrated latest cn code. 2019-03-06 15:55:46 -08:00
Jianping Wu
5e39efc98b WIP: implemented getlastblockheader. 2019-03-05 21:26:08 -08:00
Jianping Wu
8b1d430007 WIP: Implemented getblockheaderbyheight. 2019-03-05 21:10:29 -08:00
Jianping Wu
cd9d169a8f WIP: fixed build with cnutils. 2019-03-05 13:18:08 -08:00
Jianping Wu
aa97d9938c WIP: getblocktemplate for cn style return. 2019-03-04 22:13:48 -08:00
Jianping Wu
9afc758027 Started implementing cn layer for kevacoin. 2019-03-02 22:47:25 -08:00
Jianping Wu
caef63a27f Reversed incorrect commit. 2019-03-02 11:07:26 -08:00
Jianping Wu
b62873f1e8 WIP cn utils. 2019-03-01 20:06:42 -08:00
Jianping Wu
2d8820811e Difficulty 1 is: 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 2019-02-21 14:02:27 -08:00
Jianping Wu
c763ddc985 Added feature_keva.py functional test case. 2019-02-12 18:45:29 -08:00
Jianping Wu
ffc04e7399 1. Handled "too-long-mempool-chain" by deleting the offending Tx so that it is not in mempool and will not affect the subsequent operations.
2. Fixed typos in keva_filter output and help message.
2019-02-12 15:51:23 -08:00
Jianping Wu
bf62b97a6a Fixed constructor initialization warnings.
Fixed nameSpace variable assignment used in keva_filter.
2019-02-11 22:30:32 -08:00
Jianping Wu
3ea0145db8 Moved keva_get and keva_filter to non-wallet rpc methods. They don't need wallet to function. 2019-02-11 13:02:42 -08:00
Jianping Wu
392b7aba5f More changes from litecoin to kevacoin. 2019-01-28 17:21:28 -08:00
Jianping Wu
d814fc3128 Fixed kevacoin difficulty calculation. 2019-01-18 12:13:09 -08:00
Jianping Wu
8bf578cf49 Removed accidental commit. 2019-01-17 21:20:40 -08:00
Jianping Wu
eb9ea1b9dd Made sure to delete the entries from the db is they are new (i.e. no namespace and key combo before).
TODO: add keva test.
2018-12-13 10:43:54 -08:00
Jianping Wu
638a5a715c Added kevacoin DNS seeders. 2018-12-13 10:43:54 -08:00
Jianping Wu
7a994de062 First major changes to kevacoin text. 2018-12-13 10:43:53 -08:00
Jianping Wu
294f4f1cda Started changing from litecoin to kevacoin. 2018-12-13 10:43:53 -08:00
Jianping Wu
f9a7c7d3cb Added notes for mining.cpp for GetNodeCount. 2018-12-13 10:43:53 -08:00
Jianping Wu
2ba7b82896 Handled keva script with getAddress. 2018-12-13 10:43:53 -08:00
Jianping Wu
fb0acfc6d9 WIP: started implementing keva_namespace. 2018-12-13 10:43:53 -08: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
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
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
Pieter Wuille
657dfc5bca Fix csBestBlock/cvBlockChange waiting in rpc/mining
Github-Pull: #12743
Rebased-From: 45dd13503918e75a45ce33eb5c934b998790fdc8
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
Adrian Gallagher
4c20019d30
Merge remote-tracking branch 'bitcoin/0.16' 2018-06-17 18:55:26 -07:00
Gregory Sanders
cbd2f70b75
expose CBlockIndex::nTx in getblock(header)
GitHub-Pull: #13451
Rebased-From: 86edf4a
2018-06-15 13:34:09 +08:00
Luke Dashjr
18b0c69e2f
Bugfix: Include <memory> for std::unique_ptr
GitHub-Pull: #12859
Rebased-From: a5bca13
2018-06-13 16:07:44 +08:00
David A. Harding
4087dd08e7
RPC Docs: gettxout*: clarify bestblock and unspent counts
GitHub-Pull: #13184
Rebased-From: f30e9be
2018-05-17 10:50:28 +08:00