Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dynamic liveness threshold to TipSelection #307

Merged
merged 31 commits into from
Sep 28, 2023

Conversation

hmoog
Copy link
Contributor

@hmoog hmoog commented Aug 29, 2023

This PR adds the ability to define a dynamic liveness threshold function for each block that is able to dynamically adjust the livness threshold based on block related information (e.g. the amount of witnesses it has received).

Depends on iotaledger/iota.go#492

image

@jonastheis jonastheis linked an issue Aug 30, 2023 that may be closed by this pull request
@jonastheis jonastheis marked this pull request as ready for review September 11, 2023 05:23
@jonastheis jonastheis changed the title Feat: Added dynamic liveness threshold to TipSelection. Add dynamic liveness threshold to TipSelection Sep 11, 2023
…ess-threshold

 Conflicts:
	go.mod
	go.sum
	pkg/protocol/engine/attestation/slotattestation/testframework_test.go
	tools/evil-spammer/go.mod
	tools/evil-spammer/go.sum
	tools/gendoc/go.mod
	tools/gendoc/go.sum
	tools/genesis-snapshot/go.mod
	tools/genesis-snapshot/go.sum
…ess-threshold

 Conflicts:
	go.mod
	go.sum
	pkg/protocol/engine/tipmanager/tests/testframework.go
	pkg/protocol/engine/tipmanager/v1/tipmanager.go
	tools/evil-spammer/go.mod
	tools/evil-spammer/go.sum
	tools/gendoc/go.mod
	tools/gendoc/go.sum
	tools/genesis-snapshot/go.mod
	tools/genesis-snapshot/go.sum
@jonastheis jonastheis force-pushed the feat/dynamic-liveness-threshold branch from 597ac27 to 44742d1 Compare September 28, 2023 10:00
@jonastheis jonastheis merged commit 5b8b469 into develop Sep 28, 2023
5 checks passed
@jonastheis jonastheis deleted the feat/dynamic-liveness-threshold branch September 28, 2023 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add dynamic liveness threshold for tip selection
2 participants