Commit Graph

582 Commits

Author SHA1 Message Date
Duke Leto
b9fd0ce900 Fix bugs in porting zec upstream code 2020-09-07 08:34:19 -04:00
Jonathan "Duke" Leto
ad3e5db501 Update help regarding new -wallet option for relative paths 2020-09-04 19:40:29 -07:00
Jonathan "Duke" Leto
5315ded786 Support wallet.dat outside of datadir
Ported from 6a7cfdea54
which did not apply cleanly.
2020-09-04 19:31:05 -07:00
Duke Leto
bfbe4e9553 Tweak some logging 2020-07-28 11:38:16 -04:00
Duke Leto
c14e7102bf Reduce noise 2020-07-28 11:11:21 -04:00
Duke Leto
cf83dc135a Merge branch 'danger' into sietch_dynamic 2020-07-22 09:39:48 -04:00
Duke Leto
47aaeea0c9 Merge branch 'dev' into duke 2020-07-22 09:34:15 -04:00
Miodrag Popović
33358740f4 malloc.h conditional inclusion
malloc.h header is also glibc specific
2020-07-21 10:26:42 +02:00
Jonathan "Duke" Leto
7227739733 Merge branch 'dev' into duke 2020-07-20 06:25:50 -07:00
miodragpop
534efcb65d malloc_trim is glibc specific 2020-07-17 02:28:27 +02:00
Duke Leto
d4883bce7c More timedate changes from KMD 0.6 2020-07-09 10:31:12 -04:00
Duke Leto
a7cd2b3750 Chill out on the logspam 2020-06-18 06:41:26 -04:00
Duke Leto
9bcf13bf4a report invalid roots 2020-06-18 05:40:04 -04:00
Duke Leto
4800f497aa Fix copyright 2020-06-17 22:32:00 -04:00
Duke Leto
6e31ee3b1d fix 2020-06-17 10:41:33 -04:00
Duke Leto
4de60497c8 Refactor GetSaplingWitnesses code and add some logging 2020-06-17 00:04:55 -04:00
Duke Leto
5a601d1431 desprout 2020-06-08 11:13:17 -04:00
Duke Leto
dd95b1471c desprout 2020-06-06 14:48:16 -04:00
Duke Leto
f13171efc6 desprout 2020-06-06 05:14:21 -04:00
Duke Leto
86a98587a1 desprout 2020-06-05 10:14:52 -04:00
Duke Leto
5be12774f4 desprout 2020-06-02 02:40:18 -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
d265f782e7 desprout 2020-05-29 23:35:11 -04:00
Duke Leto
1010c7e8e4 Throw a logic error instead of asserting when we see weird witness shenanigans 2020-05-29 23:32:41 -04:00
Duke Leto
9c5a4e682e desprout 2020-05-29 23:10:05 -04:00
Duke Leto
095157d2d9 Remove sprout junk 2020-05-11 06:42:01 -04:00
Duke Leto
8a4e72fca2 Remove some sprout code from BuildWitnessCache 2020-05-08 08:57:34 -04:00
Duke Leto
4d56e542a8 Do not look for sprout notes 2020-04-06 23:07:11 -04:00
Duke Leto
e03ef7f108 Avoid notes with height=0 2020-04-06 23:05:20 -04:00
Duke Leto
2e51538df8 Add some debug 2020-03-16 07:58:12 -04:00
Duke Leto
707d50e894 Only malloc_trim on unix+windows 2020-03-15 15:18:00 -04:00
Duke Leto
1beb2b1fa8 Remove more sprouty code 2020-03-10 07:22:23 -04:00
Duke Leto
d8477c4d7b Remove some more sprout code, yay 2020-03-09 21:28:09 -04:00
Duke Leto
e4bfafc76c Better error checking in consolidation for when CommitTransaction() fails 2020-03-09 21:02:52 -04:00
Duke Leto
a2b3316664 Port PR93 from @denioD 2020-03-07 13:55:12 -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
1ddae646bf Return global nullifier count for zindex stats 2020-01-02 13:21:50 -05:00
Duke Leto
c0ca9ee8fe Log the sizes of various datastructures about nullifiers when NullifierCount() is called, if -zdebug 2020-01-02 12:46:35 -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
d4630174cc Delete some sprout junk 2019-12-28 11:51:29 -05:00
Duke Leto
e8509dd525 It is called hush_hardfork_active now 2019-12-13 11:08:10 -05:00
Duke Leto
02c34367bf src/wallet/wallet.cpp upstream changes 2019-12-12 19:19:28 -05:00
Duke Leto
e87d029968 Mostly-working Hush full node sans Verus!!!
Every line of Verus-specific code has been removed from the codebase.
This code compiles on Linux and can do a partial sync. A full sync
and other extensive tests need to be done before it's merged into
the duke branch.

BUGS:

One known bug is that the node starts to CPU mine by default, lol.
2019-11-05 09:42:21 -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
Duke Leto
cae920cf69 More stuff 2019-10-05 13:05:54 -04:00