Questions tagged [peer]

A peer-to-peer (P2P) network is a type of decentralized and distributed network architecture in which individual nodes in the network (called "peers") act as both suppliers and consumers of resources, in contrast to the centralized client–server model where client nodes request access to resources provided by central servers.

A peer-to-peer (P2P) network is a type of decentralized and distributed network architecture in which individual nodes in the network (called "peers") act as both suppliers and consumers of resources, in contrast to the centralized client–server model where client nodes request access to resources provided by central servers.

In a peer-to-peer network, tasks (such as searching for files or streaming audio/video) are shared amongst multiple interconnected peers who each make a portion of their resources (such as processing power, disk storage or network bandwidth) directly available to other network participants, without the need for centralized coordination by servers.

Wikipedia: http://en.wikipedia.org/wiki/Peer-to-peer

283 questions
3
votes
8 answers

How do I convince a peer that algorithms are important?

A peer of mine is working on a report that displays the weekly (Sunday to Saturday) advance of every employee in our small consultancy firm. There's a piece of code he wrote that shows the columns corresponding to the days in the target week. His…
pyon
  • 15,961
  • 14
  • 83
  • 144
3
votes
2 answers

WebRTC HowTo PeerConnection via LAN with 2 Browsers

since few days I'm trying to build a basic webRTC Videochat. I've got some Demos running localy, even via LAN. But now I want to build one by my one at the really basics without so much overload some Demos come with. But I still don't get a complete…
Mexx
  • 339
  • 3
  • 16
3
votes
2 answers

The most important basics of P2P

I've been reading around on the www but just can't get the most important basics of P2P. The diagram is like this: [peer1]<-->[dsl-router1]<-->[central server]<-->[dsl-router2]<-->[peer2] I'm developing a chat software on the central server. Chat…
jondinham
  • 7,515
  • 15
  • 71
  • 130
2
votes
1 answer

What is the role of the BitTorrent Mainline DHT routing table in peer lookup requests?

As I understand the first lookup request is sent to the node which is the closest one in the routing table to the info hash of the torrent During the process of peer lookup I can receive many nodes. When I perform next peer lookup can I start peer…
Art Spasky
  • 1,385
  • 2
  • 14
  • 28
2
votes
1 answer

How to programmatically disconnect user from peerServer

I want to be able to programmatically disconnect user if the client.id and client.token does seems fishy (PeerServer). How would I go about doing that inside the connection handler - peerServer.on('connection', (client) => { if(is_fishy(client))…
ShadowDoom
  • 84
  • 1
  • 5
2
votes
1 answer

Hyperledger Caliper ERROR: Failed to submit transaction using arguments, with error: Error: No discovery results found

I am trying to set up the Hyperledger Caliper for the first time ever to test my Hyperledger Fabric network. I was following this tutorial on youtube https://www.youtube.com/watch?v=ypF36RGaG1Q, and when I try to run the following command: npx…
2
votes
2 answers

Java RMI without RMI Registry

I am rather new to java RMI and am trying to create a Peer 2 Peer bit torrent like application wherein multiple instances of the same peer may be on the same machine. This would mean that I would need to be able to have more than one remote object…
SaxyTimmy
  • 203
  • 2
  • 9
2
votes
1 answer

how to implement bootstrap peer and SBC for Sip2peer, for Android?

I have to make an android app that should communicaticate peer to peer. After searching over internet I found one solution is Sip2peer http://code.google.com/p/sip2peer/ but I am not able to implement Bootstrap peer and SBC. Is there any one who…
Pawan
  • 1,495
  • 2
  • 19
  • 28
2
votes
0 answers

How to send bitcoin offline or on localhost using bitcoinj liberary

I am developing a POC application where I will have multiple bitcoin wallets of different users. I am looking for any way to send bitcoin from one wallet to another wallet on localhost itself, without using network to avoid network fees. For better…
Abhishek
  • 436
  • 3
  • 7
2
votes
1 answer

Does contract.evaluateTransaction(fcn,args) make a transaction during query on endorsing peers?

I am using hyperledger fabric 1.4, and facing an issue, while querying using the node sdk await contract.evaluateTransaction(fcn,args), I am getting this error : - Errors: ["2 UNKNOWN: invalid txid. got…
2
votes
1 answer

How fix "rpc error: code = Unknown desc = access denied: channel [mychannel] creator org [Org1MSP]" error in Hyperledger Fabric

Currently I am using Hyperledger Fabric 1.4, and I am trying to modify the basic-network. I am trying to add an org2 with one peer. Whenever I try to invoke the chaincode from the peer on the second organization (Org2) I get the following…
2
votes
0 answers

Hyperledger Fabric: Querying private data using memberOnlyRead feature

collections_config.json file: "name": "Org1PDC", "policy": "OR('Org1MSP.member', 'Org2MSP.member')", "requiredPeerCount": 0, "maxPeerCount": 3, "blockToLive":0, "memberOnlyRead": false I try to query data using Org3 by…
2
votes
0 answers

How can I config the peer node connect to the orderer service on another port than 7050?

I am trying to create a new peer node that connects to existing fabric network on another machine. However, when I try to connect, there is an error message. The message is : " Failed obtaining connection: Could not connect to any of the …
2
votes
1 answer

How to troubleshoot problem with setting WebRTC server on vps?

I wrote a simple node express server for webRTC using peerjs-server and simple client using peerjs. Everything works fine on localhost, but when I try it on vps, I get error: Firefox can't connect with server…
Paweł
  • 106
  • 9
2
votes
3 answers

Peer-to-peer Javascript & something

I'm looking for a method to connect client(web browser) to server(without external IP) using p2p. As client-side language i would like to use javascript. I was reading about WebRTC Peer-to-peer but i don't know if it only works with two…
HealV
  • 49
  • 4
1 2
3
18 19