Skip to content

Commit

Permalink
feat(galois): introduce asynchronous Poll proving endpoint (#892)
Browse files Browse the repository at this point in the history
fixes #485
  • Loading branch information
hussein-aitlahcen authored Nov 3, 2023
2 parents 52cd774 + 92a108e commit 762a084
Show file tree
Hide file tree
Showing 6 changed files with 790 additions and 261 deletions.
1 change: 1 addition & 0 deletions dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ notrunc
numtide
omit
omnichain
oneof
openapi
openapiv
opsz
Expand Down
6 changes: 3 additions & 3 deletions galoisd/cmd/galoisd/cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ func ServeCmd() *cobra.Command {
if err != nil {
return err
}
server, err := provergrpc.NewProverServer(r1csPath, pkPath, vkPath)
maxConn, err := cmd.Flags().GetInt(flagMaxConn)
if err != nil {
return err
}
maxConn, err := cmd.Flags().GetInt(flagMaxConn)
server, err := provergrpc.NewProverServer(uint32(maxConn), r1csPath, pkPath, vkPath)
if err != nil {
return err
}
Expand All @@ -65,6 +65,6 @@ func ServeCmd() *cobra.Command {
cmd.Flags().String(flagR1CS, "r1cs.bin", "Path to the compiled R1CS circuit.")
cmd.Flags().String(flagPK, "pk.bin", "Path to the proving key.")
cmd.Flags().String(flagVK, "vk.bin", "Path to the verifying key.")
cmd.Flags().Int(flagMaxConn, 10, "Maximum number of concurrent connection.")
cmd.Flags().Int(flagMaxConn, 1, "Maximum number of concurrent connection.")
return cmd
}
Loading

0 comments on commit 762a084

Please sign in to comment.