Skip to content

Commit

Permalink
Feat: update pow nonces
Browse files Browse the repository at this point in the history
  • Loading branch information
hairtail committed May 22, 2024
1 parent 21b0f45 commit 105ebbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions proving/proving.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (

func GenerateKPow(ctx context.Context, ch shared.Challenge, postServer string, priority uint, cfg config.Config, logger *zap.Logger, opts ...OptionFunc) (*string, error) {
options := option{
threads: 1,
nonces: 16,
threads: 2,
nonces: 288,
powFlags: config.DefaultProvingPowFlags(),
}
for _, opt := range opts {
Expand All @@ -39,8 +39,8 @@ func GenerateKPow(ctx context.Context, ch shared.Challenge, postServer string, p

func Generate(ctx context.Context, ch shared.Challenge, postServer string, powResponse string, cfg config.Config, logger *zap.Logger, opts ...OptionFunc) (*shared.Proof, *shared.ProofMetadata, error) {
options := option{
threads: 1,
nonces: 16,
threads: 2,
nonces: 288,
powFlags: config.DefaultProvingPowFlags(),
}
for _, opt := range opts {
Expand Down

0 comments on commit 105ebbb

Please sign in to comment.