BIP: <unassigned> Title: sendheaders message Author: Suhas Daftuar <[email protected]> Status: Draft Type: Standards Track Created: 2015-05-08
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello, World! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3#!/usr/bin/env python3 | |
# | |
# Distributed under the MIT/X11 software license, see the accompanying | |
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | |
# | |
from test_framework.test_framework import ComparisonTestFramework | |
from test_framework.util import * | |
from test_framework.comptool import TestManager, TestInstance | |
from test_framework.mininode import * |
For the Bitcoin network to remain in consensus, the network of nodes must not be partitioned. So for an individual node to remain in consensus with the network, it must have at least one connection to that network of peers that share its consensus rules. This document describes how we attempt to achieve this.
We can't rely on inbound peers to be honest, because they are initiated by others. It's impossible for us to know, for example, whether all our inbound peers are controlled by the same adversary.