Jack Grigg
f7f6c2070d
wallet: Only store successful trial decryptions in batch scanner
...
Previously we were sending an `Option<DecryptedNote>` from each `Batch`
back to its parent `BatchRunner`. However, this requires allocating
sufficient space in the channel to handle the case where every output
can be decrypted. In general this will not be the case, and we can
instead signal "nothing decrypted" by just dropping the channel sender.
This reduces the post-batch-scanning memory usage of `BatchRunner` from
being linear in the number of on-chain outputs, to being linear in the
number of outputs for the wallet.
2022-09-21 01:27:42 +00:00
Jack Grigg
0072ea2447
wallet: Set a memory limit of 100 MiB for batch scanning
2022-09-21 01:27:42 +00:00
Jack Grigg
7bb6ff38d9
wallet: Collect metrics on the number of scanned outputs
2022-09-21 01:27:42 +00:00
Jack Grigg
e88ea11055
wallet: Add dynamic memory usage tracking to `BatchScanner`
2022-09-21 01:27:42 +00:00
Nathan Wilcox
b8ed6aaa99
Update rust.md
2022-09-01 10:01:38 -07:00
Daira Hopwood
2621efd0da
Update doc/book/src/user/security-warnings.md
2022-08-30 14:40:34 +01:00
Daira Hopwood
a6c05f1a28
Apply suggestions from code review
2022-08-30 14:39:37 +01:00
Kris Nuttycombe
fbdfbae593
Move restored documentation into the zcashd book
2022-08-25 10:44:11 -06:00
Greg Pfeil
07d52d006e
Backport tor.md changes from readthedocs
...
This is an separate from the other backporting because this was an upstream
document, so isolating it helps with future backports from upstream.
2022-08-25 10:44:11 -06:00
Kris Nuttycombe
ad72a606c2
Backport changes from zcash.readthedocs.io
2022-08-25 10:44:11 -06:00
Kris Nuttycombe
e9234ed50f
Fix documentation line wrapping
2022-08-25 10:44:09 -06:00
Kris Nuttycombe
ef07ba47bc
Revert "redirect and update source documentation"
...
This reverts commit 70ebc0942a
.
2022-08-25 10:29:54 -06:00
Kris Nuttycombe
df6e05173e
Merge pull request #6083 from zcash/leveldb-1.22
...
Update LevelDB to 1.22+
2022-08-10 18:14:43 -06:00
Sean Bowe
b63dc026c7
make-release.py: Updated release notes and changelog for 5.2.0.
2022-07-25 12:42:25 -06:00
Sean Bowe
011092e608
make-release.py: Updated manpages for 5.2.0.
2022-07-25 12:42:25 -06:00
Kris Nuttycombe
9186131098
Fix incomplete release notes for witness pruning.
2022-07-22 17:14:28 -06:00
Kris Nuttycombe
c2f8318444
make-release.py: Updated release notes and changelog for 5.2.0-rc1.
2022-07-22 15:52:42 -06:00
Kris Nuttycombe
7125a164ad
make-release.py: Updated manpages for 5.2.0-rc1.
2022-07-22 15:49:26 -06:00
Kris Nuttycombe
c6da56c216
Update release notes for v5.2.0.
...
This also updates the v5.1.0 release notes with a change that had
been previously missed.
2022-07-22 15:40:52 -06:00
Wladimir J. van der Laan
f0d57e8948
doc: Add crc32c subtree to developer notes
...
(cherry picked from commit bitcoin/bitcoin@7cf13a5134 )
2022-07-16 12:01:22 +01:00
Pieter Wuille
204d0c37ab
Do not store Merkle branches in the wallet.
...
Assume that when a wallet transaction has a valid block hash and transaction position
in it, the transaction is actually there. We're already trusting wallet data in a
much more fundamental way anyway.
To prevent backward compatibility issues, a new record is used for storing the
block locator in the wallet. Old wallets will see a wallet file synchronized up
to the genesis block, and rescan automatically.
(cherry picked from commit bitcoin/bitcoin@391dff16fe )
2022-07-08 21:03:40 +00:00
Jack Grigg
dda0f79277
doc: Add `decoderawtransaction` to 5.1.0 release notes
2022-07-08 10:27:04 +00:00
Jack Grigg
4d7ce75ef1
make-release.py: Updated release notes and changelog for 5.1.0.
2022-07-08 03:01:54 +00:00
Jack Grigg
d79b6ca209
make-release.py: Updated manpages for 5.1.0.
2022-07-08 03:01:54 +00:00
Jack Grigg
c1b40ec2a8
Add missing release note entries for 5.1.0
2022-07-08 02:47:34 +00:00
Jack Grigg
5230c9f2f4
miner: Disable proof and signature checks in CreateNewBlock
...
The only source of transactions for `CreateNewBlock` is the mempool, and
every transaction added to the mempool goes through `AcceptToMemoryPool`
which checks proofs and signatures.
We maintain the ability to enable these checks in `TestBlockValidity`
because it is also used in an (undocumented) `getblocktemplate` mode to
check a proposed block (minus PoW), where we cannot assume the
transactions are valid.
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2022-07-06 19:38:15 +00:00
sasha
eb43bc5c02
make-release.py: Updated release notes and changelog for 5.1.0-rc1.
2022-07-05 22:25:25 +00:00
sasha
14b3c21f4a
make-release.py: Updated manpages for 5.1.0-rc1.
2022-07-05 22:25:25 +00:00
Jack Grigg
cb5a4acca9
Update release notes
2022-07-05 21:36:45 +00:00
Kris Nuttycombe
59cabff22d
Deprecate the `vjoinsplit` field of `gettransaction` results.
...
Author: Kris Nuttycombe <kris@nutty.land>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-07-01 15:47:16 +01:00
Jack Grigg
ee256e2350
book: Add section about auditing Rust dependencies
2022-06-09 17:00:15 +00:00
Kris Nuttycombe
f3a9dcc0cf
Mark the `dumpwallet` RPC method as disabled.
...
Fixes #5513
2022-05-26 14:31:26 -06:00
Kris Nuttycombe
1b5ab4a06e
Merge pull request #5967 from nuttycom/feature/prefer_V4_tx_creation
...
Add a CLI flag to preferentially send V4 tx.
2022-05-26 09:11:47 -06:00
Kris Nuttycombe
9691d86047
Add a CLI flag to preferentially send V4 tx.
...
Since the wallet ecosystem may not be fully updated to handle
v5 transaction parsing at the point of NU5 activation, some
nodes may prefer to construct V4 transactions when not including
Orchard transaction components.
This change adds a CLI flag that allows node users to specify
that preference.
2022-05-26 07:26:38 -06:00
Jack Grigg
dd51f0995e
book: Add FreeBSD to tier 3 platforms list
2022-05-24 13:40:15 +00:00
Jack Grigg
a94b26f029
book: Capitalize key words in platform tier policy
2022-05-24 13:11:12 +00:00
Jack Grigg
9f6b7ab85a
book: Add platform support information and tier policy
2022-05-12 10:58:07 +00:00
Kris Nuttycombe
40c2d02997
Fix incorrect links in 5.0.0 release notes.
2022-05-11 14:54:22 -06:00
Kris Nuttycombe
16b49eadd5
Update v5.0.0 release notes to note NU5 upgrade
2022-05-10 20:14:00 -06:00
Kris Nuttycombe
10fb705f45
make-release.py: Updated release notes and changelog for 5.0.0.
2022-05-10 19:52:28 -06:00
Kris Nuttycombe
f97d83981f
make-release.py: Updated manpages for 5.0.0.
2022-05-10 19:52:28 -06:00
Kris Nuttycombe
721e5d85ab
Deprecate `getrawchangeaddress` and `z_listaddresses`
2022-05-10 16:23:15 -06:00
Kris Nuttycombe
c6ceeb1646
Merge pull request #5934 from nuttycom/fix/release-notes-typos
...
Fix typos in release notes & Orchard wallet internal API doc.
2022-05-09 12:52:35 -06:00
Kris Nuttycombe
7defcb8341
Merge pull request #5926 from nuttycom/deprecation/z_getbalance
...
Add z_get(total)balance to deprecation flags.
2022-05-09 12:52:16 -06:00
Jack Grigg
64ccad1a89
make-release.py: Updated release notes and changelog for 5.0.0-rc1.
2022-05-09 15:35:33 +00:00
Jack Grigg
e7f04c1741
make-release.py: Updated manpages for 5.0.0-rc1.
2022-05-09 15:35:33 +00:00
Kris Nuttycombe
f41ccaf244
Fix typos in release notes & Orchard wallet internal API doc.
2022-05-09 09:30:02 -06:00
Kris Nuttycombe
731df21da7
Fix a typo in the release script.
2022-05-09 09:12:46 -06:00
Kris Nuttycombe
8ca33e06f7
Merge pull request #5919 from nuttycom/feature/z_sendmany_tx_limit
...
Add -orchardactionlimit parameter to guard against memory exhaustion.
2022-05-09 08:39:09 -06:00
Kris Nuttycombe
5c1a99a288
Merge pull request #5917 from nuttycom/feature/wallet_orchard-checkpoint_depth
...
Select anchors at `-anchorconfirmations` depth.
2022-05-09 08:29:55 -06:00