Skip to content

Commit

Permalink
Merge pull request #90 from DeckerSU/static-experimental
Browse files Browse the repository at this point in the history
Merge branch 'static-experimental' into static
  • Loading branch information
DeckerSU authored Nov 29, 2024
2 parents e1f803e + dc6f5ec commit 379486e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
# 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 <[email protected]>"

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 <[email protected]> https://keys.openpgp.org/vks/v1/by-fingerprint/FD9A772C7300F4C894D1A819FE50480862E6451C
ARG KOMODOD_MAINTAINER_KEYS="FD9A772C7300F4C894D1A819FE50480862E6451C"
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<size_t>(totalBlocks / 100, 1);

for (const std::pair<int, CBlockIndex*>& item : vSortedByHeight)
{
Expand Down

0 comments on commit 379486e

Please sign in to comment.