Commit Graph

16799 Commits

Author SHA1 Message Date
jl777
593f9a7075 iguana_merkle needs 3x men 2018-04-27 13:29:25 +03:00
jl777
49d6f80679 -LOCK cs_main 2018-04-27 13:19:33 +03:00
jl777
22d345ec44 syntax 2018-04-27 13:17:48 +03:00
jl777
b0fa5bad4d calc_MoM 2018-04-27 13:16:37 +03:00
miketout
42181656c2 Implementation of VerusHash CPU-friendly hash algorithm, parameters to enable it, miner, and all changes required to support it on new asset chains 2018-04-27 00:34:50 -07:00
Simon
debf6af9f8 Move memo member varible from SproutNotePlaintext to BaseNotePlaintext.
Add memo() accessor to BaseNotePlaintext.
2018-04-26 15:05:30 -07:00
Simon
d266f40393 Create class hierarchy for SproutNotePlaintext.
BaseNotePlaintext contains member variable for common attribute, value.
2018-04-26 15:05:30 -07:00
Simon
5020a93631 Refactoring: rename NotePlaintext --> SproutNotePlaintext
Also renames:
CNotePlaintextEntry --> CSproutNotePlaintextEntry
CUnspentNotePlaintextEntry --> CUnspentSproutNotePlaintextEntry
2018-04-26 15:05:30 -07:00
Simon
9354f8e568 Remove unused SproutNote variables. 2018-04-26 15:05:30 -07:00
Simon
5f4fa1a954 Add virtual destructor to SproutNote and BaseNote
Also add test to make sure default copy constructors are okay.
2018-04-26 15:05:30 -07:00
Simon
5d99e3e92f Refactoring: SproutNote member variable value moved to BaseNote.
All notes have a value, so the member variable has been moved to the
base class, and direct member access has been replaced with a getter.
2018-04-26 15:05:19 -07:00
Eirik Ogilvie-Wigley
812098256f Coinbase transactions can not have shielded spend or output 2018-04-26 15:53:26 -06:00
Eirik Ogilvie-Wigley
4b4662b06d Make sure transactions have non-empty outputs 2018-04-26 15:24:59 -06:00
jl777
5725f8ea5d Wallet utility needs unsigned int MAX_BLOCK_SIGOPS = 20000; 2018-04-26 23:43:05 +03:00
jl777
b32a9f1a5f Directly call longestchain() 2018-04-26 23:30:27 +03:00
jl777
4875678883 Fix 2018-04-26 23:21:22 +03:00
jl777
32885e7422 Update getinfo cached for asset chains 2018-04-26 23:09:53 +03:00
jl777
fac54947b4 Restore netinfo lock 2018-04-26 21:59:09 +03:00
jl777
c010c5335c Support ac_cc 2018-04-26 19:25:01 +03:00
Homu
a2ff78620a Auto merge of #3191 - Eirik0:3057-sapling-nullifier-set, r=str4d
Add sapling nullifier set

PR for https://github.com/zcash/zcash/issues/3057
2018-04-26 05:28:39 -07:00
jl777
a8de9f3888 Test 2018-04-26 15:19:07 +03:00
jl777
69d23911ce +prevMoMheight to getinfo 2018-04-26 15:14:12 +03:00
Jack Grigg
aeb089ecc7 Attempt to log before terminating if prevector allocation fails 2018-04-26 11:30:33 +01:00
Jack Grigg
3c9dbf3ed8 Improve best-effort logging before termination on OOM
Suggested by @kallewoof in bitcoin/bitcoin#9856
2018-04-26 11:22:07 +01:00
jl777
8f95f7e138 Fix header special case for non-KMD 2018-04-26 11:11:55 +03:00
Sean Bowe
6679855147 Check that duplicate Sapling nullifiers don't exist within a transaction. 2018-04-25 17:10:34 -06:00
jl777
b3e591ac5c Revert bigger window 2018-04-25 23:54:24 +03:00
Homu
c6ab62191a Auto merge of #3205 - str4d:3173-missing-return, r=str4d
Return result of boost::apply_visitor

Not returning a value at the end of a non-void function is undefined behaviour.
Given that this managed to pass our full test suite, I guess that GCC looks for
un-returned values at the end of a function and uses them as the return value,
if the keyword is missing. Clang OTOH complains, which is how we spotted this:
https://ci.z.cash/#/builders/16/builds/282
2018-04-25 13:50:53 -07:00
jl777
0c5985cbf0 Test larger BLOCK_DOWNLOAD_WINDOW 2018-04-25 23:16:59 +03:00
jl777
16ec83024f -print 2018-04-25 21:50:20 +03:00
Simon
b230fe6836 Refactoring: Rename class libzcash::Note to libzcash::SproutNote. 2018-04-25 11:33:24 -07:00
Simon
bef33bbc73 Refactoring: libzcash::Note is now a subclass of libzcash::BaseNote. 2018-04-25 11:33:16 -07:00
Eirik Ogilvie-Wigley
9669920f75 Rename nullifier caches and maps to indicate sprout nullifiers 2018-04-25 11:26:38 -06:00
jl777
51376f3c53 ASSETCHAINS HF MAXSIGOPS -> 60000 2018-04-25 19:06:27 +03:00
jl777
9d65762061 Test 2018-04-25 18:52:27 +03:00
jl777
efee0b0e9d Fix 700kb limit 2018-04-25 18:50:55 +03:00
jl777
9876909ccd Test 2018-04-25 18:19:25 +03:00
jl777
d1f503b5a6 Test 2018-04-25 18:17:53 +03:00
jl777
61f8caf2c3 +prints 2018-04-25 18:16:08 +03:00
jl777
2933b3ac3b Default JUMBLR_PAUSE=1 2018-04-25 17:42:32 +03:00
jl777
29da16c835 +print 2018-04-25 16:26:42 +03:00
jl777
1407ad8be1 Test 2018-04-25 16:10:24 +03:00
jl777
6f1de9852a -prints 2018-04-25 16:05:40 +03:00
jl777
6a8fb557dd Test 2018-04-25 16:04:07 +03:00
jl777
3e9fcad0ad Test 2018-04-25 15:59:33 +03:00
jl777
a6cbaa25ce Test 2018-04-25 15:53:45 +03:00
jl777
247428bdb2 Test 2018-04-25 15:47:19 +03:00
jl777
94d3d09da0 Test 2018-04-25 15:37:32 +03:00
jl777
001bc04a08 Test 2018-04-25 15:26:37 +03:00
jl777
daf214b1b6 Rely on cached KOMODO_LONGESTCHAIN in netinfo 2018-04-25 15:17:07 +03:00