Comments (1)
What exactly does "data validity" mean, and why does requesting the Merkle tree nodes have to do with it?
The "data validity" is defined in the sections about blocks and transactions. Data validity is not related to the merkle trie download.
Is it because just verifying PoW is faster to propagate block while still offering some security, ie, we are making a security vs. speed tradeoff here?
Yes. Validating the PoW is very quick, and coming up with a valid PoW seal is very expensive on mainnet, so it's a good tradeoff. If the block turns out invalid, the node will not accept it.
and don't TCP connections generate extra overhead and time? So if we want to propagate transactions across the network as fast as possible, and as I understand nodes have to make connections first, won't this introduce a lot of delay?
The "eth" network is an unstructured graph of TCP connections between nodes. Basically, it is assumed that nodes will continuously establish connections and maintain them. The connections are "long-lived", i.e. it's not like HTTP with one connection per request. Instead, once a connection is created, it can be maintained until either side decides to end the connection. There is no need to create a connection specifically for relaying a single transaction.
from devp2p.
Related Issues (20)
- besu / snap sync questions
- RLPx: Incorrectly says capability message IDs start at 0x11, really they start at 0x10 HOT 1
- discv5: support multi-packet talk. HOT 4
- Ethereum and JavaScript Integration HOT 3
- Error in DiscV4 documentation HOT 1
- best way to learn ethereum network HOT 4
- discv5 topic discovery: efficiency vs resilience tradeoff HOT 5
- eth67: removal of GetNodeData
- discv5: NAT traversal via Rendezvous protocol [WIP] HOT 7
- caps/eth.md: update spec to include Paris deprecation of `NewBlockHashes`/`NewBlock`
- sig missing from handshake's auth spec HOT 3
- Inconsistency among different clients on when to use a specific diconnect reason HOT 1
- [Question] [RLPX] auth / auth-ack padding HOT 4
- Receiving weird RLP message from GETH client HOT 4
- discv5: protocol version v5.2 HOT 6
- discv5: sub-protocol data transmission HOT 12
- Eth68 encoding of `txType` doesn't match client implementations for `NewPooledTransactionHashes` HOT 3
- Do I need my own bootnodes and will the static peers be used for discovery? HOT 1
- Not getting any inbound connections HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devp2p.