Commit Graph

246 Commits

Author SHA1 Message Date
Jonathan "Duke" Leto
4aedeb557b Add z_sweepstatus RPC 2022-08-27 10:35:08 -07:00
Duke Leto
c6e5b07a59 You might be a king or a little street zsweeper, but sooner or later you will dance with the reaper 2022-08-24 23:38:19 -04:00
Duke Leto
e04465983c Port upstream rpc deadlock fix #77 2021-10-30 12:21:58 -04:00
Duke Leto
84f79558d5 Desprout 2021-05-19 21:32:36 -04:00
Duke Leto
4a536d62dc Update copyrights 2021-04-17 13:03:22 -04:00
Duke Leto
1063b9090a Clean up some sprout turdz 2021-04-13 20:26:54 -04:00
Duke Leto
980350b9b4 Stuck in the grind 2020-12-16 22:10:59 -05:00
Duke Leto
b58c15b9fb update copyrights 2020-12-10 07:45:36 -05:00
Duke Leto
a42c063b52 Remove more remnants of JoinSplits 2020-12-08 19:49:42 -05:00
Duke Leto
6f556c2b60 Hush dat wallet 2020-12-04 09:46:21 -05:00
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.
2020-10-21 07:28:10 -04:00
Duke Leto
a7f88a87aa Update copyright URL to be https 2020-09-20 13:17:38 -04:00
Jonathan "Duke" Leto
ad3e5db501 Update help regarding new -wallet option for relative paths 2020-09-04 19:40:29 -07:00
Duke Leto
cf83dc135a Merge branch 'danger' into sietch_dynamic 2020-07-22 09:39:48 -04:00
Duke Leto
a44fa2ede4 This datastructure is tied to the wallet.dat format on disk 2020-06-05 10:24:22 -04:00
Duke Leto
86a98587a1 desprout 2020-06-05 10:14:52 -04:00
Duke Leto
ed2c9450f9 desprout 2020-06-05 01:20:37 -04:00
Duke Leto
b32bf1f82c Revert "desprout"
This reverts commit 7c6c7150c6.
2020-06-04 21:51:21 -04:00
Duke Leto
7c6c7150c6 desprout 2020-06-03 22:20:10 -04:00
Duke Leto
eec2dd51fb wallet desprout 2020-05-30 00:44:20 -04:00
Duke Leto
ab0576a72e desprout 2020-05-29 23:47:28 -04:00
Duke Leto
a0e36da33c Spelling 2020-04-07 22:17:43 -04:00
Duke Leto
e4bfafc76c Better error checking in consolidation for when CommitTransaction() fails 2020-03-09 21:02:52 -04:00
Duke Leto
4f06ce726b Merge pull request #95 from MyHush/thread_notify
Thread notify upstream fixes
2020-03-08 05:14:40 -07:00
Duke Leto
3d7bed74c1 Port more required code 2020-03-07 17:22:41 -05:00
Duke Leto
a2b3316664 Port PR93 from @denioD 2020-03-07 13:55:12 -05:00
Duke Leto
fad66953fb Cleanup 2020-03-06 15:22:50 -05:00
Duke Leto
dc7525f12e Untested sapling consolidation plus sietch outputs to reduce metadata leakage 2020-03-04 09:17:05 -05:00
DenioD
8556f00d37 resource friendly tx reorder port from 58b05de90d 2020-02-17 21:36:17 +01:00
DenioD
6c48397cf3 Hush witness rework, many thanks to @CryptoForge for this awesome code https://github.com/Cryptoforge-alt/pirate/tree/pirate_witness_rework 2020-02-15 14:14:39 +01:00
Duke Leto
c58fef0d01 Dynamic generation of zaddrs not stored in wallet
These zaddrs can be created via:

    z_getnewaddress donotremember

and return a zaddr like normal usage, but without storing it's extended
spending key in wallet.dat. This will be utilized by Sietch to generate
dynamic zdust for every shielded transaction, preventing attacks related
to having chain-wide fixed pools of zdust.
2020-01-07 09:26:49 -05:00
Duke Leto
cc3e1c11d7 Use global mempool nullifier count, not local wallet nullifier count 2020-01-02 10:56:14 -05:00
Duke Leto
172ac60765 Initial implementation of shielded pool size. Tweaks to data stored in zindex are needed to get a more correct value 2019-12-28 12:49:01 -05:00
Duke Leto
12e7c13a84 Change datatypes, do not use VARINT, increase exception logging 2019-12-19 00:10:52 -05:00
Duke Leto
f39cd2a473 Delete Verus junk, which breaks ARMv8/aarch64 builds 2019-11-04 08:17:27 -05:00
Duke Leto
73dcf87f10 Merge upstream FSM into duke 2019-10-09 22:00:02 -04:00
Jonathan "Duke" Leto
7920cbc7e7 Merge z_viewtransaction from str4d zcash PR4146 2019-10-05 12:06:06 -04:00
ca333
85aad4be5d fix PING attack [CVE-2019-17048] 2019-10-02 21:53:47 +02:00
Jack Grigg
a581ac5e1b wallet: Skip transactions with no shielded data in CWallet::SetBestChain()
Co-authored-by: Daira Hopwood <daira@jacaranda.org>

Closes #3495.
2019-06-11 00:45:56 +08:00
Bartlomiej Lisiecki
191fc2e152 Add support for importing and exporting sapling ivk 2019-04-22 17:22:31 -07:00
jl777
58cd849591 Jl777 (#1311)
* Remove voutsum check

* Teach RPC interface about dpow-enabled minconfs (#1231)

* Make minconfs dpow-aware in z_listunspent + z_listreceivedbyaddress

* Add dpow-related test files to test suite

* Add dpow simulation to regtest every 7 blocks

* Fix compiler errors

* Fix link error

* Fix stdout spam when running regtests

* Dpowminconfs for listreceivedbyaddress

* dpowconfs tests

* Start adding specific tests for dpowminconfs in listreceivedbyaddress

* Get dpowminconfs tests for listreceivedbyaddress working

* Add dpowminconfs to getreceivedbyaddress + listunspent

* Add test for listtransactions + getreceivedbyaddress support

* Reliably passing dpowminconf tests. We only check for notarized-ness now, not exact confirmation numbers, to avoid race conditions

* Poll for the expected notarization info before running further tests; add support for getbalance

* Migrate tx_height() to a place where asyncrpcoperation_sendmany.cpp can use it

* fix

* Teach GetFilteredNotes about dpowconfs

Many RPCs rely on this internal function, which now correctly uses
dpowconfs to filter by the minconf/maxconf parameters.

* Fix sendmany when using non-default minconf

* inline seems to make things happy

* cleanup

* Add some code to test z_sendmany, which points out https://github.com/jl777/komodo/issues/1247

* try this

* Use already calculated value of dpowconfs instead of calculating it again

* Cleanup .pack file

* Remove

* Remove .pack
2019-03-03 21:42:12 -11:00
jl777
e4791f54e6 Merge branch 'FSM' into patch-gcc-8 2019-01-25 16:33:13 -11:00
jl777
93b616becd Move WITNESS_CACHE_SIZE 2019-01-09 02:32:11 -11:00
jl777
02d75902ad Move declaration WITNESS_CACHE 2019-01-09 02:30:47 -11:00
jl777
9040d03af6 Match WITNESS_CACHE_SIZE to maxreorg 2019-01-09 02:21:47 -11:00
jl777
c5b3b68ace Increase witness cache size for maxreorg 2019-01-09 02:18:19 -11:00
jl777
0ea9ae3c05 Update copyright to 2019 2018-12-31 21:41:05 -11:00
jl777
a2ea9de06f Revert txfee changes 2018-12-10 05:45:59 -11:00
jl777
5ea3f23ac9 Update three 2018-12-09 08:41:08 -11:00
miketout
6e2a502b0e Merge of Komodo and Verus Technologies Post Sapling, Pre-VerusPoP with Support for Time locked coinbases 2018-11-14 16:40:10 -08:00