Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 897 Bytes

README.md

File metadata and controls

17 lines (16 loc) · 897 Bytes

tensor-coin

Important files

uhash.hpp uhash.cpp
And block{.hpp,.cpp}, chain{.hpp,.cpp}.

Blockchain, polymorphic (runtime CPU/GPU dynamic type) uhash, and validator, built from scratch.

Note that the tensorhash algorithm is only conceptual - it is an example for matrix multiplication intensive hash, and is not optimal.

TODO:

CPU/GPU multithreading, sha256 on the GPU only without re-uploading data, and then, increase MAT_MULT_ITERS.
Coin transactions aren't currently checked - specify how should a transaction look like, save them as a Merkle tree, and add verification functions.
Add specification of chain/block data structures so they can be serialized as a JSON and sent over network to the verifier (auth_wallet).