Commit Graph

24386 Commits

Author SHA1 Message Date
Duke Leto
8a4e72fca2 Remove some sprout code from BuildWitnessCache 2020-05-08 08:57:34 -04:00
Duke Leto
888efff4d1 Add subatomic to dapp makefile 2020-04-30 07:06:47 -04:00
Duke Leto
70bd156655 Add dapp header to make subatomic happy 2020-04-30 07:04:52 -04:00
Duke Leto
19ddbe1280 Update subatomic json 2020-04-30 06:57:21 -04:00
Duke Leto
ed0385b524 Initial merge of subatomic dapp from KMD upstream
from dev branch of https://github.com/jl777/komodo/

commit d75041c478bcd721d44be0ab9af45c3d2ba2f69b
2020-04-30 06:51:54 -04:00
DenioD
b3c7e048ab add z_getnotescount as rpc call ported for Hush from https://github.com/zcash/zcash/pull/4465 2020-04-25 00:30:06 +02:00
Duke Leto
1009c7933d CLI arg -z2zforkheight and avoid a compiler warning 2020-04-16 22:10:25 -04:00
Duke Leto
d170d08260 Merge pull request #98 from csharpee/bugsbunny
updated undefined behavior in accordance with zcash remedy rex4539 #4056
2020-04-16 08:43:46 -04:00
Duke Leto
41a4c84633 Refactor z2z and additionally set ac_private=1 when loading block index from disk
This should avoid the edge case when a node starts up after the z2z block height but
has not yet seen a new block and so does not yet know it is an -ac_private=1 chain,
as currently that is set in ConnectBlock.
2020-04-15 02:39:18 -04:00
Duke Leto
a2013ecc39 Fix incorrect error message 2020-04-15 02:07:19 -04:00
Duke Leto
77cc82428b Hush Smart Chains 2020-04-15 00:59:47 -04:00
Duke Leto
e515560837 Improve and remove mention of sprout in this error message 2020-04-14 22:27:24 -04:00
Duke Leto
3d9e662266 Switch to -ac_private=1 at our z2z fork height 2020-04-14 07:53:01 -04:00
Duke Leto
bd88898ce0 Implement z2z transition period for mempool 2020-04-12 05:55:08 -04:00
Duke Leto
a0e36da33c Spelling 2020-04-07 22:17:43 -04:00
Duke Leto
be4812bd29 Use fee=0 if we do not have enough funds in this zaddr to pay a fee; track number of txs created 2020-04-07 21:17:58 -04:00
Duke Leto
941f983a9f speling iz hard 2020-04-07 21:16:04 -04:00
Duke Leto
32400168c1 Add logging for rare error cases in transaction builder 2020-04-07 21:15:39 -04:00
Duke Leto
a96a1ebce5 Use fee=0 if we have less than a fee worth of funds to consolidate 2020-04-07 18:19:48 -04:00
Duke Leto
cf4514deef Log more details during sapling consolidation 2020-04-07 13:36:46 -04:00
Duke Leto
88f846c359 Log more details for invalid binding sigs 2020-04-07 13:36:21 -04:00
Duke Leto
3175039f62 Log consolidation output amounts 2020-04-07 09:36:05 -04:00
Duke Leto
6cdf4dd765 Fix zrpcunsafe logging and log valueBalance when final_check fails 2020-04-07 00:11:53 -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
28f5f51e5e Do not call BatchWrite* for sprout 2020-04-06 23:03:27 -04:00
Duke Leto
848b78f848 Return early for unknown txs and log unconfirmed 2020-04-06 23:01:14 -04:00
Duke Leto
a7dd309ad0 Add copyright 2020-04-06 18:37:02 -04:00
Duke Leto
a49dc97e25 Log txid when IsFinalTx returns false 2020-04-06 18:25:00 -04:00
Duke Leto
7665509d99 Make this less noisy 2020-04-06 08:37:33 -04:00
Charles
54ec0d0994 updated undefined behavior in accordance with zcash remedy rex4539 #4056 2020-03-29 03:01:46 -04:00
Duke Leto
f5444b1679 LogPrintf does not take a category argument, only LogPrint 2020-03-26 09:18:52 -04:00
Duke Leto
9f0197bba3 Improved error handling and logging for sapling consolidation 2020-03-20 11:31:58 -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
2e68231e13 Better 64bit check 2020-03-15 15:17:41 -04:00
Duke Leto
93d887d6ab Add hushd help for -opretmintxfee 2020-03-15 09:27:39 -04:00
Duke Leto
2439e5106b Port zcash/zcash#4390 and the included bitcoin/bitcoin#8063 2020-03-14 21:23:58 -04:00
Duke Leto
f3cc3b25df Fix compiling komodo_curve25519.h on ARMv8 2020-03-14 21:06:09 -04:00
Duke Leto
c0c7d497d0 Fix compile issues and hopefully better logging of consolidation 2020-03-14 15:03:23 -04:00
Duke Leto
d81ab5c9c7 I think this should fix some compile issues 2020-03-14 10:45:04 -04:00
Duke Leto
378b1e3e74 Update coinsupply rpc docs 2020-03-14 08:44:00 -04:00
Duke Leto
c271fb8cbd Locks and docs 2020-03-10 09:10:12 -04:00
Duke Leto
968890c591 More error checking and use a CAmount instead of int, which hopefully fixes CommitTransaction() bug 2020-03-10 09:10:05 -04:00
Duke Leto
1beb2b1fa8 Remove more sprouty code 2020-03-10 07:22:23 -04:00
Duke Leto
41662dc370 Remove sprout-related RPC docs 2020-03-10 07:22:14 -04:00
Duke Leto
448b72f270 Merge branch 'duke' into dev 2020-03-09 21:31:44 -04:00
Duke Leto
d8477c4d7b Remove some more sprout code, yay 2020-03-09 21:28:09 -04:00
Duke Leto
736aa8cfaf Add more data to failed consolidation ops 2020-03-09 21:27:49 -04:00
Duke Leto
744ef34438 Add zindex to z_getinfo 2020-03-09 21:04:53 -04:00