Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
44743d8
feat: updating coordinate v29 to live
sucildossj Oct 31, 2025
3958f6b
fix: cherry pick issue v29
sucildossj Oct 31, 2025
5ddc0b1
updating docker file to live
sucildossj Oct 31, 2025
31acfd5
include slh dsa package in coordinate
sucildossj Nov 3, 2025
38d5565
remove slh dsa from gitignore
sucildossj Nov 3, 2025
5bd6c1a
including gitignore file to slh dsa
sucildossj Nov 3, 2025
de7ac64
fix: remove unneccessary function from policy
sucildossj Nov 4, 2025
911351b
including merge mine doc with v29
sucildossj Nov 4, 2025
d63d90e
fix: disable auxpow since coordinaterpc already have aux rpc
sucildossj Nov 4, 2025
988b307
fix: include blockstorage in bitcoin common
sucildossj Nov 4, 2025
a8534b0
fix include validation on flatfile lib to live
sucildossj Nov 4, 2025
941eba5
fix: remove blockstorage from bitcoin common
sucildossj Nov 4, 2025
be0aa2e
fix: update docker file for invalid paths
sucildossj Nov 4, 2025
818abd8
fix: on precommitment fix crash on null value
sucildossj Nov 4, 2025
bb2bc96
fix: createaux issue to live and include merge mine rpc changes
sucildossj Nov 5, 2025
c8b84e6
fix: merge mining with two transaction template
sucildossj Nov 5, 2025
e5f4aa5
including changes to retrieve auxpow from disk
sucildossj Nov 6, 2025
dc65d8e
fix: include bitcoin node to link storage
sucildossj Nov 6, 2025
eee4bba
moving bitcoin grpc connection within bitcoin_common instead node due…
sucildossj Nov 6, 2025
13c07e8
update regtest keys based on governance key changes
sucildossj Nov 7, 2025
22de644
fix: createpegin process having parse issue due to bitcoin template diff
sucildossj Nov 12, 2025
786bfab
fix: pegin template issue to live
sucildossj Nov 12, 2025
9f9ccbf
fix partial merkle root changes related to preconf
sucildossj Nov 18, 2025
a63bef7
including changes on merkle for spartial merkle tree
sucildossj Nov 18, 2025
28568e7
feat: include output type for p2tsh using schnorr
sucildossj Nov 24, 2025
ede6625
feat: include changes for p2tsh with new output type
sucildossj Nov 24, 2025
7854a25
disable precommitment and fix signet crash
sucildossj Dec 4, 2025
9390b31
Merge pull request #82 from AnduroProject/AN-484-signet-version
sucildossj Dec 4, 2025
603aec7
fix: revert back address type
sucildossj Dec 5, 2025
24ca688
fix: output descriptor to op_2 since addresstype using op_2
sucildossj Dec 5, 2025
293bfa7
feat: p2tsh scriptman implementation for wallet
sucildossj Dec 5, 2025
696d4e2
feat: include p2tsh implementation for wallet
sucildossj Dec 8, 2025
237fd60
feat: save wallet db implementation to live
sucildossj Dec 8, 2025
b3975b1
feat: update addressinfo changes to live
sucildossj Dec 8, 2025
6f05035
feat: include support for validateaddress rpc
sucildossj Dec 8, 2025
f118584
feat: added support for generatetoaddress
sucildossj Dec 8, 2025
459feb0
feat: include sign transaction for wallet
sucildossj Dec 8, 2025
7a770a8
feat: updating schnorr sign process with full test
sucildossj Dec 9, 2025
dd5cdae
fix load wallet on wallet core
sucildossj Dec 9, 2025
743db2b
update doc for p2tsh rpc information
sucildossj Dec 9, 2025
2151835
updating doc for p2tsh
sucildossj Dec 9, 2025
927d866
include hybrid implementation to live
sucildossj Dec 12, 2025
50639d9
fix merkleblock test after change spartial merkle tree fixes
sucildossj Dec 12, 2025
99155c9
fix merkle problem in bloom test
sucildossj Dec 12, 2025
13b97a8
updated p2tsh doc file to live
sucildossj Dec 15, 2025
9853593
Merge pull request #83 from AnduroProject/AN-483-include-p2tsh-support
sucildossj Dec 15, 2025
a96cadd
updaitng change on docker build fro ecr to ghcr
sucildossj Dec 15, 2025
d01a84e
fix workflow for following things
sucildossj Dec 15, 2025
13a6222
fix: dependency fail issue on ubuntu
sucildossj Dec 15, 2025
f280378
fix permission issue in docker
sucildossj Dec 15, 2025
2c3eecb
fix image name in lowercase
sucildossj Dec 15, 2025
832c23d
remove workflow trigger which included for testing purpose
sucildossj Dec 16, 2025
2156243
update p2tsh internal key changes to live
sucildossj Dec 18, 2025
7f45b50
Merge pull request #85 from AnduroProject/fix-p2tsh-internal-key-
sucildossj Dec 18, 2025
8d6ad73
fix: docker optimization and ci release changes
sucildossj Dec 29, 2025
67b67dd
Merge branch 'fix-p2tsh-internal-key-' into AN-205-ghcr-build-update
sucildossj Dec 29, 2025
dda0a4f
Merge branch 'AN-205-ghcr-build-update' into v29
sucildossj Dec 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
379 changes: 116 additions & 263 deletions .cirrus.yml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ insert_final_newline = true
trim_trailing_whitespace = true

# Source code files
[*.{h,cpp,py,sh}]
[*.{h,cpp,rs,py,sh}]
indent_size = 4

# .cirrus.yml, .fuzzbuzz.yml, etc.
# .cirrus.yml, etc.
[*.yml]
indent_size = 2

# Makefiles
[{*.am,Makefile.*.include}]
# Makefiles (only relevant for depends build)
[Makefile]
indent_style = tab

# Autoconf scripts
[configure.ac]
# CMake files
[{CMakeLists.txt,*.cmake,*.cmake.in}]
indent_size = 2
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/clientversion.cpp export-subst
118 changes: 118 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
name: Coordinate Core - Build and Push to GHCR

on:
push:
branches:
- main
- dev

permissions:
contents: write
pull-requests: write
packages: write

env:
IMAGE_NAME: coordinate-core

jobs:
build-and-push:
name: Build and Push Docker Image
runs-on: governance-testenv-github-self-hosted

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Set environment based on branch
id: env
run: |
if [[ "${{ github.ref_name }}" == "main" ]]; then
echo "tag_suffix=latest" >> $GITHUB_OUTPUT
echo "release_branch=main" >> $GITHUB_OUTPUT
else
echo "tag_suffix=beta" >> $GITHUB_OUTPUT
echo "release_branch=dev" >> $GITHUB_OUTPUT
fi

- name: Create new tag (semantic versioning)
id: tag
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: ${{ steps.env.outputs.release_branch }}
default_bump: patch

- name: Set lowercase owner name
id: lowercase
run: |
echo "owner=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT

- name: Install Dependencies
run: |
# Wait for apt lock to be released
while sudo fuser /var/lib/dpkg/lock-frontend >/dev/null 2>&1; do
echo "Waiting for other apt processes to finish..."
sleep 5
done

sudo apt-get update && sudo apt-get install -y \
build-essential \
libtool \
autotools-dev \
automake \
pkg-config \
bsdmainutils \
python3 \
libevent-dev \
libboost-dev \
libsqlite3-dev \
libminiupnpc-dev \
libnatpmp-dev \
libzmq3-dev \
systemtap-sdt-dev \
curl

- name: autogen
run: ./autogen.sh

- name: configure
run: ./configure --without-gui

- name: make
run: make

- name: Fix Docker socket permissions
run: sudo chmod 666 /var/run/docker.sock

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ steps.lowercase.outputs.owner }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=${{ steps.tag.outputs.new_tag }}
type=raw,value=${{ steps.env.outputs.tag_suffix }}

- name: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
89 changes: 0 additions & 89 deletions .github/workflows/dev-build-push-ecr.yml

This file was deleted.

128 changes: 128 additions & 0 deletions .github/workflows/dev-build-push-ghcr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
name: DEV - Build and Push to GHCR

on:
pull_request:
types:
- closed
branches:
- dev

permissions:
contents: write
pull-requests: write
packages: write

env:
IMAGE_NAME: coordinatecore
ENV_TYPE: dev

jobs:
build-and-push:
name: Build and Push Docker Image
if: ${{ github.event.pull_request.merged == true }}
runs-on: governance-testenv-github-self-hosted

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Cache CMake build
uses: actions/cache@v3
with:
path: |
build
~/.cache
key: ${{ runner.os }}-cmake-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('**/*.cpp', '**/*.h') }}
restore-keys: |
${{ runner.os }}-cmake-${{ hashFiles('**/CMakeLists.txt') }}-
${{ runner.os }}-cmake-

- name: Cache apt packages
uses: actions/cache@v3
with:
path: /var/cache/apt/archives
key: ${{ runner.os }}-apt-${{ hashFiles('.github/workflows/*.yml') }}
restore-keys: |
${{ runner.os }}-apt-

- name: Create new tag (semantic versioning)
id: tag
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: dev,main
default_bump: patch # can be major/minor/patch

- name: Set lowercase owner name
id: lowercase
run: |
echo "owner=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT

- name: Install Dependencies
run: |
# Wait for apt lock to be released
while sudo fuser /var/lib/dpkg/lock-frontend >/dev/null 2>&1; do
echo "Waiting for other apt processes to finish..."
sleep 5
done

sudo apt-get update && sudo apt-get install -y \
build-essential \
cmake \
libtool \
autotools-dev \
automake \
pkg-config \
bsdmainutils \
python3 \
libevent-dev \
libboost-dev \
libsqlite3-dev \
libminiupnpc-dev \
libnatpmp-dev \
libzmq3-dev \
systemtap-sdt-dev \
curl

- name: Configure with CMake
run: cmake -B build -DWITH_ZMQ=ON

- name: Build with CMake
run: cmake --build build

- name: Verify build artifacts
run: ls -la build/bin/

- name: Fix Docker socket permissions
run: |
sudo chmod 666 /var/run/docker.sock

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ steps.lowercase.outputs.owner }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=${{ steps.tag.outputs.new_tag }}
type=raw,value=latest
type=ref,event=branch

- name: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=ghcr.io/${{ steps.lowercase.outputs.owner }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=ghcr.io/${{ steps.lowercase.outputs.owner }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
Loading
Loading