16 Commits

Author SHA1 Message Date
Jianping Wu
019de6dc09 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-11-26 20:51:19 -08:00
Jianping Wu
8292712a86 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-11-26 20:51:19 -08:00
Jianping Wu
112b96b74c Fixed namespace/key update checking. 2018-11-26 20:51:19 -08:00
Jianping Wu
c9413af303 Used Base64 with N prefix for namespace. 2018-11-26 20:51:19 -08:00
Jianping Wu
4e93264717 Implemented keva_get. 2018-11-26 20:51:19 -08:00
Jianping Wu
5ce618613e Implemented keva_list_namespaces. 2018-11-26 20:51:19 -08:00
Jianping Wu
8bd0eaa31c Changed HasNamespace to GetNamespace. Fixed BackedView error.
Started working on keva_put.
2018-11-26 20:51:19 -08:00
Jianping Wu
4dd5594881 Base64 encode namespace. 2018-11-26 20:51:18 -08:00
Jianping Wu
710afad74e Continued adding keva support. 2018-11-26 20:51:18 -08:00
Jianping Wu
5b4962d706 Implemented writing to DB. 2018-11-26 20:51:18 -08:00
Jianping Wu
0e81bfef6f Finally everything built! 2018-11-26 20:51:18 -08:00
Jianping Wu
dd8c6cc605 WIP: main.cpp compiled. 2018-11-26 20:51:18 -08:00
Jianping Wu
3262008421 Started fixing compilation errors. 2018-11-26 20:51:18 -08:00
Jianping Wu
af231f9ec4 WIP: started implementing keva_namespace. 2018-11-26 20:51:18 -08:00
Jianping Wu
0de7cc44de WIP: support two OPs. 2018-11-26 20:51:18 -08:00
Jianping Wu
296532f3bc WIP: started implementing namespace, key and value. 2018-11-26 20:51:17 -08:00