Skip to content

Add gossip interface#24

Merged
marc-casperlabs merged 4 commits intocasper-network:masterfrom
marc-casperlabs:NDRS-88/add-gossip-interface
Jun 16, 2020
Merged

Add gossip interface#24
marc-casperlabs merged 4 commits intocasper-network:masterfrom
marc-casperlabs:NDRS-88/add-gossip-interface

Conversation

@marc-casperlabs
Copy link
Contributor

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 3 for 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.

@marc-casperlabs marc-casperlabs merged commit 8704d25 into casper-network:master Jun 16, 2020
@marc-casperlabs marc-casperlabs deleted the NDRS-88/add-gossip-interface branch June 16, 2020 16:14
@goral09
Copy link
Contributor

goral09 commented Jun 16, 2020

So no tests?

@marc-casperlabs
Copy link
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.

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
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.

3 participants