rauljim/pymdht — Issue #36: Feature: bootstrap_mode
Author: rauljim
Created: 2012-01-11 12:23:55+00:00
State: open

Take some of the code from the 'investigate_traffic' branch and merge it into mainline.

The idea is that a main bootstrap node should avoid being added to other routing tables to reduce incoming traffic.
The approach, so far, is to:
- ignore ping queries
- reply to one find_node query per IP per hour ??doublecheck
- reply to every get_peers queries with no token
- ignore announce_peer queries