Glossary · Blockchain development
Published 23 May 2025 · Updated 21 Oct 2026 · 14 min read
P2P (peer-to-peer) is a distributed architecture in which participants share resources directly with each other. In Bitcoin, a full node checks transactions and blocks against shared rules. Nodes connect directly to each other and relay transactions and blocks hop by hop, without a central server. This differs from P2P trading, where people trade cryptocurrency with each other.
A peer-to-peer network shares resources directly among participants. The client-server model separates requesters from providers, with a central server supplying resources. A hybrid keeps only discovery centralized, as Napster did with its index. In a blockchain P2P network such as Bitcoin, each full node independently checks transactions before relaying them and verifies every block itself.
After 80% random outages, 96% of survivors stay connected with eight links. With ten links, 99% stay connected.
The page team simulated random networks of 2,000 nodes. These results do not measure a real network.
Alternate paths let traffic bypass failed participants. In the page team's simulation, eight links preserved connectivity among 96% of survivors after 80% random outages. Removing the most connected 80% first left 66% of survivors connected. These results do not remove shared dependencies. In October 2026, Bitcoin Core ships seven DNS seeds and Geth nine mainnet bootnodes. Hosting and routing also concentrate exposure. In 2017, dedicated hosting networks held 56% of Bitcoin nodes and 28% of Ethereum nodes.
File sharing can gain capacity when participants contribute resources. Blockchain replication works differently. Each full node checks every transaction and block against consensus rules, adding another verified copy rather than more throughput. The 2019 Erlay paper found relay bandwidth grew linearly with connection count. Nor does every participant serve others. Many only make outbound connections to peers. A blockchain light client downloads headers and relies on full nodes for other data.
Early peer-to-peer services separated finding content from transferring it. File sharing, voice calls and digital cash then exposed different trust problems. The Bitcoin white paper connects P2P networking with preventing a double spend, rather than simply distributing files.
Shawn Fanning's music service launched with a central song index and direct file transfers. It closed in July 2001 after A&M Records v. Napster.
Bram Cohen released BitTorrent on 2 July 2001. Peers exchange file pieces in swarms, finding each other through trackers, distributed hash tables or peer exchange.
John Douceur described how one faulty participant can present many identities. Without a logically centralized authority, such attacks remain possible except under unrealistic assumptions.
Skype launched with supernodes and ordinary participants. Microsoft moved supernodes into its data centers in 2012. The service was retired on 5 May 2025.
On 31 October 2008, Satoshi Nakamoto announced electronic cash without a trusted third party. The white paper describes participants leaving and rejoining freely.
Bitcoin Core 32.0, tagged on 21 October 2026, raises the default connection limit to 200. Versions 31.x and older keep the 125-connection default.
Joining requires an initial contact, not a complete directory. A new P2P node learns addresses, tries connections and keeps useful peer contacts. Bitcoin uses relatively random selection. Ethereum's discovery organizes contacts through a structured table, so peer-to-peer networks need not share one topology.
In October 2026, a new Bitcoin Core node queries all seven DNS seeds. If no addresses arrive within 60 seconds, it uses its built-in list of 2,057 fixed seeds. DNS answers lack authentication.
In October 2026, Bitcoin's addr and addrv2 messages carry up to 1,000 addresses each. Its address table buckets entries by address range, and new entries also by source range.
In October 2026, Ethereum execution discovery uses discv4 and discv5 with Kademlia-like tables. Signed node records, bootnode contacts and DNS lists support discovery. Each bucket holds 16 peer records.
Since Bitcoin Core 22.0 in 2021, onion connections require Tor v3, and I2P is supported. Its documentation warns that I2P-only operation may increase exposure to Sybil attacks.
A node passes new data to its connected peers, which pass it onward. This process is called gossip. The Bitcoin white paper describes broadcasting transactions to all nodes, but no node connects directly to everyone. P2P relay reaches the wider network through successive hops. Transaction announcements, block delivery and consensus messages can follow different rules within the same peer-to-peer system.
Eight links reach 90% in four hops and 99% in five across 25,000 nodes. Bitcoin Core's October 2026 defaults distinguish full-relay and block-only links.
This hop-count simulation comes from the page team. Real relay adds validation, bandwidth constraints and random delays.
Bitcoin announces transactions with inv. A peer requests them with getdata, then receives tx. Random announcement delays obscure the sender. Compact blocks, introduced in August 2016, send short IDs for transactions peers mostly already hold. In 2013, median block arrival took 6.5 seconds, with 5% still waiting after 40 seconds. In high-bandwidth mode, compact relay takes half a round trip when nothing is missing. Fetching missing transactions can raise that to 1.5 round trips. Bitcoin Core 27.0 made encrypted transport the default in April 2024.
In October 2026, Geth sends full transactions to about the square root of its peer count, eight of 50. Others receive hashes and fetch missing data. Ethereum's consensus layer uses libp2p and gossipsub meshes of about eight contacts per topic for blocks and attestations. Attesters vote about four seconds into each 12-second slot. In June 2024, 98% of beacon blocks arrived within four seconds. A Vienna observer measured a 1.77-second median and 3.75-second 95th percentile from slot start in December 2025.
Public P2P counts depend on crawler methods and exclude nodes that reject incoming connections. The table separates Ethereum's execution and consensus layers. Counts, software shares and connection defaults reflect October 2026 snapshots, not a complete inventory of everyone participating.
| Network | Nodes counted | Peers per node | Software mix |
|---|---|---|---|
| Bitcoin | Nodes counted25,897 reachable nodes, btcnodes.io, 21 October 2026 | Peers per nodeCore 32.0 defaults to 200 total, eight full-relay and two block-only outbound, October 2026 | Software mixbitdis.org, 21 October 2026: Bitcoin Core 83.84%, Bitcoin Knots 15.93% |
| Ethereum execution layer | Nodes counted7,777 execution nodes, Ethernodes, 21 October 2026 | Peers per nodeOctober 2026 defaults: Geth 50, Nethermind 50, Besu 25, Erigon 64 peers | Software mix21 October 2026, Ethernodes: Geth 40.5%, Nethermind 34.2%, Reth 13.6%, Besu 8.2%, Erigon 1.7% |
| Ethereum consensus layer | Nodes counted5,426 consensus nodes, Ethernodes, 21 October 2026 | Peers per nodeOctober 2026: Lighthouse targets 200 peers, Prysm allows 70 | Software mix21 October 2026, Ethernodes: Lighthouse 52.9%, Prysm 17.9%, Teku 9.5%, Nimbus 8.8%, Lodestar 3.7% |
| Canton Network | Nodes counted835 total validators and 62 Super Validator nodes, Canton Foundation, October 2026 | Peers per nodeValidators connect to a synchronizer for encrypted message ordering | Software mixOctober 2026 Foundation figures distinguish validator roles rather than client software shares |
Software concentration is a separate question from headcount. These snapshots show how unevenly clients are represented. Trackers also use different methods and report different totals. ProbeLab reports 8,157 Ethereum consensus nodes for 20 October 2026, versus Ethernodes' 5,426 for 21 October 2026. Neither figure should be treated as a count of individual users.
A Sybil attack gives one operator many identities, making apparent diversity misleading. An eclipse attack controls all connections to a target node, presenting a false view of the chain. These related threats exploit different weaknesses in P2P networking. Address diversity does not guarantee operator diversity. With independent picks, complete outbound capture has probability f to the power of k, for attacker share f and k outbound connections.
Eight full-relay and two block-only connections reflect Bitcoin Core's October 2026 configuration. The model counts outbound slots, not every possible connection.
The model assumes independent random picks. Real attacks first fill the address table, raising the attacker's share.
In August 2015, Heilman, Kendler, Zohar and Goldberg demonstrated Bitcoin eclipses with at least 85% success using 8,192 addresses across 32 distinct /24 blocks. Bitcoin Core 0.10.1 fixes raised the botnet requirement to 163,000 addresses for 50% success. Later defenses include feelers in 2017, block-only links in 2019 and restart anchors in 2021. In 2018, Marcus, Heilman and Goldberg eclipsed Geth in 49 of 50 tests using two hosts. Geth 1.8.0 added per-bucket and per-table address limits on 14 February 2018.
The 2017 Hijacking Bitcoin study found that a BGP hijack of fewer than 100 prefixes could isolate half of mining power. Erebus, published in 2020, uses millions of shadow addresses to partition targets without routing changes. In 2014, Biryukov, Khovratovich and Pustogarov demonstrated transaction deanonymization, linking transactions to originating IP addresses with a few machines. P2P code also faces denial-of-service attacks. Bitcoin Core's 2024 and 2025 disclosures include a blocktxn crash fixed in version 25.0. Geth published malicious-message advisories in 2024, 2025 and 2026.
Not every peer-to-peer network distributes transaction content globally. In Canton, validators connect to a synchronizer. Its sequencer timestamps and orders encrypted messages, routing them only to recipients. Its mediator collects confirmations from stakeholders. The synchronizer never sees plaintext transaction content. The Canton Network explainer describes this selective model, where uninvolved validators need not know a transaction exists.
| Network | Who receives a transaction | Who checks it | Who stores it |
|---|---|---|---|
| Bitcoin | Who receives a transactionEvery reachable node through hop-by-hop relay | Who checks itEvery full node independently verifies the transaction | Who stores itEvery full node stores the verified result |
| Ethereum | Who receives a transactionEvery execution node through transaction relay | Who checks itAll execution clients check transactions, validators vote on blocks | Who stores itAll execution nodes store the result |
| Canton | Who receives a transactionOnly validators involved in the transaction | Who checks itOnly the involved stakeholder validators confirm it | Who stores itInvolved validators store contracts relevant to their parties |
This design trades universal transaction visibility for stakeholder-only disclosure and confirmation. It changes who must receive, verify and retain information. Canton still runs a decentralized synchronizer, with 62 Super Validator nodes reported by the Canton Foundation in October 2026. The comparison is therefore about information flow, not just connection counts.
Peer-to-peer networking describes communication between machines. A P2P exchange connects people trading assets, often through escrow. P2P payments and lending use the same abbreviation for user-to-user services. Payment apps such as Venmo or Cash App do not need a blockchain network, so the label alone says little about architecture.
In October 2026, Binance P2P reserves cryptocurrency in escrow until both sides complete the trade. Fiat moves through traders' payment providers. Building a P2P exchange platform means building this marketplace model, not network relay.
In October 2026, Bisq never holds user funds, and its nodes use Tor by default. Deposits use 2-of-2 multisig. Hodl Hodl uses multisig escrow addresses for individual deals.
LocalBitcoins closed trading in February 2023. Paxful closed in April 2023 and reopened in May 2023. In October 2025, it announced closure by 1 November 2025, citing misconduct and compliance costs.
Binance's October 2026 scam list includes fake payment proof, third-party payments, support impersonation and triangle scams involving two scammers. It also names chargebacks after cryptocurrency has been released.
An implementation plan needs to distinguish protocol behavior from application requirements. We can help frame the work around connectivity, relay behavior, security and transaction privacy. A peer-to-peer node deployment also needs a recovery path when initial contacts fail. These areas deserve separate decisions, whether the application relies on public gossip or Canton's stakeholder-only transaction flow.
We designed and implemented an incentive layer for FileStar's storage network, which uses the IPFS protocol. Our Echo wallet work includes mobile connections over Tor and a desktop wallet supporting a full node. We also build on Canton, where nodes connect through a synchronizer instead of global gossip.
Discuss the connectivity your P2P project needs
We can review your network model and help outline deployment, privacy and recovery requirements before implementation begins.
Discuss your projectGet updates about blockchain, technologies and our company
We will process the personal data you provide in accordance with our Privacy policy. You can unsubscribe or change your preferences at any time by clicking the link in any email.Services
Blockchain
Blockchain consultingStrategy, architecture, feasibility
Crypto wallet developmentSelf-custody, MPC, cards on top
Cryptocurrency exchange developmentTrading venues, liquidity and protocols
Tokenization servicesRWA, funds, collateral
Crypto payments developmentAccept, settle and pay out in crypto
Smart contracts developmentDesign, build, audit
Blockchain integration dApp development DeFi development NFTs Tokens Web3 development All blockchain services All servicesNetworks
Canton developmentDaml apps, wallets, settlement, validators
Official Partner
Ethereum developmentSmart contracts, L2s and dApps
Solana developmentHigh-throughput programs and dApps
TON developmentMini apps, wallets, Telegram ecosystem
Official Partner
Hedera developmentHashgraph apps and token services
Exclusive Partner
Hyperledger developmentPermissioned networks for enterprises
Certified Partner
Cardano Algorand Stellar Avalanche Bitcoin Polygon All networks All servicesAI & ML
AI agents developmentConnect tools and automate multi-step workflows
RAG developmentFind answers across your company’s documents and systems
AI copilot developmentAdd useful assistance to your product or internal tools
LLM developmentCustom and fine-tuned models for your domain
Private AI deploymentRun models in your own environment
AI consultingUse cases, feasibility and a roadmap
Generative AI development Machine learning development Computer vision Chatbot development ChatGPT integration Deep learning development All AI services All servicesData & analytics
Data engineeringPipelines that keep your data reliable
Data platform developmentOne source of truth for analytics
Analytics & dashboards developmentBI your teams actually use
Predictive analyticsForecasts built on your own history
Data strategyWhere data can pay off first
Data visualizationDashboards and visual stories from your data
Data science development Development of data marts All data services All servicesSoftware
Product discoveryValidate scope and cost before you build
MVP developmentA launch-ready first release
Web application developmentPlatforms, portals and internal tools
Mobile app developmentiOS, Android and cross-platform
SaaS developmentMulti-tenant products that scale
Software integrationConnect the systems you already run
Infrastructure & cloud cost UI/UX design IT consulting QA & software testing R&D Serverless development All software services All servicesSecurity & compliance
Smart contract auditsFind vulnerabilities before launch
Transaction monitoring developmentIntercepta inside your systems and processes
Security assessmentsTest apps, infrastructure and processes
Data security servicesProtect sensitive data across its lifecycle
Cloud security servicesSecure cloud workloads and configurations
DAML smart contract auditReview DAML contracts before they go live
All security services All servicesSolutions
Products, APIs and platforms
New
Products and engineering to build and operate on Canton.
In production 55M API requests served in 8 months
Crypto APIBlockchain data for your applications.
Power in numbers 6 TB Data storage. 500K Tokens indexed
RWA platformA foundation for your asset tokenization platform.
Time to launch 2–4 weeks Branding & setup. 90% more cost-efficient
DocFlowBlockchain-based document management.
Use case & value 100% Secure workflows. Zero third-party risks.
OTC Hawk Arbitrage Bot Book a solution consultWork
450+ projects. 250+ clients. 3 unicorns in portfolio
The first non-custodial wallet built natively for Canton
TON ecosystemA series of improvements for The Open Network
Mining platformEnvironmentally friendly web platform for Bitcoin pool mining
Mantra DAOCommunity-governed DeFi: 60+ staking pools, $23M TVL
Canton TON Web3 & DeFi Digital Assets & Tokenization AI & Data Intelligence IoT & Edge Computing Consulting See all projectsIndustries
Trusted by startups, small businesses, and enterprises
Banking, payments, lending, insurance, capital markets
Real estate software developmentInvestment, property operations, tokenization
Retail & commerce software developmentCommerce, loyalty and fulfillment
Supply chain software developmentTraceability and connected operations
Healthcare software developmentPatient services, data and connected systems
Banking software developmentCore banking, digital channels, payments
Fitness Education Oil & Gas Insurance Construction TravelCompany
From R&D to launch, we bring any of your ideas to life
Engineering partner. Product builder. Since 2007.
Technical experience 19+ years All competencies on board. Scalable team.
AchievementsIndustry recognition & awards.
Delivering real value 4.9 Clutch ratings. 150+ awards
Contact usDiscuss your project.
Quick response 30 min Average reply time. Offices in 6 countries
BlogDive into the latest software trends.
Fresh insights 500+ Articles in blockchain, AI, big data, AR/VR
Team Careers Social responsibility Glossary