Pubsub is broadcasting block to the sender itself
See original GitHub issueThe version is the 0.1.1 from pypi. And this behavior is found in Trinity. Alice broadcasted a block and the block was received from gossip again. Logs here:
alice@16Uiu2HAmR DEBUG 2019-10-22 11:16:09,106 Validator broadcasting block [signing_root]=5d1b..9f74, [hash_tree_root]=12fc..3a6a, slot=4, parent_root=d63a..aa52, state_root=42a9..538c, body=(randao_reveal=8a7f..4878, graffiti=0000..0000, proposer_slashings=(), attester_slashings=(), attestations=(<Attestation: ATTT a4f6..c426>,), deposits=(), voluntary_exits=(), transfers=()), signature=b973..a0eb
alice@16Uiu2HAmR DEBUG 2019-10-22 11:16:09,127 BCCReceiveServer Received block over gossip. slot=4 signing_root=5d1b296de52600b50da40e8958022e4c6dce6b54904966395c593b447f059f74
alice@16Uiu2HAmR DEBUG 2019-10-22 11:16:09,128 BeaconChain attempting import of block with slot 4 and signing_root 5d1b..9f74
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
What is Pub/Sub? - Google Cloud
Publishers communicate with subscribers asynchronously by broadcasting events, rather than by synchronous remote procedure calls (RPCs).
Read more >Chapter 5 - Advanced Pub-Sub Patterns - ZeroMQ Guide
Pub-sub is like a radio broadcast; you miss everything before you join, ... This shows neatly how the publisher socket stops sending data...
Read more >Going Real-Time with Redis Pub/Sub - Toptal
The publish-subscribe pattern is a way of passing messages to an arbitrary number of senders. The senders of these messages (publishers) do not...
Read more >How to avoid dropping messages zeromq pub sub
I'd stay away from explicitly blocking anything, it's too brittle. A synchronous sender could hang indefinitely if something goes wrong on the ...
Read more >GitHub - skyformat99/High-performance-pub-sub
Contribute to skyformat99/High-performance-pub-sub development by creating ... should not receive what they sent themselves, so we add a gap to this sender ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Link to the discussion for future reference. Thank @ChihChengLiang for finding this discussion.
Alright, sorry. Confirmed from @mhchia this is the intended behavior. See #65. Will fix that from Trinity side.