Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release - POP v0.0.2 #5

Merged
merged 46 commits into from
Jan 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
04ec547
Update fork info
Warchant Oct 25, 2019
7958da2
Release 0.0.1 (#35)
Warchant Nov 29, 2019
e61486b
Fix sync issue (#39)
Warchant Nov 30, 2019
79dacd4
Update util_service_impl.cpp
Warchant Dec 1, 2019
01af41f
Add logging into submitpop
Warchant Dec 2, 2019
9e2bf21
Feature/btc 78 (#41)
Dec 4, 2019
0409219
Feature/btc 118 (#42)
Dec 9, 2019
c9da2a7
Feature/btc 124 (#43)
Dec 16, 2019
23cd252
Feature/btc 117 (#44)
Dec 18, 2019
bfebe9b
improove the savePopTx method (#45)
Dec 19, 2019
8c8c82c
fix the net propagation (#46)
Dec 25, 2019
91a0a7c
add fast fail of the daemon if alt-service is not working (#47)
Dec 27, 2019
8f424a7
Add snapshot builds (#48)
Warchant Dec 27, 2019
2f01468
Fix spelling in Boundary (#49)
Warchant Dec 27, 2019
0301e32
fix forkresolution, add integration test
Dec 31, 2019
3f11a97
Add coverage to sonar
Warchant Dec 27, 2019
75b1983
Use gcc
Warchant Dec 27, 2019
37dccbe
Fix coverage
Warchant Dec 27, 2019
72cbc9a
Update creds
Warchant Dec 31, 2019
857907d
Fix build and tests
Warchant Jan 2, 2020
ae40cbb
Fix CD
Warchant Jan 2, 2020
b749355
Use correct creds
Warchant Jan 2, 2020
d8b46c7
Update docker image tag
Warchant Jan 3, 2020
aee26a2
Merge pull request #1 from VeriBlock/fix-build
Warchant Jan 3, 2020
81ffc9b
change getblocktemplate(), top_merkleroot
Jan 3, 2020
c2a7b7b
fix
Jan 3, 2020
c1b05ed
main net genesis block fix
Jan 5, 2020
4947ea1
fix test
Jan 5, 2020
8415014
fix
Jan 6, 2020
2af18d1
Merge pull request #2 from VeriBlock/feature/BTC-114
Jan 6, 2020
b0a360c
add halving into the pop rewards
Jan 7, 2020
41dc518
fix
Jan 7, 2020
8e65157
fix
Jan 8, 2020
da5f3a9
fix
Jan 9, 2020
db2b97a
fix
Jan 9, 2020
3544cdd
fix
Jan 9, 2020
ba9adb4
fix
Jan 9, 2020
ddd7eda
fix
Jan 9, 2020
4849993
small change
Jan 9, 2020
cb0bff4
Merge pull request #4 from VeriBlock/feature/btc-151
Warchant Jan 9, 2020
1db5ea5
Implement UpdateContext
Warchant Jan 6, 2020
8ddca11
Add test fro updateContext
Warchant Jan 8, 2020
c705ecf
Update pop_service_impl.cpp
Jan 9, 2020
a364800
Allow 0 VTBs in pop tx
Warchant Jan 9, 2020
3dc4d21
Remove nodiscard, fix test
Warchant Jan 9, 2020
707ad8d
Merge pull request #3 from VeriBlock/feature/update-ctx-tx
Warchant Jan 9, 2020
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
154 changes: 154 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
*.tar.gz

src/vbk/grpc_integration/*.pb.cc
src/vbk/grpc_integration/*.pb.h

*.exe
*.pdb
src/bitcoin
src/bitcoind
src/bitcoin-cli
src/bitcoin-tx
src/bitcoin-wallet
src/test/test_bitcoin
src/test/test_bitcoin_fuzzy
src/qt/test/test_bitcoin-qt

# 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/bitcoin-config.h
src/config/bitcoin-config.h.in
src/config/stamp-h1
src/obj
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

src/qt/bitcoin-qt.config
src/qt/bitcoin-qt.creator
src/qt/bitcoin-qt.creator.user
src/qt/bitcoin-qt.files
src/qt/bitcoin-qt.includes

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

*.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
!depends/Makefile
bitcoin-qt
Bitcoin-Qt.app
background.tiff*

# Qt Creator
Makefile.am.user

# Unit-tests
Makefile.test
bitcoin-qt_test

# Resources cpp
qrc_*.cpp

# Mac specific
.DS_Store
build

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

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

!src/leveldb*/Makefile

/doc/doxygen/

libbitcoinconsensus.pc
contrib/devtools/split-debug.sh

# Output from running db4 installation
db4/

# clang-check
*.plist

osx_volname
dist/
*.background.tiff

*.tmp
compile_commands.json
.idea
.scannerwork
.project
.cproject
.settings
configure.lineno
*.pb.*
*.o
.git
20 changes: 20 additions & 0 deletions .github/workflows/btcdev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Btcdev Image Docker CD

on:
push:
paths:
- btcdev.Dockerfile

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Docker Push
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: veriblock/btcdev
dockerfile: btcdev.Dockerfile
username: ${{ secrets.PUBLIC_DOCKERHUB_USERNAME }}
password: ${{ secrets.PUBLIC_DOCKERHUB_PASSWORD }}
tag_names: true
28 changes: 28 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Docker CD

on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Docker Push
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: veriblock/vbtc
dockerfile: Dockerfile
username: ${{ secrets.PUBLIC_DOCKERHUB_USERNAME }}
password: ${{ secrets.PUBLIC_DOCKERHUB_PASSWORD }}
tag_names: true
snapshot: true
81 changes: 0 additions & 81 deletions .github/workflows/ci.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/fast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Fast CI

on:
pull_request:
branches:
- master
- develop

jobs:
build:
runs-on: ubuntu-latest
container: veriblock/btcdev
env:
CC: gcc
CXX: g++
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure
--without-gui
--enable-werror
--enable-lcov
--enable-lcov-branch-coverage
--disable-bench

- name: make
run: make -j2
- name: make check
timeout-minutes: 10
run: make check
- name: Collect coverage
run: |
lcov -c -d src -o cov.info
gcovr --xml cov.xml -j2 -v -s -b -r src
- name: Run sonarqube
run: sonar-scanner -Dsonar.login=${{ secrets.SONAR_TOKEN }}
20 changes: 20 additions & 0 deletions .github/workflows/prerelease-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Prerelease Image Docker CD

on:
push:
paths:
- prerelease.Dockerfile

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Docker Push
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: veriblock/prerelease
dockerfile: prerelease.Dockerfile
username: ${{ secrets.PUBLIC_DOCKERHUB_USERNAME }}
password: ${{ secrets.PUBLIC_DOCKERHUB_PASSWORD }}
tag_names: true
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
*.tar.gz

src/vbk/grpc_integration/*.pb.cc
src/vbk/grpc_integration/*.pb.h

*.exe
*.pdb
src/bitcoin
Expand Down Expand Up @@ -137,3 +140,13 @@ db4/
osx_volname
dist/
*.background.tiff

*.tmp
compile_commands.json
.idea
.scannerwork
.project
.cproject
.settings
configure.lineno
*.pb.*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "proto"]
path = src/vbk/alt-integration-proto
url = https://github.com/VeriBlock/alt-integration-proto/
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM veriblock/prerelease-btc
MAINTAINER Bohdan Vanieiev <[email protected]>

ADD . /app
WORKDIR /app
RUN ./autogen.sh
RUN CC=gcc-7 CXX=g++-7 ./configure --without-gui --disable-tests --disable-bench --disable-man --with-libs=no
RUN make -j6 install

WORKDIR /root

# some cleanup to decrease image size
RUN strip -s /usr/local/bin/* || true; \
strip -s /usr/local/lib/* || true; \
rm -rf /app
Loading