mirror of
https://github.com/monero-project/monero.git
synced 2025-05-17 23:40:23 -04:00
epee: initialize a few data members where it seems to be appropriate
This commit is contained in:
parent
144a6c32c9
commit
00901e9c93
2 changed files with 4 additions and 1 deletions
|
@ -146,6 +146,7 @@ network_throttle::network_throttle(const std::string &nameshort, const std::stri
|
|||
m_network_add_cost = 128;
|
||||
m_network_minimal_segment = 256;
|
||||
m_network_max_segment = 1024*1024;
|
||||
m_start_time = 0;
|
||||
m_any_packet_yet = false;
|
||||
m_slot_size = 1.0; // hard coded in few places
|
||||
m_target_speed = 16 * 1024; // other defaults are probably defined in the command-line parsing code when this class is used e.g. as main global throttle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue