Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
424ae98
rename leveldb dictionary, optimize, update usage
Jan 5, 2026
1225fd0
speed up rebuilding block index
Jan 6, 2026
36b3bd0
check all transactions on startup, make TransactionHash collision res…
Jan 7, 2026
d2a727a
validate only last 1,5k
Jan 7, 2026
efa3de6
fix some ui errors, debug findOne error
Jan 11, 2026
1606367
calculate decay with subraction and addition only, set precision for …
unicorny Jan 14, 2026
38ffec5
adapt to community id changes
unicorny Jan 20, 2026
64d36da
update for changes blockchain::Abstract
Jan 24, 2026
169d4a2
refactor with new knowledge and gradido-blockchain changes
unicorny Feb 18, 2026
6efe6fe
update for changed gradido blockchain lib
unicorny Feb 24, 2026
9bed252
linux build fix
Feb 24, 2026
134d68f
make it work even without empty or missing hiero topic id in communit…
Feb 25, 2026
46ff9f5
fix crash on empty hiero topic id
unicorny Feb 25, 2026
2d67ed8
update gradido blockchain to tagged version
unicorny Feb 25, 2026
64c3a78
add restart of rpc listener loop like in hiero sdk
Feb 27, 2026
3e7a4f3
fix problems with counting
unicorny Feb 27, 2026
db25444
Merge branch 'protocol_change_v3.7' of github-einhornimmond:gradido/g…
unicorny Feb 27, 2026
c55a8bd
call correct run method with communit id index, catch exceptions with…
unicorny Feb 28, 2026
50ed6f5
change json format for hiero tx id in gradido blockchain lib
unicorny Feb 28, 2026
c462c04
update blockchain lib with counting fix
unicorny Mar 1, 2026
19324a0
fix find by ledger anchor
unicorny Mar 1, 2026
555c0ce
remove debug print
Mar 1, 2026
c7c6d21
fix some bugs2
Mar 2, 2026
c597425
use std::stop_token for more graceful shutdown
unicorny Mar 4, 2026
56833b5
Merge pull request #11 from gradido/introduce_stop_token
einhornimmond Mar 6, 2026
58bc65d
add fast access vector to cache::State for default keys
unicorny Mar 6, 2026
d21e69c
Merge branch 'protocol_change_v3.7' into speedup_access_blockchain_state
einhornimmond Mar 6, 2026
4d69067
Merge pull request #12 from gradido/speedup_access_blockchain_state
einhornimmond Mar 6, 2026
fad5de6
use Runtime Dictionary for now, fixed bug while loading from state
unicorny Mar 6, 2026
2b8adb0
fix for linux build
Mar 6, 2026
1762c14
update docker for cross compiling
Mar 7, 2026
6de65ca
use gRPC dependencies uploaded to docker hub
Mar 7, 2026
484d2d7
update release workflow, triggered by new tag
Mar 7, 2026
9f4f78c
use recursive checkout in release
Mar 7, 2026
41b73a5
add zig setup to windows build step
unicorny Mar 7, 2026
0431974
fix zig setup action name
unicorny Mar 7, 2026
2235857
fix double artifact names
unicorny Mar 7, 2026
7b65ec4
fix windows release build path
unicorny Mar 7, 2026
ee0fb86
use action for collect prs as changelog
Mar 9, 2026
0081e83
Merge branch 'protocol_change_v3.7' of github.com:gradido/gradido_nod…
Mar 9, 2026
7c2b326
add wrong formatted commits in changelog for now
Mar 9, 2026
499e986
add missing dlls für windows build, strip linux builds
Mar 9, 2026
4eda19d
fix path
Mar 9, 2026
af8b422
fix version handling from ci - to binary
Mar 10, 2026
44ffa90
bundle cacert with gradido-blockchain lib
Mar 11, 2026
35fbc50
bug fix
Mar 11, 2026
46bfef0
use plain cmake instead of a custom c program
Mar 11, 2026
c53015e
use SyncTopic also between reconnects, reconnect topic after 30 minut…
unicorny Mar 12, 2026
696d2cb
api, getTransactions add searchDirection, make DESC default
Mar 12, 2026
c549aa8
add WireFilter and fromJson for this, use for getTransactions api fun…
unicorny Mar 16, 2026
7310601
use new transaction index
unicorny Mar 16, 2026
9cc4c9e
fix build error
Mar 17, 2026
ce84def
fix problem with findAll and returning entries double tofullfill pagi…
unicorny Mar 17, 2026
eed8f03
fix problem with validation last X transaction not starting by 0
unicorny Mar 18, 2026
905bc41
Merge branch 'transactionIndexRoaringBitmap' of github.com:gradido/gr…
Mar 18, 2026
0ce774e
hot fix in gradido blockchain
Apr 5, 2026
60a7d2d
speedup json rpc calls, use static buffer for rapid json
unicorny Apr 12, 2026
506f943
update gradido blockchain, fix fix on linux
Apr 14, 2026
68f8bc3
adapt to changed GradidoBlockchain with moving logic to blockchain co…
unicorny Apr 28, 2026
6a51c85
update submodule
Apr 29, 2026
4d2204a
more comments about shutdown process, removed some white spaces
May 3, 2026
aa8067f
fix build
May 3, 2026
9c0dc64
wip exit process
May 4, 2026
89f405d
fix bug with missing add compact tx to cache, after removing
unicorny May 13, 2026
53c8941
fix linux build error
May 13, 2026
4a942fd
remove iota, fix for changed gradido blockchain (core)
unicorny May 17, 2026
e88df91
Merge branch 'transactionIndexRoaringBitmap' of github-einhornimmond:…
unicorny May 17, 2026
2d0ba76
fix some bugs with protobuf
unicorny May 17, 2026
12935a9
adapt to changed Uuid handling
unicorny May 24, 2026
17aed77
fix build error in gradido blockchain
unicorny May 24, 2026
1f21bdf
fix linux build
May 24, 2026
6cf651b
debug github workflow
May 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
224 changes: 165 additions & 59 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,69 +2,175 @@ name: Build and Release

on:
push:
branches:
- 'release/*'

tags:
- "v*"
jobs:
build:
name: Build Binaries
# ─── Linux Builds via Docker ───────────────────────
linux-x64-build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Configure and build
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ..
make -j$(nproc)
cmake ..
make -j$(nproc) GradidoNode

- name: Archive binaries
uses: actions/upload-artifact@v2
with:
name: binaries
path: build/bin/*

release:
name: Create Release
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Get blockchain version
id: blockchain_version
run: echo "version=$(git -C dependencies/gradido_blockchain describe --tags --dirty --always)" >> $GITHUB_OUTPUT
- name: Build x86_64
run: |
docker build \
--build-arg GRADIDO_NODE_VERSION=${{ github.ref_name }} \
--build-arg GRADIDO_BLOCKCHAIN_VERSION=${{ steps.blockchain_version.outputs.version }} \
--target release_build \
-t gradido-node-x86_64 .
docker create --name extract-x64 gradido-node-x86_64
docker cp extract-x64:/code/build/bin/GradidoNode ./GradidoNode
docker rm extract-x64

- name: Strip binary
run: strip ./GradidoNode

- name: compress
run: tar -czf gradido_node-${{ github.ref_name }}-linux-x64.tar.gz GradidoNode
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: linux-x86_64
path: gradido_node-${{ github.ref_name }}-linux-x64.tar.gz

linux-aarch64-build:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Get blockchain version
id: blockchain_version
run: echo "version=$(git -C dependencies/gradido_blockchain describe --tags --dirty --always)" >> $GITHUB_OUTPUT
- name: Build aarch64
run: |
docker build \
--build-arg GRADIDO_NODE_VERSION=${{ github.ref_name }} \
--build-arg GRADIDO_BLOCKCHAIN_VERSION=${{ steps.blockchain_version.outputs.version }} \
--build-arg ZIG_TARGET=aarch64-linux-musl \
--build-arg TARGET_ARCH=aarch64 \
--target release_build \
-t gradido-node-aarch64 .
docker create --name extract-arm gradido-node-aarch64
docker cp extract-arm:/code/build/bin/GradidoNode ./GradidoNode
docker rm extract-arm

- name: Strip binary
run: |
sudo apt-get install -y binutils-aarch64-linux-gnu
aarch64-linux-gnu-strip ./GradidoNode

- name: compress
run: tar -czf gradido_node-${{ github.ref_name }}-linux-arm64.tar.gz GradidoNode

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: linux-aarch64
path: gradido_node-${{ github.ref_name }}-linux-arm64.tar.gz

# ─── Windows Native Build ──────────────────────────
windows-build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: install zig
uses: mlugg/setup-zig@v2
with:
version: 0.15.2
- name: Setup MSVC
uses: microsoft/setup-msbuild@v2

- name: Configure
run: |
mkdir build
cd build
cmake .. `
-DENABLE_TEST=Off `
-DENABLE_HTTPS=On `
-DCMAKE_BUILD_TYPE=Release

- name: Build
run: |
cd build
cmake --build . --target GradidoNode --config Release

- name: Collect all and compress
shell: powershell
run: |
Write-Host "Current directory: $(Get-Location)"
$exeAndDll = @(
"build/bin/Release/GradidoNode.exe",
"dependencies/gradido_blockchain/dependencies/vcpkg/packages/openssl_x64-windows/bin/libssl-3-x64.dll",
"dependencies/gradido_blockchain/dependencies/vcpkg/packages/openssl_x64-windows/bin/libcrypto-3-x64.dll"
)
Write-Host "=== Debug: gefundene Dateien ==="
Write-Host "Anzahl der gefundenen Dateien: $($exeAndDll.Count)"
if ($exeAndDll.Count -gt 0) {
Write-Host "Liste der Dateien:"
$exeAndDll | ForEach-Object { Write-Host " - $_" }
} else {
Write-Host "Keine Dateien gefunden!"
Write-Host "Existiert der Pfad? $(Test-Path build/bin/Release)"
if (Test-Path build/bin/Release) {
Write-Host "Inhalt des Verzeichnisses:"
Get-ChildItem -Path build/bin/Release -Recurse | ForEach-Object { Write-Host " - $($_.FullName)" }
}
}
Compress-Archive -Path $exeAndDll -DestinationPath "gradido_node-${{ github.ref_name }}-win32-x64.zip" -Force

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: windows-x86_64
path: gradido_node-${{ github.ref_name }}-win32-x64.zip

# ─── Release erstellen ─────────────────────────────
create-release:
needs: [linux-x64-build, linux-aarch64-build, windows-build]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Download binaries
uses: actions/download-artifact@v2
with:
name: binaries
path: build/bin/

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Describe your release here.
draft: false
prerelease: false

- name: Upload binaries
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/bin/*
asset_name: ${{ github.ref }}
- uses: actions/checkout@v4
with:
fetch-depth: 0 # für PR-History~

- name: Download alle Artifacts
uses: actions/download-artifact@v4

- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1.10.3
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
includeInvalidCommits: true

- name: create GitHub Release
uses: softprops/action-gh-release@v1
with:
name: Release ${{ github.ref_name }}
body: |
## Changes~
${{ steps.changelog.outputs.result }}
*Auto-generated release notes from Pull-Requests*

## Downloads~
| Platform | Architecture | File |
|---|---|---|
| Linux | x86_64 | gradido_node-${{ github.ref_name }}-linux-x64.tar.gz |
| Linux | aarch64 | gradido_node-${{ github.ref_name }}-linux-arm64.tar.gz |
| Windows | x86_64 | gradido_node-${{ github.ref_name }}-win32-x64.zip |
files: |
linux-x86_64/gradido_node-${{ github.ref_name }}-linux-x64.tar.gz
linux-aarch64/gradido_node-${{ github.ref_name }}-linux-arm64.tar.gz
windows-x86_64/gradido_node-${{ github.ref_name }}-win32-x64.zip
Loading
Loading