Module: Ciri::P2P::Kad

Defined in:
lib/ciri/p2p/kad.rb

Overview

Defined Under Namespace

Classes: KBucket, Node, RoutingTable

Constant Summary collapse

K_BITS =
8
K_BUCKET_SIZE =
16
K_REQUEST_TIMEOUT =
0.9
K_IDLE_BUCKET_REFRESH_INTERVAL =
3600
K_PUBKEY_SIZE =
512
K_ID_SIZE =
256
K_MAX_NODE_ID =
2 ** K_ID_SIZE - 1