Add gossip interface#24
Merged
marc-casperlabs merged 4 commits intocasper-network:masterfrom Jun 16, 2020
marc-casperlabs:NDRS-88/add-gossip-interface
Merged
Add gossip interface#24marc-casperlabs merged 4 commits intocasper-network:masterfrom marc-casperlabs:NDRS-88/add-gossip-interface
marc-casperlabs merged 4 commits intocasper-network:masterfrom
marc-casperlabs:NDRS-88/add-gossip-interface
Conversation
EdHastingsCasperAssociation
approved these changes
Jun 16, 2020
Contributor
|
So no tests? |
Contributor
Author
|
Coming in a different PR - but they have some possibly controversial refactorings that might be included and I don't want to block anyone that is working on this code, or have it bitrot. |
sacherjj
pushed a commit
that referenced
this pull request
Dec 16, 2021
rafal-ch
pushed a commit
that referenced
this pull request
Sep 11, 2024
A metadata structure will optimize some functions such as `{input,
output, witness}_offset` and `id`.
When `prepare_metadata` is called, it will be stored internally in the
transaction.
The calls to the optimized functions will first query the metadata. If
metadata is not present, then the result will be computed.
The transaction is not expected to be mutated in runtime after
deserialization.
The metadata optimization assumes that, once precomputed, it won't need
to recompute. For that, the mutable functions are taken out of the scope of
the transaction so the precomputed metadata won't ever need to be
refreshed.
rafal-ch
pushed a commit
that referenced
this pull request
Sep 11, 2024
`fuel-data` was split into `fuel-types` and `fuel-storage` to avoid mixing VM/infrastructure requirements with generic data trait definitions. Co-authored-by: John Adler <adlerjohn@users.noreply.github.com>
rafal-ch
pushed a commit
that referenced
this pull request
Sep 11, 2024
Co-authored-by: Hannes Karppila <hannes.karppila@gmail.com>
rafal-ch
pushed a commit
that referenced
this pull request
Sep 11, 2024
Its beneficial to have some truncation strategy for bytes representation so they can be readable. However, truncation alone may result in collisions and misleading information. This PR introduces the usage of `core::fmt::Formatter::width`, a Rust standard for truncating formatted objects. It will reduce arbitrary slices into smaller hex representations. These smaller representations will be the result of the sum of XOR over the chunks of the original bytes. This is secure and will lead to unique representations, truncated only to the available bits of the desired width.
rafal-ch
pushed a commit
that referenced
this pull request
Sep 11, 2024
zajko
added a commit
to zajko/casper-node
that referenced
this pull request
Oct 13, 2025
# This is the 1st commit message: rebasing # The commit message #2 will be skipped: # WIP # The commit message #3 will be skipped: # WIP # The commit message #4 will be skipped: # wip # The commit message #5 will be skipped: # wip # The commit message #6 will be skipped: # wip # The commit message #7 will be skipped: # wip # The commit message #8 will be skipped: # wip # The commit message #9 will be skipped: # wip # The commit message casper-network#10 will be skipped: # wip # The commit message casper-network#11 will be skipped: # wip # The commit message casper-network#12 will be skipped: # wip # The commit message casper-network#13 will be skipped: # rebasing # The commit message casper-network#14 will be skipped: # wip # The commit message casper-network#15 will be skipped: # wip # The commit message casper-network#16 will be skipped: # wip # The commit message casper-network#17 will be skipped: # wip # The commit message casper-network#18 will be skipped: # wip # The commit message casper-network#19 will be skipped: # wip # The commit message casper-network#20 will be skipped: # rebasing # The commit message casper-network#21 will be skipped: # wip # The commit message casper-network#22 will be skipped: # wip # The commit message casper-network#23 will be skipped: # wip # The commit message casper-network#24 will be skipped: # wip # The commit message casper-network#25 will be skipped: # wip # The commit message casper-network#26 will be skipped: # wip # The commit message casper-network#27 will be skipped: # wip # The commit message casper-network#28 will be skipped: # wip # The commit message casper-network#29 will be skipped: # wip
zajko
added a commit
to zajko/casper-node
that referenced
this pull request
Oct 13, 2025
# This is the 1st commit message: rebasing # The commit message #2 will be skipped: # WIP # The commit message #3 will be skipped: # WIP # The commit message #4 will be skipped: # wip # The commit message #5 will be skipped: # wip # The commit message #6 will be skipped: # wip # The commit message #7 will be skipped: # wip # The commit message #8 will be skipped: # wip # The commit message #9 will be skipped: # wip # The commit message casper-network#10 will be skipped: # wip # The commit message casper-network#11 will be skipped: # wip # The commit message casper-network#12 will be skipped: # wip # The commit message casper-network#13 will be skipped: # rebasing # The commit message casper-network#14 will be skipped: # wip # The commit message casper-network#15 will be skipped: # wip # The commit message casper-network#16 will be skipped: # wip # The commit message casper-network#17 will be skipped: # wip # The commit message casper-network#18 will be skipped: # wip # The commit message casper-network#19 will be skipped: # wip # The commit message casper-network#20 will be skipped: # rebasing # The commit message casper-network#21 will be skipped: # wip # The commit message casper-network#22 will be skipped: # wip # The commit message casper-network#23 will be skipped: # wip # The commit message casper-network#24 will be skipped: # wip # The commit message casper-network#25 will be skipped: # wip # The commit message casper-network#26 will be skipped: # wip # The commit message casper-network#27 will be skipped: # wip # The commit message casper-network#28 will be skipped: # wip # The commit message casper-network#29 will be skipped: # wip # The commit message casper-network#30 will be skipped: # wip # The commit message casper-network#31 will be skipped: # wip # The commit message casper-network#32 will be skipped: # wip
zajko
added a commit
to zajko/casper-node
that referenced
this pull request
Oct 13, 2025
# This is the 1st commit message: rebasing # The commit message #2 will be skipped: # WIP # The commit message #3 will be skipped: # WIP # The commit message #4 will be skipped: # wip # The commit message #5 will be skipped: # wip # The commit message #6 will be skipped: # wip # The commit message #7 will be skipped: # wip # The commit message #8 will be skipped: # wip # The commit message #9 will be skipped: # wip # The commit message casper-network#10 will be skipped: # wip # The commit message casper-network#11 will be skipped: # wip # The commit message casper-network#12 will be skipped: # wip # The commit message casper-network#13 will be skipped: # rebasing # The commit message casper-network#14 will be skipped: # wip # The commit message casper-network#15 will be skipped: # wip # The commit message casper-network#16 will be skipped: # wip # The commit message casper-network#17 will be skipped: # wip # The commit message casper-network#18 will be skipped: # wip # The commit message casper-network#19 will be skipped: # wip # The commit message casper-network#20 will be skipped: # rebasing # The commit message casper-network#21 will be skipped: # wip # The commit message casper-network#22 will be skipped: # wip # The commit message casper-network#23 will be skipped: # wip # The commit message casper-network#24 will be skipped: # wip # The commit message casper-network#25 will be skipped: # wip # The commit message casper-network#26 will be skipped: # wip # The commit message casper-network#27 will be skipped: # wip # The commit message casper-network#28 will be skipped: # wip # The commit message casper-network#29 will be skipped: # wip # The commit message casper-network#30 will be skipped: # wip # The commit message casper-network#31 will be skipped: # wip # The commit message casper-network#32 will be skipped: # wip # The commit message casper-network#33 will be skipped: # wip # The commit message casper-network#34 will be skipped: # wip # The commit message casper-network#35 will be skipped: # wip # The commit message casper-network#36 will be skipped: # wip # The commit message casper-network#37 will be skipped: # wip # The commit message casper-network#38 will be skipped: # wip # The commit message casper-network#39 will be skipped: # wip # The commit message casper-network#40 will be skipped: # rebasing
This file contains hidden or 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
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.
This adds the gossip interface to networking. Unfortunately there is no component using it and no way of testing it, so this is as is, until we get a better test framework.
@Fraser999 : It might be worthwhile to update the DeployBroadcaster/Gossiper to test if this is working.
I set the configuration default to
3for now, which, in a 5 node network, will still give us a need to actually gossip to reach everyone. The value is, of course, configurable.