Duke Leto
be16f80abc
Hush Full Node is now GPLv3
Any projects which want to use Hush code from now on will need to be licensed as
GPLv3 or we will send the lawyers: https://www.softwarefreedom.org/
Notably, Komodo (KMD) is licensed as GPLv2 and is no longer compatible to receive
code changes, without causing legal issues. MIT projects, such as Zcash, also cannot pull
in changes from the Hush Full Node without permission from The Hush Developers,
which may in some circumstances grant an MIT license on a case-by-case basis.
4 years ago
Duke Leto
a7f88a87aa
Update copyright URL to be https
4 years ago
Duke Leto
42a862650b
desprout
4 years ago
Duke Leto
ed91f0188b
We aint got no JoinSplits around here
4 years ago
ca333
492d6703ed
sync jl777:FSM
6 years ago
Eirik Ogilvie-Wigley
4fc309f0f5
Rename Merkle Trees to include sprout or sapling
6 years ago
Eirik Ogilvie-Wigley
762ee0e896
Rename typename
6 years ago
Eirik Ogilvie-Wigley
115b26cb27
Add BOOST_TEST_CONTEXT to distinguish sprout v. sapling
6 years ago
Eirik Ogilvie-Wigley
3182b4abc3
Add tests for sapling anchors
6 years ago
Jack Grigg
e5eab182b5
Use boost::variant to represent shielded addresses and keys
libzcash::PaymentAddress has been renamed to libzcash::SproutPaymentAddress,
and a new typedef boost::variant is now libzcash::PaymentAddress. Similarly
for ViewingKey and SpendingKey.
A new class InvalidEncoding is introduced as the default boost::variant
option for each address and key type; it is used during decoding instead
of boost::optional.
All address and key storage functions in the wallet have been modified to
refer specifically to the Sprout types, as they are used very precisely.
In most other cases, the more general type is leveraged as much as possible,
and we convert to the Sprout type when necessary. This will be subsequently
wrapped in, or replaced with, context-specific functions once Sapling
types are implemented.
6 years ago
Sean Bowe
8c57bbac15
Fix broken error messages.
6 years ago
Sean Bowe
673a0a79b3
Adjust tests to handle Sapling anchor cache
6 years ago
Sean Bowe
c643ff0b51
Add support for PopAnchor(.., SPROUT/SAPLING)
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
Simon
b230fe6836
Refactoring: Rename class libzcash::Note to libzcash::SproutNote.
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
jl777
e73b2055c6
Merge branch 'beta' into mergemaster
# Conflicts:
# src/main.cpp
6 years ago
21E14
8cb98d9105
Remove obsolete reference to CValidationState from UpdateCoins.
8 years ago
Pieter Wuille
6bd1d60c97
Separate core memory usage computation in core_memusage.h
9 years ago
Jorge Timón
e079f010bf
Consensus: Refactor: Separate Consensus::CheckTxInputs and GetSpendHeight in CheckInputs
Zcash:
- Replaces some of the refactoring performed in #1017
- Exposed Consensus::CheckTxInputs for testing
9 years ago
Sean Bowe
08de001a25
Regression test.
8 years ago
Sean Bowe
f398a94766
Anchors and nullifiers should always be inherited from the parent cache.
8 years ago
Simon
43f0769cf6
Fix build problem with coins_tests
8 years ago
Pieter Wuille
abd22bb674
Add tests for CCoins deserialization
8 years ago
Simon
805344dcf4
Refactor: replace calls to GetTxid() with GetHash()
8 years ago
Simon
10d2c57c0d
Replace calls to GetHash() with GetTxid() for transaction objects.
Where the caller intends to receive a transaction id and not a double
SHA256 hash.
8 years ago
Sean Bowe
22de160219
Fixes for indentation and local variable names.
8 years ago
Sean Bowe
28173cd0de
Remove more usage of `serial`.
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
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
8675d94b63
Rename vpour to vjoinsplit.
8 years ago
Sean Bowe
a8c68ffe99
Rename CPourTx to JSDescription.
8 years ago
Sean Bowe
ffcd1c57cc
Update tests with cache usage computations
8 years ago
Sean Bowe
c0dde76d8a
Disable coinbase-must-be-protected rule on regtest.
8 years ago
Sean Bowe
1d38795f50
Prevent coinbases from being spent to transparent outputs.
8 years ago
Sean Bowe
ecd8ca5dbe
Minor changes to coins_tests.
8 years ago