-
Implement your own version of MResult and associated functions to get robust understanding of rust error handling
-
Review linked_list.rs and use it to repsent bitcoin data in block.rs file, add types and fields as you see fit.
-
Add functions simar to the capabilities of bitcoin core rpc commands. It doesn't have to be comprehensive.
For the task 3, implement functionalities to add a new block, query a block based on height, blochash etc., You can store all your blockchain data in RAM itself, writing in files not required for this task but you can try if you are really interested.
The underlying theme is How would you represent bitcoin data using Rust?
Have fun!