diff --git a/README.md b/README.md index 7225bd8643..334d9255b0 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ OS name: "linux", version: "5.9.12-200.fc33.x86_64", arch: "amd64", family: "uni ### Installation artefacts -The final artifact that is ready to install and run located in the ___apl-exec/target___ directory and has name like ___apollo-blockchain-1.50.33-NoOS-NoArch.zip___. +The final artifact that is ready to install and run located in the ___apl-exec/target___ directory and has name like ___apollo-blockchain-1.50.35-NoOS-NoArch.zip___. Unzip it to some location and run by scripts in ___ApolloWallet/apollo-blockchain/bin___ directory. diff --git a/VERSION b/VERSION index bd0772564e..0292f0d8fa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.50.33 +1.50.35 diff --git a/apl-api/pom.xml b/apl-api/pom.xml index 0026570ab9..8f25298659 100644 --- a/apl-api/pom.xml +++ b/apl-api/pom.xml @@ -6,7 +6,7 @@ com.apollocurrency apollo-blockchain - 1.50.33 + 1.50.35 apl-api diff --git a/apl-api2/pom.xml b/apl-api2/pom.xml index b67c2c5578..ebd2f30e21 100644 --- a/apl-api2/pom.xml +++ b/apl-api2/pom.xml @@ -6,7 +6,7 @@ com.apollocurrency apollo-blockchain - 1.50.33 + 1.50.35 apl-api2 diff --git a/apl-bom/pom.xml b/apl-bom/pom.xml index 3f968a5ce2..f26e2358de 100644 --- a/apl-bom/pom.xml +++ b/apl-bom/pom.xml @@ -5,7 +5,7 @@ com.apollocurrency apl-bom - 1.50.33 + 1.50.35 pom apl-bom diff --git a/apl-conf/pom.xml b/apl-conf/pom.xml index 802b19513a..4b8c03aa54 100644 --- a/apl-conf/pom.xml +++ b/apl-conf/pom.xml @@ -5,7 +5,7 @@ com.apollocurrency apollo-blockchain - 1.50.33 + 1.50.35 apl-conf apl-conf diff --git a/apl-core/pom.xml b/apl-core/pom.xml index d786a72dce..c88baabb9d 100644 --- a/apl-core/pom.xml +++ b/apl-core/pom.xml @@ -6,7 +6,7 @@ com.apollocurrency apollo-blockchain - 1.50.33 + 1.50.35 apl-core apl-core diff --git a/apl-crypto/pom.xml b/apl-crypto/pom.xml index 10c868d052..229208877d 100644 --- a/apl-crypto/pom.xml +++ b/apl-crypto/pom.xml @@ -6,7 +6,7 @@ com.apollocurrency apollo-blockchain - 1.50.33 + 1.50.35 apl-crypto diff --git a/apl-db-updater/pom.xml b/apl-db-updater/pom.xml index d520e939ba..05b061f97a 100644 --- a/apl-db-updater/pom.xml +++ b/apl-db-updater/pom.xml @@ -5,7 +5,7 @@ apollo-blockchain com.apollocurrency - 1.50.33 + 1.50.35 4.0.0 diff --git a/apl-db-updater/src/main/resources/db/migration/h2/apl/V1_2__block_timestamp_index.sql b/apl-db-updater/src/main/resources/db/migration/h2/apl/V1_2__block_timestamp_index.sql new file mode 100644 index 0000000000..4b9a45f5e7 --- /dev/null +++ b/apl-db-updater/src/main/resources/db/migration/h2/apl/V1_2__block_timestamp_index.sql @@ -0,0 +1,13 @@ +/* + * Copyright (c) 2022. Apollo Foundation. + */ +-- Recreate block_timestamp_idx with DESC sort to ensure +-- fast last block lookup required for popOff operation +-- +-- Works only for index created from no-db initialization +--ALTER TABLE block DROP CONSTRAINT `block_timestamp_idx`; +-- Works only for index already populated with data +--DROP INDEX block_timestamp_idx; +-- We just create a new index with reversed sort, because it's the only one +-- working solution to maintain existing db migration and new db creation +CREATE UNIQUE INDEX reversed_block_timestamp_idx ON block (`timestamp` DESC) ; \ No newline at end of file diff --git a/apl-dex/pom.xml b/apl-dex/pom.xml index 099748b713..ce1637e5fb 100644 --- a/apl-dex/pom.xml +++ b/apl-dex/pom.xml @@ -5,7 +5,7 @@ apollo-blockchain com.apollocurrency - 1.50.33 + 1.50.35 4.0.0 diff --git a/apl-exec/packaging/pkg-apollo-blockchain.json b/apl-exec/packaging/pkg-apollo-blockchain.json index 42e0611055..4fe7697276 100644 --- a/apl-exec/packaging/pkg-apollo-blockchain.json +++ b/apl-exec/packaging/pkg-apollo-blockchain.json @@ -1,7 +1,7 @@ { "name": "apollo-blockchain", "description": "Apollo blockchain backend", - "version": "1.50.33", + "version": "1.50.35", "dependencies": [ { "name": "OpenJDK", diff --git a/apl-exec/pom.xml b/apl-exec/pom.xml index c4a2c172e1..299d79ca97 100644 --- a/apl-exec/pom.xml +++ b/apl-exec/pom.xml @@ -6,7 +6,7 @@ com.apollocurrency apollo-blockchain - 1.50.33 + 1.50.35 apl-exec apl-exec diff --git a/apl-smc/pom.xml b/apl-smc/pom.xml index 579a25531e..28399f1bba 100644 --- a/apl-smc/pom.xml +++ b/apl-smc/pom.xml @@ -10,7 +10,7 @@ apollo-blockchain com.apollocurrency - 1.50.33 + 1.50.35 apl-smc diff --git a/apl-updater/pom.xml b/apl-updater/pom.xml index fdcd9a7a0d..e35e0071b2 100644 --- a/apl-updater/pom.xml +++ b/apl-updater/pom.xml @@ -6,7 +6,7 @@ com.apollocurrency apollo-blockchain - 1.50.33 + 1.50.35 apl-updater diff --git a/apl-utils/pom.xml b/apl-utils/pom.xml index 0efa5b3269..f230cb9cb6 100644 --- a/apl-utils/pom.xml +++ b/apl-utils/pom.xml @@ -6,7 +6,7 @@ com.apollocurrency apollo-blockchain - 1.50.33 + 1.50.35 apl-utils diff --git a/apl-utils/src/main/java/com/apollocurrency/aplwallet/apl/util/Constants.java b/apl-utils/src/main/java/com/apollocurrency/aplwallet/apl/util/Constants.java index 51f709a0c9..52923bdbd1 100644 --- a/apl-utils/src/main/java/com/apollocurrency/aplwallet/apl/util/Constants.java +++ b/apl-utils/src/main/java/com/apollocurrency/aplwallet/apl/util/Constants.java @@ -24,7 +24,7 @@ public final class Constants { - public static final Version VERSION = new Version("1.50.33"); + public static final Version VERSION = new Version("1.50.35"); public static final String APPLICATION = "Apollo"; public static final String APPLICATION_DIR_NAME = "apl-blockchain"; diff --git a/apl-vault-wallet/pom.xml b/apl-vault-wallet/pom.xml index bb6ecc8b15..c8dac3703d 100644 --- a/apl-vault-wallet/pom.xml +++ b/apl-vault-wallet/pom.xml @@ -7,7 +7,7 @@ com.apollocurrency apollo-blockchain - 1.50.33 + 1.50.35 apl-vault-wallet diff --git a/pom.xml b/pom.xml index bd1d493dec..28253e1327 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.apollocurrency apollo-blockchain - 1.50.33 + 1.50.35 pom apollo-blockchain