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

Tag1 #19

Closed
wants to merge 10,000 commits into from
Closed

Tag1 #19

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
84fca11
renaming in .gitignore
IntegralTeam Feb 4, 2020
7181f36
try to rename in build_msvc/
IntegralTeam Feb 4, 2020
9339f3c
try to rename scripts in contrib/
IntegralTeam Feb 4, 2020
673a2a7
rename files in doc/ and share/
IntegralTeam Feb 4, 2020
1fae9a1
strict anchor auths; minor changes
IntegralTeam Feb 7, 2020
22add41
turn off default spv start
IntegralTeam Feb 7, 2020
50848be
rpc listanchorauths, test and fixes
IntegralTeam Feb 10, 2020
15e270d
rename CAnchorConfirms to CAnchorAwaitingConfirms
IntegralTeam Feb 2, 2020
8d7ff33
fix criminal minter
IntegralTeam Feb 6, 2020
7018e74
uint64_t to uint32_t
IntegralTeam Feb 6, 2020
8eaa15e
refactor anchor conformations [wip]
IntegralTeam Feb 6, 2020
2f4b8b8
create and connect finalization tx [wip]
IntegralTeam Feb 10, 2020
f328545
Revert "uint64_t to uint32_t"
IntegralTeam Feb 10, 2020
85ceae5
disconnect finalization tx
IntegralTeam Feb 10, 2020
5531240
fix lint
IntegralTeam Feb 10, 2020
434afb5
fix whitespace
IntegralTeam Feb 10, 2020
8e86af9
spv callbacks lock on shutdown
IntegralTeam Feb 12, 2020
32e18cc
more init fixes
IntegralTeam Feb 12, 2020
ba1384d
fix whitespace
IntegralTeam Feb 12, 2020
0958295
deadlocks fix
IntegralTeam Feb 13, 2020
7829321
spv rpc fix
IntegralTeam Feb 13, 2020
04996bb
batched write of headers
IntegralTeam Feb 13, 2020
192b8e4
rpc: minter info in jsons
IntegralTeam Feb 13, 2020
fd3c41b
Revert "batched write of headers"
IntegralTeam Feb 14, 2020
ad8b53c
disable criminal punishments
IntegralTeam Feb 14, 2020
e818968
fix CalcNextTeam
IntegralTeam Feb 18, 2020
49296b8
spv deadlocks fixes
IntegralTeam Feb 18, 2020
f2302bf
fix unittest setup
IntegralTeam Feb 19, 2020
64feb4e
fix finalization tx
IntegralTeam Feb 14, 2020
39978dc
fix finalization tx disconnect
IntegralTeam Feb 18, 2020
c29fdc2
change anchor rewards
IntegralTeam Feb 18, 2020
4e8ee96
one more fix for spv deadlocking
IntegralTeam Feb 20, 2020
da802c9
add debug logs and rpc debug command for anchors confims
IntegralTeam Feb 19, 2020
60703c8
improved auth logic
IntegralTeam Feb 13, 2020
f75053e
request auth after IBD
IntegralTeam Feb 21, 2020
23bcc6c
fix possible spv data race
IntegralTeam Feb 21, 2020
6befc82
Merge branch 'improved_auths_logic' into epic-anchor
IntegralTeam Feb 21, 2020
1bb6bb8
lint fix
IntegralTeam Feb 21, 2020
86dfe97
global refactor finalizations tx
IntegralTeam Feb 21, 2020
8c2d7d4
add spv_listanchorrewards rpc call
IntegralTeam Feb 21, 2020
89f17fd
fix
IntegralTeam Feb 25, 2020
48229f7
fix
IntegralTeam Feb 25, 2020
63d7e31
Merge branch 'finalization_tx' into epic-anchor
IntegralTeam Feb 25, 2020
f09baa1
auths request fix
IntegralTeam Feb 25, 2020
f4800ae
tie anchors db reset with spv db resync
IntegralTeam Feb 26, 2020
174ea55
fix index in listanchors
IntegralTeam Feb 26, 2020
dfdf0f8
one more try to fix spv deadlocks
IntegralTeam Feb 26, 2020
eb0a7eb
upper limit for getauths
IntegralTeam Feb 26, 2020
e0c669c
btc separate serialization
IntegralTeam Feb 25, 2020
221eb5b
rpc createanchortemplate
IntegralTeam Feb 25, 2020
e54802c
spv reconnect fix; active anchors fix on rescan
IntegralTeam Feb 28, 2020
f134600
Merge branch 'spv_rescan_fixes' into epic-anchor
IntegralTeam Feb 28, 2020
0bedeb0
anchor auths pruning + test
IntegralTeam Feb 28, 2020
2f83b82
Merge branch 'auths_pruning' into epic-anchor
IntegralTeam Feb 28, 2020
8d4e152
moved 'wallet_backup' test to 'extended' group due to heavy load on t…
IntegralTeam Feb 28, 2020
2c09466
lint
IntegralTeam Feb 28, 2020
747e1ff
Merge branch 'auto_anchor_preparations' into epic-anchor
IntegralTeam Mar 2, 2020
2bab19a
standart value (instead of CAmount) for anchor templates' rpc
IntegralTeam Mar 2, 2020
1de0983
one more spv deadlock fix
IntegralTeam Mar 3, 2020
8d6b990
new anchor address for testnet; fAllowMinDifficultyBlocks = false!
IntegralTeam Mar 4, 2020
3a138ea
new genesis for testnet!
IntegralTeam Mar 4, 2020
ddfd7e8
spv logs fixes
IntegralTeam Mar 5, 2020
43466da
spv mass fixes: threads, peers and reconnect logic
IntegralTeam Mar 4, 2020
ad42ab6
Merge branch 'spv_threads' into epic-anchor
IntegralTeam Mar 6, 2020
3b8bb0b
fix
IntegralTeam Feb 26, 2020
fda548a
reconstruct finalization tx
IntegralTeam Mar 10, 2020
b92a102
2 non-critical tests moved to 'extended'
IntegralTeam Mar 12, 2020
7edde01
reward fixes, WIP
IntegralTeam Mar 12, 2020
d18e80e
optimize unrewarded set
IntegralTeam Mar 13, 2020
b2c5aca
restored rewards rpc + dead code cleaning
IntegralTeam Mar 13, 2020
53d46f2
anchor rewards tests and fixes
IntegralTeam Mar 16, 2020
101a20c
reward test: sync instead sleep
IntegralTeam Mar 16, 2020
1a08105
Merge branch 'rewards_fixes' into epic-anchor
IntegralTeam Mar 16, 2020
ade6e41
try to fix trevis p2p speed problems
IntegralTeam Mar 16, 2020
1ee550b
fixed test sync for travis
IntegralTeam Mar 17, 2020
679e503
fixes in anchor's confirms relay after node restart
IntegralTeam Mar 19, 2020
d1f2367
lint
IntegralTeam Mar 19, 2020
7439415
fix in rpc_blockchain.py
IntegralTeam Mar 23, 2020
097155b
fix lint
IntegralTeam Mar 23, 2020
04756ad
criminal fixes, tests
IntegralTeam Mar 17, 2020
e074343
lint
IntegralTeam Mar 24, 2020
c962b97
Merge pull request #16 from cakedefi/epic-anchor
uzyn Mar 24, 2020
e8528e1
one more testcase for criminals
IntegralTeam Mar 24, 2020
8c5a1dc
sync fix in anchor reward test
IntegralTeam Mar 24, 2020
c15b6d5
Milestone: 2020-Q1
prasannavl Mar 24, 2020
91e0313
Add build, deployment tools
prasannavl Mar 24, 2020
482cfaf
Consistent naming
prasannavl Mar 25, 2020
1ba93a0
'-anchorsbinding' feature
IntegralTeam Mar 25, 2020
9374a45
Add build, deployment tools
prasannavl Mar 24, 2020
6a5ba22
Merge pull request #21 from cakedefi/pvl/deploy-utils
prasannavl Mar 26, 2020
c52917c
spv_listanchors pagination and minor rpc refactoring
IntegralTeam Mar 25, 2020
5a380de
Consistent naming
prasannavl Mar 25, 2020
ea12180
Merge pull request #22 from cakedefi/pvl/consistent_naming
prasannavl Mar 26, 2020
7976490
Fix missing pkg prefix
prasannavl Mar 25, 2020
cc93f76
Merge pull request #23 from cakedefi/pvl/pkg_prefix_fix
prasannavl Mar 26, 2020
a25546f
Merge branch 'anchors_binding' into criminals_fixes_merged
IntegralTeam Mar 26, 2020
42e9c81
Merge branch 'rpc_pagination' into criminals_fixes_merged
IntegralTeam Mar 26, 2020
5012b1c
default anchors binding set to 'true'
IntegralTeam Mar 27, 2020
e50a5a7
Update README.md
prasannavl Mar 29, 2020
b516b57
Add GitHub workflows
prasannavl Mar 29, 2020
fb694a0
Masternode criminal fixes
prasannavl Mar 29, 2020
d7e2844
Masternode criminal system refactoring
prasannavl Mar 29, 2020
9f68e82
Merge pull request #25 from cakedefi/pvl/milestone-2020-q1-rel
prasannavl Mar 29, 2020
ed385cb
Minor naming consistency
prasannavl Mar 29, 2020
5e3b8d0
Versioning updates: 1.0-alpha1
prasannavl Mar 29, 2020
748ce3c
Fix support email
prasannavl Mar 30, 2020
a0d4cc0
Minor fixes
prasannavl Mar 30, 2020
f0428a1
Change prefix defi-blockchain
prasannavl Mar 30, 2020
d74c566
Change packaging: versioned base directory
prasannavl Mar 30, 2020
d4afc1e
Update docs
prasannavl Mar 30, 2020
9334323
Merge pull request #26 from cakedefi/pvl/rollup-1
prasannavl Mar 30, 2020
e0931f2
Revert config prefix changes
prasannavl Mar 30, 2020
d0e6775
Merge pull request #27 from cakedefi/pvl/revert-name-change
prasannavl Mar 30, 2020
5eeb351
Add gitHub artifacts and cleanup
prasannavl Mar 30, 2020
053af35
Fix dev artifact builds
prasannavl Mar 30, 2020
241221d
Fix and streamline github releases
prasannavl Apr 2, 2020
6b6d7f4
Revamp build process
prasannavl Apr 2, 2020
f778737
Disable few non essential lints temporarily
prasannavl Apr 2, 2020
8dae3f1
Disable feature_anchor_rewards test
prasannavl Apr 2, 2020
9b2572a
Fix docker-dev-build
prasannavl Apr 3, 2020
388bf86
Masternode criminal fixes
prasannavl Apr 3, 2020
e595083
Masternode criminal system refactoring
prasannavl Apr 3, 2020
0d24ff9
Align branch for merge
prasannavl Apr 3, 2020
7d5cd06
Add GitHub workflows
prasannavl Mar 29, 2020
8c15b02
Minor naming consistency
prasannavl Mar 29, 2020
f19442e
Versioning updates: 1.0-alpha1
prasannavl Mar 29, 2020
68ff54d
Fix support email
prasannavl Mar 30, 2020
2459216
Minor fixes
prasannavl Mar 30, 2020
e1d1552
Change prefix defi-blockchain
prasannavl Mar 30, 2020
ac9d597
Change packaging: versioned base directory
prasannavl Mar 30, 2020
bdf5a4d
Update docs
prasannavl Mar 30, 2020
982716c
Revert config prefix changes
prasannavl Mar 30, 2020
56e6066
Add gitHub artifacts and cleanup
prasannavl Mar 30, 2020
0a1b670
Fix dev artifact builds
prasannavl Mar 30, 2020
e4456b3
Fix and streamline github releases
prasannavl Apr 2, 2020
4293de0
Revamp build process
prasannavl Apr 2, 2020
5834f0f
Disable few non essential lints temporarily
prasannavl Apr 2, 2020
a451bfc
Disable feature_anchor_rewards test
prasannavl Apr 2, 2020
ff8a47d
Fix docker-dev-build
prasannavl Apr 3, 2020
7b20bdf
change minting/block reward in favor of masternode's owner
IntegralTeam Apr 15, 2020
b1e4e75
Merge pull request #33 from cakedefi/mint4owner
uzyn Apr 16, 2020
96c8183
fixes in pos checkings of headers and blocks
IntegralTeam Apr 17, 2020
2b5bf12
Merge pull request #34 from cakedefi/mint4owner
prasannavl Apr 17, 2020
f372122
Change minting/block reward in favor of masternode's owner
prasannavl Apr 21, 2020
594be23
Fixes in pos checkings of headers and blocks
prasannavl Apr 21, 2020
0409a63
Align release tree with bitcoin
prasannavl Apr 21, 2020
b272924
Cleanup CI processes
prasannavl Apr 21, 2020
305ad7b
Default port changes
prasannavl Apr 21, 2020
dbcddcd
Align release tree with bitcoin
prasannavl Apr 21, 2020
393eb1d
Cleanup CI processes
prasannavl Apr 21, 2020
42d425c
Default port changes
prasannavl Apr 21, 2020
46dcd15
Separate release build workflow
prasannavl Apr 21, 2020
b1c9b03
Separate release build workflow
prasannavl Apr 21, 2020
c74a01e
Versioned artifacts and auto releases
prasannavl Apr 21, 2020
bb38066
Versioned artifacts and auto releases
prasannavl Apr 21, 2020
10bac88
Fix default ports
prasannavl Apr 22, 2020
6c2cd27
Remove all seed nodes
prasannavl Apr 22, 2020
36b8585
Fix default ports
prasannavl Apr 22, 2020
d61067b
Remove all seed nodes
prasannavl Apr 22, 2020
1891c60
Enable extended testing on CI
prasannavl Apr 23, 2020
8be559e
Fix addrman tests
prasannavl Apr 24, 2020
c093c00
Enable extended testing on CI
prasannavl Apr 23, 2020
c163053
Fix addrman tests
prasannavl Apr 24, 2020
50fe806
chainparams changed
IntegralTeam Apr 27, 2020
6a89f4f
premine in genesis; test fixes
IntegralTeam Apr 28, 2020
cbe4b6a
premine test; other test fixes
IntegralTeam Apr 28, 2020
bcecb0c
new genesises; dependent tests fixes
IntegralTeam Apr 29, 2020
bd5e9f7
linter fixes
IntegralTeam Apr 29, 2020
0c90018
new anchoring addresses and key time
IntegralTeam Apr 30, 2020
0d8020a
new genesis+anchor keys for testnet
IntegralTeam Apr 30, 2020
a458c79
Rename premined => initdist
uzyn May 1, 2020
4e7dfb0
Initdist tests renaming
uzyn May 1, 2020
02bc0a6
Merge pull request #37 from cakedefi/deploy
prasannavl May 1, 2020
1796ae0
Finalize genesis
prasannavl May 4, 2020
bd960e6
Add dns seeds
prasannavl May 4, 2020
dbce65a
Add dns seeds
prasannavl May 4, 2020
e6d8237
Refresh testnet params
prasannavl May 5, 2020
b3c09d3
Refresh testnet params
prasannavl May 5, 2020
0159c02
Change genesis timestamp message
prasannavl May 6, 2020
11dc795
Change genesis timestamp message
prasannavl May 6, 2020
94eaa7c
Add support files to package, minor build tweaks
prasannavl May 7, 2020
fee796a
Update copyright info and version
prasannavl May 7, 2020
fdadcfa
Add support files to package, minor build tweaks
prasannavl May 7, 2020
9c261ec
Update copyright info and version
prasannavl May 7, 2020
5ff9280
Update travis tests
prasannavl May 7, 2020
47b2388
Update travis tests
prasannavl May 7, 2020
74ea50b
Better packaging conventions for support files
prasannavl May 8, 2020
e8dca27
Better packaging conventions for support files
prasannavl May 8, 2020
4e29e8f
Remove dev builds on release tags
prasannavl May 8, 2020
d8e3714
Remove dev builds on release tags
prasannavl May 8, 2020
8ab3df8
Stricter bash conventions, remove docker-dev build stages
prasannavl May 18, 2020
51d801a
Stricter bash conventions, remove docker-dev build stages
prasannavl May 18, 2020
69167a4
Update tag link in README.md
suriyaa May 14, 2020
f41e5c4
Update tag link in README.md
suriyaa May 14, 2020
3aa7c04
Add fixed seeds
prasannavl May 21, 2020
902c3fa
Add fixed seeds
prasannavl May 21, 2020
f86c2f0
Enable x86_64-apple-darwin11 build
prasannavl May 29, 2020
14febbd
Enable dockerhub builds
prasannavl Jun 2, 2020
4f78f56
Update seeds
prasannavl Jun 2, 2020
2aa5634
Enable dockerhub builds
prasannavl Jun 2, 2020
669705a
Update seeds
prasannavl Jun 2, 2020
a2930a8
Update docs
prasannavl Jun 3, 2020
93deb8f
Update docs
prasannavl Jun 3, 2020
e469f7b
Removed warning by setting client release flag
monstrobishi Jun 25, 2020
86b72e2
Merge pull request #43 from cakedefi/bugfix/removewarning
prasannavl Jun 25, 2020
8153ff5
Update README.md
prasannavl Jun 25, 2020
c18694b
Added new masternode tutorial
monstrobishi Jun 29, 2020
f11f306
Add fixed seeds
prasannavl May 21, 2020
65f36c1
build refactoring
IntegralTeam May 25, 2020
4cdf589
spv: port from 'clean C' to 'C++'
IntegralTeam May 27, 2020
199197d
spv: exclude assertion's thread from build due to needlessness
IntegralTeam May 27, 2020
52605f2
spv: migrate from clean posix threads/mutexes to boost
IntegralTeam May 27, 2020
711b6f6
spv: adopt winsockets and other, remove unused files
IntegralTeam May 28, 2020
3f5df19
Add x86_64-apple-darwin11 buildset
prasannavl May 29, 2020
06f6f2f
Enable x86_64-apple-darwin11 build
prasannavl May 29, 2020
9150815
spv: type casting & arithmetic
IntegralTeam Jun 23, 2020
cd3c491
spv: le/be macros refactoring
IntegralTeam Jun 23, 2020
16b132b
spv: fix mutexes construction errors
IntegralTeam Jun 23, 2020
2e4064f
spv: cleanup old 'pthread*' code
IntegralTeam Jun 23, 2020
5d2d523
revert changes for win build script (after mac branch merging)
IntegralTeam Jun 23, 2020
469f691
spv: fix connection problems in win; fix logging thread safety
IntegralTeam Jun 25, 2020
a8ab7a6
Fix travis
prasannavl Jun 25, 2020
4568f97
try to fix secp256k1 arithmetic
IntegralTeam Jun 26, 2020
93f1453
turn off lint subtree checks (we have no any subtrees)
IntegralTeam Jun 26, 2020
faf95e4
once again, turn off lint subtree checks (we have no any subtrees)
IntegralTeam Jun 26, 2020
dc97a8c
try to fix secp256k1 arithmetic
IntegralTeam Jun 26, 2020
51ac13e
spv type fixes for sanitizer
IntegralTeam Jun 26, 2020
a7c36bc
Refine multi platform builds
prasannavl Jun 29, 2020
1a1a602
Dockerhub updates for v1.0.0-rc1
prasannavl Jun 29, 2020
8eab7f0
Merge pull request #49 from cakedefi/pvl/develop
prasannavl Jun 29, 2020
5232b41
Merge branch 'pvl/docker-update' into develop
prasannavl Jun 29, 2020
558a606
Build CI changes for multiplatform release
prasannavl Jun 30, 2020
e614daa
Enable dockerhub builds
prasannavl Jun 2, 2020
058ff0f
Update seeds
prasannavl Jun 2, 2020
76c210f
Update docs
prasannavl Jun 3, 2020
d1982cc
Removed warning by setting client release flag
monstrobishi Jun 25, 2020
12efd77
Merge pull request #43 from cakedefi/bugfix/removewarning
prasannavl Jun 25, 2020
1df5b19
Multiplatform build enablement
prasannavl Jun 30, 2020
803ca2c
v1.0.0-rc1
prasannavl Jun 30, 2020
f243c7e
v1.0.0-rc1
prasannavl Jun 30, 2020
43b77a4
Merge branch 'master' into develop
prasannavl Jul 1, 2020
96cb111
Update docker docs
prasannavl Jul 1, 2020
1de038e
Updated with latest binaries
monstrobishi Jul 3, 2020
bc91fa7
wallet: turn on default fallback fee in mainnet
IntegralTeam Jul 10, 2020
ff1527c
spv: crypto fix
IntegralTeam Jul 14, 2020
aaef522
Merge pull request #58 from cakedefi/spv_crypto_fix
monstrobishi Jul 16, 2020
7b1a94f
Docs update and SPV fix
Jul 16, 2020
f9311ae
Merge branch 'develop' of github.com:cakedefi/defichain into develop
Jul 17, 2020
eddfd34
Update wallet.cpp
monstrobishi Jul 17, 2020
137655f
Merge pull request #54 from cakedefi/turn_on_default_fallback_fee_in_…
monstrobishi Jul 17, 2020
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
  •  
  •  
  •  
46 changes: 46 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
version: '{branch}.{build}'
skip_tags: true
image: Visual Studio 2017
configuration: Release
platform: x64
clone_depth: 5
environment:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
CLCACHE_SERVER: 1
PACKAGES: berkeleydb boost-filesystem boost-signals2 boost-test libevent openssl rapidcheck zeromq
PATH: 'C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%'
PYTHONUTF8: 1
cache:
- C:\tools\vcpkg\installed -> .appveyor.yml
- C:\Users\appveyor\clcache -> .appveyor.yml, build_msvc\**, **\Makefile.am, **\*.vcxproj.in
install:
- cmd: pip install --quiet git+https://github.com/frerich/[email protected]
# Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes.
# - cmd: pip install zmq
- cmd: echo set(VCPKG_BUILD_TYPE release) >> C:\tools\vcpkg\triplets\%PLATFORM%-windows-static.cmake
- cmd: vcpkg remove --outdated --recurse
- cmd: vcpkg install --triplet %PLATFORM%-windows-static %PACKAGES% > NUL
before_build:
- ps: clcache -M 536870912
- cmd: python build_msvc\msvc-autogen.py
- ps: $files = (Get-ChildItem -Recurse | where {$_.extension -eq ".vcxproj"}).FullName
- ps: for (${i} = 0; ${i} -lt ${files}.length; ${i}++) {
${content} = (Get-Content ${files}[${i}]);
${content} = ${content}.Replace("</RuntimeLibrary>", "</RuntimeLibrary><DebugInformationFormat>None</DebugInformationFormat>");
${content} = ${content}.Replace("<WholeProgramOptimization>true", "<WholeProgramOptimization>false");
Set-Content ${files}[${i}] ${content};
}
- ps: Start-Process clcache-server
- ps: fsutil behavior set disablelastaccess 0 # Enable Access time feature on Windows (for clcache)
build_script:
- cmd: msbuild /p:TrackFileAccess=false /p:CLToolExe=clcache.exe build_msvc\defi.sln /m /v:n /nologo
after_build:
- ps: fsutil behavior set disablelastaccess 1 # Disable Access time feature on Windows (better performance)
- ps: clcache -z
test_script:
- cmd: src\test_bitcoin.exe -k stdout -e stdout 2> NUL
- cmd: src\bench_bitcoin.exe -evals=1 -scaling=0 > NUL
- ps: python test\util\bitcoin-util-test.py
- cmd: python test\util\rpcauth-test.py
- cmd: python test\functional\test_runner.py --ci --quiet --combinedlogslen=4000 --failfast
deploy: off
53 changes: 53 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
task:
name: "FreeBsd 12.0 amd64 [GOAL: install] [no depends, only system libs]"
freebsd_instance:
image: freebsd-12-0-release-amd64
cpu: 8
memory: 8G
timeout_in: 60m
env:
MAKEJOBS: "-j9"
CONFIGURE_OPTS: "--disable-dependency-tracking"
GOAL: "install"
CCACHE_SIZE: "200M"
CCACHE_COMPRESS: 1
CCACHE_DIR: "/tmp/ccache_dir"
ccache_cache:
folder: "/tmp/ccache_dir"
install_script:
- pkg install -y autoconf automake boost-libs git gmake libevent libtool openssl pkgconf python3 ccache
- ./contrib/install_db4.sh $(pwd)
- ccache --max-size=${CCACHE_SIZE}
configure_script:
- ./autogen.sh
- ./configure ${CONFIGURE_OPTS} BDB_LIBS="-L$(pwd)/db4/lib -ldb_cxx-4.8" BDB_CFLAGS="-I$(pwd)/db4/include" || ( cat config.log && false)
make_script:
- gmake ${MAKEJOBS} ${GOAL} || ( echo "Build failure. Verbose build follows." && gmake ${GOAL} V=1 ; false )
check_script:
- gmake check ${MAKEJOBS} VERBOSE=1
functional_test_script:
- ./test/functional/test_runner.py --jobs 9 --ci --extended --exclude feature_dbcrash --combinedlogslen=1000 --quiet --failfast
task:
name: "x86_64 Linux [GOAL: install] [bionic] [Using ./ci/ system]"
container:
image: ubuntu:18.04
cpu: 8
memory: 8G
timeout_in: 60m
env:
MAKEJOBS: "-j9"
RUN_CI_ON_HOST: "1"
CCACHE_SIZE: "200M"
CCACHE_DIR: "/tmp/ccache_dir"
ccache_cache:
folder: "/tmp/ccache_dir"
depends_built_cache:
folder: "/tmp/cirrus-ci-build/depends/built"
depends_sdk_cache:
folder: "/tmp/cirrus-ci-build/depends/sdk-sources"
install_script:
- apt-get update
- apt-get -y install git bash ccache
- ccache --max-size=${CCACHE_SIZE}
ci_script:
- ./ci/test_run_all.sh
164 changes: 164 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
.github
contrib/dockerfiles

# depends

depends/built
depends/work
depends/sources
depends/x86_64*
depends/i686*
depends/mips*
depends/arm*
depends/aarch64*
depends/riscv32*
depends/riscv64*

## Copy of .gitignore

.code
.idea
build

*.tar.gz

*.exe
*.pdb
src/defi
src/defid
src/defi-cli
src/defi-tx
src/defi-wallet
src/test/test_defi
src/test/test_defi_fuzzy
src/qt/test/test_defi-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/defi-config.h
src/config/defi-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/defi-qt.config
src/qt/defi-qt.creator
src/qt/defi-qt.creator.user
src/qt/defi-qt.files
src/qt/defi-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
defi-qt
Defi-Qt.app
background.tiff*

# Qt Creator
Makefile.am.user

# Unit-tests
Makefile.test
defi-qt_test

# Resources cpp
qrc_*.cpp

# Mac specific
.DS_Store
build

#lcov
*.gcno
*.gcda
/*.info
test_defi.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/

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

# Output from running db4 installation
db4/

# clang-check
*.plist

osx_volname
dist/
*.background.tiff

# spv
!src/spv/Makefile
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
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!-- This issue tracker is only for technical issues related to the DeFi Blockchain.

If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue!

For reporting security issues, please email us at [email protected] with you detailed instructions, as below.
-->

<!-- Describe the issue -->
<!--- What behavior did you expect? -->

<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

<!--- How reliably can you reproduce the issue, what are the steps to do so? -->

<!-- What version of DeFi Blockchain are you using, where did you get it (website, self-compiled, etc)? -->

<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

<!-- For the GUI-related issue on Linux provide names and versions of a distro, a desktop environment and a graphical shell (if relevant). -->

<!-- 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. -->
31 changes: 31 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Pull requests without a rationale and clear improvement may be closed
immediately.

Please provide clear motivation for your patch and explain how it improves
DeFi Blockchain user experience or the DeFi Blockchain developer experience
significantly.

* Any test improvements or new tests that improve coverage are always welcome.
* All other changes should have accompanying unit tests (see `src/test/`) or
functional tests (see `test/`). Contributors should note which tests cover
modified code. If no tests exist for a region of modified code, new tests
should accompany the change.
* Bug fixes are most welcome when they come with steps to reproduce or an
explanation of the potential issue as well as reasoning for the way the bug
was fixed.
* Features are welcome, but might be rejected due to design or scope issues.
If a feature is based on a lot of dependencies, contributors should first
consider building the system outside of DeFi Blockchain, if possible.
* Refactoring changes are only accepted if they are required for a feature or
bug fix or otherwise improve developer experience significantly. For example,
most "code style" refactoring changes require a thorough explanation why they
are useful, what downsides they have and why they *significantly* improve
developer experience or avoid serious programming bugs. Note that code style
is often a subjective matter. Unless they are explicitly mentioned to be
preferred in the [developer notes](/doc/developer-notes.md), stylistic code
changes are usually rejected.

DeFi Blockchain has a thorough review process and even the most trivial change
needs to pass a lot of eyes and requires non-zero or even substantial time
effort to review. There is a huge lack of active reviewers on the project, so
patches often sit for a long time.
72 changes: 72 additions & 0 deletions .github/workflows/dev-builds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
on:
push:
tags:
- "!v*"
branches:
- master
- staging
- develop
- ci/*
pull_request:
branches:
- master
- develop
- staging
- ci/*
jobs:

linux:
# We use a matrix since it's easier to migrate upwards, add new
# test on multiple, then remove old without creating friction.
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04]
env:
BUILD_VERSION: latest # Computed

steps:
- uses: actions/checkout@v2
- name: Build and package
run: TARGETS="x86_64-pc-linux-gnu" ./make.sh docker-release-git
- name: Publish artifact - x86_64-pc-linux-gnu
uses: actions/upload-artifact@v2-preview
with:
name: defichain-${{ env.BUILD_VERSION }}-x86_64-pc-linux-gnu
path: ./build/defichain-${{ env.BUILD_VERSION }}-x86_64-pc-linux-gnu.tar.gz

windows:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04]
env:
BUILD_VERSION: latest # Computed

steps:
- uses: actions/checkout@v2
- name: Build and package
run: TARGETS="x86_64-w64-mingw32" ./make.sh docker-release-git
- name: Publish artifact - x86_64-w64-mingw32
uses: actions/upload-artifact@v2-preview
with:
name: defichain-${{ env.BUILD_VERSION }}-x86_64-w64-mingw32
path: ./build/defichain-${{ env.BUILD_VERSION }}-x86_64-w64-mingw32.tar.gz

macos:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04]
env:
BUILD_VERSION: latest # Computed

steps:
- uses: actions/checkout@v2
- name: Build and package
run: TARGETS="x86_64-apple-darwin11" ./make.sh docker-release-git
- name: Publish artifact - x86_64-apple-darwin11
uses: actions/upload-artifact@v2-preview
with:
name: defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11
path: ./build/defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11.tar.gz
Loading