Migrated cryptography and some improvements
This commit is contained in:
@ -61,7 +61,7 @@ public class Main {
|
||||
.messageRepo(new JdbcMessageRepository(jdbcConfig))
|
||||
.powRepo(new JdbcProofOfWorkRepository(jdbcConfig))
|
||||
.networkHandler(new NioNetworkHandler())
|
||||
.cryptography(new BouncyCryptography())
|
||||
.cryptography(BouncyCryptography.INSTANCE)
|
||||
.port(48444);
|
||||
if (options.localPort != null) {
|
||||
ctxBuilder.nodeRegistry(new NodeRegistry() {
|
||||
|
@ -94,7 +94,7 @@ public class SystemTest {
|
||||
.port(alicePort)
|
||||
.nodeRegistry(new TestNodeRegistry(bobPort))
|
||||
.networkHandler(aliceNetworkHandler)
|
||||
.cryptography(new BouncyCryptography())
|
||||
.cryptography(BouncyCryptography.INSTANCE)
|
||||
.listener(aliceListener)
|
||||
.labeler(aliceLabeler)
|
||||
.build();
|
||||
@ -110,7 +110,7 @@ public class SystemTest {
|
||||
.port(bobPort)
|
||||
.nodeRegistry(new TestNodeRegistry(alicePort))
|
||||
.networkHandler(bobNetworkHandler)
|
||||
.cryptography(new BouncyCryptography())
|
||||
.cryptography(BouncyCryptography.INSTANCE)
|
||||
.listener(bobListener)
|
||||
.labeler(new DebugLabeler("Bob"))
|
||||
.build();
|
||||
|
Reference in New Issue
Block a user