Skip to content

Commit 1a962b8

Browse files
committed
tests/testdata: rename mainnet directory to bitcoin
This lines the name up with internal representations, facilitating a future change that will introduce testnet3 integration tests.
1 parent 07090ca commit 1a962b8

File tree

8 files changed

+2
-2
lines changed

8 files changed

+2
-2
lines changed

tests/mainnet.rs renamed to tests/bitcoin.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ fn storage() -> bitcoin_blockparser::parser::chain::ChainStorage {
33
callback: Box::new(bitcoin_blockparser::callbacks::simplestats::SimpleStats::default()),
44
coin: "bitcoin".parse().unwrap(),
55
verify: true,
6-
blockchain_dir: std::path::PathBuf::from("tests/testdata/mainnet"),
6+
blockchain_dir: std::path::PathBuf::from("tests/testdata/bitcoin"),
77
range: bitcoin_blockparser::BlockHeightRange::new(0, Some(200)).unwrap(),
88
};
99
let storage = bitcoin_blockparser::parser::chain::ChainStorage::new(&options).unwrap();
1010

1111
// Discard transient diff on LevelDB files
1212
std::process::Command::new("git")
13-
.args(["checkout", "tests/testdata/mainnet"])
13+
.args(["checkout", "tests/testdata/bitcoin"])
1414
.output()
1515
.unwrap();
1616
storage
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)