sergeyfrolov / Merkle-Patricia-Tree

Merkle Patricia Tree implementation. Course Project. Uses pickle, instead of rlp for serialization.
Apache License 2.0
11 stars 1 forks source link

Interested in using your code for educational project #1

Open cseberino opened 6 years ago

cseberino commented 6 years ago

Sergey

I was admiring your Merkle Patricia tree code and was interested in using it for an educational project of mine. I wondered if you'd be open to some questions about it?

Sincerely,

Chris

sergeyfrolov commented 6 years ago

Hi Chris,

Surely, you have the permission to use the code for any purpose. I figured that currently used CRAPL license is kinda restrictive, so I'll swap it for Apache 2. Unfortunately, this code was written in like 2 days as a course project, and I honestly don't remember why or how I did things.

cseberino commented 6 years ago

Did you ever test against real blockchain data? I'm specifically thinking of confirming you get the same root hashes as are present in block headers?

sergeyfrolov commented 6 years ago

I didn't test for this, but can say for sure that the implementation isn't clean/robust enough for real production blockchains.