1163 Commits

Author SHA1 Message Date
kevacoin
d3e8507182 Updated help messages, used Kevacoin addresses. 2021-01-17 13:54:41 -08:00
kevacoin
6bf95999d4 Improved keva_list_namespace implementation, made it faster and more concise. 2020-09-26 21:01:12 -07:00
Just Wonder
c07b4d21c3 Handled the cases that the namespace has been transferred to an address of different wallet. 2020-09-08 10:25:56 -07:00
Just Wonder
ced2ff10fc Added optional address to keva_put to transfer the namespace to the given address. 2020-09-07 22:13:09 -07:00
Just Wonder
afd37169e7 Namespace creation security fixes. 2020-07-28 17:53:51 -07:00
Just Wonder
10c5b0d0fd Fixed namespace creation.
Fixed mempool propagation for both old (incorrect) and new (correct) namespaces.

Version 0.16.5.4
2020-07-21 13:45:53 -07:00
Just Wonder
1cc2e03927 Deletion of _KEVA_NS_ is not allowed. 2020-06-20 21:17:23 -07:00
Just Wonder
93855108e8 Implemented keva_group_leave. 2020-06-20 13:51:15 -07:00
Just Wonder
9ad1e217b5 Implemented keva_group_join. 2020-06-15 21:34:11 -07:00
Just Wonder
88e0725bd9 Fixed https://github.com/kevacoin-project/kevacoin/issues/11. 2020-02-18 10:59:25 -08:00
Just Wonder
69de9ed62a Fixed wallet rpc help messages. 2020-01-27 20:43:28 -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
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
06770c9b2c Fixed functional test cases. 2019-03-25 19:17:29 -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
1e187fea9d Added block disconnecting test cases for keva. 2019-02-13 22:42:47 -08:00
Jianping Wu
37dfb034a6 1. Fixed pending information containing other people's information.
2. Fixed keva undo.
2019-02-13 20:46:30 -08:00
Jianping Wu
8c5def9909 Used SegWit address for keva_delete. 2019-02-12 20:26:25 -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
0fa3dfbcc0 Used SegWit address for keva_put. 2019-02-11 23:20:25 -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
c2e4edb7ec Fixed wallet_account test.
Only supported legacy address in regtest.

Fixed wallet_backup test.

Fixed wallet_basic.

Fixed wallet_multiwallet and txn_clone.

Fixed txn_doublespend test case.
2019-02-07 15:09:19 -08:00
Jianping Wu
392b7aba5f More changes from litecoin to kevacoin. 2019-01-28 17:21:28 -08:00
Jianping Wu
72d45d6a69 Fixed unit tests. 2019-01-25 21:25:48 -08:00
Jianping Wu
86d85c886d Added testnet fixed seeds. 2019-01-18 11:45:19 -08:00
Jianping Wu
9a025be151 Implemented keva_filter. 2018-12-13 10:43:54 -08:00
Jianping Wu
f6b074a81c Fixed keva_delete. 2018-12-13 10:43:54 -08:00
Jianping Wu
df20cfc6d2 WIP: implemented keva_delete.
Problem: after the call, the corresponding keva coin is gone!
2018-12-13 10:43:54 -08:00
Jianping Wu
feccd14a48 Second major changes from litecoinS to kevacoinS. 2018-12-13 10:43:53 -08:00
Jianping Wu
7a994de062 First major changes to kevacoin text. 2018-12-13 10:43:53 -08:00
Jianping Wu
e3a786f827 Fixed windows build.
Fixed qt build.
2018-12-13 10:43:53 -08:00
Jianping Wu
98234230d2 Added Base58 format checking for namespace. 2018-12-13 10:43:53 -08:00
Jianping Wu
080740146f Fixed list namespaces output - used valid JSON. 2018-12-13 10:43:53 -08:00
Jianping Wu
f947286c8b Used DecodeBase58Check to match EncodeBase58Check.
Max value length is MAX_SCRIPT_ELEMENT_SIZE.
2018-12-13 10:43:53 -08:00
Jianping Wu
e30e56ef11 OK, it was decided that MAX_SCRIPT_ELEMENT_SIZE shall be 3072. 2018-12-13 10:43:53 -08:00
Jianping Wu
66f3985021 N or M for namespace.
TODO: make sure it is N only!
2018-12-13 10:43:53 -08:00
Jianping Wu
cfa582bd00 Added op name in keva_pending output. 2018-12-13 10:43:53 -08:00
Jianping Wu
ce08f141cc Implemented keva_pending. 2018-12-13 10:43:53 -08:00
Jianping Wu
11c740f549 Cleaned up code - removed dead code from namecoin.
Removed lots of legacy checks from namecoin.
2018-12-13 10:43:53 -08:00
Jianping Wu
a875d1ca34 Find keva coins from wallet. 2018-12-13 10:43:53 -08:00
Jianping Wu
126f160722 Started working on instant results. 2018-12-13 10:43:53 -08:00
Jianping Wu
1d0a0efaeb Validated unique namespace id. 2018-12-13 10:43:53 -08:00
Jianping Wu
e23a5a6fe8 Used hash of the first TxIn as namespace id. This ensures that the namespace id is unqiue.
TODO: verify that the TxIn is indeed the hash of the first TxIn.
2018-12-13 10:43:53 -08:00
Jianping Wu
7d80f78f4e Fixed keva amount in wallet. 2018-12-13 10:43:53 -08:00
Jianping Wu
049a7b2a80 Bug: remove keva input value from the value to select. 2018-12-13 10:43:53 -08:00
Jianping Wu
b363a8d80e Base58 encoding for namespace (prefix 2, to be fixed to N)
Segwit P2SH-P2WPKH.
redeemScript = 0x0014{20-byte keyhash}
scriptPubKey = OP_HASH160 hash160(redeemScript) OP_EQUAL
2018-12-13 10:43:53 -08:00
Jianping Wu
c50e868e14 Began to use SEGWIT by default! 2018-12-13 10:43:53 -08:00