Closed Nashatyrev closed 5 years ago
Libp2p integration.
Prerequisites: Libp2p-jvm published to local maven repo:
git clone https://github.com/libp2p/jvm-libp2p --branch feature/cleanup
> gradlew build
> gradlew publishToMavenLocal
Working scenario (NOTE: either specify different --db-prefix for nodes or start them in different working dirs to avoid db file conflict) :
Node --name=v-01 --db-prefix=db1 --listen=40001 --validators=0-7 default
Node --name=v-04 --db-prefix=db2 --validators=8-15 --connect=/ip4/127.0.0.1/tcp/40001:11111111111111111111111111111111111111111111111111111111111111111111 default
(Travis failed due to absence of libp2p-jvm artifact)
libp2p-jvm
--db-prefix option added. see usage example above.
Libp2p integration.
Prerequisites: Libp2p-jvm published to local maven repo:
git clone https://github.com/libp2p/jvm-libp2p --branch feature/cleanup
)> gradlew build
> gradlew publishToMavenLocal
Working scenario (NOTE: either specify different --db-prefix for nodes or start them in different working dirs to avoid db file conflict) :
Node --name=v-01 --db-prefix=db1 --listen=40001 --validators=0-7 default
Node --name=v-04 --db-prefix=db2 --validators=8-15 --connect=/ip4/127.0.0.1/tcp/40001:11111111111111111111111111111111111111111111111111111111111111111111 default
(Travis failed due to absence of
libp2p-jvm
artifact)--db-prefix option added. see usage example above.