- Projects
- Files
- Search all
- py-ipv8 (25)
Object Type
Projects
Search
25 results for DHT
-
...
exception latest.ipv8.dht.DHTError
... Bases: Exception Generic error for DHT-related failures. ...
-
... To do this, some sort of DHT mechanism needs to be registered (currently Tribler uses mainline DHT). ...
-
py-ipv8 - latest.ipv8.test.dht.test_community
... TestDHTCommunity Tests for the DHT Community. TestDHTCommunityXL Fat tests for the DHT Community. ...
async test_full_protocol() → None
... Check if the full DHT protocol works. ...
... Set up 15 nodes that run the DHT Community. ...
-
py-ipv8 - latest.ipv8.test.messaging.anonymization.test_hiddenservices
async test_dht_lookup_with_counterparty() → None
... Check if a DHT lookup works. ...
async test_dht_lookup_failure() → None
... Check that if a DHT lookup fails, it will retry during the next do_peer_discovery call. ...
async test_dht_lookup_no_counterparty() → None
... Check if a DHT lookup doesn’t return on its own required service. Ergo, no self-introduction. ...
-
py-ipv8 - latest.ipv8.test.messaging.anonymization.mock
... MockDHTProvider A mocked provider for DHT info. ...
class latest.ipv8.test.messaging.anonymization.mock.MockDHTProvider(peer: latest.ipv8.types.Peer)
... Bases: latest.ipv8.dht.provider.DHTCommunityProvider A mocked provider for DHT info. ...
-
py-ipv8 - latest.ipv8.test.messaging.anonymization.test_datachecker
... Check if a DHT packet is correctly identified. ...
-
py-ipv8 - latest.ipv8.test.dht.base
... Get the DHT node id of node i. ...
... TestDHTBase Extension to TestBase that provides common DHT shortcuts. ...
class latest.ipv8.test.dht.base.TestDHTBase(methodName: str = 'runTest')
... Bases: latest.ipv8.test.base.TestBase[OT] Extension to TestBase that provides common DHT shortcuts. ...
-
py-ipv8 - latest.ipv8.dht.storage
class latest.ipv8.dht.storage.Value(id_: bytes, data: bytes, max_age: float, version: int)
... Class for storing DHT values. ...
... Value Class for storing DHT values. Storage Class for storing key-value pairs in memory. ...
-
py-ipv8 - latest.ipv8.REST.dht_endpoint
async get_statistics(_: aiohttp.abc.Request) → latest.ipv8.REST.base_endpoint.Response
... Return DHT statistics. ...
async get_peer(request: aiohttp.abc.Request) → latest.ipv8.REST.base_endpoint.Response
... Connect to a peer using the DHT. ...
async put_value(request: aiohttp.abc.Request) → latest.ipv8.REST.base_endpoint.Response
... Store a key-value pair on the DHT. ...
-
py-ipv8 - latest.ipv8.test.dht.test_discovery
async test_provider_invalid_data() → None
... Test the DHT provider when invalid data arrives. ...
async test_store_peer() → None
... Check if peers properly make themselves part of the DHT. ...
... Test the DHT provider (used to fetch peers in the hidden services). ...
-
py-ipv8 - latest.ipv8.test.dht.test_provider
... Check if the DHT value is stored after an announce. ...
-
py-ipv8 - latest.ipv8.test.dht.test_churn
... TestPingChurn Tests for pinging nodes in the DHT community. ...
class latest.ipv8.test.dht.test_churn.TestPingChurn
... latest.ipv8.test.dht.base.TestDHTBase[latest.ipv8.dht.community.DHTCommunity] Tests for pinging nodes in the DHT ...
-
py-ipv8 - latest.ipv8.messaging.anonymization.hidden_services
... Callback for when someone performed a DHT lookup for us. ...
... Send a response with the peers that we found through the DHT. ...
-
py-ipv8 - latest.ipv8.dht.churn
... PingChurn Strategy to maintain the data structures of the DHT community. ...
... latest.ipv8.peerdiscovery.discovery.DiscoveryStrategy Strategy to maintain the data structures of the DHT ...
-
py-ipv8 - latest.ipv8.REST.tunnel_endpoint
... TunnelEndpoint This endpoint is responsible for handling requests for DHT data. ...
class latest.ipv8.REST.tunnel_endpoint.TunnelEndpoint
... REST.base_endpoint.BaseEndpoint[latest.ipv8.types.IPv8] This endpoint is responsible for handling requests for DHT ...
async get_dht_peers(_: aiohttp.abc.Request) → latest.ipv8.REST.base_endpoint.Response
... Return a list of all hidden services peers that are in the local DHT store. ...
-
py-ipv8 - latest.ipv8.REST.noblock_dht_endpoint
... NoBlockDHTEndpoint This endpoint is responsible for handling requests for DHT data, non-blocking. ...
class latest.ipv8.REST.noblock_dht_endpoint.NoBlockDHTEndpoint
... latest.ipv8.REST.base_endpoint.BaseEndpoint This endpoint is responsible for handling requests for DHT ...
-
py-ipv8 - latest.ipv8.dht.discovery
... Attempt to connect to a peer with the given mid, at first without a DHT lookup. ...
-
py-ipv8 - latest.ipv8.messaging.anonymization.community
async dht_peer_lookup(mid: bytes, peer: latest.ipv8.peer.Peer | None = None) → None
... Perform a DHT lookup for a given SHA-1 hash of a public key. ...
-
py-ipv8 - latest.ipv8.dht.routing
... Bases: latest.ipv8.peer.Peer The Node class represents a peer within the DHT community. ...
... Loosely based on the Bittorrent DHT (https://libtorrent.org/dht_sec.html), the node id is calculated ...
... between two bytes strings, encoded as in int. calc_node_id(→ bytes) Loosely based on the Bittorrent DHT ...
-
py-ipv8 - latest.ipv8.REST.schema
... Bases: marshmallow.Schema The schema to describe values in the DHT. ...
... DHTValueSchema The schema to describe values in the DHT. ...
-
py-ipv8 - latest.ipv8.dht.payload
class latest.ipv8.dht.payload.NodePacker(serializer: latest.ipv8.messaging.serialization.Serializer)
... Bases: latest.ipv8.messaging.serialization.Packer Serialization packing format for DHT nodes. ...
... NodePacker Serialization packing format for DHT nodes. ...
-
... Tribler’s services range from DHT-based lookup, Tor-inspired privacy to a completely decentralised marketplace ...
... Using a custom NAT-traversing DHT to find the current IPv4 network address, IPv8 keeps the network connectivity ...
-
py-ipv8 - Creating your first overlay
... Like every DHT-based network overlay framework, IPv8 needs some time to find peers. ...
-
... bootstrapping.udpbroadcast.bootstrapper latest.ipv8.community latest.ipv8.configuration latest.ipv8.database latest.ipv8.dht ...
-
... latest.ipv8.community module latest.ipv8.configuration module latest.ipv8.database module latest.ipv8.dht ...
... bootstrapping.udpbroadcast.bootstrapper latest.ipv8.community latest.ipv8.configuration latest.ipv8.database latest.ipv8.dht ...