Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
7a730b1
Remove leveldb path in prep for subtree init
Fuzzbawls Jul 12, 2018
f4a667b
build: Build system changes to support only Qt5
laanwj Jun 13, 2018
b6a6c58
gui: Remove QT_VERSION fallbacks for Qt < 5
laanwj Jun 13, 2018
824dfc2
[Docu] Add missing automake dependency
Mrs-X Aug 26, 2018
ce74323
[UI] Add address to the payment request history
Warrows Aug 15, 2018
3825283
[Wallet] Avoid autocombine getting stuck
Warrows Aug 22, 2018
ebc70d7
[Build] Remove stale m4 file
Fuzzbawls Aug 17, 2018
5b38882
[RPC]: Don't allow backupwallet to overwrite the wallet-in-use
Fuzzbawls Sep 10, 2018
85b685a
GCC-7 and glibc-2.27 compat code
ken2812221 May 5, 2018
d475dc3
Use IN6ADDR_ANY_INIT instead of in6addr_any
Fuzzbawls Aug 27, 2018
6c87548
[Refactor] Remove GetCoinAge
Fuzzbawls Sep 20, 2018
d7b5832
[RPC] Fix verifychain
Fuzzbawls Sep 17, 2018
0f71c50
[RPC] Sanitize walletpassphrase timeout argument
Fuzzbawls Sep 17, 2018
4593d89
[RPC] Fix movecmd's help description to include amount
Fuzzbawls Sep 24, 2018
244c0d8
[RPC] Error when calling getreceivedbyaddress with non-wallet address
Fuzzbawls Sep 9, 2018
fde8f9a
fix bug with fWalletUnlockAnonymizeOnly flag setting
random-zebra Oct 2, 2018
e84827e
Stop using dummy strings in clientversion
Fuzzbawls Jul 13, 2018
a2a25be
[GUI] Add option to hide orphans in overview and txlist
random-zebra Oct 7, 2018
0c0a89b
[Utils] Update linters for python3
Fuzzbawls Sep 2, 2018
8f22d1c
[RPC]: Fix RPCTimerInterface ordering issue (https://github.com/bitco…
random-zebra Oct 3, 2018
2942f52
Replace 'boost::lexical_cast<std::string>' with 'std::to_string'
random-zebra Oct 7, 2018
a6d34fa
Replace 'const boost::bad_lexical_cast' with 'std::invalid_argument'
random-zebra Oct 7, 2018
250506d
Replace 'boost::lexical_cast<std::int>' with 'std::stoi'
random-zebra Oct 7, 2018
9601f0d
[Net] Pull uacomment in from upstream
Fuzzbawls Sep 19, 2018
f11afb9
Add masternode's pubkey to listmasternodes RPC
presstab Oct 10, 2018
5b38ec4
[RPC] Add mediantime to getblock/getblockheader output
Fuzzbawls Sep 19, 2018
a478538
[RPC] Show the configured/set txfee in getwalletinfo
Fuzzbawls Sep 19, 2018
e0cb565
[Build] Update genbuild.sh script
Fuzzbawls Sep 2, 2018
50493da
[Main] Unify shutdown proceedure in init rather than per-app
Fuzzbawls Nov 14, 2018
2c4e3ea
[GUI] Add action to hide orphans in overview and txlist
random-zebra Oct 8, 2018
49eee10
Remove Boost dependency from sync.cpp
Fuzzbawls Nov 15, 2018
5fe6a8f
Initialize lockstack to prevent null pointer deref
Fuzzbawls Nov 15, 2018
fb9cb1b
Remove unused fTry from push_lock
Fuzzbawls Nov 15, 2018
73d2fb8
Use c++11 nullptr instead of macros or void(0) in sync.cpp/h
Fuzzbawls Nov 15, 2018
2fe725f
Finalize cleanup of sync.cpp/h
Fuzzbawls Nov 15, 2018
b219997
[Qt] Don't show staking/automint status icons without a wallet
Fuzzbawls Dec 14, 2018
5567d14
Depends: Update to most recent version
Fuzzbawls Aug 17, 2018
e7831a3
Update README.md
KolbyML Mar 14, 2020
bba85be
Build: Add automated man page generation
Fuzzbawls Aug 18, 2018
876157c
Build: Update coverage build target(s)
Fuzzbawls Aug 18, 2018
2a82aa2
Build: Add bash completion support to the build system
Fuzzbawls Oct 17, 2018
a6ee821
Build: Introduce endian and byteswap
Fuzzbawls Jul 13, 2018
1e5065f
Build: Show PIC/PIE flags in configure summary
Fuzzbawls Aug 17, 2018
af2e520
Build: Update build system to upstream master
Fuzzbawls Aug 18, 2018
b03c835
Update configure.ac
KolbyML Mar 14, 2020
f3fde8d
Build: Introduce Symbol and Security check scripts to the build system.
Fuzzbawls Oct 17, 2018
3b7ac65
Build: utility test updates
Fuzzbawls Jul 14, 2018
4054d74
Gitian: remove reference datetime
Fuzzbawls Aug 17, 2018
35d799c
Gitian: update descriptors for bionic
Fuzzbawls Jul 21, 2018
f29fd36
Contrib: Update macdeployqtplus subdir
Fuzzbawls Sep 4, 2018
c9e008c
Update packages.mk
KolbyML Mar 14, 2020
135920c
Update protobuf.mk
KolbyML Mar 14, 2020
927677b
fixes for changes
KolbyML Mar 14, 2020
52a2aa1
Merge #783: [Depends] Update QT to 5.9.7
Fuzzbawls Jan 9, 2019
7e9257e
Fix Missing Explorer Icon
sicXnull Jan 5, 2019
8e7f1ce
Merge #795: [Build] Add support for RISC-V and build it with gitian
Mrs-X Jan 20, 2019
019619a
Update qt.mk
KolbyML Mar 14, 2020
20794ba
Improve addrman Select() performance when buckets are nearly empty
sipa Aug 6, 2015
a1230f1
Update zmq to 4.3.1
rex4539 Jan 17, 2019
f5d27cf
cleanup, remove trading dialog form
furszy Mar 20, 2019
66265fb
fix to display missing clock5.png tx image
joeuhren Mar 25, 2019
76e664a
[macOS] Remove DS_Store WindowBounds bytes object
jonasschnelli Oct 18, 2018
988211f
Fixed some names in a few files
KolbyML Mar 14, 2020
99f9cdc
[Travis] Add separate job to check doc/logprint/subtree
Fuzzbawls Jun 19, 2018
7bbc7a2
travis: run subtree checks for leveldb
Fuzzbawls Jul 12, 2018
d7b4b9d
Travis: Update to use docker with Bionic target
Fuzzbawls Aug 17, 2018
5143287
Travis: Introduce .travis subdir and better job folding
Fuzzbawls Sep 2, 2018
160b7c7
Update .travis.yml
KolbyML Mar 14, 2020
13b2e6a
[Refactor] Delete secp256k1 folder for subtreefication
Warrows May 9, 2018
e962924
Merge commit '8a901f93d505af3516353837600fd71a0c53a692' as 'src/secp2…
Warrows May 9, 2018
77a172f
Merge commit 'c6634ef065ceb295522f0d61a3d45d8d53abe51c' into libsecp_…
Warrows Oct 23, 2018
a042ebf
Merge commit '4f5b53da1af363a5c41acc8e1d82f37dd7f393d9' as 'src/leveldb'
Fuzzbawls Jul 12, 2018
af85bbd
fixes for leveldb and travis
KolbyML Mar 15, 2020
6ddc927
Don't return an invalid state when shutting down the wallet
Fuzzbawls Apr 13, 2019
bff690a
[Qt] Prevent double deletion of progress dialog
Fuzzbawls Apr 7, 2019
c33b217
[Refactor] Move per-chain budget cycle blocks to chainparams
Fuzzbawls Apr 2, 2019
9e300f6
[RPC] Remove deprecated masternode/budget RPC commands
Fuzzbawls Apr 26, 2019
e25cc7d
[Refactor] Remove unused setStakeSeen variable
Warrows May 8, 2019
54ec03d
Replace BOOST FOREACH with for :
KolbyML Mar 17, 2020
b53103d
Remove useless BOOST includes and readd where needed
KolbyML Mar 17, 2020
fa75235
Reinitialize state in between individual unit tests.
sipa Mar 3, 2015
2294dff
tests: add a BasicTestingSetup and apply to all tests
laanwj Mar 12, 2015
1b3f55e
[Log] Handle errors during log message formatting
Warrows May 20, 2019
9fb8ac7
Fix typos and oversights in listunspent
CaveSpectre11 May 16, 2019
90eeb2f
Creates unittests for addrman, makes addrman testable.
EthanHeilman Sep 22, 2015
70978dc
Increase test coverage for addrman and addrinfo
EthanHeilman Dec 13, 2015
45dc84d
[Code Style] Remove std namespace in test file
Warrows May 20, 2019
a7474f6
[Build] Initial CMake support
Fuzzbawls May 3, 2019
aa474f6
fix config.h include file name
Fuzzbawls May 27, 2019
8363e56
use non-Cellar OpenSSL path for macOS
Fuzzbawls Jun 10, 2019
652a81a
[Build] Clean all coverage files during make clean
Fuzzbawls Jun 7, 2019
6122fb2
Update accumulators.cpp
furszy Jun 14, 2019
3cde88d
Don't assert if we were beaten to the block
CaveSpectre11 Jun 10, 2019
d80b035
[code review] LogPrintf nit change
CaveSpectre11 Jun 14, 2019
9afa2ea
[Gitian] Bump gitian build versions
Fuzzbawls Jun 10, 2019
79de815
[Backport] Max tip age to consider a node in IBD status customizable.…
furszy Jun 15, 2019
201f3e4
depends: Update from upstream
Fuzzbawls Jun 8, 2019
0b1179f
[Travis] Update TravisCI from upstream
Fuzzbawls Jun 9, 2019
020b349
[Qt] Remove unused obfuscationconfig
Fuzzbawls Feb 27, 2019
5ec7727
Remove unused code in DoAutomaticDenominating
Fuzzbawls Feb 27, 2019
812cae8
Remove nAnonymizePivxAmount and nLiquidityProvider
Fuzzbawls Feb 27, 2019
b507482
Remove unused functions in wallet.cpp
Fuzzbawls Feb 28, 2019
933f610
Remove more useless obfuscation code
Fuzzbawls Feb 28, 2019
a707e54
Remove more useless obfuscation code
Fuzzbawls Feb 28, 2019
4e3fc4b
fixes for Remove unused functions in wallet.cpp
KolbyML Mar 19, 2020
7913c0e
removed redelcared function
KolbyML Mar 20, 2020
9f4a1f3
[Qt] Add blockhash + datadir to information tab
Mrs-X Jun 20, 2019
2373c18
show the progress of functional test
isghe Oct 17, 2018
9ab759d
tests: Print dots by default
ken2812221 Oct 30, 2018
fdb8553
tests: Print remaining jobs in test_runner.py
stevenroose Feb 22, 2019
a45c962
[Travis] Log more info
Warrows Jul 9, 2019
3b5a9fb
travis: Fix caching issues
Jun 14, 2019
c4cc553
travis: Use absolute paths for cache dirs
Jun 14, 2019
9f6dcb7
[Travis] Give more time to tests
Warrows Jul 9, 2019
4e8af1b
Remove all "using namespace" statements
KolbyML Mar 20, 2020
6ddf321
[Wallet] Remove (explicitely) unused tx comparator
Warrows Jul 2, 2019
ab725af
[Refactor] Combine parameter checking of budget commands
KolbyML Mar 25, 2020
92195bc
Remove Bitcoin Core 0.8 block hardlinking
Aug 9, 2019
fc6a04b
[RPC] require valid URL scheme on budget commands
CaveSpectre11 Jul 13, 2019
a07c374
Cleaned up spacing and got travis working
KolbyML Apr 11, 2020
9875777
[DB] Db runtime error cleaning the variable that needs to be logged r…
furszy Aug 27, 2019
83c2cf7
[Build] CMake Improvements
Fuzzbawls Aug 5, 2019
79ece4e
Allow WSL builds with cmake
Fuzzbawls Aug 22, 2019
0066758
Remove openssl info from init/log and from Qt debug window
jonasschnelli Feb 26, 2016
55fd07a
[Refactor] Remove unused OpenSSL includes
Warrows Aug 28, 2019
53c0de3
[Consensus] Remove Old message format in CMasternodeBroadcast
random-zebra Sep 10, 2019
93f8dfe
Always require OS randomness when generating secret keys
sipa Apr 16, 2016
3da089f
Don't use assert for catching randomness failures
sipa Apr 23, 2016
17a818c
util: Specific GetOSRandom for Linux/FreeBSD/OpenBSD
laanwj Feb 21, 2017
c4a4ebc
squashme: comment that NUM_OS_RANDOM_BYTES should not be changed lightly
laanwj Feb 22, 2017
8cf6365
sanity: Move OS random to sanity check function
laanwj Feb 22, 2017
ac8773c
random: Add fallback if getrandom syscall not available
laanwj Feb 22, 2017
ca89d95
Maintain state across GetStrongRandBytes calls
sipa May 3, 2017
acef286
Kill insecure_random and associated global state
laanwj Oct 13, 2016
7bbc2ee
Add ChaCha20
sipa Feb 15, 2017
027dc20
Switch FastRandomContext to ChaCha20
sipa Feb 16, 2017
07ac7db
Introduce FastRandomContext::randbool()
sipa Feb 18, 2017
b769766
Add a FastRandomContext::randrange and use it
sipa Feb 25, 2017
9ae9d61
Use hardware timestamps in RNG seeding
sipa May 3, 2017
961f49b
Test that GetPerformanceCounter() increments
sipa May 5, 2017
74372d1
Use sanity check timestamps as entropy
sipa May 5, 2017
2447d22
Add internal method to add new random data to our internal RNG state
TheBlueMatt May 22, 2017
556addc
Add perf counter data to GetStrongRandBytes state in scheduler
TheBlueMatt May 22, 2017
3eba0f3
random: only use getentropy on openbsd
theuni Jul 17, 2017
f859bdf
[Random] Fix compilation
Warrows Jul 2, 2019
061a21e
Add FastRandomContext::rand256() and ::randbytes()
sipa May 2, 2017
49e45da
Add various insecure_rand wrappers for tests
sipa May 23, 2017
6407a40
Merge test_random.h into test_bitcoin.h
sipa May 23, 2017
4edb342
Replace more rand() % NUM by randranges
sipa Jun 7, 2017
6de3ab4
Replace rand() & ((1 << N) - 1) with randbits(N)
sipa Jun 7, 2017
6e3ef14
[Random / tests] scripted-diff: use insecure_rand256/randrange more
Warrows Jul 6, 2019
f3f85de
Use rdrand as entropy source on supported platforms
sipa May 9, 2017
81774fd
random: fix crash on some 64bit platforms
theuni Jun 16, 2017
b1f402c
Use cpuid intrinsics instead of asm code
sipa Jul 13, 2017
b9bab59
Clarify entropy source
sipa Jul 14, 2017
c0653cd
[Random / tests] scripted-diff: Use randbits/bool instead of randrange
Warrows Jul 6, 2019
e0b48c3
[Rand/test] scripted-diff: Use new naming style for insecure_rand*
Warrows Jul 6, 2019
a45ff27
[Tests] Fix compilation
Warrows Jul 6, 2019
6d7add2
Fix resource leak
Jul 15, 2017
b36d0c9
Add attribute [[noreturn]] (C++11) to functions that will not return
practicalswift Jul 16, 2017
0cb3058
Check if sys/random.h is required for getentropy on OSX.
jameshilliard Jul 27, 2017
7b59944
Bugfix: randbytes should seed when needed (non reachable issue)
sipa Oct 31, 2018
6d83e0e
Do not permit copying FastRandomContexts
sipa Oct 31, 2018
28605a3
[Random] Add a missing include
Warrows Jul 9, 2019
965554f
[Refactor] Use arrays instead of unic vars in Chacha20
Warrows Aug 1, 2019
e5c5183
[Log] Replace a string by the function name in a log
Warrows Aug 1, 2019
2a620f6
Fixes and some clean up
KolbyML Mar 26, 2020
9cd8cf0
[Compilation] Pass caught exceptions by reference
KolbyML Mar 26, 2020
284978f
[Refactor] Add const qualifier to exception catching
KolbyML Mar 26, 2020
79eef0a
Update `crypto/common.h` functions to use compat endian header
Fuzzbawls Sep 21, 2019
9b8d98f
[Refactor] refactor/fix CSporkManager and CSporkMessage classes
random-zebra Sep 10, 2019
827d25b
[Spork] Protect CSporkManager with critical section
random-zebra Sep 10, 2019
0fba7c1
[Spork] CSporkManager class serialization
random-zebra Sep 10, 2019
12cc972
[Spork] Do not accept sporks signed too far into the future
random-zebra Sep 10, 2019
03533a4
[Spork] Remove unused SPORK_7_MASTERNODE_SCANNING
random-zebra Sep 10, 2019
6f07229
[Spork] Remove unused SPORK_11 and SPORK_12
random-zebra Sep 10, 2019
87dd525
[Spork] Define SporkId enum (with its serialization)
random-zebra Sep 10, 2019
cadd048
[Spork] Introduce CSporkDef and remove if/else blocks
random-zebra Sep 10, 2019
219a1ee
[Spork] Make CSporkMessage::vchSig private
random-zebra Sep 10, 2019
1fe8c49
Fix spork RPC to use new spork defs
random-zebra Sep 10, 2019
662b4b6
[Core] ReprocessBlocks: adjust to PIVX blocktime
random-zebra Sep 10, 2019
f1d7b52
[Tests] spork functional test: check spork value after node restart
random-zebra Sep 10, 2019
1e1ecfe
[Spork] fix CSporkManager maps
random-zebra Sep 11, 2019
94e04a1
[Trivial] rename DisconnectBlocks argument for consistency
random-zebra Sep 23, 2019
159e92e
[Trivial] Align the format of the log messages in kernel.cpp
random-zebra Sep 23, 2019
01b248a
[Startup] Don't continue loading the wallet if the shutdown was reque…
furszy Sep 27, 2019
a5adc16
[Trivial] Get rid of compiler warnings
random-zebra Sep 29, 2019
4619005
[Travis] Lower timeout for the full test suite
Warrows Sep 19, 2019
d644f6c
[Startup][Refactor][Backport]
furszy Sep 29, 2019
b0fdf4f
[Logging][Startup]
furszy Sep 29, 2019
8b0283e
[Startup][Wallet] Don't continue rescanning the wallet if shutdown wa…
furszy Oct 2, 2019
5187ee4
[Trivial] Use error() instead of LogPrintf + return false.
furszy Oct 3, 2019
9fcb920
add snapcraft support to pivx, static build
May 28, 2019
543578a
Update for merging
Fuzzbawls Jul 29, 2019
214e931
[Script] Introduce constant for maximum CScript length
random-zebra Oct 8, 2019
c46e22b
[Script] Treat overly long scriptPubKeys as unspendable
random-zebra Oct 8, 2019
789a117
[Bug] Fix OOM when deserializing UTXO entries with invalid length
random-zebra Oct 8, 2019
01f8c1c
CDataStream::ignore Throw exception instead of assert on negative nSize
random-zebra Oct 8, 2019
f522a5b
[Tests] Add tests for CCoins deserialization
random-zebra Oct 8, 2019
1f787a5
[Wallet] Do not store Merkle branches in the wallet
Warrows Jul 20, 2019
658050b
Fixes and some clean up
KolbyML Mar 27, 2020
7fd7295
[Refactor] Move wallet functions out of header
KolbyML Mar 27, 2020
b76e854
[Wallet] Keep track of explicit wallet conflicts instead of using
Warrows Jul 17, 2019
4728b29
[Wallet] Do not flush the wallet in AddToWalletIfInvolvingMe(..)
Warrows Jul 19, 2019
2c9fcc4
[Wallet] Switch to a constant-space Merkle root/branch algorithm
Warrows Jul 20, 2019
e27638c
[Wallet] sort pending wallet transactions before reaccepting
dexX7 Dec 19, 2014
6a0dd8e
Make sure conflicted wallet tx's update balances
morcos Jan 6, 2016
62aaf72
Make wallet descendant searching more efficient
morcos Jan 7, 2016
e23e5e4
Add new rpc call: abandontransaction
morcos Jan 7, 2016
172b90e
[Wallet] Call notification signal when a transaction is abandoned
jonasschnelli Jan 11, 2016
cd11f5d
Flush wallet after abandontransaction
morcos Dec 9, 2016
a0c5ead
Remove stale wallet transactions on initial load.
presstab Mar 1, 2019
2fe6da3
Fix calculation of balances and available coins.
morcos Mar 17, 2016
9d8415f
Fix that CWallet::AbandonTransaction would only traverse one level
Empact Jul 12, 2018
d56c844
[Tests] Enable abandonconflict functional test
Warrows Jul 28, 2019
5fc8a59
[Wallet] Fix an error in tx depth computation
Warrows Jul 29, 2019
18f8c7a
[Wallet] Ignore coinbase and zc tx "conflicts"
Warrows Sep 23, 2019
1f3df05
[Build] Add new merkle files to CMake lists
Warrows Sep 27, 2019
1b610e6
Fixes and clean up
KolbyML Mar 28, 2020
01d28e1
[Tests] Add RPC budget regression tests
Fuzzbawls Aug 10, 2019
413caac
[Wallet][Startup][DB][Backport] #10952 BTC back port. Named "Remove v…
furszy Sep 30, 2019
b2df72b
[Wallet] Fix inconsistencies with GetDepthInMainChain
random-zebra Oct 11, 2019
4921c7d
[TravisCI] Run CMake Tests earlier
Fuzzbawls Oct 15, 2019
1e98729
Ensure we're building the GUI for all CI tests
Fuzzbawls Oct 15, 2019
de63967
Update .travis.yml
Warrows Oct 18, 2019
28d36d5
[Core][Tests] REGTEST: fix nStakeModifier=0
random-zebra Jul 10, 2019
cf7e253
[Tests] Add wallet_reorg-stake functional test
random-zebra Oct 16, 2019
464b101
[Wallet] Fix bug with coinstake inputs wrongly marked as spent
random-zebra Oct 16, 2019
1cbe3fa
[Tests] Add wallet_reorg-stake functional test to test_runner.py
random-zebra Oct 16, 2019
9396f69
[Core] Prevent coinstakes from overpaying masternodes
random-zebra Oct 21, 2019
8a2cdec
[CMake] Fix macOS Boost detection
Fuzzbawls Oct 21, 2019
12360ca
[Wallet] Transaction IsEquivalentTo method backported + Duplicated me…
furszy Oct 26, 2019
5d5e9e0
[UI] TransactionFilter, do not invalidate the filter if range is alre…
furszy Oct 31, 2019
ae5743f
[Spork] Guard chainActive.Tip() and chainActive.Height() methods call.
furszy Nov 14, 2019
d613a12
[Wallet][RPC] Lock/UnlockCoin const argument + checks in lockunspent
random-zebra Oct 28, 2019
334d851
wallet: Unlock spent outputs
promag May 25, 2018
e5002d5
[Masterndoes] Masternodes sync, try locking cs_main when it looks for…
furszy Nov 9, 2019
22949e2
[Masternodes] Reset mn sync process if it's sleep.
furszy Nov 12, 2019
00ff68d
gui: explicitly disable "Dark Mode" appearance on macOS
fanquake Oct 28, 2018
487f264
build: if VERSION_BUILD is non-zero, include it in the package version
achow101 Oct 30, 2018
c98f3e4
build: include rc number in version number
achow101 Oct 30, 2018
792e542
Update release-process.md to include RC version bumping
achow101 Nov 1, 2018
3227c93
build: Add CLIENT_VERSION_BUILD to CFBundleGetInfoString
fanquake Nov 10, 2018
738635f
build: use full version string in setup.exe
Mar 6, 2019
713eb6d
Some fixes
KolbyML Apr 5, 2020
545338d
Update init.cpp
KolbyML May 20, 2020
fb5c45d
Update benchmark_zerocoin.cpp
KolbyML May 20, 2020
75e50c3
Update masternode-budget.cpp
KolbyML May 20, 2020
bb34701
Update optionsmodel.cpp
KolbyML May 20, 2020
aed099e
f
KolbyML May 20, 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
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ src/leveldb/build_config.mk
Makefile
phore-qt
phore-Qt.app
background.tiff*

# Unit-tests
Makefile.test
phore-qt_test
src/test/buildenv.py

# Resources cpp
qrc_*.cpp
Expand All @@ -113,6 +113,8 @@ coverage_percent.txt
linux-coverage-build
linux-build
win32-build
test/config.ini
test/cache/*
qa/pull-tester/run-bitcoind-for-test.sh
qa/pull-tester/tests-config.sh
qa/pull-tester/cache/*
Expand All @@ -128,7 +130,7 @@ background.tiff@2x.png
/doc/doxygen/
doc/Doxyfile
/nbproject/

libbitcoinconsensus.pc
.idea
cmake-build-debug

Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.5.6
302 changes: 248 additions & 54 deletions .travis.yml

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions .travis/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## travis build scripts

The `.travis` directory contains scripts for each build step in each build stage.
Currently the travis build defines two stages `lint` and `test`. Each stage has
it's own [lifecycle](https://docs.travis-ci.com/user/customizing-the-build/#the-build-lifecycle).
Every script in here is named and numbered according to which stage and lifecycle
step it belongs to.

15 changes: 15 additions & 0 deletions .travis/lint_04_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C

travis_retry pip install codespell==1.13.0
travis_retry pip install flake8==3.5.0
travis_retry pip install vulture==0.29

SHELLCHECK_VERSION=v0.6.0
curl -s "https://storage.googleapis.com/shellcheck/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
export PATH="/tmp/shellcheck-${SHELLCHECK_VERSION}:${PATH}"
9 changes: 9 additions & 0 deletions .travis/lint_05_before_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C

git fetch --unshallow
18 changes: 18 additions & 0 deletions .travis/lint_06_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C

#Till we properly set it as a sub tree
#contrib/devtools/git-subtree-check.sh src/secp256k1
#contrib/devtools/git-subtree-check.sh src/univalue
#contrib/devtools/git-subtree-check.sh src/leveldb
contrib/devtools/check-doc.py
contrib/devtools/logprint-scanner.py

if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then
contrib/devtools/lint-whitespace.sh
fi
27 changes: 27 additions & 0 deletions .travis/test_03_before_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C.UTF-8

PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
# Add llvm-symbolizer directory to PATH. Needed to get symbolized stack traces from the sanitizers.
PATH=$PATH:/usr/lib/llvm-6.0/bin/
export PATH

BEGIN_FOLD () {
echo ""
CURRENT_FOLD_NAME=$1
echo "travis_fold:start:${CURRENT_FOLD_NAME}"
}

END_FOLD () {
RET=$?
echo "travis_fold:end:${CURRENT_FOLD_NAME}"
if [ $RET != 0 ]; then
echo "${CURRENT_FOLD_NAME} failed with status code ${RET}"
fi
}

28 changes: 28 additions & 0 deletions .travis/test_04_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C.UTF-8

travis_retry docker pull "$DOCKER_NAME_TAG"
env | grep -E '^(BITCOIN_CONFIG|CCACHE_|WINEDEBUG|LC_ALL|BOOST_TEST_RANDOM|CONFIG_SHELL)' | tee /tmp/env
if [[ $HOST = *-mingw32 ]]; then
DOCKER_ADMIN="--cap-add SYS_ADMIN"
elif [[ $BITCOIN_CONFIG = *--with-sanitizers=*address* ]]; then # If ran with (ASan + LSan), Docker needs access to ptrace (https://github.com/google/sanitizers/issues/764)
DOCKER_ADMIN="--cap-add SYS_PTRACE"
fi
DOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR --mount type=bind,src=$CCACHE_DIR,dst=$CCACHE_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env $DOCKER_NAME_TAG)

DOCKER_EXEC () {
docker exec $DOCKER_ID bash -c "cd $PWD && $*"
}

if [ -n "$DPKG_ADD_ARCH" ]; then
DOCKER_EXEC dpkg --add-architecture "$DPKG_ADD_ARCH"
fi

travis_retry DOCKER_EXEC apt-get update
travis_retry DOCKER_EXEC apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES $DOCKER_PACKAGES

25 changes: 25 additions & 0 deletions .travis/test_05_before_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C.UTF-8

#DOCKER_EXEC echo \> \$HOME/.phore # Make sure default datadir does not exist and is never read by creating a dummy file

mkdir -p depends/SDKs depends/sdk-sources

if [ -n "$OSX_SDK" -a ! -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then
curl --location --fail $SDK_URL/MacOSX${OSX_SDK}.sdk.tar.gz -o depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz
fi
if [ -n "$OSX_SDK" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then
tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz
fi
if [[ $HOST = *-mingw32 ]]; then
DOCKER_EXEC update-alternatives --set $HOST-g++ \$\(which $HOST-g++-posix\)
fi
if [ -z "$NO_DEPENDS" ]; then
DOCKER_EXEC CONFIG_SHELL= make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
fi

50 changes: 50 additions & 0 deletions .travis/test_06_script_a.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C.UTF-8

TRAVIS_COMMIT_LOG=$(git log --format=fuller -1)
export TRAVIS_COMMIT_LOG

OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
if [ -z "$NO_DEPENDS" ]; then
DOCKER_EXEC ccache --max-size=$CCACHE_SIZE
fi

BEGIN_FOLD autogen
if [ -n "$CONFIG_SHELL" ]; then
DOCKER_EXEC "$CONFIG_SHELL" -c "./autogen.sh"
else
DOCKER_EXEC ./autogen.sh
fi
END_FOLD

mkdir build
cd build || (echo "could not enter build directory"; exit 1)

BEGIN_FOLD configure
DOCKER_EXEC ../configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
END_FOLD

BEGIN_FOLD distdir
DOCKER_EXEC make distdir VERSION=$HOST
END_FOLD

cd "phore-$HOST" || (echo "could not enter distdir phore-$HOST"; exit 1)

BEGIN_FOLD configure
DOCKER_EXEC ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
END_FOLD

set -o errtrace
trap 'DOCKER_EXEC "cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null"' ERR

BEGIN_FOLD build
DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && DOCKER_EXEC make $GOAL V=1 ; false )
END_FOLD

cd ${TRAVIS_BUILD_DIR} || (echo "could not enter travis build dir $TRAVIS_BUILD_DIR"; exit 1)
23 changes: 23 additions & 0 deletions .travis/test_06_script_b.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C.UTF-8

cd "build/phore-$HOST" || (echo "could not enter distdir build/phore-$HOST"; exit 1)

if [ "$RUN_UNIT_TESTS" = "true" ]; then
BEGIN_FOLD unit-tests
DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1
END_FOLD
fi

if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
BEGIN_FOLD functional-tests
DOCKER_EXEC test/functional/test_runner.py --combinedlogslen=4000 ${TEST_RUNNER_EXTRA}
END_FOLD
fi

cd ${TRAVIS_BUILD_DIR} || (echo "could not enter travis build dir $TRAVIS_BUILD_DIR"; exit 1)
Loading