P2PServer: delete old cached blocks after initial sync
Saves ~20 MB of memory
This commit is contained in:
@@ -49,6 +49,7 @@ public:
|
||||
~P2PServer();
|
||||
|
||||
void add_cached_block(const PoolBlock& block);
|
||||
void clear_cached_blocks();
|
||||
void store_in_cache(const PoolBlock& block);
|
||||
|
||||
void connect_to_peers(const std::string& peer_list);
|
||||
|
||||
Reference in New Issue
Block a user