Commit Graph

11206 Commits

Author SHA1 Message Date
Just Wonder
dccc893d55 Fixed keva_filter parameter parsing, properly handled numerical values. 2020-03-25 10:36:13 -07:00
Just Wonder
98876bf367 Fixed seed height error handling. 2020-03-21 00:28:31 -07:00
Just Wonder
4eb132ad4d Populated mapBlockSeedHeight on startup. 2020-03-20 13:47:06 -07:00
The Kevacoin Project
6d0a7f26f9
Merge pull request #16 from kevacoin-project/idb-fix
Fixed Initial block download (IDB) crash. The chainActive does not contain any blocks during IDB. We must save the block hash for these blocks that are candidates of seeds.

Fixed calling params to rx_slow_hash. Set miners to 0 to prevent incorrect results.
2020-03-20 11:00:23 -07:00
Just Wonder
a7dcf93506 Better IBD fix.
Fixed randomX computation.
2020-03-20 10:42:20 -07:00
Ben Gräf
fe3bc3d01e Fixed gcc build and removed different type warnings 2020-03-20 16:33:38 +01:00
Just Wonder
e55c1ef81e Fixed Initial Block Download issue with RandomKeva. 2020-03-20 01:24:08 -07:00
Just Wonder
aa3d74bba2 Hardfork from cn/r to RandomKeva. 2020-03-10 17:03:22 -07:00
Just Wonder
20ba531422 Merge branch 'rx' 2020-03-10 17:01:42 -07:00
Just Wonder
01368b925e Allowed BIP113 (Median Time Past) since beginning. 2020-03-07 20:45:05 -08:00
Just Wonder
16a2e780a2 Reduced L2 scratchpad size by half. 2020-03-02 15:11:54 -08:00
Just Wonder
737c492306 Used Kevacoin RandomX variant. 2020-03-02 12:47:43 -08:00
kevacoin
14b739051c Added keva operations so that they can be deccoded properly.
https://github.com/kevacoin-project/kevacoin/issues/13
2020-02-29 23:54:10 -08:00
Just Wonder
85c262741b RX/0 now worked. 2020-02-29 20:06:56 -08:00
Just Wonder
15dbe57f04 Fixed https://github.com/kevacoin-project/kevacoin/issues/6.
Turned of JIT compiler for Cryptnight R.
2020-02-29 10:30:49 -08:00
Just Wonder
e564fc7781 Enabled JIT for CN/R.
Testnet8.
2020-02-29 09:46:27 -08:00
Just Wonder
cc9fac4ff6 Added comment for failed parseDouble test cases with RandomX. 2020-02-29 08:07:06 -08:00
Just Wonder
f6eb6a36ff Fixed regtest. parseDouble still failed. 2020-02-29 00:29:00 -08:00
Just Wonder
32e8a383d0 Fixed regtest. 2020-02-28 23:32:17 -08:00
Just Wonder
035b514873 Fixed regtest hashGenesisBlock and hashMerkleRoot. 2020-02-28 22:56:00 -08:00
Just Wonder
d60b8d523b WIP. 2020-02-28 22:35:35 -08:00
Just Wonder
c85ed93f3f Build OK with RandomX. 2020-02-28 21:08:27 -08:00
Just Wonder
ecbc9fec10 WIP: RandomX. 2020-02-28 17:04:37 -08:00
Just Wonder
88e0725bd9 Fixed https://github.com/kevacoin-project/kevacoin/issues/11. 2020-02-18 10:59:25 -08:00
Just Wonder
1d7ddc7a23 Added timestamp to keva zmq results. 2020-01-31 17:30:57 -08:00
Just Wonder
3784071c48 Removed zmq dead code. 2020-01-31 15:40:06 -08:00
Just Wonder
ebe3e26bff Fixed zmq value. 2020-01-31 15:30:51 -08:00
Just Wonder
1dd2c67eb7 Implemented Keva ZMQ notification. 2020-01-31 09:47:33 -08:00
Just Wonder
2a90a04efb RPC: Add new "getzmqnotifications" method.
Cherry-picked from Bitcoin Core.
2020-01-30 15:00:15 -08:00
Just Wonder
69de9ed62a Fixed wallet rpc help messages. 2020-01-27 20:43:28 -08:00
Just Wonder
a4ded20d5a Updated nMinimumChainWork.
Fixed nonce display value.
2020-01-27 20:13:14 -08:00
Just Wonder
b2262c5531 Updated Kevacoin's Chinese name. 2020-01-27 18:10:57 -08:00
Just Wonder
67b69a64ff Added new blockchain RPC getblockheaderbyhash.
Fixed returned nonce value.
2020-01-24 11:43:03 -08:00
Just Wonder
c72ef98577 Fixed MacOS Catalina build. 2020-01-17 16:14:42 -08:00
Just Wonder
4df2c1d6cd Ready for mainnet. 2020-01-15 14:13:40 -08:00
Just Wonder
bb09e64483 Adjusted mainnet genesis block difficulty.
Additional check for Cryptonote header consistency with block header.
2020-01-10 21:08:35 -08:00
Just Wonder
d8d4ea33cb Updated mainnet connection info. 2020-01-05 13:42:57 -08:00
Just Wonder
a157c492e1 Fixed mainnet hash. 2019-11-12 12:19:20 -08:00
Just Wonder
2f357521ae Fixed typo. keva_list_namespace should be keva_list_namespaces in the output of help. 2019-11-07 09:00:12 -08:00
Jianping Wu
09e3131e98 Updated test parameters. 2019-11-06 15:34:45 -08:00
Just Wonder
7b13f9848e Updated test parameters. 2019-11-06 07:53:08 -08:00
Just Wonder
593b03f2e2 Fixed no-wallet build. 2019-11-05 14:49:37 -08:00
Just Wonder
a7f5763ff8 Fixed Linux build for cnutils. 2019-11-05 12:18:49 -08:00
Just Wonder
d5012d4d60 Fixed Windows WSL build. 2019-11-05 11:21:30 -08:00
Jianping Wu
54fcce40a5 Updated testnet parameters. 2019-09-27 22:43:14 -07:00
Jianping Wu
d89d414627 Fixed Cryptonote APIs description. 2019-04-02 18:51:27 -07:00
Jianping Wu
f333314e52 The first parameter of getblockheaderbyheight is integer. 2019-04-02 14:39:31 -07:00
Jianping Wu
da5ce9ee09 Fixed CN mining getblocktemplate/submitblock hash values. 2019-04-02 12:23:21 -07:00
Jianping Wu
bf158ae112 Configured testnet7. 2019-04-01 22:47:41 -07:00
Jianping Wu
8314daee83 Made sure major_version of Cryptonote header is correct. 2019-04-01 21:57:24 -07:00
Jianping Wu
ed0a03b941 Fixed keva entry in the result of gettransaction. 2019-03-29 23:26:03 -07:00
Jianping Wu
1112bc2f02 Fixed too-long-mempool-chain handling of kevacoin. 2019-03-29 20:10:38 -07:00
Jianping Wu
c5fc61ba4b Deserialized cnHeader in txdb. 2019-03-28 18:04:50 -07:00
Jianping Wu
0b30d4911c Fixed RegTest download timeout. 2019-03-27 22:07:00 -07:00
Jianping Wu
991678d552 Fixed functional test cnHeader merkle root. 2019-03-27 18:47:38 -07:00
Jianping Wu
3007571789 Added back the original getblocktemplate call. 2019-03-27 12:44:05 -07:00
Jianping Wu
f7b0fb0008 Increased block download timeout for RegTest as CN hashing is slower and take more time.
Fixed deserialization of cn header in python test framework.
2019-03-27 00:38:30 -07:00
Jianping Wu
dea50be56b Added support for cryptonote header in functional test python code. 2019-03-26 23:13:36 -07:00
Jianping Wu
06770c9b2c Fixed functional test cases. 2019-03-25 19:17:29 -07:00
Jianping Wu
33ed36e5bf Fixed unit test cases after change of hash calculation. 2019-03-21 23:32:48 -07:00
Jianping Wu
68ffbfc104 Changed block hash calculation, used cryptonote header instead. 2019-03-21 23:10:45 -07:00
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
7b07bb8817 Fixed validation_block_tests with correct heights. 2019-03-21 12:53:11 -07:00
Jianping Wu
70df11c1a7 Fixed unit test blockchain generation. 2019-03-21 10:31:35 -07:00
Jianping Wu
c301a99642 Updated chainparams with CN v4. 2019-03-20 23:14:42 -07:00
Jianping Wu
1e55d22ac0 Introduced block legacy mode for regtests. 2019-03-20 21:50:44 -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
b39ed3748d Implemented transfer RPC call. 2019-03-19 00:26:36 -07:00
Jianping Wu
350f6fa953 Fixed CN APIs. 2019-03-18 10:29:26 -07:00
Jianping Wu
48cec14bc4 Added json_rpc url for cryptonote client. 2019-03-15 20:59:54 -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
d44c783fcc WIP: Fixed KevaUnchecked locking issue. 2019-03-08 14:23:53 -08:00
Jianping Wu
8d8c36a77f WIP: mining started to work! 2019-03-08 13:15:24 -08:00
Jianping Wu
3a657f0615 WIP: fixed PoW hash computation. 2019-03-08 11:55:31 -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
bbb78c76a0 WIP: built with latest cn code. 2019-03-06 17:44:09 -08:00
Jianping Wu
baf31da4a7 WIP: integrated latest cn code. 2019-03-06 15:55:46 -08:00
Jianping Wu
80396a7a0f WIP: added cn header to block header. 2019-03-06 13:12:55 -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
4f74153e56 Added cn utils lib. 2019-03-02 22:12:43 -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
ce06e591cd Changed default mainnet P2P port from 9333 to 9338.
Changed default mainnet RPC port from 9332 to 9337.
mBTC: va
uBTC: mva
Changed default example address to SegWit address.
2019-02-14 11:21:03 -08:00
Jianping Wu
1e187fea9d Added block disconnecting test cases for keva. 2019-02-13 22:42:47 -08:00