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

Zsa integration diff #16

Draft
wants to merge 833 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
833 commits
Select commit Hold shift + click to select a range
4239445
Add secp256k1_selftest call
sipa Dec 13, 2022
595035f
scripted-diff: rename privkey with seckey in secp256k1 interface
sipa Jun 11, 2020
bdc5dea
rust: Migrate to `secp256k1 0.26`, `hdwallet 0.4`
str4d Apr 21, 2023
d3556d2
Merge tag 'v5.5.0-rc1' into merge-v5.5.0-rc1
str4d Apr 21, 2023
1c62d05
Clear out v5.5.0 release notes
str4d Apr 21, 2023
ac7f8d8
Merge pull request #6595 from str4d/merge-v5.5.0-rc1
str4d Apr 21, 2023
5632637
Change module comment in bridge.rs to doc comment
teor2345 Apr 24, 2023
3afedce
Add reference in Makefile.am to zip317.h
charlieok Apr 24, 2023
9892a5f
Merge pull request #6600 from charlieok/reference_zip317_header_from_…
nuttycom Apr 24, 2023
794cb44
Improve the `show_help.py` RPC test to include `-help-debug`
daira Apr 24, 2023
bf4032d
Improve `-printpriority` output to log the modified fee, conventional…
daira Apr 24, 2023
a40b306
Merge pull request #6597 from ZcashFoundation/doc-comment-bridge-rs
nuttycom Apr 24, 2023
dc6260b
Allow explicit “no memo” in z_mergetoaddress
sellout Apr 24, 2023
8c1101b
Add `memo` parameter to `z_shieldcoinbase`
sellout Apr 24, 2023
1204191
Merge pull request #6603 from sellout/z_mergetoaddress-fixes
str4d Apr 24, 2023
bc96b69
Merge pull request #6604 from sellout/z_shieldcoinbase-memo
str4d Apr 25, 2023
4d1e37d
Support UA destinations in `z_mergetoaddress`
sellout Apr 24, 2023
a164508
Include Orchard dest in z_mergetoaddress estimation
sellout Apr 25, 2023
adb96bc
Update release notes
sellout Apr 25, 2023
63538fa
Merge pull request #6598 from daira/improve-printpriority
str4d Apr 25, 2023
ff52696
z_mergetoaddress: Include Sapling output padding in size estimate
str4d Apr 25, 2023
a785bbb
test: Fix copyright years in new RPC tests
str4d Apr 25, 2023
a0ea22c
Merge pull request #6605 from sellout/z_mergetoaddress-ua
str4d Apr 25, 2023
b90532b
Fix a build regression if `--disable-mining` is selected.
daira Apr 25, 2023
8182be4
Fix a build regression if both `--disable-mining` and `--disable-wallet`
daira Apr 25, 2023
c306acf
CI: Add a GitHub Actions workflow that builds zcashd for platform tiers
str4d Apr 17, 2023
69c8e03
CI: Add caching to build workflow
str4d Apr 17, 2023
51d41c5
depends: Ensure `native_cxxbridge` source is fetched for `rustcxx`
str4d Apr 19, 2023
fff7937
depends: Don't build BDB utilities on macOS
str4d Apr 19, 2023
e54720e
depends: Remove Fortran and LLDB components from staged `native_clang`
str4d Apr 19, 2023
febd576
CI: Build with `--with-libs`, `--disable-wallet`, and `--disable-mining`
str4d Apr 25, 2023
ada3d1c
Merge pull request #6607 from daira/fix-disable-mining-build-regression
daira Apr 25, 2023
d0388d2
Merge pull request #6571 from zcash/ci-gh-actions-build
str4d Apr 25, 2023
931d6d6
Replace custom zcash_script TxInputStream with RustDataStream
teor2345 Apr 24, 2023
a72dde8
Fix `make-release.py` to write correct halt height into book
str4d Apr 25, 2023
8a96b23
Update v5.5.0 release notes
str4d Apr 25, 2023
0add889
build: Fix MinGW cross-compilation with `--disable-wallet`
str4d Apr 25, 2023
6eca360
make-release.py: Versioning changes for 5.5.0-rc2.
str4d Apr 25, 2023
210e83a
make-release.py: Updated manpages for 5.5.0-rc2.
str4d Apr 25, 2023
26ec3db
make-release.py: Updated release notes and changelog for 5.5.0-rc2.
str4d Apr 25, 2023
294e21a
make-release.py: Updated book for 5.5.0-rc2.
str4d Apr 25, 2023
7e10583
Change module comment in bridge.rs to doc comment
teor2345 Apr 24, 2023
d2d29fb
Merge pull request #6606 from str4d/release-v5.5.0-rc2
str4d Apr 25, 2023
64f148b
Merge branch 'version-5.5.0' into version-5.5.0-merge
nuttycom Apr 25, 2023
f91de3b
Merge pull request #6610 from nuttycom/version-5.5.0-merge
daira Apr 26, 2023
ff121bc
Remove fee estimation.
daira Apr 25, 2023
d438b79
Rename DEFAULT_FEE to LEGACY_DEFAULT_FEE in C++ code and RPC tests.
daira Apr 25, 2023
843cae6
Support privacyPolicy parameters in zcash-cli
sellout Apr 26, 2023
ab6e0dd
Treat "F6" in RPC calls as if no memo were provided
sellout Apr 26, 2023
1c98b41
Merge pull request #6615 from sellout/zcash-cli-fixes
nuttycom Apr 26, 2023
305c586
Support nullable strings in `zcash-cli`
sellout Apr 26, 2023
eebf834
`z_sendmany` now accepts 6 parameters, not 5.
nuttycom Apr 27, 2023
fee0da9
Merge pull request #6617 from sellout/zcash-cli-null-string
nuttycom Apr 27, 2023
0b46e7d
make-release.py: Versioning changes for 5.5.0-rc3.
nuttycom Apr 27, 2023
504e0d2
make-release.py: Updated manpages for 5.5.0-rc3.
nuttycom Apr 27, 2023
b05711d
make-release.py: Updated release notes and changelog for 5.5.0-rc3.
nuttycom Apr 27, 2023
195ba69
make-release.py: Updated book for 5.5.0-rc3.
nuttycom Apr 27, 2023
f7df053
Reduce the scope of some constants
sellout Apr 27, 2023
44e0130
Encapsulate memos
sellout Apr 2, 2023
2e6f18e
Include `memoStr` in RPC results with `memo`
sellout Apr 26, 2023
0a64e87
Correction "height" -> "time" in release notes
daira Apr 27, 2023
867d95b
Fix a false positive duplicate-#include lint.
daira Apr 27, 2023
1048c03
Merge pull request #6618 from zcash/release-v5.5.0-rc3
nuttycom Apr 27, 2023
9e856cf
Merge pull request #6591 from daira/remove-fee-estimation
nuttycom Apr 27, 2023
4559e47
Merge pull request #6619 from daira/fix-include-lint
nuttycom Apr 27, 2023
c6e4c2d
Centralize ReceiverType conversions
sellout Apr 5, 2023
b66da2d
Update `smoke_tests.py` to run against 5.5.0, using `allowdeprecated`
softminus Apr 26, 2023
0865fa0
Use more restrictive privacy policies in `smoke_tests.py`
softminus Apr 27, 2023
ec96c68
Use default values for `z_mergetoaddress` again
softminus Apr 27, 2023
aa284ff
Don't hardcode 0.00001 explicitly
softminus Apr 27, 2023
62772a2
Change output format for `smoke_tests.py`
softminus Apr 27, 2023
bfb3d8a
`DEFAULT_FEE` -> `LEGACY_DEFAULT_FEE` in `smoke_tests.py`
softminus Apr 27, 2023
2d53ce1
Display pass ratio in RPC test summary
sellout Jan 17, 2023
376b5de
use `AllowRevealedRecipients` in `smoke_tests.py` case 4w
softminus Apr 27, 2023
419f004
Merge pull request #6616 from softminus/smoketests-fixes
nuttycom Apr 27, 2023
17e2841
make-release.py: Versioning changes for 5.5.0.
nuttycom Apr 27, 2023
5536afd
make-release.py: Updated manpages for 5.5.0.
nuttycom Apr 27, 2023
c4ef0ee
make-release.py: Updated release notes and changelog for 5.5.0.
nuttycom Apr 27, 2023
eb80047
make-release.py: Updated book for 5.5.0.
nuttycom Apr 27, 2023
c9bd4c8
Correct "height" -> "time" in release notes
daira Apr 27, 2023
c3474d6
Merge pull request #6622 from zcash/release-v5.5.0
nuttycom Apr 28, 2023
09d5d8c
Merge branch 'version-5.5.0' into version-5.5.0-merge
nuttycom Apr 28, 2023
c561167
Merge pull request #6623 from nuttycom/version-5.5.0-merge
nuttycom Apr 28, 2023
d78de18
Add a useful comment about the CheckProofOfWork check in LoadBlockInd…
nuttycom Apr 28, 2023
5066efb
Merge pull request #6565 from DeckerSU/patch-remove-consistency-checks
str4d Apr 28, 2023
4ce7832
Avoid calling `ParseNonRFCJSONValue` for string-only parameters.
daira Apr 27, 2023
2bf27c6
Print all invalid receivers when there’s a failure
sellout May 1, 2023
346cd43
Fix macOS build on CI
sellout May 2, 2023
aec22d3
Merge pull request #6628 from sellout/fix-macos-build
nuttycom May 2, 2023
a234e5f
Merge pull request #6626 from sellout/receiver-type-conversions
nuttycom May 2, 2023
601fa4b
Merge remote-tracking branch 'upstream/master' into encapsulate-memo
sellout May 3, 2023
0f8369b
Merge pull request #6612 from sellout/encapsulate-memo
nuttycom May 3, 2023
548fa74
Merge pull request #6492 from sellout/rpc-pass-rate
nuttycom May 3, 2023
70e7537
Remove GitHub check for recent-enough branch
sellout May 4, 2023
ead6e12
Merge pull request #6634 from sellout/remove-recent-sha-action
daira May 4, 2023
09bcbeb
Fix missing includes on macOS build
sellout May 4, 2023
06f0879
Merge pull request #6620 from daira/6617-followup
nuttycom May 4, 2023
22ec2f0
Merge pull request #6635 from sellout/fix-macos-build-again
sellout May 4, 2023
3d2118c
Enable & error on all un-violated warnings
sellout Mar 23, 2023
2198c6f
Move warning flags to configure.ac
sellout May 3, 2023
b66efda
Update comments on disabled warnings
sellout May 4, 2023
5613d4e
Merge pull request #6624 from sellout/initial-warnings
sellout May 4, 2023
5bcd4f1
Place Sapling {Spend, Output}Description fields behind getters
str4d Apr 24, 2023
77692f7
Place `vShieldedSpend`, `vShieldedOutput` behind getters
str4d May 4, 2023
da49a8b
Remove Ubuntu 18.04 as a supported platform
str4d May 5, 2023
e1388f8
contrib: Update `contrib/devtools/symbol-check.py`
str4d May 5, 2023
0dbe94b
Add Ubuntu 22.04 as a Tier 3 platform
str4d May 5, 2023
5678ccd
Merge pull request #6594 from str4d/libsecp256k1-0.2.0
str4d May 8, 2023
1ed9611
Build: Consensus: Move consensus files from common to its own module/…
jtimon Nov 20, 2015
9896e4e
Build: Libconsensus: Move libconsensus-ready files to the consensus p…
jtimon Nov 24, 2015
48c021b
Build: Consensus: Make libbitcoinconsensus_la_SOURCES fully dynamic a…
jtimon Nov 23, 2015
58dc34a
build: Consensus: Move Bitcoin script files from consensus to its own…
str4d May 8, 2023
a7d7bae
build: Use libtool for linking `librustzcash.a` to the C++ code
str4d May 8, 2023
450bab1
build: Fix `--with-libs` linking errors for MinGW cross-compilation
str4d May 8, 2023
3684972
Merge pull request #6647 from str4d/refactor-libs-build
daira May 8, 2023
e225b27
Merge pull request #6639 from str4d/remove-ubuntu-18.04
nuttycom May 9, 2023
ede49e2
Merge pull request #6640 from str4d/tier-3-ubuntu-22.04
nuttycom May 9, 2023
7dc1f63
Merge pull request #6637 from str4d/6397-sapling-getters
nuttycom May 9, 2023
632dc92
rust: Add `CBLAKE2bWriter` support to `CppStream`
str4d May 8, 2023
c95c434
Pass `CChainParams` into `TransactionBuilder` instead of `Consensus::…
str4d May 9, 2023
34f4243
Pass ExtSK into `TransactionBuilder::AddSaplingSpend` instead of ExpSK
str4d May 10, 2023
a7b57a9
Fix a minor bug in an error message
sellout May 10, 2023
76e4640
Add support for storing Sapling/Orchard subtree roots in leveldb.
ebfull May 10, 2023
10894e0
Merge pull request #6653 from sellout/action-limit-message
daira May 11, 2023
4280a36
test: Use correct transaction version for Orchard in `TxWithNullifiers`
str4d May 11, 2023
8aceeed
Document the Sprout cache used for RPC tests
sellout May 11, 2023
829dd94
Merge pull request #6656 from sellout/sprout-cache-docs
nuttycom May 12, 2023
15099f9
Add a test for WalletTxBuilder with legacy account
sellout May 12, 2023
f1e7a37
Update performance-measurements.sh
mdr0id May 12, 2023
c5b407c
Add tests and fix bugs in implementation of CCoinsView subtree storage.
ebfull May 13, 2023
5bd6f7f
Handle errors when getting change addr for account
sellout May 12, 2023
4990813
Minor improvements suggested during code review.
ebfull May 15, 2023
50ae6ea
Merge pull request #6662 from sellout/z_sendmany-crash
daira May 15, 2023
48e4136
builder: Use Rust to compute shielded signature hash for v3-v4 txs
str4d May 12, 2023
dc4670f
Test that WalletTxBuilder uses correct ZIP 317 fee
sellout May 11, 2023
d53b6b9
Correct fee calculation for vin in tx creation
sellout May 11, 2023
4437811
Calculate consensusBranchId sooner
sellout May 15, 2023
0c06b13
Extract fee check from test
sellout May 15, 2023
d9e6e6a
Merge pull request #6666 from zcash/heaptrack_output_patch2
daira May 15, 2023
e8e62d8
Merge pull request #6660 from sellout/fix-low-vin-fees
daira May 16, 2023
21c8b2c
Update README.md
dismad May 16, 2023
58afd2a
Delay postponed dependencies
sellout May 16, 2023
193f054
Add release notes for v5.5.1
sellout May 16, 2023
3d48aec
make-release.py: Versioning changes for 5.5.1.
sellout May 16, 2023
3a70117
make-release.py: Updated manpages for 5.5.1.
sellout May 16, 2023
2adcf00
make-release.py: Updated release notes and changelog for 5.5.1.
sellout May 16, 2023
a9658cc
make-release.py: Updated book for 5.5.1.
sellout May 16, 2023
1884b6c
builder: Remove `anchor` argument from `TransactionBuilder::AddSaplin…
str4d May 16, 2023
f160033
Merge pull request #6668 from sellout/release-v5.5.1
sellout May 16, 2023
f0d2b56
mempool: Refactor `CTxMemPool::checkNullifiers` to use a template
str4d May 17, 2023
4e72a5e
wallet: Introduce `libzcash::nullifier_t` typedef
str4d May 17, 2023
3e35f69
builder: Move all fields in `TransactionBuilder` move constructors
str4d May 17, 2023
08f0ee6
rust: Add new structs and functions required for Sapling oxidation
str4d May 17, 2023
647f7fd
Remove unreachable code (g_rpcSignals.PostCommand)
practicalswift Mar 9, 2017
457367b
Oxidise the Sapling bundles
str4d May 17, 2023
483c102
Oxidise the Sapling benchmarks and remaining tests
str4d May 17, 2023
d302047
Remove now-unused Sapling logic
str4d May 17, 2023
3a8b5f3
Merge remote-tracking branch 'upstream/master' into hotfix-v5.5.1
sellout May 17, 2023
8c43ee2
Merge pull request #6671 from sellout/hotfix-v5.5.1
str4d May 17, 2023
b7d1223
Use C++17 [[fallthrough]] attribute, and drop -Wno-implicit-fallthrough
hebasto Mar 13, 2021
6f4f69b
Make `./configure` quieter by default
sellout May 18, 2023
588a225
Transactions paying less than the ZIP 317 conventional fee to the extent
daira May 8, 2023
d32c17a
Minor documentation improvements suggested during review.
ebfull May 18, 2023
4ddf2a9
Share RPC param table between client and server
sellout Feb 21, 2023
37eb4bf
Better error for “wrong number of params” in RPC
sellout Apr 26, 2023
9cd9fa1
Link to ZIP 317 in the release notes
daira May 19, 2023
2e4010d
Use `DisplayMoney` to simplify constructing an error message
daira May 19, 2023
b072a89
Merge pull request #6673 from sellout/bitcoin-backports
daira May 19, 2023
6de690f
Improve CONFIGURE_FLAGS handling in build.sh
sellout May 19, 2023
cb5f413
Reword RPC error messege for wrong number of params
sellout May 19, 2023
6d256de
Merge pull request #6675 from sellout/quieter-build
str4d May 22, 2023
cabfd22
Merge pull request #6404 from sellout/clarify-doublespend-test
str4d May 23, 2023
a3a3f42
Merge pull request #6473 from sellout/shared-rpc-spec
str4d May 23, 2023
deae416
Merge pull request #6646 from daira/drop-if-more-than-50-unpaid-actions
daira May 23, 2023
4d78cdf
test: Use `!=` instead of `is not` in `final*root` RPC tests
str4d May 23, 2023
816710d
Remove `TransactionBuilder` default constructor
str4d May 23, 2023
857fa93
test: Some minor cleanups
str4d May 23, 2023
33ee2d1
Merge branch 'master' into 6397-cxx-sapling-bundle
str4d May 23, 2023
5d34e77
test: Fix non-conflicting merge conflict
str4d May 23, 2023
04b5dcd
Minor fixes suggested from code review.
ebfull May 25, 2023
eef570b
Simplify logic paths in `GetSubtreeData`
ebfull May 25, 2023
a971a86
Minor documentation typo fixes
ebfull May 25, 2023
26ea365
Merge pull request #6649 from ebfull/ccoins-subtrees
nuttycom May 26, 2023
ff02805
Add golden tests for Orchard wallet state at the zcashd v5.6.0 boundary.
nuttycom May 26, 2023
ed7183f
Persist data for wallet_golden_5_6_0 RPC test
nuttycom May 27, 2023
01b44bb
Apply suggestions from code review
nuttycom May 30, 2023
231eafc
Merge pull request #6655 from str4d/6397-cxx-sapling-bundle
ebfull May 31, 2023
1b38064
Merge pull request #6684 from nuttycom/test/wallet_golden_v5.6.0
nuttycom May 31, 2023
09723a9
Fix a nondeterministic error in wallet tests caused by output shuffling.
nuttycom May 31, 2023
690b2f5
Merge pull request #6689 from nuttycom/fix/wallet_test_nondeterminism
nuttycom May 31, 2023
6a3306e
Fix nondeterminism in `WalletTests.UpdatedSaplingNoteData`
nuttycom Jun 1, 2023
865d489
Merge pull request #6686 from dismad/patch-ZecHub
nuttycom Jun 1, 2023
14a7453
Merge pull request #6692 from nuttycom/fix/wallet_test_nondeterminism_2
nuttycom Jun 1, 2023
08ca5bf
Upgrade to the latest incrementalmerkletree & bridgetree versions.
nuttycom Jan 31, 2023
61d16b5
Regenerate cargo-vet exemptions
nuttycom May 31, 2023
85148bc
Remove unnecessary dependencies pulled in by proptest.
ebfull May 31, 2023
c6762d0
Merge pull request #6549 from nuttycom/upgrade/latest_bridgetree
nuttycom Jun 2, 2023
7c9cef3
Store 2^16 subtree roots for the Sapling note commitment tree in the …
ebfull Jun 1, 2023
c5931df
Address comments raised during code review.
ebfull Jun 2, 2023
f4f3a58
Merge pull request #6691 from ebfull/sapling-subtrees
nuttycom Jun 3, 2023
7a3656d
Strengthen AllowRevealedSenders
sellout Mar 9, 2023
9d6f557
Have COutput carry its CTxDestination
sellout Mar 9, 2023
089de24
Add Orchard subtree roots to the coins view.
nuttycom Jan 31, 2023
17c530b
rpc: Add `z_getsubtreesbyindex` RPC method
str4d May 18, 2023
cf2b6c7
rpc: Add `trees` field to `getblock` RPC output
str4d May 19, 2023
1ba86ac
Fix a potential null-pointer dereference.
nuttycom Jun 3, 2023
7d3a5c5
Merge pull request #6467 from sellout/wallet_tx_builder/stronger-reve…
nuttycom Jun 3, 2023
4f15d0b
Merge pull request #6431 from nuttycom/feature/track_2pow16_nodes
nuttycom Jun 4, 2023
59ec594
Change incorrect uses of "is not" to "!=".
daira Jun 5, 2023
325eabf
Use a `limit` parameter instead of `end_index` for `z_getsubtreesbyin…
nuttycom Jun 5, 2023
7fe06d5
Improve handling of UAs as account proxies
daira Jun 5, 2023
54fb03f
Restructure InvalidFunds error message
daira Jun 5, 2023
a570293
Reformat InvalidFunds error message (this only changes indentation).
daira Jun 5, 2023
de8c7a2
Merge pull request #6457 from sellout/wallet_tx_builder/account-proxy
nuttycom Jun 6, 2023
2c28ca9
Remove `depth` property from `z_getsubtreesbyindex` result & fix docs.
nuttycom Jun 6, 2023
26b3b11
Merge pull request #6677 from str4d/z_getsubtreesbyindex
nuttycom Jun 6, 2023
5e75bfa
Update to released versions of patch dependencies.
nuttycom Jun 6, 2023
f4be08a
Circleci project setup (#1)
PaulLaux Mar 29, 2022
bd5b826
Custom librustzcash
alexeykoren Dec 19, 2022
b4748d4
Re-enable last faling test
alexeykoren Dec 19, 2022
5c85824
Update Orchard
alexeykoren Dec 23, 2022
d97ca57
AssetId WIP
alexeykoren Dec 12, 2022
4494e73
Add Asset to Builder interface
alexeykoren Dec 30, 2022
ce2a5c4
Native Asset FFI
alexeykoren Jan 3, 2023
b82abc5
ZSA balances RPC
alexeykoren Jan 16, 2023
2a92eef
Linter
alexeykoren Jan 16, 2023
29be650
Fix include guard
alexeykoren Jan 16, 2023
a197b42
Fix config.offline
alexeykoren Jan 16, 2023
2df684b
Re-enable InvalidOrchardShieldedCoinbase test
alexeykoren Feb 4, 2023
cf94881
AssetId derivation
alexeykoren Feb 4, 2023
91ee718
Fix fmt
alexeykoren Feb 6, 2023
31615fb
Fix cargo patches
alexeykoren Feb 6, 2023
748970c
Update Orchard version
alexeykoren Feb 15, 2023
23d9c66
Rename ZEC to Native + small fixes
alexeykoren Feb 20, 2023
ed2f83a
Rebase
alexeykoren Jan 31, 2023
bf2e732
Pre-zsa-bundle version
alexeykoren Feb 22, 2023
f9888f7
Reorganize issuance
alexeykoren Feb 25, 2023
9a29efb
cxxbridge for issuance
alexeykoren Mar 3, 2023
6def405
Issuance RPC WIP
alexeykoren Mar 15, 2023
46e1d8a
RPC test and fixes
Mar 18, 2023
37b9522
Issance RPC and Wallet
alexeykoren Apr 20, 2023
55c6dce
Green tests
alexeykoren May 8, 2023
ae7c271
Py test update
alexeykoren May 8, 2023
eabc74e
CI checks fixed
alexeykoren May 10, 2023
2b960be
Temp fix for cargo patches
alexeykoren May 10, 2023
3cceb04
Rebase
alexeykoren Jul 10, 2023
e3e663d
Test upgrade
alexeykoren Jul 11, 2023
0600f36
Test comments fix
alexeykoren Jul 11, 2023
5954e18
merge old transfer
alexeykoren Jun 12, 2023
7d2f057
Asset transfer
alexeykoren Jul 18, 2023
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
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .cargo/config.offline
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,15 @@ linker = "aarch64-linux-gnu-gcc"
[source.crates-io]
replace-with = "vendored-sources"

[source."https://github.com/QED-it/librustzcash"]
git = "https://github.com/QED-it/librustzcash"
rev = "b35afbce395ada0c3d62373ffa12f7a7e4f82e81"
replace-with = "vendored-sources"

[source."https://github.com/QED-it/orchard"]
git = "https://github.com/QED-it/orchard"
rev = "3518629964805c46598c7ccc4764ea6f42fbd5c5"
replace-with = "vendored-sources"

[source.vendored-sources]
# The directory for this source is set to RUST_VENDORED_SOURCES by src/Makefile.am
48 changes: 48 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
build:
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
docker:
- image: cimg/base:2022.03
# Add steps to the job
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
steps:
- checkout
- run:
name: "Build all"
command: |
ls -l;
pwd;
sudo apt update && sudo apt install libncurses5 automake libtool bsdmainutils;
CONFIGURE_FLAGS=--enable-online-rust ./zcutil/build.sh -j8
# ./zcutil/build.sh -j8
- run:
name: Compress Artifacts
command: tar -cvzf zcashd-artifact.tar ./src/zcashd ./src/zcash-cli ./src/zcashd-wallet-tool ./src/zcash-tx

- store_artifacts:
path: /home/circleci/project/zcashd-artifact.tar

# - run:
# name: "gtest all"
# command: |
# ./src/zcash-gtest --gtest_break_on_failure
#
# - run:
# name: "python tests all"
# command: |
# ./qa/pull-tester/rpc-tests.py


# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
build-workflow:
jobs:
- build
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[{Makefile*, *.mk}]
indent_style = tab
22 changes: 5 additions & 17 deletions .github/workflows/audits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Install cargo-vet
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-vet

- name: Run cargo vet --locked
uses: actions-rs/cargo@v1
with:
command: vet
args: --locked
- uses: dtolnay/rust-toolchain@stable
id: toolchain
- run: rustup override set ${{steps.toolchain.outputs.name}}
- run: cargo install cargo-vet --version ~0.6
- run: cargo vet --locked
5 changes: 1 addition & 4 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ jobs:
mdbook-version: 'latest'

- name: Install mdbook-katex
uses: actions-rs/cargo@v1
with:
command: install
args: mdbook-katex
run: cargo install mdbook-katex

- name: Build zcashd book
run: mdbook build doc/book/
Expand Down
117 changes: 117 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
name: Build

on: [push, pull_request]

jobs:
build:
name: Tier ${{ matrix.tier }} platform ${{ matrix.platform }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.tier == 3 }}
strategy:
matrix:
include:
- name: ubuntu-20.04
tier: 1
platform: Ubuntu 20.04
os: ubuntu-20.04

- name: ubuntu-22.04
tier: 3
platform: Ubuntu 22.04
os: ubuntu-22.04

- name: macos-11
tier: 3
platform: macOS Big Sur 11
os: macos-11
brew_deps: >
autoconf
automake
coreutils
libtool
pkgconfig

- name: mingw32
tier: 3
platform: Windows (64-bit MinGW)
os: ubuntu-latest
cross_deps: >
mingw-w64
host: HOST=x86_64-w64-mingw32

- name: aarch64-linux
tier: 3
platform: ARM64 Linux
os: ubuntu-latest
cross_deps: >
g++-aarch64-linux-gnu
host: HOST=aarch64-linux-gnu

steps:
- uses: actions/checkout@v3

- name: Install Homebrew build dependencies
if: matrix.brew_deps != ''
run: brew install ${{ matrix.brew_deps }}

- name: Install cross-compilation build dependencies
if: matrix.cross_deps != ''
run: sudo apt install ${{ matrix.cross_deps }}

- name: Configure MinGW to use POSIX variant
if: matrix.name == 'mingw32'
run: |
sudo update-alternatives --set x86_64-w64-mingw32-gcc $(update-alternatives --query x86_64-w64-mingw32-gcc | grep Alternative | grep posix | cut -d' ' -f2)
sudo update-alternatives --set x86_64-w64-mingw32-g++ $(update-alternatives --query x86_64-w64-mingw32-g++ | grep Alternative | grep posix | cut -d' ' -f2)

- name: Cache built dependencies
uses: actions/cache@v3
with:
path: depends/built
key: ${{ matrix.name }}-built-${{ hashFiles('depends/Makefile', 'depends/funcs.mk') }}-${{ hashFiles('depends/packages/*.mk', 'depends/patches/**/*') }}
restore-keys: |
${{ matrix.name }}-built-${{ hashFiles('depends/Makefile', 'depends/funcs.mk') }}-

- name: Prepare ccache timestamp
id: ccache_cache_timestamp
shell: bash
run: echo "timestamp=$(date +'%Y-%m-%d-%H;%M;%S')" >> "$GITHUB_OUTPUT"

- name: Cache ccache files
uses: actions/cache@v3
with:
path: ~/.cache/ccache
key: ${{ matrix.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: |
${{ matrix.name }}-ccache-

- name: Build zcashd
id: build
run: >
${{ matrix.host }}
./zcutil/build.sh
-j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)"

- name: Build zcashd with libraries enabled
if: ${{ always() && steps.build.outcome == 'success' }}
run: >
CONFIGURE_FLAGS="--with-libs"
${{ matrix.host }}
./zcutil/build.sh
-j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)"

- name: Build zcashd with wallet disabled
if: ${{ always() && steps.build.outcome == 'success' }}
run: >
CONFIGURE_FLAGS="--disable-wallet"
${{ matrix.host }}
./zcutil/build.sh
-j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)"

- name: Build zcashd with mining disabled
if: ${{ always() && steps.build.outcome == 'success' }}
run: >
CONFIGURE_FLAGS="--disable-mining"
${{ matrix.host }}
./zcutil/build.sh
-j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)"
19 changes: 3 additions & 16 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,14 @@ jobs:
if: always()

rust-clippy:
name: Clippy (1.64.0)
name: Clippy (MSRV)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.64.0
components: clippy
override: true
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
name: Clippy (1.64.0)
name: Clippy (MSRV)
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -- -D warnings

Expand All @@ -96,12 +91,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.64.0
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- run: cargo fmt -- --check
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ confdefs.h
conftest.cpp
conftest.err

cache/
venv-mnf/
src/univalue/gen

Expand Down Expand Up @@ -130,3 +129,5 @@ src/fuzzing/*/output
src/fuzz.cpp

.updatecheck-token
.env
poetry.lock
6 changes: 3 additions & 3 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Copyright (c) 2016-2022 The Zcash developers
Copyright (c) 2009-2022 The Bitcoin Core developers
Copyright (c) 2009-2022 Bitcoin Developers
Copyright (c) 2016-2023 The Zcash developers
Copyright (c) 2009-2023 The Bitcoin Core developers
Copyright (c) 2009-2023 Bitcoin Developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading