daxeel / blockshell

🎉 Minimal Blockchain Learning CLI
MIT License
1.38k stars 121 forks source link

Can I store the result? #9

Closed sttyru closed 6 years ago

sttyru commented 6 years ago

Hello!

Thank you for this software! It's impressive :) Can I store the result to transfer between hosts and usage for something else?

Thank you.

daxeel commented 6 years ago

Ya as of now in version 1, all the blockchain data is stored in chain.txt file in the working directory. In next release, Blockshell will support distributed data. For your question, yes you have to modify /blockchain/chain.py to connect to your server and you directly pass blockchain data to your remote server. All blockchain data is stored in chain variable of chain.py

sttyru commented 6 years ago

Thank you!

Maybe I miss an edge of technology, but I can't to reuse the chain.txt. Maybe I need to run the application with some special switches?

(excuse me for dummy question)