Skip to content

Commit

Permalink
BlockFileLoader: remove deprecated constructors that take NetworkPara…
Browse files Browse the repository at this point in the history
…meters
  • Loading branch information
schildbach committed Sep 2, 2024
1 parent 96c60b6 commit 0dffa01
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions core/src/main/java/org/bitcoinj/utils/BlockFileLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,6 @@ public BlockFileLoader(Network network, List<File> files) {
serializer = params.getDefaultSerializer();
}

@Deprecated
public BlockFileLoader(NetworkParameters params, File blocksDir) {
this(params.network(), getReferenceClientBlockFileList(blocksDir));
}

@Deprecated
public BlockFileLoader(NetworkParameters params, List<File> files) {
this.files = files;
packetMagic = params.getPacketMagic();
serializer = params.getDefaultSerializer();
}


/**
* Iterates all the blocks in a single block file.
*/
Expand Down

0 comments on commit 0dffa01

Please sign in to comment.