Duke Leto
a2b3316664
Port PR93 from @denioD
4 years ago
Duke Leto
fad66953fb
Cleanup
4 years ago
Duke Leto
9c72f4c2f5
Change consolidation fee to be the default instead of zero and require zinput arity to be inside [3,8]
4 years ago
Duke Leto
dc7525f12e
Untested sapling consolidation plus sietch outputs to reduce metadata leakage
4 years ago
Duke Leto
9b0d986528
Document default of -consolidation and add comment about number of zouts
4 years ago
Duke Leto
cb004f5d57
Remove sprout code from z_exportwallet
4 years ago
Duke Leto
a7250280d0
Remove deprecated Sprout benchmarking RPCs
4 years ago
Duke Leto
2152f4df6d
Port getalldata from ZER sans sproutness
4 years ago
Duke Leto
b06bd5720a
Add z_listreceivedbyaddress from ZER and refactor some stuff
4 years ago
Duke Leto
a338a974c7
Add z_listreceivedbyaddress from ZER
4 years ago
Duke Leto
3b4e5d727c
Revert "cleanup unnecessary lines"
This reverts commit 49872e5fd7
.
4 years ago
DenioD
49872e5fd7
cleanup unnecessary lines
4 years ago
DenioD
c984c2e8d5
port z_listsentbyaddress and add memo field from c00e30b210
4 years ago
DenioD
8556f00d37
resource friendly tx reorder port from 58b05de90d
4 years ago
DenioD
6c48397cf3
Hush witness rework, many thanks to @CryptoForge for this awesome code https://github.com/Cryptoforge-alt/pirate/tree/pirate_witness_rework
4 years ago
Duke Leto
89bbd48eae
More libsnark removal changes to various internals
4 years ago
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.
5 years ago
Duke Leto
d58e2473fc
Add sapling account counter to getwalletinfo
5 years ago
Duke Leto
89532c4d7b
Use dynamically generated zaddrs in sietch, which are not stored in wallet.dat
5 years ago
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.
5 years ago
Duke Leto
8da7b2f9d5
Use global nullifier list in z_listnullifiers
5 years ago
Duke Leto
1ddae646bf
Return global nullifier count for zindex stats
5 years ago
Duke Leto
c0ca9ee8fe
Log the sizes of various datastructures about nullifiers when NullifierCount() is called, if -zdebug
5 years ago
Duke Leto
cc3e1c11d7
Use global mempool nullifier count, not local wallet nullifier count
5 years ago
Duke Leto
5ccfc33931
Remove sprout junk from z_listaddresses
5 years ago
Duke Leto
2d1b8eff67
wip rpc for nullifiers
5 years ago
Duke Leto
0c70df2854
Make the order of zaddr recipients we give to z_sendmany internals non-deterministic
5 years ago
Duke Leto
597171f2ee
Forgotten %s
5 years ago
Duke Leto
252451e382
Add -zdebug to more stuff
5 years ago
Duke Leto
bec886ec43
Convert sietch to use 2 fixed zpools of 100 zaddrs
5 years ago
Duke Leto
a99b289c2a
Add -zdebug
5 years ago
Duke Leto
cb5fbb6139
Define a sietch header file and add --sietch-min-zouts CLI option
5 years ago
Duke Leto
d8ce153b7f
Debug
5 years ago
Duke Leto
ace213c54f
This actually has pretty decent logging for when nullifiers are added
5 years ago
Duke Leto
7609fe8bbb
Logging and copyrights
5 years ago
Duke Leto
bd2760421d
z_sendmany logging
5 years ago
Duke Leto
bbe6fc8b68
Remove sprout junk
5 years ago
Duke Leto
773719b66c
Sietch v0 prototype
5 years ago
Duke Leto
172ac60765
Initial implementation of shielded pool size. Tweaks to data stored in zindex are needed to get a more correct value
5 years ago
Duke Leto
d4630174cc
Delete some sprout junk
5 years ago
Duke Leto
1c5e3e71b8
Clean up
5 years ago
DenioD
62539362bb
fix missing error message for z_importwallet
5 years ago
DenioD
84de12fb41
add rescan=false option to z_importwallet and importwallet #55
5 years ago
Duke Leto
148e86a33b
Remove unneeded RPCs
5 years ago
Duke Leto
6d843777d8
update some docs
5 years ago
Duke Leto
9cc5cbf733
Remove some staking code
5 years ago
Duke Leto
12e7c13a84
Change datatypes, do not use VARINT, increase exception logging
5 years ago
Duke Leto
ccbe3478e5
Delete some sprout code
5 years ago
Duke Leto
8ebeafce77
Delete some sprout code that causes problems and remove some dead code
5 years ago
Duke Leto
e8509dd525
It is called hush_hardfork_active now
5 years ago