Skip to content

Commit d42c7cb

Browse files
Merge pull request #998 from HorizenOfficial/version_0_11_0_final
Version 0.11.0 final
2 parents 54cf344 + f665692 commit d42c7cb

16 files changed

Lines changed: 54 additions & 39 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ While we keep monitoring the memory footprint of the proofs generation process,
4848
- After the installation, just run `export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1` before starting the sidechain node, or run the sidechain node adding `LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1` at the beginning of the java command line as follows:
4949

5050
```
51-
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 java -cp ./target/sidechains-sdk-simpleapp-0.11.0-SNAPSHOT.jar:./target/lib/* io.horizen.examples.SimpleApp <path_to_config_file>
51+
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 java -cp ./target/sidechains-sdk-simpleapp-0.11.0.jar:./target/lib/* io.horizen.examples.SimpleApp <path_to_config_file>
5252
```
5353
- In the folder `ci` you will find the script `run_sc.sh` to automatically check and use jemalloc library while starting the sidechain node.
5454

ci/run_sc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eo pipefail
44

5-
SIMPLE_APP_VERSION="${SIMPLE_APP_VERSION:-0.11.0-SNAPSHOT}"
5+
SIMPLE_APP_VERSION="${SIMPLE_APP_VERSION:-0.11.0}"
66

77
if [ -d "$1" ] && [ -f "$2" ]; then
88
path_to_jemalloc="$(ldconfig -p | grep "$(arch)" | grep 'libjemalloc\.so\.1$' | tr -d ' ' | cut -d '>' -f 2)"

doc/release/0.11.0.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,21 @@ In Forger Stake Native Smart Contract, the following methods were added:
1212
- getPagedForgersStakesByUser(address owner, int32 startIndex, int32 pageSize): Returns the first "pageSize" forger stakes, owned by the specified address, starting from "startIndex".
1313
- stakeOf(ownerAddress): returns the total amount at stake owned by the specified address
1414

15+
### Forger reward address
16+
For forger nodes: it is now possible to specify a custom address where the block reward will be directed.<br>
17+
The address will be put inside every new block forged by the node.<br>
18+
(Previously the first address on the local wallet was taken automatically, without the possibility to specify a different one).<br>
19+
Any EON address can be specified (included a smart contract address). The private key does not need to be imported in the local wallet.
20+
21+
How to specify it:
22+
- inside the config file, add a property like this inside the *forger* section:
23+
24+
forgerRewardAddress = "xxxxxxxxx"
25+
26+
27+
### Pause forging
28+
Support for pause forging in the forgers: forgers will automatically stop to produce new blocks if in the latest 99 Blocks no reference to mainchain blocks is present.
29+
1530
---
1631
## Bug Fixes
1732

examples/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,24 @@ Otherwise, to run an Example App outside the IDE:
4444
* (Windows)
4545
```
4646
cd Sidechains-SDK\examples\simpleapp
47-
java -cp ./target/sidechains-sdk-simpleapp-0.11.0-SNAPSHOT.jar;./target/lib/* io.horizen.examples.SimpleApp <path_to_config_file>
47+
java -cp ./target/sidechains-sdk-simpleapp-0.11.0.jar;./target/lib/* io.horizen.examples.SimpleApp <path_to_config_file>
4848
```
4949
* (Linux)
5050
```
5151
cd ./Sidechains-SDK/examples/utxo/simpleapp
52-
java -cp ./target/sidechains-sdk-simpleapp-0.11.0-SNAPSHOT.jar:./target/lib/\* io.horizen.examples.SimpleApp <path_to_config_file>
52+
java -cp ./target/sidechains-sdk-simpleapp-0.11.0.jar:./target/lib/\* io.horizen.examples.SimpleApp <path_to_config_file>
5353
```
5454
**Model: Account**
5555
5656
* (Windows)
5757
```
5858
cd Sidechains-SDK\examples\evmapp
59-
java -cp ./target/sidechains-sdk-evmapp-0.11.0-SNAPSHOT.jar;./target/lib/* io.horizen.examples.EvmApp <path_to_config_file>
59+
java -cp ./target/sidechains-sdk-evmapp-0.11.0.jar;./target/lib/* io.horizen.examples.EvmApp <path_to_config_file>
6060
```
6161
* (Linux)
6262
```
6363
cd ./Sidechains-SDK/examples/account/evmapp
64-
java -cp ./target/sidechains-evmapp-0.11.0-SNAPSHOT.jar:./target/lib/\* io.horizen.examples.EvmApp <path_to_config_file>
64+
java -cp ./target/sidechains-evmapp-0.11.0.jar:./target/lib/\* io.horizen.examples.EvmApp <path_to_config_file>
6565
```
6666
6767
On some Linux OSs during backward transfers certificates proofs generation an extremely large RAM consumption may happen, that will lead to the process being force killed by the OS.
@@ -74,7 +74,7 @@ While we keep monitoring the memory footprint of the proofs generation process,
7474
- After the installation, just run `export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1` before starting the sidechain node, or run the sidechain node adding `LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1` at the beginning of the java command line as follows:
7575
7676
```
77-
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 java -cp ./target/sidechains-sdk-simpleapp-0.11.0-SNAPSHOT.jar:./target/lib/* io.horizen.examples.SimpleApp <path_to_config_file>
77+
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 java -cp ./target/sidechains-sdk-simpleapp-0.11.0.jar:./target/lib/* io.horizen.examples.SimpleApp <path_to_config_file>
7878
```
7979
- In the folder `ci` you will find the script `run_sc.sh` to automatically check and use jemalloc library while starting the sidechain node.
8080

examples/account/evmapp/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>io.horizen</groupId>
55
<artifactId>sidechains-sdk-evmapp</artifactId>
6-
<version>0.11.0-SNAPSHOT</version>
6+
<version>0.11.0</version>
77
<inceptionYear>2022</inceptionYear>
88
<properties>
99
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>io.horizen</groupId>
1717
<artifactId>sidechains-sdk</artifactId>
18-
<version>0.11.0-SNAPSHOT</version>
18+
<version>0.11.0</version>
1919
</dependency>
2020
<dependency>
2121
<groupId>junit</groupId>

examples/account/evmapp_sctool/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>io.horizen</groupId>
55
<artifactId>sidechains-sdk-evmapp_sctool</artifactId>
6-
<version>0.11.0-SNAPSHOT</version>
6+
<version>0.11.0</version>
77
<inceptionYear>2022</inceptionYear>
88
<properties>
99
<maven.compiler.source>11</maven.compiler.source>
@@ -14,13 +14,13 @@
1414
<dependency>
1515
<groupId>io.horizen</groupId>
1616
<artifactId>sidechains-sdk-scbootstrappingtools</artifactId>
17-
<version>0.11.0-SNAPSHOT</version>
17+
<version>0.11.0</version>
1818
<scope>compile</scope>
1919
</dependency>
2020
<dependency>
2121
<groupId>io.horizen</groupId>
2222
<artifactId>sidechains-sdk-evmapp</artifactId>
23-
<version>0.11.0-SNAPSHOT</version>
23+
<version>0.11.0</version>
2424
<scope>compile</scope>
2525
</dependency>
2626
</dependencies>

examples/mc_sc_workflow_example.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Build SDK components by using a command (in the root of the Sidechains-SDK folde
3232

3333
Run Bootstrapping tool using the command depending on the sidechain model:
3434

35-
- account: `java -jar tools/sidechains-sdk-account_sctools/target/sidechains-sdk-account_sctools-0.11.0-SNAPSHOT.jar`
36-
- utxo: `java -jar tools/sidechains-sdk-utxo_sctools/target/sidechains-sdk-utxo_sctools-0.11.0-SNAPSHOT.jar`
35+
- account: `java -jar tools/sidechains-sdk-account_sctools/target/sidechains-sdk-account_sctools-0.11.0.jar`
36+
- utxo: `java -jar tools/sidechains-sdk-utxo_sctools/target/sidechains-sdk-utxo_sctools-0.11.0.jar`
3737

3838
All other commands are performed as commands for Bootstrapping tool in the next format: `"command name" "parameters for command in JSON format"`.
3939
For any help, you could use the command `help`, for the exit just print `exit`
@@ -507,30 +507,30 @@ Run an Example App with the `my_settings.conf`:
507507

508508
* For Windows:
509509
```
510-
java -cp ./examples/utxo/simpleapp/target/sidechains-sdk-simpleapp-0.11.0-SNAPSHOT.jar;./examples/simpleapp/target/lib/* io.horizen.examples.SimpleApp ./examples/my_settings.conf
510+
java -cp ./examples/utxo/simpleapp/target/sidechains-sdk-simpleapp-0.11.0.jar;./examples/simpleapp/target/lib/* io.horizen.examples.SimpleApp ./examples/my_settings.conf
511511
```
512512
* For Linux (Glibc):
513513
```
514-
java -cp ./examples/utxo/simpleapp/target/sidechains-sdk-simpleapp-0.11.0-SNAPSHOT.jar:./examples/simpleapp/target/lib/* io.horizen.examples.SimpleApp ./examples/my_settings.conf
514+
java -cp ./examples/utxo/simpleapp/target/sidechains-sdk-simpleapp-0.11.0.jar:./examples/simpleapp/target/lib/* io.horizen.examples.SimpleApp ./examples/my_settings.conf
515515
```
516516
* For Linux (Jemalloc):
517517
```
518-
LD_PRELOAD=<path to jemalloc library>/libjemalloc.so.1 java -cp ./examples/utxo/simpleapp/target/sidechains-sdk-simpleapp-0.11.0-SNAPSHOT.jar:./examples/simpleapp/target/lib/* io.horizen.examples.SimpleApp ./examples/my_settings.conf
518+
LD_PRELOAD=<path to jemalloc library>/libjemalloc.so.1 java -cp ./examples/utxo/simpleapp/target/sidechains-sdk-simpleapp-0.11.0.jar:./examples/simpleapp/target/lib/* io.horizen.examples.SimpleApp ./examples/my_settings.conf
519519
```
520520

521521
**Model: Account**
522522

523523
* For Windows:
524524
```
525-
java -cp ./examples/account/evmapp/target/sidechains-sdk-evmapp-0.11.0-SNAPSHOT.jar;./examples/evmapp/target/lib/* io.horizen.examples.EvmApp ./examples/my_settings.conf
525+
java -cp ./examples/account/evmapp/target/sidechains-sdk-evmapp-0.11.0.jar;./examples/evmapp/target/lib/* io.horizen.examples.EvmApp ./examples/my_settings.conf
526526
```
527527
* For Linux (Glibc):
528528
```
529-
java -cp ./examples/account/evmapp/target/sidechains-sdk-evmapp-0.11.0-SNAPSHOT.jar:./examples/evmapp/target/lib/* io.horizen.examples.EvmApp ./examples/my_settings.conf
529+
java -cp ./examples/account/evmapp/target/sidechains-sdk-evmapp-0.11.0.jar:./examples/evmapp/target/lib/* io.horizen.examples.EvmApp ./examples/my_settings.conf
530530
```
531531
* For Linux (Jemalloc):
532532
```
533-
LD_PRELOAD=<path to jemalloc library>/libjemalloc.so.1 java -cp ./examples/account/evmapp/target/sidechains-sdk-evmapp-0.11.0-SNAPSHOT.jar:./examples/evmapp/target/lib/* io.horizen.examples.EvmApp ./examples/my_settings.conf
533+
LD_PRELOAD=<path to jemalloc library>/libjemalloc.so.1 java -cp ./examples/account/evmapp/target/sidechains-sdk-evmapp-0.11.0.jar:./examples/evmapp/target/lib/* io.horizen.examples.EvmApp ./examples/my_settings.conf
534534
```
535535

536536

examples/utxo/simpleapp/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>io.horizen</groupId>
55
<artifactId>sidechains-sdk-simpleapp</artifactId>
6-
<version>0.11.0-SNAPSHOT</version>
6+
<version>0.11.0</version>
77
<inceptionYear>2018</inceptionYear>
88
<properties>
99
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>io.horizen</groupId>
1717
<artifactId>sidechains-sdk</artifactId>
18-
<version>0.11.0-SNAPSHOT</version>
18+
<version>0.11.0</version>
1919
</dependency>
2020
<dependency>
2121
<groupId>junit</groupId>

examples/utxo/utxoapp_sctool/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>io.horizen</groupId>
55
<artifactId>sidechains-sdk-utxoapp_sctool</artifactId>
6-
<version>0.11.0-SNAPSHOT</version>
6+
<version>0.11.0</version>
77
<inceptionYear>2018</inceptionYear>
88
<properties>
99
<maven.compiler.source>11</maven.compiler.source>
@@ -14,13 +14,13 @@
1414
<dependency>
1515
<groupId>io.horizen</groupId>
1616
<artifactId>sidechains-sdk-scbootstrappingtools</artifactId>
17-
<version>0.11.0-SNAPSHOT</version>
17+
<version>0.11.0</version>
1818
<scope>compile</scope>
1919
</dependency>
2020
<dependency>
2121
<groupId>io.horizen</groupId>
2222
<artifactId>sidechains-sdk-simpleapp</artifactId>
23-
<version>0.11.0-SNAPSHOT</version>
23+
<version>0.11.0</version>
2424
<scope>compile</scope>
2525
</dependency>
2626
</dependencies>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>io.horizen</groupId>
55
<artifactId>Sidechains</artifactId>
6-
<version>0.11.0-SNAPSHOT</version>
6+
<version>0.11.0</version>
77
<inceptionYear>2018</inceptionYear>
88
<properties>
99
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

0 commit comments

Comments
 (0)