Daira Hopwood
bc909a7a7f
Replace http with https: in links to the MIT license.
Also change MIT/X11 to just MIT, since no distinction was intended.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
5 years ago
Dimitris Apostolou
f57f76d789
Rename vjoinsplit to vJoinSplit
5 years ago
arielgabizon
06affbca05
rename HaveJoinSplitRequirements for Sapling
6 years ago
Alex Morcos
7335afabd4
ModifyNewCoins saves database lookups
When processing a new transaction, in addition to spending the Coins of its txin's it creates a new Coins for its outputs. The existing ModifyCoins function will first make sure this Coins does not already exist. It can not exist due to BIP 30, but because of that the lookup can't be cached and always has to go to the database. Since we are creating the coins to match the new tx anyway, there is no point in checking if they exist first anyway.
Zcash: Modified to account for the fact that BIP 30 and BIP 34 have applied
from the beginning.
9 years ago
Eirik Ogilvie-Wigley
51e6ed6110
Move FIXME comment to where the fix should happen
6 years ago
Eirik Ogilvie-Wigley
a13492744d
Use max priority for all shielded transfers
6 years ago
Eirik Ogilvie-Wigley
4fc309f0f5
Rename Merkle Trees to include sprout or sapling
6 years ago
Eirik Ogilvie-Wigley
3182b4abc3
Add tests for sapling anchors
6 years ago
Jack Grigg
97b46f00cc
Add valueBalance to value balances, and enforce its consensus rules
6 years ago
Sean Bowe
8c57bbac15
Fix broken error messages.
6 years ago
Sean Bowe
e390a475c1
Fix outdated comment
6 years ago
Sean Bowe
1f8be05b63
Add consensus support for Sapling merkle trees.
6 years ago
Sean Bowe
85b39f57bb
Add `PushSaplingAnchor`
6 years ago
Sean Bowe
c643ff0b51
Add support for PopAnchor(.., SPROUT/SAPLING)
6 years ago
Sean Bowe
27616b9a04
Add support for Sapling anchors in coins/txdb.
6 years ago
Sean Bowe
7703a673ea
Generalize the PushAnchor implementation behavior.
6 years ago
Sean Bowe
9ea4e387b2
Generalize the PopAnchor implementation behavior.
6 years ago
Sean Bowe
18322f074c
Introduce support for GetBestAnchor(SAPLING).
6 years ago
Sean Bowe
2bd59e1473
Rename PushAnchor to PushSproutAnchor.
6 years ago
Sean Bowe
008f4ee8e7
Rename GetAnchorAt to GetSproutAnchorAt.
6 years ago
Sean Bowe
08f0728884
Rename hashAnchor to hashSproutAnchor.
6 years ago
Sean Bowe
d455828fdc
Specifically describe anchors as Sprout anchors.
6 years ago
Sean Bowe
28d20bdb11
Rename NullifierType to ShieldedType.
6 years ago
Jack Grigg
1f9dfbb9f0
Fix -Wstring-plus-int warning on clang
6 years ago
Eirik Ogilvie-Wigley
9669920f75
Rename nullifier caches and maps to indicate sprout nullifiers
6 years ago
Eirik Ogilvie-Wigley
cab341e1a8
Add sapling nullifiers to db and mempool
6 years ago
Eirik Ogilvie-Wigley
708c87f16d
Add enum for nullifier type
6 years ago
Eirik Ogilvie-Wigley
685e936c31
Add sapling nullifier set
6 years ago
Daira Hopwood
ec19e8e283
Simplify JoinSplit priority calculation. refs 1896
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Jack Grigg
43a03e3bfc
Migrate IncrementalMerkleTree memory usage calls
7 years ago
Pieter Wuille
6bd1d60c97
Separate core memory usage computation in core_memusage.h
9 years ago
Sean Bowe
ebd9aa11b1
Ensure cache contains valid entry when anchor is popped.
8 years ago
Simon
520ced1405
Closes #1857 . Fixes bug where tx spending only notes had priority of 0.
8 years ago
Sean Bowe
f398a94766
Anchors and nullifiers should always be inherited from the parent cache.
8 years ago
Sean Bowe
9e511dbbdd
Rename CSerialsCacheEntry.
8 years ago
Sean Bowe
1d184d53e1
Rename cacheSerials to cacheNullifiers and fix tests.
8 years ago
Sean Bowe
b7e4abd6f7
Rename some usage of 'pour'.
8 years ago
Sean Bowe
bb64be52fe
Rename mapSerials to mapNullifiers.
8 years ago
Sean Bowe
d889a287ae
Rename CSerialsMap to CNullifiersMap.
8 years ago
Sean Bowe
d90e46ba8d
Renaming SetSerial to SetNullifier.
8 years ago
Sean Bowe
616f8d05af
Rename GetSerial to GetNullifier.
8 years ago
Sean Bowe
ee964faf3d
Rename HavePourRequirements to HaveJoinSplitRequirements.
8 years ago
Sean Bowe
942bc46756
Rename GetPourValueIn to GetJoinSplitValueIn
8 years ago
Sean Bowe
bfeaf0049a
Rename JSDescription's `serials` to `nullifiers`.
8 years ago
Sean Bowe
8675d94b63
Rename vpour to vjoinsplit.
8 years ago
Sean Bowe
a8c68ffe99
Rename CPourTx to JSDescription.
8 years ago
Sean Bowe
7f3c7a683b
Flush to disk more consistently by accounting memory usage of serials/anchors in cache.
8 years ago
Sean Bowe
6c59778acb
Allow pours to be anchored to intermediate treestates of a transaction.
8 years ago
Sean Bowe
434f328446
Integrate new incremental merkle tree implementation into consensus.
8 years ago
Sean Bowe
cf47198370
Fixed a couple incremental merkle tree bugs breaking consistency checks.
9 years ago