forked from Qortal-Forker/qortal
Bumped default block archive serialization version to V2.
This commit is contained in:
@@ -80,7 +80,7 @@ public class BlockArchiveWriter {
|
|||||||
* @param repository
|
* @param repository
|
||||||
*/
|
*/
|
||||||
public BlockArchiveWriter(int startHeight, int endHeight, Repository repository) {
|
public BlockArchiveWriter(int startHeight, int endHeight, Repository repository) {
|
||||||
this(startHeight, endHeight, 1, Paths.get(Settings.getInstance().getRepositoryPath(), "archive"), repository);
|
this(startHeight, endHeight, 2, Paths.get(Settings.getInstance().getRepositoryPath(), "archive"), repository);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int getMaxArchiveHeight(Repository repository) throws DataException {
|
public static int getMaxArchiveHeight(Repository repository) throws DataException {
|
||||||
|
|||||||
Reference in New Issue
Block a user