Protocol core-core Version 3 » History » Version 12
Greg Burri, 07/07/2009 08:42 PM
1 | 1 | Greg Burri | h1. Protocols |
---|---|---|---|
2 | |||
3 | This page describes the protocols used by Aybabtu for network communication between cores and between core and GUI. |
||
4 | |||
5 | 7 | Greg Burri | h2. Core <-> Core |
6 | 1 | Greg Burri | |
7 | 7 | Greg Burri | see source:protos/network_protocol.proto. |
8 | |||
9 | 8 | Greg Burri | h3. Parameters |
10 | |||
11 | 10 | Greg Burri | Most parameters will be stored as constants in their component. |
12 | |||
13 | 9 | Greg Burri | |_.Name|_.Value |_.Unit|_.Explanation/Comments| |
14 | 11 | Greg Burri | | ChunkSize | 33554432 | Byte | (32MB) | |
15 | 12 | Greg Burri | | LanSpeed | 52428800 | Byte/s | (50MB/s) | |
16 | | TimeRecheckChunkFactor | 4 | - | If the time to download a chunk exceeds _TimeRecheckChunkFactor_ * ChunkSize / LanSpeed then the peers are rescaned to choose a better one. For example : 4 * 32 / 50 = 2.6 second | |
||
17 | 8 | Greg Burri | |
18 | 7 | Greg Burri | h2. Core <-> GUI |