forked from bitcoin/bitcoin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add ci, docker-compose, sonar * Add service locator, pop, rpc services (#1) Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Add RPC service implementation (#2) * Add rpc_service_impl Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Add opcodes Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Link libvbk everywhere Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Fix build Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Register RPCs Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Fix linker error * Make service locator templated * Use default template param to get rid of second overload of get/setService * Set timeout on build Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Fix usage on OP_CHECKATV&VTB Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Add test template Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Add fakeit Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Use fixture Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Move tests to vbk dir Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Fix double free Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Fix locator Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Disable -fno-devirtualize * Uncomment test Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Fix script_test Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Fix makefile Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Fix flag * Fix -fno-devirtualize flag * Add more interfaces (#3) * Add more interfaces Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Remove unneeded comments Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Fix build, sonar Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Add lcov coverage to sonar (#5) * Add lcov coverage to sonar Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Use gcovr Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Implement Util Service & add tests (#4) * Implement Util Service & add tests Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Add guard impl Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Remove slice; include vector Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Fix Signed-off-by: Bogdan Vaneev <warchantua@gmail.com> * Add init methods (#7) * Fixe AreInputsStandard, GetTransactionSigOpCostGetP2SHSigOpCount (#6) * Fixe AreInputsStandard, GetTransactionSigOpCostGetP2SHSigOpCount * fixes * fixes * fixes * fixe test, udate UpdateCoins' (#9) * fixes (#12) * fixes * small fixe * fixe * Update src/vbk/util_service/util_service_impl.cpp Co-Authored-By: Bohdan <warchantua@gmail.com> * Update src/script/interpreter.h Co-Authored-By: Bohdan <warchantua@gmail.com> * fixes * bitcoin-cli: convert parameters of the RPC service from JSON as needed (#16) * update mempool, add grpc calls (#14) * update mempool, add grpc calls * remove grpc * fixe * Fix locator (#17) * Fix locator * Fixes * Use clang in CI * Generate genesis blocks; change merkle root calc (#13) * Generate genesis blocks; change merkle root calc * Fixes * Fix main genesis block; disable tests * Fix * Fix make check * tests: add a VeriBlock integration test runner (#10) * tests: add a VeriBlock integration test runner * add a linker flag to resolve circular dependencies * Fix CI * ExtractMatches: fix incorrect condition (#19) * ExtractMatches fixed * Fix BTC-31 * Add SavePopTxToDatabase (#20) * add forkresolution, calculate block without pop tx (#18) * add forkresolution, calculate block without pop tx * Feature/update mempool comparator (#21) * update comparator, add tests * Feature/validate poptx (#22) * Add validate pop tx * Add EvalScript for pOP * Remove unused config const * Fix typo * Fix tests * Feature/pop reward (#23) * add pop rewards * fixe tests * fixes * Feature/fix bitcoind dnsseed (#26) * fix bitcoind * remove seeds and checkpoint data * Feature/add grpc service (#24) * add interface for the statefull block validation * add first verson of grpc class * Add autogeneration * Change submodule git -> https * add grpc calls of the service * add statefull validation * Update proto to v1; fix in Makefile * Fix build * Fix build * fixe * Fix build * Fixes to please CI * Fix build * Fix * Fix * Fix * First version of config... will continue tomorrow * Fix * FIx * add Pop merkle root commitment (#27) * fixe bitcoind * Fix (#28) * Add CD (#30) * Add CD * Try * Try * Try * Fix prerelase on * Add submodules * Update strip code * Remove email * Revert stripping * change the getblocktemplate method (#31) * Feature/disable checks (#32) * Disable requirement on at least one node * Fix tests * Fixes of grpc (#33) * Fixes of grpc * Update docker-compose image * Remove prefix in cd * Fix * Update cd * Fix (#34)
- Loading branch information
Showing
104 changed files
with
15,285 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
tag_names: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Docker CD | ||
|
||
on: | ||
release: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- feature/cd # for tests | ||
tags: | ||
# tags must start with v | ||
- v* | ||
|
||
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: vbtc | ||
dockerfile: Dockerfile | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
registry: docker-internal.veriblock.com | ||
tag_names: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Fast CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: veriblock/btcdev | ||
env: | ||
CC: clang | ||
CXX: clang++ | ||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
submodules: true | ||
- name: autogen | ||
run: ./autogen.sh | ||
- name: configure | ||
run: ./configure | ||
--without-gui | ||
--enable-werror | ||
|
||
- name: make | ||
run: make -j2 | ||
- name: make check | ||
timeout-minutes: 10 | ||
run: make check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Full CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- feature/ci | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: veriblock/btcdev | ||
env: | ||
CC: clang | ||
CXX: clang++ | ||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
submodules: true | ||
- name: autogen | ||
run: ./autogen.sh | ||
- run: ./configure --enable-werror | ||
- run: make -j2 distcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
tag_names: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM veriblock/prerelease-btc | ||
MAINTAINER Bohdan Vanieiev <bohdan_vanieiev@adoriasoft.com> | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.