-
Notifications
You must be signed in to change notification settings - Fork 23
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
Expose over-the-wire encoded transaction size #1211
Merged
crocodile-dentist
merged 2 commits into
bolt12/tx-submission
from
mwojtowicz/tx-wire-size
Sep 23, 2024
Merged
Expose over-the-wire encoded transaction size #1211
crocodile-dentist
merged 2 commits into
bolt12/tx-submission
from
mwojtowicz/tx-wire-size
Sep 23, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
crocodile-dentist
requested review from
nfrisby,
jasagredo,
amesgen,
fraser-iohk,
dnadales and
RenateEilers
as code owners
August 8, 2024 08:44
crocodile-dentist
force-pushed
the
mwojtowicz/tx-wire-size
branch
2 times, most recently
from
August 8, 2024 14:22
65bfb2e
to
a26a963
Compare
jasagredo
reviewed
Aug 9, 2024
ouroboros-consensus-diffusion/changelog.d/20240808_125632_marcin.wojtowicz_tx_wire_size.md
Outdated
Show resolved
Hide resolved
ouroboros-consensus/changelog.d/20240808_101916_marcin.wojtowicz_tx_wire_size.md
Outdated
Show resolved
Hide resolved
crocodile-dentist
force-pushed
the
mwojtowicz/tx-wire-size
branch
from
August 9, 2024 14:42
a26a963
to
2d9433b
Compare
7 tasks
crocodile-dentist
force-pushed
the
mwojtowicz/tx-wire-size
branch
from
August 28, 2024 13:00
2d9433b
to
53a5d0d
Compare
crocodile-dentist
changed the base branch from
main
to
bolt12/tx-submission
September 23, 2024 14:18
crocodile-dentist
force-pushed
the
mwojtowicz/tx-wire-size
branch
from
September 23, 2024 14:19
53a5d0d
to
db1f76b
Compare
The new method leverages a corresponding method recently exposed by ledger side to provide encoded transaction sizes to eg. diffusion layer.
crocodile-dentist
force-pushed
the
mwojtowicz/tx-wire-size
branch
from
September 23, 2024 14:26
db1f76b
to
d2e7058
Compare
crocodile-dentist
added a commit
that referenced
this pull request
Sep 24, 2024
# Description This change introduces a new method wireSizeTx for the LedgerSupportsMempool class. It provides actual CBOR encoded transaction size as it is when transmitted over the network, which the difffusion layer could exploit. Also note that: - New code should be properly tested (even if it does not add new features). - The fix for a regression should include a test that reproduces said regression. IntersectMBO/cardano-ledger#4521 IntersectMBO/ouroboros-network#4926
crocodile-dentist
added a commit
that referenced
this pull request
Sep 24, 2024
# Description This change introduces a new method wireSizeTx for the LedgerSupportsMempool class. It provides actual CBOR encoded transaction size as it is when transmitted over the network, which the difffusion layer could exploit. Also note that: - New code should be properly tested (even if it does not add new features). - The fix for a regression should include a test that reproduces said regression. IntersectMBO/cardano-ledger#4521 IntersectMBO/ouroboros-network#4926
crocodile-dentist
added a commit
that referenced
this pull request
Sep 24, 2024
# Description This change introduces a new method wireSizeTx for the LedgerSupportsMempool class. It provides actual CBOR encoded transaction size as it is when transmitted over the network, which the difffusion layer could exploit. Also note that: - New code should be properly tested (even if it does not add new features). - The fix for a regression should include a test that reproduces said regression. IntersectMBO/cardano-ledger#4521 IntersectMBO/ouroboros-network#4926
crocodile-dentist
added a commit
that referenced
this pull request
Sep 24, 2024
# Description This change introduces a new method wireSizeTx for the LedgerSupportsMempool class. It provides actual CBOR encoded transaction size as it is when transmitted over the network, which the difffusion layer could exploit. Also note that: - New code should be properly tested (even if it does not add new features). - The fix for a regression should include a test that reproduces said regression. IntersectMBO/cardano-ledger#4521 IntersectMBO/ouroboros-network#4926
crocodile-dentist
added a commit
that referenced
this pull request
Sep 24, 2024
# Description This change introduces a new method wireSizeTx for the LedgerSupportsMempool class. It provides actual CBOR encoded transaction size as it is when transmitted over the network, which the difffusion layer could exploit. Also note that: - New code should be properly tested (even if it does not add new features). - The fix for a regression should include a test that reproduces said regression. IntersectMBO/cardano-ledger#4521 IntersectMBO/ouroboros-network#4926
crocodile-dentist
added a commit
that referenced
this pull request
Sep 24, 2024
# Description This change introduces a new method wireSizeTx for the LedgerSupportsMempool class. It provides actual CBOR encoded transaction size as it is when transmitted over the network, which the difffusion layer could exploit. Also note that: - New code should be properly tested (even if it does not add new features). - The fix for a regression should include a test that reproduces said regression. IntersectMBO/cardano-ledger#4521 IntersectMBO/ouroboros-network#4926
crocodile-dentist
added a commit
that referenced
this pull request
Sep 24, 2024
# Description This change introduces a new method wireSizeTx for the LedgerSupportsMempool class. It provides actual CBOR encoded transaction size as it is when transmitted over the network, which the difffusion layer could exploit. Also note that: - New code should be properly tested (even if it does not add new features). - The fix for a regression should include a test that reproduces said regression. IntersectMBO/cardano-ledger#4521 IntersectMBO/ouroboros-network#4926
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This change introduces a new method wireSizeTx for the LedgerSupportsMempool class. It provides actual CBOR encoded transaction size as it is when transmitted over the network, which the difffusion layer could exploit.
Also note that:
IntersectMBO/cardano-ledger#4521
IntersectMBO/ouroboros-network#4926