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

CHIA-618 Explore limiting replace by fee to only one spend bundle #18006

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AmineKhaldi
Copy link
Contributor

Idea suggested by @Rigidity.

@AmineKhaldi AmineKhaldi added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog Cleanup Code cleanup labels May 13, 2024
@AmineKhaldi AmineKhaldi self-assigned this May 13, 2024
@AmineKhaldi AmineKhaldi reopened this May 14, 2024
@AmineKhaldi AmineKhaldi marked this pull request as ready for review May 15, 2024 10:15
@AmineKhaldi AmineKhaldi requested a review from a team as a code owner May 15, 2024 10:15
@arvidn
Copy link
Contributor

arvidn commented May 23, 2024

let's wait for the architecture call to have a wider discussion about this. I think it makes sense as a short-term improvement.

@@ -599,7 +599,7 @@ async def validate_spend_bundle(

if fail_reason is Err.MEMPOOL_CONFLICT:
log.debug(f"Replace attempted. number of MempoolItems: {len(conflicts)}")
if not can_replace(conflicts, removal_names, potential):
if len(conflicts) > 1 or not can_replace(conflicts, removal_names, potential):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the point of this is to remove the super-set rule as well, right?
in can_replace()

@AmineKhaldi AmineKhaldi changed the title Explore limiting replace by fee to only one spend bundle CHIA-618 Explore limiting replace by fee to only one spend bundle May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changed Required label for PR that categorizes merge commit message as "Changed" for changelog Cleanup Code cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants