Skip to content

Commit

Permalink
Add index.redb to gitignore (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Jan 21, 2022
1 parent 4b62e7e commit da44db8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
.idea/
/index.redb
/target
2 changes: 1 addition & 1 deletion src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit da44db8

Please sign in to comment.