MCPcopy Create free account
hub / github.com/bitshares/bitshares-core / wipe

Method wipe

libraries/db/object_database.cpp:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void object_database::wipe(const fc::path& data_dir)
123{
124 close();
125 ilog("Wiping object database...");
126 fc::remove_all(data_dir / "object_database");
127 ilog("Done wiping object database.");
128}
129
130void object_database::open(const fc::path& data_dir)
131{ try {

Callers 1

open_chain_databaseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected