diff --git a/.gitignore b/.gitignore index c403c348d4..f20da860b3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -/target .idea/ +/index.redb +/target diff --git a/src/index.rs b/src/index.rs index 2ea6222b15..8c725fc1d2 100644 --- a/src/index.rs +++ b/src/index.rs @@ -29,7 +29,7 @@ impl Index { }; let index = Self { - database: unsafe { Database::open("bitcoin.redb", 4096 * 1024 * 1024 * 10)? }, + database: unsafe { Database::open("index.redb", 4096 * 1024 * 1024 * 10)? }, blocksdir, };