Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
Crypto Flexs
Home»BITCOIN NEWS»p2p – What are outgoing and incoming connections and what is the difference?
BITCOIN NEWS

p2p – What are outgoing and incoming connections and what is the difference?

By Crypto FlexsDecember 17, 20232 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
p2p – What are outgoing and incoming connections and what is the difference?
Share
Facebook Twitter LinkedIn Pinterest Email

There’s some overlap between this post and others, but I’ll try to fix a few things myself here.

Why are there two types of connections: outgoing and incoming?

At the risk of stating the obvious, we sometimes ask our nodes to connect to other nodes (overboard) In other cases, the node is our node (inbound). In a healthy peer to peer (P2P) protocol, it is virtually impossible to avoid both outgoing and incoming requests occurring. A more interesting question is the extent to which outbound and inbound connections are handled differently across nodes. The Bitcoin Core PR Review Club Note (June 8, 2022) on inbound block relay-only connections states:

Once a connection is established, the relationship is largely symmetric (the protocol works identically in both directions). However, we have some preference for outbound peers.

If you’re concerned about malicious full nodes, there may be trusted or semi-trusted full nodes that choose to connect (outbound), but probably all inbound connection requests will come from nodes you barely know about.

Is the outgoing connection the one announcing the new block/transaction, and the incoming connection the one announcing the new block/transaction?

No, both outbound and inbound connections can notify nodes of new blocks and transactions, and vice versa. The PR review club I mentioned discusses block-relay-only peers, which decide to relay blocks only to specific peers rather than transactions or IP addresses. Inbound connections may also indicate that you do not want to receive transactions, etc.

When you want to do an initial synchronization (IBD) or ask something completely random about a block or a transaction or some third thing, is it done with an outgoing connection or with an incoming connection?

both. If the peer/connection is not recognized at IBD startup (i.e. there is no connection at all), you may need to leverage DNS seeds to discover potential peers.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Sequans starts $ 384M Bitcoin Treasury Initiative with Swan Bitcoin Partnership.

June 23, 2025

ECB Chairman Lagarde aims to seize the global order to strengthen the Euro’s global position.

June 17, 2025

Bitcoin aims for $ 115K after US CPI data prefers investors.

June 11, 2025
Add A Comment

Comments are closed.

Recent Posts

Neo Pepe $NEOP Presale Passes $2M Raised With Stellar CertiK Audit

June 25, 2025

Encryption Inheritance Update: June 2025

June 25, 2025

Zama Raises $57M In Series B To Bring End-to-End Encryption To Public Blockchains

June 25, 2025

Gelato And Morpho Partner To Offer Embedded Crypto-Backed Loans For Wallets, Brokers, And Fintech Apps

June 25, 2025

Magic Newton Foundation Redefines Fair Token Launches With $NEWT

June 25, 2025

Like the initial Cardano, a way to reach $ 300 for Loy tokens more than $ 450K

June 25, 2025

AIXA Miner 2025 | AI-Driven Dogecoin Cloud Mining For Stable Daily Passive Income

June 24, 2025

Stably Introduces Stablecoin Development & Advisory Services For Institutions & Enterprises

June 24, 2025

Senior Trader Uses XRP To Start Bitcoin (BTC) Mining Machine, Earning $8,857 A Day

June 24, 2025

WF Holding Ltd Announces Entry Into The Digital Cryptocurrency Field

June 24, 2025

Crypto Scam Markets thrives again after attempting to clean up Telegram.

June 24, 2025

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

Neo Pepe $NEOP Presale Passes $2M Raised With Stellar CertiK Audit

June 25, 2025

Encryption Inheritance Update: June 2025

June 25, 2025

Zama Raises $57M In Series B To Bring End-to-End Encryption To Public Blockchains

June 25, 2025
Most Popular

Starknet Token (STRK) Trading Starts Now + Starknet Terms Program

February 20, 2024

Encryption and stocks enter the ‘new trade war stage’ as the US-HINA tension increases.

April 17, 2025

Discover the potential of Liquid Restake Token Finance (LRTFi) in DeFi | Earn rewards while protecting your network services – The Defi Info

February 9, 2024
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.