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

fix: build tx packages similar to Bitcoin Core #72

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

0xB10C
Copy link
Owner

@0xB10C 0xB10C commented Nov 22, 2023

The previous implementation build packages with a global view of the available transactions. This is different from how Bitcoin Core inserts packages into a block template. For smoother feerate distribution plots, the package building algorithm changed to only account for local packages (i.e. transactions next to each other in the block). This also simplifies the package building function as a whole.

before:
image

after:
image

The previous implementation build packages with a global view of the
available transactions. This is different from how Bitcoin Core inserts
packages into a block template. For smoother feerate distribution plots,
the package building algorithm changed to only account for local
packages (i.e. transactions next to each other in the block). This also
simplifies the package building.
@0xB10C 0xB10C force-pushed the 2023-11-refactor-package-building branch from 1d099fb to 4c2eb95 Compare November 22, 2023 12:53
@0xB10C 0xB10C merged commit ba2c36d into master Nov 22, 2023
1 check passed
@0xB10C 0xB10C deleted the 2023-11-refactor-package-building branch November 22, 2023 13:01
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.

1 participant