mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #4753
157054b8
hardfork: initialize current_fork_index in ctor (moneromooo-monero)2362baf7
network_throttle: initialize m_last_sample_time in ctor (moneromooo-monero)d9400f69
serializtion: add missing mainnet and stagenet fields for 0mq (moneromooo-monero)cbe0122b
wallet2: initialize amount to 0 in tx_scan_info_t ctor (moneromooo-monero)
This commit is contained in:
commit
59e8a4c306
4 changed files with 10 additions and 4 deletions
|
@ -150,6 +150,7 @@ network_throttle::network_throttle(const std::string &nameshort, const std::stri
|
|||
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
|
||||
m_last_sample_time = 0;
|
||||
}
|
||||
|
||||
void network_throttle::set_name(const std::string &name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue