f5b23b3336
Prior to this change, calling `join_network` after a network split only worked in the case that no new non-coinbase transactions were created during the network partition; in the case that such a transaction was created, `join_network` would fail when waiting for mempool synchronization, because zcashd nodes do not. automatically broadcast their mempool contents on restart. This change modifies `setup_network` to wait for mempool synchronization or not on the basis of a newly added do_mempool_sync flag. In the case of `join_network`, this flag is set to `False`; the default value is set to `True` to preserve previous functionality elsewhere. Tests should explicitly use the `resendwallettransactions` RPC method to ensure that mempool transactions are rebroadcast before attempting to synchronize the network after a `join_network` call. |
||
---|---|---|
.cargo | ||
.github | ||
build-aux/m4 | ||
contrib | ||
depends | ||
doc | ||
qa | ||
share | ||
src | ||
test/lint | ||
zcutil | ||
.gitattributes | ||
.gitignore | ||
CONTRIBUTING.md | ||
COPYING | ||
Cargo.lock | ||
Cargo.toml | ||
INSTALL | ||
Makefile.am | ||
README.md | ||
SECURITY.md | ||
autogen.sh | ||
code_of_conduct.md | ||
configure.ac | ||
libzcash_script.pc.in | ||
rust-toolchain |
README.md
Zcash 4.6.0-1
What is Zcash?
Zcash is an implementation of the "Zerocash" protocol. Based on Bitcoin's code, Zcash intends to offer a far higher standard of privacy through a sophisticated zero-knowledge proving scheme that preserves confidentiality of transaction metadata. More technical details are available in our Protocol Specification.
This software is the Zcash client. It downloads and stores the entire history of Zcash transactions; depending on the speed of your computer and network connection, the synchronization process could take a day or more once the blockchain has reached a significant size.
🔒 Security Warnings
See important security warnings on the Security Information page.
Zcash is experimental and a work in progress. Use it at your own risk.
📒 Deprecation Policy
This release is considered deprecated 16 weeks after the release day. There is an automatic deprecation shutdown feature which will halt the node some time after this 16-week period. The automatic feature is based on block height.
Getting Started
Please see our user guide for joining the main Zcash network.
Need Help?
- 📘 See the documentation at the ReadTheDocs for help and more information.
- 📨 Ask for help on the Zcash forum.
- 💬 Join our community on Discord
Participation in the Zcash project is subject to a Code of Conduct.
Building
Build Zcash along with most dependencies from source by running the following command:
./zcutil/build.sh -j$(nproc)
Currently, Zcash is only officially supported on Debian and Ubuntu. See the Debian / Ubuntu build for detailed instructions.
License
For license information see the file COPYING.