Skip to content

Commit

Permalink
The new and final Snarkcoin
Browse files Browse the repository at this point in the history
  • Loading branch information
snarkcoin committed Jul 18, 2022
1 parent 224c34e commit 0673cba
Show file tree
Hide file tree
Showing 1,812 changed files with 474,880 additions and 0 deletions.
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
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!--- Remove sections that do not apply -->

This issue tracker is only for technical issues related to Snarkcoin Core.

General Snarkcoin questions and/or support requests and are best directed to the [Snarkcoinpay Reddit](https://www.reddit.com/r/snarkcoinpay/).

To report critical security issues, email infosec@snarkcoin.org and/or see the SNARK bug bounty program on [Bugcrowd](https://bugcrowd.com/snarkcoindigitalcash) instead of creating Github issues.

### Describe the issue

### Can you reliably reproduce the issue?
#### If so, please list the steps to reproduce below:
1.
2.
3.

### Expected behaviour
Tell us what should happen

### Actual behaviour
Tell us what happens instead

### Screenshots.
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.

### What version of Snarkcoin Core are you using?
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.

### Machine specs:
- OS:
- CPU:
- RAM:
- Disk size:
- Disk Type (HD/SDD):

### Any extra information that might be useful in the debugging process.
This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred.
73 changes: 73 additions & 0 deletions .github/workflows/release_docker_hub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Release to Docker Hub

on:
release:
types: [published]

jobs:
release:
name: Release to Docker Hub
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

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

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

- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v2
with:
images: snarkcoinpay/snarkcoind
tags: |
type=match,pattern=v(\d+.\d+.\d+.\d+),group=1,enable=${{ !contains(github.event.release.tag_name, '-rc') }}
type=match,pattern=v(\d+.\d+.\d+),group=1,enable=${{ !contains(github.event.release.tag_name, '-rc') }}
type=match,pattern=v(\d+.\d+),group=1,enable=${{ !contains(github.event.release.tag_name, '-rc') }}
type=raw,value=latest,enable=${{ !contains(github.event.release.tag_name, '-rc') }}
type=match,pattern=v(.*),group=1,latest=false,enable=${{ contains(github.event.release.tag_name, '-rc') }}
type=raw,value=latest-dev,enable=${{ contains(github.event.release.tag_name, '-rc') }}
flavor: |
latest=false
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./docker
file: ./docker/Dockerfile.GitHubActions
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
build-args: TAG=${{ steps.docker_meta.outputs.version }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new
platforms: linux/amd64,linux/arm64,linux/arm/v7

- # Temp fix
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
142 changes: 142 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
*.sublime-project
*.sublime-workspace
todo.txt
reset-files.bash

*.tar.gz

*.exe
src/snarkcoin
src/snarkcoind
src/snarkcoin-cli
src/snarkcoin-tx
src/test/test_snarkcoin
src/test/test_snarkcoin_fuzzy
src/qt/test/test_snarkcoin-qt
src/qt/res/css/colors/*
src/bench/bench_snarkcoin

# autoreconf
Makefile.in
aclocal.m4
autom4te.cache/
build-aux/config.guess
build-aux/config.sub
build-aux/depcomp
build-aux/install-sh
build-aux/ltmain.sh
build-aux/m4/libtool.m4
build-aux/m4/lt~obsolete.m4
build-aux/m4/ltoptions.m4
build-aux/m4/ltsugar.m4
build-aux/m4/ltversion.m4
build-aux/missing
build-aux/compile
build-aux/test-driver
config.log
config.status
configure
libtool
src/config/snarkcoin-config.h
src/config/snarkcoin-config.h.in
src/config/stamp-h1
share/setup.nsi
share/qt/Info.plist

src/univalue/gen

src/qt/*.moc
src/qt/moc_*.cpp
src/qt/forms/ui_*.h

src/qt/test/moc*.cpp
libconftest.dylib*

.deps
.dirstamp
.libs
.*.swp
*.*~*
*.bak
*.rej
*.orig
*.pyc
*.o
*.o-*
*.a
*.pb.cc
*.pb.h

*.log
*.trs
*.dmg

*.json.h
*.raw.h

# Only ignore unexpected patches
*.patch
!depends/patches/**/*.patch

#libtool object files
*.lo
*.la

# Compilation and Qt preprocessor part
*.qm
Makefile
snarkcoin-qt
Snarkcoin-Qt.app
background.tiff*
!/depends/Makefile

# Unit-tests
Makefile.test
snarkcoin-qt_test

# Resources cpp
qrc_*.cpp

# Mac specific
.DS_Store
build
*.dSYM

#lcov
*.gcno
*.gcda
/*.info
test_snarkcoin.coverage/
total.coverage/
coverage_percent.txt

#build tests
linux-coverage-build
linux-build
win32-build
test/config.ini
test/cache/*

!src/leveldb*/Makefile

.cproject
.project
.autotools
/doc/doxygen/

libsnarkcoinconsensus.pc
contrib/devtools/split-debug.sh
src/qt/snarkcoin-qt.bash
qa/pull-tester/tests-config.sh

#development symlinks
snarkcoin-cli
snarkcoind
snarkcoin-qt
make

/docker/bin

# CLion
.idea
cmake-build-debug
Loading

0 comments on commit 0673cba

Please sign in to comment.