MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / closedb

Function closedb

src/tests/scriptdb_tests.cpp:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void closedb() {
36
37 delete pTestView;
38 pTestView = NULL;
39 delete pTestDB;
40 pTestDB = NULL;
41
42 const boost::filesystem::path p=GetDataDir() / "blocks" / "testdb";
43 boost::filesystem::remove_all(p);
44
45}
46void testscriptdb() {
47 vector<unsigned char> vScriptId = {0x01,0x00,0x00,0x00,0x01,0x00};
48 vector<unsigned char> vScriptId1 = {0x01,0x00,0x00,0x00,0x02,0x00};

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected