Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added persistence capability for the peer blockchain #17

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

xtrycatchx
Copy link

@xtrycatchx xtrycatchx commented Oct 6, 2017

added capability to persist the whole blockchain in JSON

for now, blockchain data can be found in lib/persistence/index.js

constructor() { this.blockchainfile = '/home/nodejs/app/blockchain.json'; }

allows cli execution without the need to have the app running, for example :
$blockchain-cli blockchain which will invoke displaying of the chain without the need to have the app stayed running

… forever

allows cli execution like:
blockchain-cli blockchain
@xtrycatchx xtrycatchx changed the title allow arguments passing from cli without having the app running allow arguments passing direct from cli Oct 6, 2017
@xtrycatchx xtrycatchx changed the title allow arguments passing direct from cli added persistence capability for the peer blockchain Oct 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant