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
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
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
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
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
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
DenioD
49872e5fd7
cleanup unnecessary lines
2020-02-25 15:47:18 +01:00
DenioD
c984c2e8d5
port z_listsentbyaddress and add memo field from c00e30b210
2020-02-25 11:54:23 +01:00
DenioD
8556f00d37
resource friendly tx reorder port from 58b05de90d
2020-02-17 21:36:17 +01: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
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
89bbd48eae
More libsnark removal changes to various internals
2020-01-24 12:30:58 -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
8da7b2f9d5
Use global nullifier list in z_listnullifiers
2020-01-02 13:55:22 -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
33e3566cb4
Merge branch 'z_listnullifiers' into zindex_anonset
2020-01-02 08:39:56 -05:00
Duke Leto
5ccfc33931
Remove sprout junk from z_listaddresses
2020-01-02 08:06:31 -05:00
Duke Leto
2d1b8eff67
wip rpc for nullifiers
2020-01-02 08:05:24 -05:00
Duke Leto
0c70df2854
Make the order of zaddr recipients we give to z_sendmany internals non-deterministic
2019-12-31 18:54:25 -05:00
Duke Leto
597171f2ee
Forgotten %s
2019-12-31 10:52:11 -05:00
Duke Leto
252451e382
Add -zdebug to more stuff
2019-12-31 08:47:35 -05:00
Duke Leto
bec886ec43
Convert sietch to use 2 fixed zpools of 100 zaddrs
2019-12-30 23:22:56 -05:00
Duke Leto
a99b289c2a
Add -zdebug
2019-12-30 23:00:06 -05:00
Duke Leto
cb5fbb6139
Define a sietch header file and add --sietch-min-zouts CLI option
2019-12-30 18:22:06 -05:00
Duke Leto
d8ce153b7f
Debug
2019-12-30 12:15:28 -05:00
Duke Leto
ace213c54f
This actually has pretty decent logging for when nullifiers are added
2019-12-30 07:14:46 -05:00
Duke Leto
7609fe8bbb
Logging and copyrights
2019-12-29 12:16:44 -05:00
Duke Leto
bd2760421d
z_sendmany logging
2019-12-28 21:00:28 -05:00
Duke Leto
bbe6fc8b68
Remove sprout junk
2019-12-28 20:58:28 -05:00
Duke Leto
83c7586e40
Merge branch 'dev' into sietch
...
Conflicts:
src/coins.cpp
2019-12-28 17:39:47 -05:00
Duke Leto
773719b66c
Sietch v0 prototype
2019-12-28 17:37:39 -05:00