Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Test PR #198

Open
wants to merge 1,930 commits into
base: zen_master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1930 commits
Select commit Hold shift + click to select a range
70ce680
Changes following code review
Jun 30, 2021
df6a56d
Using a boost::variant in CProofVerifierItem
Jul 1, 2021
416c540
Fixed advance_epoch in python tests.
Jul 1, 2021
0eea419
Modification to run_sc_tests.sh after cronic comment; also added stdb…
alsala Jul 1, 2021
4f76a04
Fixed python tset bugs.
Jul 2, 2021
f252738
Using an enum instead of a bool in CBlockUndo ctor
alsala Jul 2, 2021
678fdbf
[Python test] Check that sidechain balance is updated by mempool
Jul 2, 2021
01c8acc
Update libzendoo.mk
DanieleDiBenedetto Jul 2, 2021
497d40a
Merge branch 'sidechains_integration_code_review' into sidechains_int…
Jul 5, 2021
3df30db
Merge pull request #146 from HorizenOfficial/sidechains_integration_s…
ptagl Jul 5, 2021
68e5baa
Modification after Sasha code review
alsala Jul 6, 2021
f239be4
Updated mc-cryptolib dependency and test_proof_generation.
Jul 6, 2021
7d5168e
Updated proof generation function description.
Jul 6, 2021
a837e02
Updated mc-cryptolib dependency. Fixes after code review.
Jul 7, 2021
94617a7
Added a Python test to check the double spending of nested transactions
Jul 7, 2021
c978fbe
Added new RPC command that calculate MerkleTree and ScTxsCommitment b…
MarcoOl94 May 17, 2021
2e0f60c
Renamed getSidechainMerkleRoots RPC method into getBlockMerkleRoots
MarcoOl94 Jun 1, 2021
fc940c0
Fix after code review
MarcoOl94 Jun 1, 2021
48753b9
Changes after intermediate code review
MarcoOl94 Jun 24, 2021
f9ce57e
Added new RPC command that calculate MerkleTree and ScTxsCommitment b…
MarcoOl94 May 17, 2021
a9bdcde
Renamed getSidechainMerkleRoots RPC method into getBlockMerkleRoots
MarcoOl94 Jun 1, 2021
9bb2615
Changes after rebase
MarcoOl94 Jun 25, 2021
13860ef
Added python test for getblockmerkleroots RPC command
MarcoOl94 Jun 25, 2021
de6bc60
Fixed formatting
MarcoOl94 Jun 25, 2021
30ad99b
Changes on getblockmerkleroots.py after intermediate code review
MarcoOl94 Jun 30, 2021
c9f2140
Added check for sidechain fork height in getblockmerkleroots
MarcoOl94 Jul 8, 2021
cfba959
Removed obsolete comment.
Jul 12, 2021
771787a
Fixed comment.
Jul 13, 2021
87fd3c3
Merge pull request #116 from HorizenOfficial/cert_submitter_optimization
albertog78 Jul 20, 2021
4c38728
Merge pull request #130 from HorizenOfficial/sidechains_integration_s…
albertog78 Jul 20, 2021
109439c
Merge pull request #141 from HorizenOfficial/as/issue_137
albertog78 Jul 20, 2021
bb98a46
Merge pull request #142 from HorizenOfficial/as/issue_132
albertog78 Jul 20, 2021
15deaf8
Merge pull request #144 from HorizenOfficial/as/issue_127_135_138
albertog78 Jul 20, 2021
2ccc68f
Merge pull request #145 from HorizenOfficial/as/issue_136
albertog78 Jul 20, 2021
cf91b9d
Merge pull request #121 from HorizenOfficial/mo/mining_pool_software
albertog78 Jul 20, 2021
af47e4f
Merge pull request #139 from HorizenOfficial/sidechains_integration_s…
ptagl Jul 20, 2021
ebd7e1f
Merge branch 'sidechains_integration_step4_cert_sc_id' into cert_test…
ptagl Jul 20, 2021
6014aff
Merge pull request #143 from HorizenOfficial/cert_test_optimization
ptagl Jul 20, 2021
49ee2d3
Merge remote-tracking branch 'origin/sidechains_integration_code_revi…
Jul 20, 2021
5523a8d
Merge pull request #134 from HorizenOfficial/sidechains_integration_s…
ptagl Jul 20, 2021
b3b88e0
Additional check for the BitVector size
Jun 22, 2021
4319f0f
Minor changes
Jun 30, 2021
9c6b8e2
Added a test about handling huge bit vectors
Jun 30, 2021
3c6ab88
Added the sc_id when generating certificate proofs
Jul 20, 2021
eb588c1
Merge pull request #131 from HorizenOfficial/sidechains_integration_s…
ptagl Jul 20, 2021
506569a
Increased block size up to 4M; txes are allowed to occupy only a subs…
alsala Jul 7, 2021
164f3ed
Using block priority size for both tx and certs in miner logic
alsala Jul 7, 2021
88b796f
Modifications after code review and some preliminary test with block …
alsala Jul 9, 2021
f010fe1
Added py test for checking block tx partition handling
alsala Jul 13, 2021
dfa69e5
Fix to py mc_test for the correct rounding of amounts in proof creati…
alsala Jul 15, 2021
4e2f22f
Adding an overhead large enough to the max size of compressed bit vec…
alsala Jul 15, 2021
0f442b0
Fix to mingw configuration to overcome an unresolved symbol in build …
alsala Jul 21, 2021
387fc54
Fix to py test after merges
alsala Jul 21, 2021
758655c
Added a RAII guard for pausing rust low prio threads when connecting …
alsala Jun 29, 2021
2626dc3
Modification after code review
alsala Jul 6, 2021
46e7387
removed unused var after rebase
alsala Jul 21, 2021
d852b84
Fix path for test data file in py test
alsala Jul 21, 2021
7fad5eb
Fixed sc_block_partitions.py test after merge
alsala Jul 22, 2021
1c4ac8f
Fix to py test after merges
alsala Jul 21, 2021
3c706ee
Fix path for test data file in py test
alsala Jul 21, 2021
31aa2fd
Added py test for reproducing the behaviour
alsala Jul 26, 2021
9711975
WIP: added a constant in chain params for getting the number of recen…
alsala Jul 27, 2021
d97959b
Added handling of mbtr scfee; modified check in ConnectBlock call
alsala Jul 28, 2021
f107fa7
Added enum class for telling which type of check must be applied for …
alsala Jul 29, 2021
d105694
Added sc fees list to getscinfo rpc cmd output; modified py test and …
alsala Jul 30, 2021
8f8ca9b
First set of modification after Paolo codereview; fix for py test; mo…
alsala Jul 30, 2021
949c87d
Added a check than no more than a fixed number of csw input can be ac…
alsala Aug 2, 2021
5ef4909
Added py test and modified a failing one; fixed mempool::check()
alsala Aug 3, 2021
a7c7ca8
Modifications after Paolo's code review
alsala Aug 3, 2021
fe0e905
Modifications after code review
alsala Aug 3, 2021
06aceff
Modifications to py tests as per code review
alsala Aug 4, 2021
0827e02
Import cleanup in a py test
alsala Aug 4, 2021
0451cf7
Changed segment size from 2^17 to 2^18
alsala Aug 4, 2021
f919fb9
backport of zen pr #379
alsala Aug 6, 2021
ca4d14e
Websocket: responses write operation was optimized to avoid redundant…
i-Alex Aug 11, 2021
8fa0139
Fixed an issue with the management of certificates in GetBlockTemplate
Aug 16, 2021
9c6c5ce
Added debug log when using GetBlockTemplate RPC call
Aug 17, 2021
c5c9140
Added sidechain JSON examples to the doc folder
Aug 18, 2021
fce0c2f
Removed the duplicated 'scTxsCommitment' field in 'getblock' response
Aug 18, 2021
aba7e84
Added "sc_cert_getblocktemplate.py" to regtest script
Aug 18, 2021
21ff982
Added test for checking out immature balance.
Aug 20, 2021
1593781
Adde listsinceblock check.
Aug 23, 2021
e9f11bf
Added listtxesbyaddress check.
Aug 23, 2021
7eb1dbb
unconfirmed_balance.py test updated.
i-Alex Aug 23, 2021
f220428
merge. conflicts resolved.
i-Alex Aug 23, 2021
dc4880f
Added optional parameter 'constant' field element to the generation a…
alsala Aug 26, 2021
465d78b
Merge pull request #169 from HorizenOfficial/as/segm_size_increase
albertog78 Aug 27, 2021
1043245
ForwardTransfer: mcReturnAddress field added.
i-Alex Aug 27, 2021
9ca6f98
Merge pull request #173 from HorizenOfficial/getblocktemplate_certifi…
albertog78 Aug 27, 2021
d0dbfdd
Merge pull request #175 from HorizenOfficial/sctxscommitment_duplicat…
albertog78 Aug 27, 2021
da904bb
Added cert support for rpc cmd gettxoutproof; also extended relevant …
alsala Aug 30, 2021
b65e821
Merge branch 'sidechains_integration_code_review' into as/ZOO-004
albertog78 Aug 30, 2021
5825861
Merge pull request #165 from HorizenOfficial/as/ZOO-004
albertog78 Aug 30, 2021
5c611c2
Merge branch 'sidechains_integration_code_review' into as/ZOO-005
albertog78 Aug 30, 2021
4baaed1
Merge pull request #168 from HorizenOfficial/as/ZOO-005
albertog78 Aug 30, 2021
f4d16ad
Added comment to src code related to rpc cmd gettxoutsetinfo; also fi…
alsala Aug 30, 2021
5251bfa
mc-cryptolib dependencies updated.
i-Alex Aug 31, 2021
ddc5643
Merge branch 'sidechains_integration_code_review' into as/rpc_cmds_fixes
alsala Aug 31, 2021
81f6737
ScProofVerifier threads priority fix.
i-Alex Aug 31, 2021
6671564
merge immature_balance_rpc into issue_177
i-Alex Aug 31, 2021
0a8d9cc
Python tests updated.
i-Alex Aug 31, 2021
5c3761c
CZendooLowPrioThreadGuard class restored.
i-Alex Aug 31, 2021
965ae61
Added some code in py tests for checking listaccounts and listaddress…
alsala Aug 31, 2021
7e4a622
ProofVerifier low priority threads tests added.
i-Alex Aug 31, 2021
fb96e35
Fix for handling of immature bwt in getreceivedbyaccount rpc cmd; Add…
alsala Aug 31, 2021
ab2185c
Python tests update.
i-Alex Sep 1, 2021
c0db619
Merge branch 'as/rpc_cmds_fixes' into issue_177
i-Alex Sep 1, 2021
9197242
Issue 177 related fixes.
i-Alex Sep 2, 2021
128c8ae
RPC commands decription update.
i-Alex Sep 2, 2021
ce8ebc8
Merge branch 'sidechains_integration_code_review' into as/increase_bl…
alsala Sep 2, 2021
277eb56
Modifications after code review
alsala Sep 2, 2021
b0a8ce0
ProofVerifier fix on failure
i-Alex Sep 2, 2021
d2dfcbc
Merge pull request #147 from HorizenOfficial/sidechains_integration_s…
albertog78 Sep 2, 2021
0b57654
FT: sc_sendmany fix for mcReturnAddress setup.
i-Alex Sep 2, 2021
e5dbbd2
Merge pull request #149 from HorizenOfficial/as/increase_block_size
Cermelli Sep 2, 2021
5219fcc
Merge pull request #171 from HorizenOfficial/websocket_write_queue_op…
Cermelli Sep 2, 2021
587680e
Merge pull request #180 from HorizenOfficial/ft_return_address
Cermelli Sep 2, 2021
7b4719e
Merge branch 'sidechains_integration_code_review' into as/csw_proof_p…
alsala Sep 2, 2021
fd7952e
Merge pull request #179 from HorizenOfficial/as/csw_proof_param_constant
Cermelli Sep 2, 2021
b4a9a0a
Added some code line in py test for prioritisetransaction rpc cmd in …
alsala Sep 3, 2021
c2a4765
WalletTx: GetAmounts() changed to aggregate all sc related outputs in…
i-Alex Sep 3, 2021
3d7939e
Updated mc-cryptolib dependency, test data and test code
DanieleDiBenedetto Sep 3, 2021
f56933f
Python tests interfaces fixes after merge.
i-Alex Sep 3, 2021
e1416d6
Update libzendoo.mk
DanieleDiBenedetto Sep 6, 2021
d482dc9
Add to sendrawtransaction certificate support.
Sep 6, 2021
af0addb
Merge branch 'ddb/upd_for_sc_testnet_2' into vb/sendrawtransaction_up…
Sep 6, 2021
d35c91f
Added handling of sc data in export/import wallet rpc command; also e…
alsala Sep 6, 2021
9898600
Removed sendrawcertificate rpc call. All sendrawcertificate rpc calls…
Sep 6, 2021
65f7e59
Removed fix for export/import wallet rpc cmd; a different fix should …
alsala Sep 6, 2021
53f736e
WIP: fix for CWallet::ScanForWalletTransactions for export/import wa…
alsala Sep 6, 2021
46bfcb9
Address review comments and #176
cronicc Sep 7, 2021
fddac9e
Merge pull request #170 from HorizenOfficial/as/backport_zen_pr_379
cronicc Sep 7, 2021
80c70b8
getrawmempool RPC command updated.
i-Alex Sep 7, 2021
0dda3bd
Added PROOF_PLUS_VK_SIZE constant and check it for certs and csws. Up…
DanieleDiBenedetto Sep 7, 2021
11edf55
Python tests optimization to exclude random CI failures.
i-Alex Sep 8, 2021
2aae35b
Fix for py test after merge with PR #149 which removed certificates m…
alsala Sep 8, 2021
ea1e63a
Merge branch 'sidechains_integration_code_review' into as/fix_pr183
alsala Sep 8, 2021
f261c3d
fix for CWallet::ScanForWalletTransactions for export/import wallet …
alsala Sep 8, 2021
a20a521
Merge branch 'sidechains_integration_code_review' into as/rpc_cmds_fixes
alsala Sep 8, 2021
5439ab7
Modified help for getmininginfo cmd; removed info on used size of tx …
alsala Sep 8, 2021
ec579a6
RPC commands response fields updated: getrawtransaction/cert, decoder…
i-Alex Sep 8, 2021
abd31e4
Libzendoo update completing the bug fix on proof/vk isValid()
DanieleDiBenedetto Sep 8, 2021
0a3bae9
Merge pull request #183 from HorizenOfficial/py_tests_fixes
alsala Sep 8, 2021
7125730
Merge branch 'sidechains_integration_code_review' into as/fix_pr183
alsala Sep 8, 2021
e585d93
Merge pull request #185 from HorizenOfficial/as/fix_pr183
alsala Sep 8, 2021
1d41d6e
Modified json output of getrawtransaction rpc cmd and relevant py tests
alsala Sep 8, 2021
f4b0c07
Merge branch 'sidechains_integration_code_review' into as/rpc_cmds_fixes
alsala Sep 8, 2021
3c1c0d9
Merge pull request #184 from HorizenOfficial/update_proof_vk_size_limits
albertog78 Sep 8, 2021
6d2b080
Renaming of RPC commands for sidechain creation
Sep 8, 2021
42aa7b2
Renaming of RPC commands for sidechain forward transfers
Sep 8, 2021
f745d8a
Renaming of RPC commands for sidechain backward transfer requests
Sep 8, 2021
d4d4408
Renaming of RPC commands for sending sidechain certificates
Sep 8, 2021
8deedfa
Renaming of RPC JSON fields
Sep 8, 2021
9300162
Fix to py test
alsala Sep 8, 2021
311d98e
Merge branch 'sidechains_integration_code_review' into as/rpc_cmds_fixes
alsala Sep 8, 2021
26ea964
URL encode '+' for backblaze depends mirror
cronicc Jun 8, 2021
3dc1a8e
Set correct hashes for rust nightly-2021-04-25 Windows/Darwin
cronicc Jun 8, 2021
da84a98
Update Rust to 1.51.0 stable
cronicc Jun 8, 2021
5534c5f
Add websocket-client python test dependency
cronicc Jun 8, 2021
aa870a3
Update CI builder dockerfiles:
cronicc Jun 8, 2021
16657c5
Replace xenial with focal builder in travis
cronicc Jun 8, 2021
907c458
Use focal host os and x-large vm size in travis linux build/test stages
cronicc Jun 8, 2021
8cddf8e
Add some buildsystem information to entrypoint.sh
cronicc Jun 8, 2021
2d4d44a
Fix util-test python PATH on focal
cronicc Jun 8, 2021
85648e7
More Test stage parallelization
cronicc Jun 8, 2021
93e9826
Set version 2.2.0-beta1
cronicc Jun 14, 2021
522ab9c
Add sidechains-testnet2 seed nodes
cronicc Jun 14, 2021
663d07a
Change PROTOCOL_VERSION, MIN_PEER_PROTO_VERSION to 170004
cronicc Jun 14, 2021
9478da7
Change testnet default p2p port to 21033
cronicc Jun 14, 2021
881342e
Add preliminary testnet checkpoint block (pre-fork)
cronicc Jun 14, 2021
9f9def9
Set preliminary fork activation heights (well into the future)
cronicc Jun 14, 2021
5d557ab
Add --legacy-cpu build arg for CPUs without bmi2/adx
cronicc Jun 22, 2021
6c2eee4
Speed up rust installation by not installing rust-docs
cronicc Jun 22, 2021
f5eef79
Update OpenSSL to 1.1.1i
cronicc Feb 15, 2021
41f8ac4
Update OpenSSL to 1.1.1j
cronicc Mar 1, 2021
e40cc0c
Update OpenSSL to 1.1.1k, fix for CVE-2021-3450
cronicc Mar 25, 2021
b0777ce
Add more fallback gpg2 servers for key fetch to Dockerfiles
cronicc Jul 6, 2021
8e9a47a
Remove --emit=asm rust flag from libzendoo
cronicc Jul 6, 2021
5506acd
Always login to hub.docker.com with read only account, even when only…
cronicc Jul 6, 2021
7cda0f7
Update preliminary fork heights in test_forkmanager
cronicc Jul 6, 2021
dad5a04
Fix SC fork detection in getblockmerkleroots RPC
cronicc Jul 29, 2021
76e3afe
Adjust getblockmerkleroots.py to regtest sc fork activation height
cronicc Jul 29, 2021
976c28e
Fix copy/paste fragments
cronicc Sep 7, 2021
16f7161
setproofverifierlowprioityguard RPC help text formatting
cronicc Sep 7, 2021
403a3df
Update OpenSSL to 1.1.1l, closes #178
cronicc Sep 7, 2021
8825a32
gettxout RPC command improved.
i-Alex Sep 8, 2021
6199c76
Minor fix.
i-Alex Sep 8, 2021
f262a68
merge as/rpc_cmd_fixes into issue_177
i-Alex Sep 8, 2021
70380be
RPC minor fix.
i-Alex Sep 8, 2021
260442c
Merge pull request #148 from HorizenOfficial/cr/prep_sc-testnet2_part1
cronicc Sep 8, 2021
a230f6c
Updated constants in mc_test.py
DanieleDiBenedetto Sep 9, 2021
f74d6d9
Fixed the name of sc_send_certificate in a Python comment
Sep 9, 2021
b90dca2
Merged signrawtransaction with signrawcertificate. Removed signrawcer…
Sep 9, 2021
8022aba
Fixed merge issues
Sep 9, 2021
b045afc
Fixes after the codereview.
Sep 9, 2021
5eb8680
Apply suggestions from code review
ptagl Sep 9, 2021
8d3b146
Changes after the codereview.
Sep 10, 2021
3f41c7f
Changes after the codereview.
Sep 10, 2021
cf8c6ab
Fixes after the codereview.
Sep 10, 2021
6983619
Fixes after the codereview.
Sep 10, 2021
0f94333
Changes after the codereview.
Sep 10, 2021
6998a51
Changes after the codereview.
Sep 10, 2021
6deb178
Code refactoring.
Sep 10, 2021
c9f4001
Remove redundant code.
Sep 10, 2021
c394c73
Merge pull request #181 from HorizenOfficial/issue_177
cronicc Sep 10, 2021
b281470
Merge branch 'testnet_staging' into renaming_for_testnet_release
cronicc Sep 10, 2021
bda3397
Merge pull request #188 from HorizenOfficial/vb/sendrawtransaction_up…
cronicc Sep 10, 2021
0618ae2
Merge pull request #186 from HorizenOfficial/renaming_for_testnet_rel…
cronicc Sep 10, 2021
a9408c3
Python test fixes for testnet staging
Sep 10, 2021
3782ee9
Merge pull request #189 from HorizenOfficial/regtest_fix_for_testnet_…
cronicc Sep 13, 2021
bc0b10b
Crosschain outputs: pubkeyhash is no longer used. taddr ussage added …
i-Alex Sep 13, 2021
4eb908f
Merge branch 'testnet_staging' of github.com:HorizenOfficial/zend_oo …
i-Alex Sep 13, 2021
615aba5
Changes adter the codereview.
Sep 13, 2021
79ea3f7
Websocket performance assert replaced with notification to avoid rand…
i-Alex Sep 14, 2021
dc69d04
Minor renaming.
i-Alex Sep 14, 2021
5822652
Removed call to GetCommitment() inside LogPrint (performed each time …
DanieleDiBenedetto Sep 20, 2021
3611d81
Updated and added 2 py tests into the rpc list
alsala Sep 21, 2021
d9e3909
Merge pull request #192 from HorizenOfficial/fix_slow_getblockmerkler…
cronicc Sep 23, 2021
aa25d20
Updated and added 2 py tests into the rpc list
alsala Sep 21, 2021
553acde
Set fork activation heigts for sc-testnet2
cronicc Sep 24, 2021
0f27381
Added version in gettransaction and CTP fields only if it's a sidecha…
MarcoOl94 Sep 15, 2021
6c18337
Try to add AddJoinSplit to Certificate class
MarcoOl94 Sep 16, 2021
4f8f6e6
Fixed compilation error
Sep 16, 2021
9bab4f8
Updadted gettransaction help
MarcoOl94 Sep 16, 2021
c29479a
Crosschain outputs: pubkeyhash is no longer used. taddr ussage added …
i-Alex Sep 13, 2021
1be4d42
Websocket performance assert replaced with notification to avoid rand…
i-Alex Sep 14, 2021
03eb039
Minor renaming.
i-Alex Sep 14, 2021
bb754c1
merge
i-Alex Sep 27, 2021
76d31ae
Added an upper limit to the sidechain withdrawal epoch length value
alsala Sep 27, 2021
4fa83ba
Added check for epoch length also in other rpc cmds for sc creation; …
alsala Sep 27, 2021
a14d255
Merge pull request #190 from HorizenOfficial/pubkeyhash_removal
cronicc Sep 27, 2021
0e4ea42
Merge pull request #191 from HorizenOfficial/mo/gettransaction_update
cronicc Sep 27, 2021
ccc05e5
Merge branch 'testnet_staging' into as/max_epoch_len
alsala Sep 28, 2021
8a12135
Merge pull request #195 from HorizenOfficial/as/max_epoch_len
cronicc Sep 28, 2021
5cee47d
Fix py tests after rebase
alsala Sep 28, 2021
d4f9ab7
Revert "Change testnet default p2p port to 21033"
cronicc Sep 24, 2021
569a6ce
Revert "Change testnet default port to 20033"
cronicc Sep 24, 2021
25ee1f4
Revert "Change PROTOCOL_VERSION, MIN_PEER_PROTO_VERSION to 170004"
cronicc Sep 24, 2021
fb44bac
Revert "Change PROTOCOL_VERSION, MIN_PEER_PROTO_VERSION to 170003"
cronicc Sep 24, 2021
9a68365
Revert "Add sidechains-testnet2 seed nodes"
cronicc Sep 24, 2021
cfb0822
Revert "Add sidechains-testnet seed nodes"
cronicc Sep 24, 2021
5cae3c9
Fix typo
cronicc Sep 24, 2021
d836915
Set version 3.0.0-beta1
cronicc Sep 27, 2021
6d163b5
Update Debian package info
cronicc Sep 27, 2021
4f558cf
Update testnet checkpoint blocks
cronicc Sep 27, 2021
c78805a
Update manpages
cronicc Sep 27, 2021
c9feadc
Set zendoo testnet fork8 height to 926225
cronicc Sep 27, 2021
5f5eddf
Update changelogs
cronicc Sep 27, 2021
0a586a2
Merge pull request #196 from HorizenOfficial/cr/prepare_release_3.0.0…
cronicc Sep 29, 2021
ec0cfe6
Archive the repository
cronicc Nov 28, 2022
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
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,12 @@ libzcashconsensus.pc

contrib/debian/files
contrib/debian/substvars
src/zendoo/mcTest

# IDE files
/.idea
/*.iml
# pyenv
.python-version
# custom folders
./test/
163 changes: 102 additions & 61 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@ language: shell

os: linux

.com.github.horizenofficial.zen.env-definitions:
- &docker_amd64_linux_ubuntu_xenial
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_xenial
- DOCKER_IS_DEB=true
.com.github.horizenofficial.zend_oo.env-definitions:
- &docker_amd64_linux_ubuntu_bionic
env:
- DOCKER_ARCH=amd64
Expand All @@ -21,77 +15,99 @@ os: linux
- DOCKER_TARGET_OS=windows
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- &docker_amd64_linux_ubuntu_xenial_unit-tests
- &docker_amd64_linux_ubuntu_focal
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_xenial
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- &docker_amd64_linux_ubuntu_bionic_unit-tests
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="btest gtest sec-hard no-dot-so util-test secp256k1 libsnark univalue"
- &docker_amd64_linux_ubuntu_xenial_rpc-tests_1
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_1
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:1"
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_2
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_xenial
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=3:1"
- &docker_amd64_linux_ubuntu_xenial_rpc-tests_2
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:2"
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_3
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_xenial
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=3:2"
- &docker_amd64_linux_ubuntu_xenial_rpc-tests_3
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:3"
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_4
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_xenial
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=3:3"
- &docker_amd64_linux_ubuntu_xenial_test-fetch-params
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:4"
- &docker_amd64_linux_ubuntu_bionic_test-fetch-params
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_xenial
- DOCKER_FROM=ubuntu_bionic
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zen/test-fetch-params.sh"
- &docker_amd64_linux_ubuntu_bionic_unit-tests
- &docker_amd64_linux_ubuntu_focal_unit-tests
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="btest gtest sec-hard no-dot-so util-test secp256k1 libsnark univalue"
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_1
- &docker_amd64_linux_ubuntu_focal_rpc-tests_1
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=3:1"
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_2
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:1"
- &docker_amd64_linux_ubuntu_focal_rpc-tests_2
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=3:2"
- &docker_amd64_linux_ubuntu_bionic_rpc-tests_3
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:2"
- &docker_amd64_linux_ubuntu_focal_rpc-tests_3
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_bionic
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:3"
- &docker_amd64_linux_ubuntu_focal_rpc-tests_4
env:
- DOCKER_ARCH=amd64
- DOCKER_TARGET_OS=linux
- DOCKER_FROM=ubuntu_focal
- DOCKER_IS_DEB=true
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-split=3:3"
- TEST_ARGS="rpc --rpc-extended --rpc-split=4:4"
- &amd64_osx_xcode9_4_unit-tests
env:
- TEST_CMD="./qa/zcash/full_test_suite.py"
Expand All @@ -110,17 +126,19 @@ os: linux
- TEST_CMD="./qa/zcash/full_test_suite.py"
- TEST_ARGS="rpc --rpc-extended --rpc-exclude=rpcbind_test.py,invalidblockrequest.py,invalidblockposthalving.py,p2p-acceptblock.py --rpc-split=3:3"

.com.github.horizenofficial.zen.job-definitions:
.com.github.horizenofficial.zend_oo.job-definitions:
- &prepare_docker_amd64
os: linux
dist: bionic
dist: focal
cache: false
script:
- bash "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/prepare/docker_image_build.sh"
- bash "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/prepare/docker_image_deploy.sh"
- &build_docker_amd64
- &build_docker_amd64_x-large
os: linux
dist: bionic
dist: focal
vm:
size: x-large
cache:
directories:
- "$HOME/.ccache"
Expand All @@ -130,7 +148,20 @@ os: linux
- &test_docker_amd64
if: env(SKIP_TESTS) != true
os: linux
dist: bionic
dist: focal
cache:
directories:
- "$HOME/.zcash-params"
script:
- bash -c "RENAME_FOLDER='true' RENAME_SUFFIX='_clean' ${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/common/get_archive.sh ${B2_DL_DECOMPRESS_FOLDER} ${B2_DL_FILENAME}"
- bash -c "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/common/travis_stay_alive.sh"
- bash -c '${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/test/run_test.sh "${TEST_CMD}" "${TEST_ARGS}"'
- &test_docker_amd64_x-large
if: env(SKIP_TESTS) != true
os: linux
dist: focal
vm:
size: x-large
cache:
directories:
- "$HOME/.zcash-params"
Expand All @@ -139,7 +170,7 @@ os: linux
- bash -c "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/common/travis_stay_alive.sh"
- bash -c '${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/test/run_test.sh "${TEST_CMD}" "${TEST_ARGS}"'
- &test_osx_xcode9_4
if: (env(SKIP_TESTS) != true) OR (env(SKIP_OSX) != true)
if: (env(SKIP_TESTS) != true) AND (env(SKIP_OSX) != true)
os: osx
osx_image: xcode9.4
cache:
Expand All @@ -150,6 +181,10 @@ os: linux
- bash -c "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/common/travis_stay_alive.sh"
- bash -c '${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/test/run_test.sh "${TEST_CMD}" "${TEST_ARGS}"'

env:
global:
- SKIP_OSX=true

before_install:
- source "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/common/setup_environment.sh"

Expand All @@ -161,10 +196,10 @@ jobs:
# build and push docker build/test dependency images
- stage: Prepare
<<: *prepare_docker_amd64
<<: *docker_amd64_linux_ubuntu_xenial
<<: *docker_amd64_linux_ubuntu_bionic
- stage: Prepare
<<: *prepare_docker_amd64
<<: *docker_amd64_linux_ubuntu_bionic
<<: *docker_amd64_linux_ubuntu_focal
- stage: Prepare
<<: *prepare_docker_amd64
<<: *docker_amd64_windows_ubuntu_bionic
Expand All @@ -179,13 +214,13 @@ jobs:
- bash -c "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/common/push_archive.sh ${B2_UL_COMPRESS_FOLDER} ${B2_UL_FILENAME}"
# Docker based builds
- stage: Build
<<: *build_docker_amd64
<<: *docker_amd64_linux_ubuntu_xenial
- stage: Build
<<: *build_docker_amd64
<<: *build_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic
- stage: Build
<<: *build_docker_amd64
<<: *build_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_focal
- stage: Build
<<: *build_docker_amd64_x-large
<<: *docker_amd64_windows_ubuntu_bionic
# osx build
- stage: Build
Expand All @@ -201,32 +236,38 @@ jobs:
- bash -c "${TRAVIS_BUILD_DIR}/contrib/ci-horizen/scripts/common/push_archive.sh ${B2_UL_COMPRESS_FOLDER} ${B2_UL_FILENAME}"
# Docker based tests
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_xenial_unit-tests
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_unit-tests
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_xenial_rpc-tests_1
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_1
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_xenial_rpc-tests_2
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_2
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_xenial_rpc-tests_3
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_3
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_xenial_test-fetch-params
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_4
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_bionic_unit-tests
<<: *docker_amd64_linux_ubuntu_bionic_test-fetch-params
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_1
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_focal_unit-tests
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_2
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_focal_rpc-tests_1
- stage: Test
<<: *test_docker_amd64
<<: *docker_amd64_linux_ubuntu_bionic_rpc-tests_3
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_focal_rpc-tests_2
- stage: Test
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_focal_rpc-tests_3
- stage: Test
<<: *test_docker_amd64_x-large
<<: *docker_amd64_linux_ubuntu_focal_rpc-tests_4
# osx based tests
- stage: Test
<<: *test_osx_xcode9_4
Expand Down
2 changes: 2 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ BITCOIN_QT_BIN=$(top_builddir)/src/qt/bitcoin-qt$(EXEEXT)
BITCOIN_CLI_BIN=$(top_builddir)/src/zen-cli$(EXEEXT)
BITCOIN_WIN_INSTALLER=$(PACKAGE)-$(PACKAGE_VERSION)-win$(WINDOWS_BITS)-setup$(EXEEXT)


##OSX_APP=Bitcoin-Qt.app
##OSX_DMG=Bitcoin-Core.dmg
##OSX_BACKGROUND_IMAGE=background.tiff
Expand Down Expand Up @@ -145,6 +146,7 @@ $(BITCOIND_BIN): FORCE
$(BITCOIN_CLI_BIN): FORCE
$(MAKE) -C src $(@F)


if USE_LCOV

baseline.info:
Expand Down
Loading