Skip to content

Commit

Permalink
[Proof Module] Add proof_requirement_threshold param (#595)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Olshansky <[email protected]>
  • Loading branch information
bryanchriswhite and Olshansk authored Jun 12, 2024
1 parent e780068 commit 08268cf
Show file tree
Hide file tree
Showing 17 changed files with 563 additions and 50 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,10 @@ params_update_proof_min_relay_difficulty_bits: ## Update the proof module min_re
params_update_proof_proof_request_probability: ## Update the proof module proof_request_probability param
poktrolld tx authz exec ./tools/scripts/params/proof_proof_request_probability.json $(PARAM_FLAGS)

.PHONY: params_update_proof_proof_requirement_threshold
params_update_proof_proof_requirement_threshold: ## Update the proof module proof_requirement_threshold param
poktrolld tx authz exec ./tools/scripts/params/proof_proof_requirement_threshold.json $(PARAM_FLAGS)

### Shared Module Params ###
.PHONY: params_update_shared_all
params_update_shared_all: ## Update the session module params
Expand Down
100 changes: 83 additions & 17 deletions api/poktroll/proof/params.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ genesis:
proof:
params:
proof_request_probability: "0.25"
proof_requirement_threshold: 20
shared:
params:
num_blocks_per_session: 4
Expand Down
Loading

0 comments on commit 08268cf

Please sign in to comment.