Skip to content

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

License

Notifications You must be signed in to change notification settings

or-toledano/tensor-coin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published