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

Commit

Permalink
Update snapshot to 08:00 UTC 20180709 (#855)
Browse files Browse the repository at this point in the history
* Update snapshot to 20180709 10:00Z

* Update previousEpochsSpentAddresses to 20180709 10:00Z

* Bump version to 1.5.1

* Update signatures for previousEpochSpentAddresses and snapshotMainnet
  • Loading branch information
th0br0 authored Jul 9, 2018
1 parent 937cb40 commit 6704440
Show file tree
Hide file tree
Showing 10 changed files with 175,644 additions and 18,226 deletions.
6 changes: 3 additions & 3 deletions DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

Run the official iotaledger/iri container, passing the mandatory -p option:

```docker run iotaledger/iri:v1.5.0 -p 14265```
```docker run iotaledger/iri:v1.5.1 -p 14265```

This will get your a running IRI with its API listening on port 14265, no neighbours and an empty database. The IRI Docker container by default expects data at /iri/data. Use the `-v` option of the `docker run` command to mount volumes so to have persistent data. You can also pass more command line options to the docker run command and those will be passed to IRI.

If you want to use a iri.ini file with the docker container, supposing it's stored under /path/to/conf/iri.ini on your docker host, then pass `-v /path/to/conf:/iri/conf` and add -c /iri/conf/iri.ini as docker run arguments. So for example the `docker run` command above would become:

```docker run -v /path/to/conf:/iri/conf -v /path/to/data:/iri/data iotaledger/iri:v1.5.0 -p 14265 -c /iri/conf/iri.ini```
```docker run -v /path/to/conf:/iri/conf -v /path/to/data:/iri/data iotaledger/iri:v1.5.1 -p 14265 -c /iri/conf/iri.ini```

Please refer to the IRI documentation for further command line options and iri.ini options.

Expand Down Expand Up @@ -61,7 +61,7 @@ ExecStart=/usr/bin/docker run \
-p 14265:14265 \
-p 15600:15600 \
-p 14600:14600/udp \
iotaledger/iri:v1.5.0 \
iotaledger/iri:v1.5.1 \
-p 14265 \
--zmq-enabled \
--testnet
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.5.1
- Update snapshot to 2018-07-09 8:00 UTC (#855)

1.5.0
- Rework of the Tip Selection algorithm (#778)
- Validate the alpha value (#817)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.iota</groupId>
<artifactId>iri</artifactId>
<version>1.5.0</version>
<version>1.5.1</version>

<name>IRI</name>
<description>IOTA Reference Implementation</description>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/iota/iri/IRI.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class IRI {

public static final String MAINNET_NAME = "IRI";
public static final String TESTNET_NAME = "IRI Testnet";
public static final String VERSION = "1.5.0";
public static final String VERSION = "1.5.1";

public static void main(String[] args) throws Exception {
// Logging is configured first before any references to Logger or LoggerFactory.
Expand Down Expand Up @@ -365,4 +365,4 @@ private static void shutdownHook() {
public static boolean validateParams(Configuration configuration, String[] args) throws IOException {
return IRILauncher.isValidated(configuration, args);
}
}
}
4 changes: 2 additions & 2 deletions src/main/java/com/iota/iri/Snapshot.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public class Snapshot {
private static final Logger log = LoggerFactory.getLogger(Snapshot.class);
public static String SNAPSHOT_PUBKEY = "TTXJUGKTNPOOEXSTQVVACENJOQUROXYKDRCVK9LHUXILCLABLGJTIPNF9REWHOIMEUKWQLUOKD9CZUYAC";
public static int SNAPSHOT_PUBKEY_DEPTH = 6;
public static int SNAPSHOT_INDEX = 4;
public static int SPENT_ADDRESSES_INDEX = 5;
public static int SNAPSHOT_INDEX = 6;
public static int SPENT_ADDRESSES_INDEX = 7;
private static Snapshot initialSnapshot;


Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/iota/iri/conf/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ public class Configuration {

public static final String PREVIOUS_EPOCHS_SPENT_ADDRESSES_TXT = "/previousEpochsSpentAddresses.txt";
public static final String PREVIOUS_EPOCH_SPENT_ADDRESSES_SIG = "/previousEpochsSpentAddresses.sig";
public static final String MAINNET_MILESTONE_START_INDEX = "426550";
public static final String MAINNET_MILESTONE_START_INDEX = "590000";
public static final String TESTNET_MILESTONE_START_INDEX = "434525";
public static final String MAINNET_NUM_KEYS_IN_MILESTONE = "20";
public static final String TESTNET_NUM_KEYS_IN_MILESTONE = "22";
public static final String GLOBAL_SNAPSHOT_TIME = "1525042800";
public static final String GLOBAL_SNAPSHOT_TIME = "1531155600";
public static final String TESTNET_GLOBAL_SNAPSHOT_TIME = "1522306500";


Expand Down
Loading

0 comments on commit 6704440

Please sign in to comment.