currently only works with java 8
as java 9 has some maven incompatabilites due to --add-modules
may need to increase memory to build quicker: export MAVEN_OPTS=-Xmx4g
to check versions of plugins and dependencies, run the following command:
mvn versions:display-dependency-updates
mvn versions:display-plugin-updates
to build and do code coverage run the following command:
mvn clean install site;
to build, do code coverage, and start the application, run the following command:
mvn clean install site; java -jar target/neo-java-0.0.1-SNAPSHOT-jar-with-dependencies.jar;
if the blockchain appears to be corrupt, run the following command:
java -jar target/neo-java-0.0.1-SNAPSHOT-jar-with-dependencies.jar /validate
uploading to an ec2 instance
scp -i "t2.micro.neo-cli.pem" chain.acc ubuntu@HOST.amazonaws.com:chain.acc
todo:
- check message checksum
- use VM to check scripts
- check signer hash
- check that bulk insert stops on the first bad block in a list.
Image should be 100,000,000 NEO in 10,000 pixels. 10,000 NEO in a pixel.