Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
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

Mobile App Change Log 7.17.0

October 9, 2025

Free bitcoin.in app withdrawal request My satoshi

October 3, 2025

Goose boom bang! Slot -Collision, Cash and Manga Massacre

September 27, 2025
Add A Comment

Comments are closed.

Recent Posts

Ethereum price plunge creates opportunity for 13% rebound

October 11, 2025

Eightco Holdings Inc. ($ORBS) Expands Its Strategic Vision Into The Enterprise

October 10, 2025

Whale.io Launches Battlepass Season 3, Featuring $77,000 In Crypto Casino Rewards

October 10, 2025

Strengthening the AI ​​Agent Economy

October 10, 2025

‘OG’ Whale Attracts Over $400 Million in Bearish BTC Bet

October 10, 2025

Rhuna Raises $2M Seed Round Led by Aptos Labs to Build Stablecoin Payment Infrastructure for Entertainment

October 10, 2025

Mobile App Change Log 7.17.0

October 9, 2025

Building Tomorrow’s Wealth With Tokenized Gold

October 9, 2025

Dreamcash Celebrates 100,000 Waitlist Signups With Exclusive $50k Giveaway Series

October 9, 2025

Ethereum Price at Risk – Bears Lose Momentum Ahead of New Lows

October 9, 2025

Fanable Gets $11.5M To Power The Future Of Pokémon & Collectibles; $COLLECT Token Farming Goes Live Now

October 9, 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

Ethereum price plunge creates opportunity for 13% rebound

October 11, 2025

Eightco Holdings Inc. ($ORBS) Expands Its Strategic Vision Into The Enterprise

October 10, 2025

Whale.io Launches Battlepass Season 3, Featuring $77,000 In Crypto Casino Rewards

October 10, 2025
Most Popular

Justin Sun, a billionaire, attends a encryption dinner with the president and says he is the ‘best holder’ of Trump’s memes.

May 21, 2025

Injective (INJ) Unveils Altaris Mainnet Upgrade with Enhanced Features

August 4, 2024

The New Crypto Casino With 100% Bonus, Is it Legit?

April 18, 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.