Changeset View
Changeset View
Standalone View
Standalone View
src/validation.cpp
Show First 20 Lines • Show All 5,524 Lines • ▼ Show 20 Lines | bool LoadMempool(const Config &config) { | ||||
} | } | ||||
LogPrintf("Imported mempool transactions from disk: %i successes, %i " | LogPrintf("Imported mempool transactions from disk: %i successes, %i " | ||||
"failed, %i expired\n", | "failed, %i expired\n", | ||||
count, failed, skipped); | count, failed, skipped); | ||||
return true; | return true; | ||||
} | } | ||||
bool DumpMempool(void) { | bool DumpMempool() { | ||||
int64_t start = GetTimeMicros(); | int64_t start = GetTimeMicros(); | ||||
std::map<uint256, Amount> mapDeltas; | std::map<uint256, Amount> mapDeltas; | ||||
std::vector<TxMempoolInfo> vinfo; | std::vector<TxMempoolInfo> vinfo; | ||||
static Mutex dump_mutex; | static Mutex dump_mutex; | ||||
LOCK(dump_mutex); | LOCK(dump_mutex); | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |