forked from iotaledger/iri
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request iotaledger#36 from th0br0/sig_provider
Add a remote signature service
- Loading branch information
Showing
41 changed files
with
1,091 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
bazel-* | ||
bazel-*/ | ||
target/ | ||
.ijwb/ | ||
|
||
layers/ | ||
addresses.csv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
. lib.sh | ||
load_config | ||
|
||
docker run -t --rm -v `pwd`/data:/data iota/compass/docker:layers_calculator layers_calculator_deploy.jar -sigMode $sigMode -seed $seed -depth $depth -security $security -layers /data/layers |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
. lib.sh | ||
load_config | ||
|
||
docker run -t --net host --rm -v `pwd`/data:/data iota/compass/docker:signature_source_server signature_source_server_deploy.jar \ | ||
-sigMode $sigMode \ | ||
-security $security \ | ||
-seed $seed \ | ||
-plaintext \ | ||
-port 50051 \ | ||
"$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
. lib.sh | ||
load_config | ||
|
||
docker run -t --net host --rm -v `pwd`/data:/data iota/compass/docker:coordinator coordinator_deploy.jar \ | ||
-layers /data/layers \ | ||
-powMode $powMode \ | ||
-mwm $mwm \ | ||
-tick $tick \ | ||
-host $host \ | ||
-signatureSource remote \ | ||
-remoteURI localhost:50051 \ | ||
-remotePlaintext \ | ||
"$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
load("@io_grpc_grpc_java//:java_grpc_library.bzl", "java_grpc_library") | ||
|
||
java_proto_library( | ||
name = "signature_source_java_proto", | ||
visibility = ["//visibility:public"], | ||
deps = [":signature_source_proto"], | ||
) | ||
|
||
java_grpc_library( | ||
name = "signature_source_java_grpc", | ||
srcs = [":signature_source_proto"], | ||
visibility = ["//visibility:public"], | ||
deps = [":signature_source_java_proto"], | ||
) | ||
|
||
proto_library( | ||
name = "signature_source_proto", | ||
srcs = ["signature_source.proto"], | ||
visibility = ["//visibility:public"], | ||
) |
Oops, something went wrong.