Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.21 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.21 KB

lazynode-neo

lazynode patch of neo

build

docker build . -t lazynode/lazyneo:latest

use

store the blockchain data to current work directory

docker run -it --rm --name lazyneo -v "$(pwd)":/workspace lazynode/lazyneo:latest

provide a custom config.json

docker run -it --rm --name lazyneo -v "$(pwd)":/workspace -v "$(pwd)/config.json":/neo/config.json lazynode/lazyneo:latest

provide a custom plugin/module and config.json

  • build your own module to somewhere
dotnet build -c Release -o $YOUR_MODULE_DIR
  • mount your module to the docker
docker run -it --rm --name nextdex3.5.0 -v "$(pwd)":/workspace -v "$(pwd)/config.json":/neo/config.json -v $YOUR_MODULE_DIR:/neo/Plugins/$YOUR_MODULE_DIR lazynode/lazyneo:v3.5.0

fast sync (without data verify)

  • download chain.0.acc.zip to current work directory, find package data here

  • sync data to current directory

docker run -it --rm --name lazyneo -v "$(pwd)":/workspace lazynode/lazyneo:latest
  • sync faster without verify
docker run -it --rm --name lazyneo -v "$(pwd)":/workspace lazynode/lazyneo:latest /neo/neo-cli --noverify

stop

  • Ctrl-C
  • Ctrl-D