From c0d9f7caef483b97fc87cfce6a7d05097cbc2026 Mon Sep 17 00:00:00 2001 From: Paul D Handy Date: Tue, 12 Sep 2017 08:28:26 -0600 Subject: [PATCH] removed commented milestone deleting block --- README.md | 2 +- changelog.txt | 2 +- src/main/java/com/iota/iri/LedgerValidator.java | 9 --------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index d2d22da969..a5586bb10d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is the main branch of the main IRI repository, as this is a IOTA reference It allows to connect easily using java directly to a local or a remote [[IOTA node]](http://learn.iota.org/). -* **Latest release:** 1.3.1 Release +* **Latest release:** 1.3.2.2 Release * **License:** GPLv3 # How to get started diff --git a/changelog.txt b/changelog.txt index ca6cabdfe9..4f6d8591fd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -16,7 +16,7 @@ - Tips: improved memory consumption and IRI loading time. - ZMQ: tx topic only publishes newly stored transactions tx arrival time added. - timestamps normalized to seconds. + timestamps normalized to seconds.r - DB: cache size increase, to reduce flushes to disk (user-configurable) - Node: faster broadcast priority queue DNS refresher is now user-configurable, for troubleshooting reverse-DNS issues. diff --git a/src/main/java/com/iota/iri/LedgerValidator.java b/src/main/java/com/iota/iri/LedgerValidator.java index 5ceaa7167d..f1298b7ba9 100644 --- a/src/main/java/com/iota/iri/LedgerValidator.java +++ b/src/main/java/com/iota/iri/LedgerValidator.java @@ -254,15 +254,6 @@ private MilestoneViewModel buildSnapshot(boolean revalidate) throws Exception { } } } - /* - if (revalidate) { - MilestoneViewModel milestoneViewModel = MilestoneViewModel.first(tangle); - milestoneViewModel.delete(tangle); - while((milestoneViewModel = milestoneViewModel.next(tangle)) != null) { - milestoneViewModel.delete(tangle); - } - } - */ } return consistentMilestone; }