Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Commit

Permalink
removed commented milestone deleting block
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul D Handy committed Sep 12, 2017
1 parent 5b26374 commit c0d9f7c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

This comment has been minimized.

Copy link
@RiadVargas

RiadVargas Sep 12, 2017

There's a forgotten 'r' here.

- 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.
Expand Down
9 changes: 0 additions & 9 deletions src/main/java/com/iota/iri/LedgerValidator.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c0d9f7c

Please sign in to comment.