Skip to content

Instantly share code, notes, and snippets.

@alexvanin
Last active March 19, 2019 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexvanin/3585d5ac0acb5f373ec7ac516b281718 to your computer and use it in GitHub Desktop.
Save alexvanin/3585d5ac0acb5f373ec7ac516b281718 to your computer and use it in GitHub Desktop.
neo-bench$ make connect-cli
Connect to neo-python
* Consensus nodes are running in screen sessions, check 'screen -ls'
* Please report issues to https://github.com/CityOfZion/neo-local
root@f5f56e5056bc:/neo-python# # install your favourite text editor or use inline replace
root@f5f56e5056bc:/neo-python# apt install vim
root@f5f56e5056bc:/neo-python# sed -i 's/"SecondsPerBlock": .*/"SecondsPerBlock": 10,/' /opt/node/neo-cli/protocol.json
root@f5f56e5056bc:/neo-python# sed -i 's/"MaxTransactionsPerBlock": .*/"MaxTransactionsPerBlock": 10000,/' /opt/node/neo-cli/Plugins/SimplePolicy/config.json
root@f5f56e5056bc:/neo-python# exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment