From d961b5e7afa396e776076f8e7cb24e728ea7b3a2 Mon Sep 17 00:00:00 2001 From: DeckerSU Date: Sun, 24 Nov 2024 17:33:29 +0100 Subject: [PATCH 1/5] Dockerfile: fix FromAsCasing warning 1 warning found (use docker --debug to expand): - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 45) Now FROM and AS are consistent. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fc10c6d2..813c7671 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,7 @@ # docker buildx build --platform linux/amd64,linux/arm64 -t deckersu/komodoocean:latest --push . ## Build komodod -FROM ubuntu:20.04 as komodod-builder +FROM ubuntu:20.04 AS komodod-builder LABEL maintainer="DeckerSU " SHELL ["/bin/bash", "-c"] From 55038ad4e265d4ed1096606db2201da7be5bf7f5 Mon Sep 17 00:00:00 2001 From: DeckerSU Date: Mon, 25 Nov 2024 09:43:15 +0100 Subject: [PATCH 2/5] Update README.md Apple Silicon is supported from now. --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index a79ca725..747dbbd3 100644 --- a/README.md +++ b/README.md @@ -140,8 +140,6 @@ cd komodo ``` **komodo is experimental and a work-in-progress.** Use at your own risk. -*p.s.* Currently only `x86_64` arch supported for MacOS, build for `Apple M1` processors unfortunately not yet supported. - #### Docker :whale: [deckersu/komodoocean](https://hub.docker.com/r/deckersu/komodoocean) - This Docker image provides the official KomodoOcean daemon for the Komodo blockchain platform. Komodod is the core component responsible for running a Komodo node, facilitating transaction validation, block creation, and communication within the network. From f931b647c50e52ab1d13e1489d821f41621b8d68 Mon Sep 17 00:00:00 2001 From: DeckerSU Date: Fri, 29 Nov 2024 03:11:00 +0100 Subject: [PATCH 3/5] LoadBlockIndexDB: fix undefined behavior with updateInterval --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 4a4fd31e..3803d2d8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6120,7 +6120,7 @@ bool static LoadBlockIndexDB() int cur_height_num = 0; const size_t totalBlocks = vSortedByHeight.size(); - const size_t updateInterval = totalBlocks / 100; + const size_t updateInterval = std::max(totalBlocks / 100, 1); for (const std::pair& item : vSortedByHeight) { From 04197f8e9ca33340a1fe5b6b8977fc090bde742e Mon Sep 17 00:00:00 2001 From: DeckerSU Date: Fri, 29 Nov 2024 04:52:00 +0100 Subject: [PATCH 4/5] bump version [0.9.0.2] --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5e83090b..bb9556ac 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.60]) define(_CLIENT_VERSION_MAJOR, 0) define(_CLIENT_VERSION_MINOR, 9) define(_CLIENT_VERSION_REVISION, 0) -define(_CLIENT_VERSION_BUILD, 1) +define(_CLIENT_VERSION_BUILD, 2) define(_ZC_BUILD_VAL, m4_if(m4_eval(_CLIENT_VERSION_BUILD < 25), 1, m4_incr(_CLIENT_VERSION_BUILD), m4_eval(_CLIENT_VERSION_BUILD < 50), 1, m4_eval(_CLIENT_VERSION_BUILD - 24), m4_eval(_CLIENT_VERSION_BUILD == 50), 1, , m4_eval(_CLIENT_VERSION_BUILD - 50))) define(_CLIENT_VERSION_SUFFIX, m4_if(m4_eval(_CLIENT_VERSION_BUILD < 25), 1, _CLIENT_VERSION_REVISION-beta$1, m4_eval(_CLIENT_VERSION_BUILD < 50), 1, _CLIENT_VERSION_REVISION-rc$1, m4_eval(_CLIENT_VERSION_BUILD == 50), 1, _CLIENT_VERSION_REVISION, _CLIENT_VERSION_REVISION-$1))) define(_CLIENT_VERSION_IS_RELEASE, true) From dc6f5ec831ac9024899f5bec99f70f7586b3f18d Mon Sep 17 00:00:00 2001 From: DeckerSU Date: Fri, 29 Nov 2024 04:53:25 +0100 Subject: [PATCH 5/5] Dockerfile: bump version to v0.9.0-beta3 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 813c7671..a9cece52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,8 +47,8 @@ LABEL maintainer="DeckerSU " SHELL ["/bin/bash", "-c"] -# Latest release komodo v0.9.0-beta2 -ARG KOMODO_COMMITTISH=v0.9.0-beta2 +# Latest release komodo v0.9.0-beta3 +ARG KOMODO_COMMITTISH=v0.9.0-beta3 ARG IS_RELEASE=false # DeckerSU https://keys.openpgp.org/vks/v1/by-fingerprint/FD9A772C7300F4C894D1A819FE50480862E6451C ARG KOMODOD_MAINTAINER_KEYS="FD9A772C7300F4C894D1A819FE50480862E6451C"