Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions related to how Bitcoin finds other peers to communicate with.
1
vote
Accepted
Where is the magic number stated?
You may not have been able to find them because they're encoded as separate bytes. You can find them in src/chainparams.cpp, currently on lines 102–105. I found the code section after noticing that th …
6
votes
Accepted
How is network conflict avoided between chains?
The protocol messages on Bitcoin include a magic number to identify the network they belong to.
Bitcoin's magic values are described for example on the Protocol Documentation page in the Bitcoin wiki: …
3
votes
Accepted
How does a node find the active chain?
When a new node joins the network, it will look up nodes from the DNS seeds. It'll reach out to multiple nodes it hears about and ask them for more peers in turn.
The new node asks each of their peers …
2
votes
How peer discovery works after connecting to hardcoded nodes?
Did you add the hardcoded nodes with addnode or with connect?
addnode=<ip> Add a node to connect to and attempt to keep the connection open
connect=<ip> Connect only to the specifie …