Raspberry Pi (Expert)
This page shows the steps needed to get an LTO Network node up and running using a Raspberry Pi. Please note that this is a non-straightforward, expert-level guide.
Step 0: Intro to setting up a Raspberry Pi node
Problem Description
$ java -jar lto-public-all.jar lto-mainnet.confpi@raspberrypi:~/lto $ java -jar lto-public-all.jar lto-mainnet.conf
2019-04-22 16:09:41,453 INFO [main] c.w.Application$ - Starting...
2019-04-22 16:09:45,939 INFO [main] kamon.Kamon$Instance - Initializing Kamon...
2019-04-22 16:09:46,959 INFO [main] kamon.Kamon$Instance - Kamon-autoweave has been successfully loaded.
2019-04-22 16:09:46,963 INFO [main] kamon.Kamon$Instance - The AspectJ load time weaving agent is now attached to the JVM (you don't need to use -javaagent).
2019-04-22 16:09:46,968 INFO [main] kamon.Kamon$Instance - This offers extra flexibility but obviously any classes loaded before attachment will not be woven.
2019-04-22 16:10:08,427 INFO [ctor.default-dispatcher-3] a.event.slf4j.Slf4jLogger - Slf4jLogger started
2019-04-22 16:10:10,500 INFO [ctor.default-dispatcher-4] a.event.slf4j.Slf4jLogger - Slf4jLogger started
2019-04-22 16:10:10,535 INFO [main] c.w.Application$ - LTO v1.0.3 Blockchain Id: L
2019-04-22 16:10:11,158 ERROR [main] c.w.actor.RootActorSystem$ - Error while initializing actor system wavesplatform
java.lang.Exception: Could not load any of the factory classes: org.fusesource.leveldbjni.JniDBFactory, org.iq80.leveldb.impl.Iq80DBFactory
at com.wavesplatform.db.LevelDBFactory$.$anonfun$load$5(LevelDBFactory.scala:35)
at scala.Option.getOrElse(Option.scala:121)
at com.wavesplatform.db.LevelDBFactory$.load(LevelDBFactory.scala:35)
at com.wavesplatform.db.LevelDBFactory$.factory$lzycompute(LevelDBFactory.scala:10)
at com.wavesplatform.db.LevelDBFactory$.factory(LevelDBFactory.scala:10)
at com.wavesplatform.db.package$.openDB(package.scala:22)
at com.wavesplatform.Application.<init>(Application.scala:54)
at com.wavesplatform.Application$.$anonfun$main$3(Application.scala:413)
at com.wavesplatform.Application$.$anonfun$main$3$adapted(Application.scala:387)
at com.wavesplatform.actor.RootActorSystem$.start(RootActorSystem.scala:25)
at com.wavesplatform.Application$.main(Application.scala:387)
at com.wavesplatform.Application.main(Application.scala)
pi@raspberrypi:~/lto $Step 1: Getting our node up-and-running
Final considerations
Step 2: Wait for a 1.000 blocks
Last updated