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
6e6e6e8e18
Merge branch 'dev' of https://github.com/myhush/hush3 into dev
2020-04-06 23:09:50 -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
Duke Leto
a1f8116bfe
Merge pull request #99 from ca333/patch-10
...
fix dead openssl download path
2020-04-06 05:19:33 -07: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
e2d9245f1b
Merge branch 'dev' of https://github.com/myhush/hush3 into dev
2020-03-15 09:27:50 -04:00
Duke Leto
93d887d6ab
Add hushd help for -opretmintxfee
2020-03-15 09:27:39 -04:00
Duke Leto
b32f72086c
Merge pull request #97 from csharpee/enhancements
...
Enhancements
2020-03-15 05:01:11 -07:00
Duke Leto
3740f2df71
Add build-arm.sh from @radix42
2020-03-15 07:00:36 -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
7691e89b1b
We got rid of this verus bug: fatal error: OCTET_STRING.h, yay
2020-03-14 08:48:54 -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
Duke Leto
e4bfafc76c
Better error checking in consolidation for when CommitTransaction() fails
2020-03-09 21:02:52 -04:00
Duke Leto
67f666d5ff
Tweak z_getinfo data slightly
2020-03-09 18:42:13 -04:00
Duke Leto
2aa376d286
Add z_getinfo, a place for various shielded details that do not fit other places
2020-03-09 16:31:54 -04:00
Duke Leto
3bf6993991
Merge branch 'duke' into dev
2020-03-09 11:06:20 -04:00
Duke Leto
ad4d87c653
Fix ConnectTip() from thread_notify merge
2020-03-09 11:04:36 -04:00
Duke Leto
9c4acae5fd
Move this inside another lexical scope to hopefully avoid compiler bugs in gcc 8.3 and clang 9.0
2020-03-09 10:32:29 -04:00
Duke Leto
5870f6f059
Update unix man pages
2020-03-08 09:06:06 -04:00
Duke Leto
699b59037a
Bump version to 3.3.2
2020-03-08 08:55:42 -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
13b59f00ce
Clean up
2020-03-07 21:30:51 -05:00
Duke Leto
61c2090dd6
Make the compiler Elder Gods happy
2020-03-07 17:48:34 -05:00
Duke Leto
0f99a6ea3f
Port Network upgrade detection back to our KMD flavor
2020-03-07 17:28:35 -05:00
Duke Leto
3d7bed74c1
Port more required code
2020-03-07 17:22:41 -05:00
Duke Leto
35c68602e7
Port the BlockFound signal and parts of ScriptForMining from ZEC upstream
2020-03-07 14:36:22 -05:00
Duke Leto
a2c8f752df
Pull in validation interface changes from zcash commit 26a24da74503ae60cc9aa2d6e6ae0923ecd375fb
2020-03-07 13:58:22 -05:00
Duke Leto
a2b3316664
Port PR93 from @denioD
2020-03-07 13:55:12 -05:00
Duke Leto
64dfd18fa0
Merge pull request #94 from MyHush/sapcon_sietch
...
Untested sapling consolidation plus sietch outputs to reduce metadata leakage
2020-03-06 12:24:37 -08:00
Duke Leto
fad66953fb
Cleanup
2020-03-06 15:22:50 -05:00
Duke Leto
9c72f4c2f5
Change consolidation fee to be the default instead of zero and require zinput arity to be inside [3,8]
2020-03-06 14:40:24 -05:00
Duke Leto
dc7525f12e
Untested sapling consolidation plus sietch outputs to reduce metadata leakage
2020-03-04 09:17:05 -05:00
Duke Leto
21ec2e7260
Merge pull request #92 from DenioD/duke
...
add opretmintxfee from komodo upstream
2020-02-29 04:18:04 -08:00
Duke Leto
9b0d986528
Document default of -consolidation and add comment about number of zouts
2020-02-27 18:20:14 -05:00
Duke Leto
cb004f5d57
Remove sprout code from z_exportwallet
2020-02-27 11:11:59 -05:00
Duke Leto
a7250280d0
Remove deprecated Sprout benchmarking RPCs
2020-02-27 11:06:58 -05:00
Duke Leto
a5515aa336
Fix z_validateaddress docs to remove sprout stuff and use a sapling address in examples
2020-02-26 14:31:35 -05:00
Duke Leto
08583ff269
Merge branch 'dev' into duke
2020-02-26 14:13:54 -05:00
Duke Leto
9e1c741905
Update convert params junk
2020-02-26 14:12:15 -05:00
Duke Leto
2152f4df6d
Port getalldata from ZER sans sproutness
2020-02-26 09:51:09 -05:00
Duke Leto
b06bd5720a
Add z_listreceivedbyaddress from ZER and refactor some stuff
2020-02-26 00:20:02 -05:00
Duke Leto
a338a974c7
Add z_listreceivedbyaddress from ZER
2020-02-25 23:49:49 -05:00
Duke Leto
3b4e5d727c
Revert "cleanup unnecessary lines"
...
This reverts commit 49872e5fd7 .
2020-02-25 23:49:16 -05:00
Duke Leto
90156a295b
Merge pull request #85 from DenioD/duke
...
port z_listsentbyaddress and add memo field from https://github.com/zerocurrencycoin/Zero/commit/c00e30b210245cc5cc4deada5c6202042a3b9da2
2020-02-25 08:43:00 -08:00
Duke Leto
c1fa21cad1
Most Hush blocks have 2 coinbase, one for miner and one for FR; improves #82
2020-02-24 05:42:11 -05:00
Duke Leto
6a296f01d4
Update security-warnings.md
2020-02-18 09:19:56 -05:00
Duke Leto
f6a8303b49
Update security-warnings.md
2020-02-18 09:18:37 -05:00
Duke Leto
4a731fed47
Update security-warnings.md
2020-02-18 09:16:44 -05:00
Duke Leto
d3226b8a5c
Update security-warnings.md
2020-02-18 09:15:42 -05:00
Duke Leto
71087fb24f
Merge pull request #83 from DenioD/duke
...
resource friendly tx reorder ported from https://github.com/CryptoForge/Zero/commit/58b05de90d06817d9bd47fe6b9adeaceccf3c95a
2020-02-18 03:05:49 -08:00
Duke Leto
ddbf53524e
Merge pull request #80 from DenioD/dev
...
Hush witness rework, many thanks to @CryptoForge for this awesome cod…
2020-02-15 05:43:11 -08:00
Duke Leto
7948bbf85f
Merge pull request #73 from MyHush/desnark
...
Remove libsnark and various Sprout things
2020-01-25 10:39:15 -08:00
Duke Leto
499720c42b
Do not anger the libgmp Elder Gods
2020-01-25 08:28:38 -05:00
Duke Leto
4c0aebd675
Add libgmp back
2020-01-25 08:18:40 -05:00
Duke Leto
f3affab178
Revert "We do not use any of these CCs, and we want to remove gmp as dependency, so convert them to use mini-gmp.h for now"
...
This reverts commit aeb30dd8fa .
2020-01-24 18:33:06 -05:00
Duke Leto
89bbd48eae
More libsnark removal changes to various internals
2020-01-24 12:30:58 -05:00
Duke Leto
c6de8f850c
Revert "Raw transaction updates"
...
This reverts commit 1f1e2ebf04 .
2020-01-24 07:29:49 -05:00
Duke Leto
1f1e2ebf04
Raw transaction updates
2020-01-24 07:20:06 -05:00
Duke Leto
aeb30dd8fa
We do not use any of these CCs, and we want to remove gmp as dependency, so convert them to use mini-gmp.h for now
2020-01-24 07:09:47 -05:00
Duke Leto
4d965f53eb
A bunch more libsnark deletions/updates
2020-01-24 06:32:13 -05:00
Duke Leto
7e078e58c1
Remove more libsnark stuff from the build system
2020-01-24 05:48:43 -05:00
Duke Leto
4a3a7acc90
Remove more libsnark stuff
2020-01-24 05:43:11 -05:00
Duke Leto
447ec28997
Delete a lot of libsnark stuff
2020-01-23 18:45:41 -05:00
Duke Leto
aa3775f57a
Delete libsnark source code
2020-01-23 14:02:37 -05:00
Duke Leto
4c39efccce
Add/update unix manpages
2020-01-18 09:07:22 -05:00
Duke Leto
d4ac8162f6
Bump version to 3.3.1
2020-01-18 08:47:57 -05:00
Duke Leto
8eef38f94c
Fix broken sendmany RPC
...
The sendmany RPC was broken in the 3.3.0 release due to a bad merge of upstream KMD code,
resulting in this kind of error:
./src/hush-cli sendmany "" "{\"$TADDR1\": 0.0001, \"$TADDR2\": 0.0002, \"$TADDR3\": 0.0004}"
error code: -3
error message:
Amount is not a number or string
No matter how many recipients you give, it will always "fall off the end" of the array, because it increments i twice per loop.
That means AmountFromValue(sendTo[i]) is given an invalid amount and the RPC errors out, with no loss of funds.
This is not a consensus bug and only nodes who want to use the sendmany RPC need to upgrade.
Since GUI wallets do not use this RPC, it's most likely pools and exchanges that would want this.
2020-01-18 08:42:12 -05:00
Duke Leto
b175a2df60
Update github issue template
2020-01-02 15:45:20 -05:00
Duke Leto
0b7e87c384
Merge branch 'dev'
...
Conflicts:
configure.ac
src/clientversion.h
2020-01-02 15:25:11 -05:00
Duke Leto
55c8d52de8
Update alert system pubkeys
2020-01-02 14:01:59 -05:00
Duke Leto
8da7b2f9d5
Use global nullifier list in z_listnullifiers
2020-01-02 13:55:22 -05:00