Questions tagged [p2p]
The p2p tag has no usage guidance.
20
questions
0
votes
0
answers
15
views
Possibility of spoofing miners in Ethereum
Ethereum uses node IDs to identify nodes uniquely and to route traffic between nodes based on the node discovery protocol (https://github.com/ethereum/devp2p/blob/master/discv4.md) built on Kademlia-...
0
votes
0
answers
11
views
Complexity of IPFS files
I'm fairly new to IPFS and I was wondering how complex the files that you host in IPFS can be?
Can you keep an event listener continually listening for input without downtime? Can you retrieve ...
0
votes
0
answers
23
views
Quorum P2P HTTPS communication
I want to know if there is any way i can make Quorum peer to peer communication TLS enabled?
I agree the communication is encrypted but i would feel much more secure if they are also TLS enabled.
...
0
votes
1
answer
118
views
Is it possible to use smart contracts to do money transfers? If so, how?
I've recently gotten into blockchain and I was having trouble understanding smart contracts.
Is it possible to use smart contracts to do money transfers?
Something similar to Venmo I guess. when I ...
2
votes
1
answer
544
views
Sending transaction directly to miner on private network?
I am trying to understand how one node can send a transaction to another node (miner or full) directly rather than waiting P2P network to distribute it?
Say I have two non-miner nodes A and B and one ...
0
votes
1
answer
122
views
How can I easily get the Ethereum 2.0 network's fork digest and fork version?
Ethereum 2.0 nodes communicate through a libp2p network. Two indicators of talking to "correct" nodes on the same network are the "fork digest" and the "fork version" ...
0
votes
0
answers
46
views
where to host my Java web app to fully decentralised?
I need a idea to host my webapp to be on some secure distributed network. my client doesn't want to deployed on aws or gcp. he wants it to be on decentralised network p2p. Your suggestion and advice ...
1
vote
0
answers
37
views
Implement custom Ethereum client that asks Nodes for their connected neighbours
I'm new to Ethereum so please pardon my lack of knowledge on the field. For that reason my question might be too broad as well.
I'm working on a project that visualises a topology graph of the whole ...
2
votes
2
answers
463
views
How to retrieve IP address and Port from Ethereum Node Records (ENR)?
Here are four Ethereum Node Records (as per EIP-778):
- "enr:-Iu4QGuiaVXBEoi4kcLbsoPYX7GTK9ExOODTuqYBp9CyHN_PSDtnLMCIL91ydxUDRPZ-jem-...
6
votes
1
answer
150
views
Target addresses in Kademlia
I'm currently trying to understand the Kademlia protocol implemented in Ethereum in order to discover other peers in the network. If I understand these lines correctly, a nodes uses both random ...
1
vote
1
answer
288
views
How many nodes does Geth attempt to connect to by default?
Bitcoin Core tries to connect to 8 nodes by default. How many does Geth attempt to connect to for the eth protocol (normal network gossip)? Is there a set number in the first place?
5
votes
1
answer
397
views
Why kademlia for p2p?
It seems pointless to me. I looked at the actual implementation. Kademila is used to discover peers, but there is no gained benefits. As when the node connects to peers, it simply just grab from the ...
1
vote
1
answer
129
views
Can non-default port (not 30303) be a reason for the small number of peers?
I have two ethereum full nodes in Rosten network with non-default port (not 30303).
One has net.peerCount = 3, the next one has net.peerCount = 0 and I can't sync it more then 24 hours.
Also, I have ...
5
votes
1
answer
1k
views
How Are Transactions/Blocks Broadcasted
In Ethereum, when a node ‘broadcasts’ a transaction or block, what algorithm is used to broadcast that transaction or block to all the nodes? Also, how does this algorithm discover peers? What are ...
4
votes
2
answers
6k
views
How do I bind geth to a specific network interface?
Currently geth listens on all interfaces (0.0.0.0:30303). I need to bind the main port 30303 to only a specific network interface in the device, which would normally be accomplished by specifying a ...
1
vote
0
answers
106
views
In which components can geth be split? [closed]
I'm interested in how does the process "geth" (in a full node) work. I mean in which components can the geth conceptually be split.
In my understanding there should be at least (conceptually) three ...
1
vote
1
answer
698
views
P2P file sharing nodes using blockchain?
I want to make a p2p file sharing program where there are hosts (nodes) and renters. Files are stored on the hosts' PCs. I could just have a central server providing the lookup information as to which ...
0
votes
1
answer
93
views
How does it the geth ethereum platform to automatically connect to the nodes that are in the main network of Ethereum?
I have tried to make connection between several nodes in my private network, but I do it with a enode direction, but Ethereum network does it without knowing my enode, I want to know what kind of p2p ...
2
votes
0
answers
38
views
Is an accurate clock really required to participate in the Ethereum network?
The Ethereum documentation states:
https://github.com/ethereum/homestead-guide/blob/master/source/network/connecting-to-the-network.rst#static-nodes-trusted-nodes-and-boot-nodes
"An accurate clock ...
0
votes
1
answer
654
views
p2p connection library for Blockchain example
I would like to implement the missing p2p communication for this example repo.
Does anyone know the best library I could use to implement communication between nodes? Moreover a tutorial or guide to ...