Commit Graph
100 Commits
Author SHA1 Message Date
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 92c500be13 Merge pull request #61 from MyHush/sietch
Sietch
2019-12-31 06:07:33 -08:00
Duke Leto 252451e382 Add -zdebug to more stuff 2019-12-31 08:47:35 -05:00
Duke Leto c4320775f7 Start using -zdebug so we don't scare normal users with all this output 2019-12-31 08:19:01 -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 3e92f28463 Fix compile warning/bug 2019-12-30 12:04:51 -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 c7d391176d Log when we add nullifiers 2019-12-29 13:04:34 -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 c9ee4a8d7a Fix bad merge 2019-12-28 17:40:53 -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
Duke Leto 172ac60765 Initial implementation of shielded pool size. Tweaks to data stored in zindex are needed to get a more correct value 2019-12-28 12:49:01 -05:00
Duke Leto d4630174cc Delete some sprout junk 2019-12-28 11:51:29 -05:00
Duke Leto ae07622c65 Copyright 2019-12-28 09:43:24 -05:00
Duke Leto b2ac9ca6e0 Add zush script 2019-12-27 13:05:18 -05:00
Duke Leto 9ce78421a3 Update timestamp activation of new consensus rules 2019-12-27 09:07:31 -05:00
Duke Leto 35fc6ca6db Change next network upgrade (hard fork) block to 166250 on Jan 29th 2019-12-27 09:03:02 -05:00
Duke Leto 00feb5b573 Update block_time.pl to also print out GMT time 2019-12-27 08:59:04 -05:00
Duke Leto e40a65c2a8 Quiet this stdout spam by default but enable it with -debug 2019-12-26 20:58:26 -05:00
Duke Leto ec3f202942 Merge branch 'duke' into dev
Conflicts:
	src/chainparams.cpp
    src/primitives/block.h
2019-12-26 20:50:50 -05:00
Duke Leto fa0724bfbd Historically the Hush testnets that used to exist, used the TUSH ticker 2019-12-26 20:35:13 -05:00
Duke Leto 4fa69e35e4 Remove duplicate line from a bad merge 2019-12-26 20:30:50 -05:00
Duke Leto 26e604f296 Fix bug where checkpoint data was applied to wrong chains 2019-12-26 20:26:27 -05:00
Duke Leto a37b130798 Revert "Sacrifice to the CPOSNonce gods, will they accept?"
This sacrifice was in vein.

This reverts commit f4c95fea7c.
2019-12-26 20:23:00 -05:00
Duke Leto 5e1e6e5b10 Fix bug where checkpoint data was applied to wrong chains 2019-12-26 16:18:36 -05:00
Duke Leto 17a4dd3007 Try this 2019-12-26 15:30:15 -05:00
Duke Leto f4c95fea7c Sacrifice to the CPOSNonce gods, will they accept? 2019-12-26 14:19:25 -05:00
Duke Leto 46e2c17667 Update KMDversion to 0.5.0 2019-12-25 14:38:28 -05:00
Duke Leto 307cf174d6 Typo 2019-12-25 11:16:00 -05:00
Duke Leto bcc7fd01fd Add script to generate new Hush Smart Chains
For example, this is how to create a new ZUSH Hush Smart Chain, with z-to-z transactions only,
a reward of 5 ZUSH per block, a block time of 55 seconds and a halving period of every 50000 blocks:

$ ./hush-smart-chain -ac_name=ZUSH -ac_private=1 -ac_reward=5 -ac_blocktime=55 -ac_halving=50000 -gen
ASSETCHAINS_SUPPLY 10
perc 0.0000% ac_pub=[000000...] acsize.0
ERA0: end.0 reward.5 halving.50000 decay.0 notarypay.0
extralen.73 before disable bits
MAX_MONEY 6105065246 61.05065246
0000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000050c30000000000000000000000000000400000000000000037000000 extralen.77 crc0.35c92ddd
chainparams_commandline called
>>>>>>>>>> ZUSH: p2p.34998 rpc.37491 magic.d9a3bc82 3651386498 10 coins

In the last line above, you can see the p2p, rpc and magic values associated to the chain.
2019-12-24 15:46:23 -05:00
Duke Leto 75fa411537 Tweak some test suite stuff 2019-12-24 13:43:51 -05:00
Duke Leto 005822fac8 Update travis OSX to include all our binaries 2019-12-24 08:00:15 -05:00
Duke Leto e9340c6a28 Update timestamp index test 2019-12-24 07:58:07 -05:00
Duke Leto 1c5e3e71b8 Clean up 2019-12-24 07:36:15 -05:00
Duke Leto 727a4961d7 Remove example zcash.conf that is no longer needed 2019-12-24 07:36:00 -05:00
Duke Leto 85b3f1ef50 Update common.h 2019-12-24 06:52:39 -05:00
Duke Leto 0b17c9b50a Merge branch 'duke' of https://github.com/MyHush/hush3 into duke 2019-12-24 06:49:21 -05:00
Duke Leto cb9f9a07df Delete Haraka which was only used by VerusHash 2019-12-23 23:17:26 -05:00
Duke Leto bf5122a2c8 Update dockerfile 2019-12-23 23:11:27 -05:00
Duke Leto 39878e0095 Update COPYING 2019-12-23 23:09:22 -05:00
Duke Leto 227a26f64f Update some unit test stuff 2019-12-23 20:01:55 -05:00
Duke Leto 20fd7f0ce0 Remove old release notes for other projects 2019-12-23 18:12:37 -05:00
Duke Leto 20453042c9 Update ac_private test, which almost passes 2019-12-23 18:11:40 -05:00
Duke Leto 83be3aa4e1 Merge pull request #58 from DenioD/duke
Port Clamp JSON object depth to PHP limit from bitcoin-core #22 to Hush
2019-12-23 14:34:26 -08:00
Duke Leto e79a0830d9 Start creating a HushTestFramework 2019-12-23 08:41:06 -05:00
Duke Leto 6eb19d75ae Copyrights 2019-12-23 08:34:00 -05:00
Duke Leto 1c4e43c48e Update test copyrights 2019-12-23 08:23:39 -05:00
Duke Leto 75768e235a We ain't got no stinkin' sprout joinsplits 'round here 2019-12-23 08:19:20 -05:00
Duke Leto 3421fcb035 Updates to mininode.py 2019-12-23 07:57:22 -05:00
Duke Leto a61118e818 Update python test framework for Hush 2019-12-23 07:50:40 -05:00
Duke Leto dda892a51d Merge branch 'duke' of https://github.com/MyHush/hush3 into duke 2019-12-22 19:43:06 -05:00
Duke Leto a5f1f7eb8a Update RPC readme 2019-12-22 19:42:56 -05:00
Duke Leto e2f58d1e04 Merge pull request #57 from DenioD/duke
fix missing error message for z_importwallet
2019-12-22 12:56:02 -08:00
Duke Leto ee7479db58 Merge pull request #56 from DenioD/duke
add rescan=false to z_importwallet and importwallet, add DenioD as Author
2019-12-22 08:32:15 -08:00
Duke Leto 585d9215c6 Do not anger the Elder Gods of The Build System 2019-12-22 11:01:31 -05:00
Duke Leto eba9ea99cc depends/ lacking a clean target in Makefile causes build.sh clean to fail early, this allows it to fail a bit further along 2019-12-22 08:21:16 -05:00
Duke Leto 15e7973012 This causes problems 2019-12-22 08:20:36 -05:00
Duke Leto 230cbffcf6 Hush port scanner
I wrote this simple port scanner in 5 minutes to verify if 3rd party Hush notary seeds
from https://github.com/KomodoPlatform/dPoW/blob/master/iguana/3rd_party
were running properly.

Currently they are all down.

$ cat contrib/notary_seeds.txt | ./contrib/hush_scanner
HOST   P2P  RPC
103.6.12.117 DOWN DOWN
95.213.238.99 DOWN DOWN
77.75.121.139 DOWN DOWN
139.162.45.144 DOWN DOWN
152.89.105.66 DOWN DOWN
152.89.104.58 DOWN DOWN
5.53.120.34 DOWN DOWN
139.99.208.141 DOWN DOWN
2019-12-22 07:01:04 -05:00
Duke Leto 3e8fd68a63 Update to Season 3.5 3rd party NN pubkeys 2019-12-22 06:10:02 -05:00
Duke Leto f5c54dad71 Make compiler happy 2019-12-22 05:12:34 -05:00
Duke Leto 148e86a33b Remove unneeded RPCs 2019-12-22 05:03:11 -05:00
Duke Leto fc67008838 Do not compile this stuff by default 2019-12-22 05:00:17 -05:00
Duke Leto 7290e9d639 Update makefile 2019-12-22 04:47:15 -05:00
Duke Leto d49e637ee3 Remove KMD-specific code that causes compile issues 2019-12-22 04:38:27 -05:00
Duke Leto ec412aff1c Remove KMD-specific code that causes compile issues 2019-12-22 04:38:17 -05:00
Duke Leto 53be0b4c39 Build system needs more ascii art 2019-12-22 04:37:54 -05:00
Duke Leto e000998097 Fix bug in 'make clean' not removing libcc.so 2019-12-22 04:37:23 -05:00
Duke Leto 085c25d602 We do not need to compile some CCs we plan to never use 2019-12-22 04:36:55 -05:00
Duke Leto f07dcf12ab Fix some compile issues and set a timestamp fork value for completeness 2019-12-22 03:13:14 -05:00
Duke Leto d837ed7358 Copyright 2019-12-22 02:58:21 -05:00
Duke Leto 750220a373 update some deprecation stuff 2019-12-22 02:57:51 -05:00
Duke Leto 02fefe0734 Add -hardfork-height CLI option to simulate different hardfork heights 2019-12-21 10:28:48 -05:00
Duke Leto 0fcbc40075 Here be dragons 2019-12-21 00:23:49 -05:00
Duke Leto b243f63ed6 Merge branch 'duke' of https://github.com/MyHush/hush3 into duke 2019-12-21 00:02:30 -05:00
Duke Leto 4c42d5f93f Try to set KMD Notary seasons correctly with our hardfork height 2019-12-21 00:02:16 -05:00
Duke Leto 6d843777d8 update some docs 2019-12-21 00:01:03 -05:00
Duke Leto 778e094a32 Change notary season detection by block height for HUSH 2019-12-20 23:13:27 -05:00
Duke Leto 0ed1b74f2f Cleanup 2019-12-20 23:12:26 -05:00
Duke Leto e23c866fdf Derp 2019-12-20 15:38:19 -05:00
Duke Leto cdf4c90c6d Update setgenerate, getgenerate, getblocktemplate RPCs to remove staking code 2019-12-20 15:26:04 -05:00
Duke Leto 9cc5cbf733 Remove some staking code 2019-12-20 15:25:13 -05:00
Duke Leto a440f92320 Enable the creation of shielded-only Hush smart chains via -ac_private=1 2019-12-20 15:13:23 -05:00
Duke Leto 9b568e8683 Merge branch 'zindex3' into duke
Conflicts:
	.gitignore
2019-12-20 14:09:59 -05:00
Duke Leto 08361bec95 Prevent garbage data during chain sync 2019-12-20 11:40:43 -05:00
Duke Leto 2620de459f Correctly count taddr outputs towards shielded payments 2019-12-20 10:47:24 -05:00
Duke Leto 80868ef5e4 Make sure to count taddr outputs in z=>t xtns as shielded payments 2019-12-20 09:05:08 -05:00
Duke Leto a2e63618e4 Tone down our STDOUT debugging 2019-12-19 17:46:58 -05:00
Duke Leto dbf1c23a81 Add rpc docs about organic xtns 2019-12-19 17:25:07 -05:00
Duke Leto 55258a54dc Add rpc docs about shielded-only stats 2019-12-19 16:22:42 -05:00
Duke Leto feee580c33 Add more getchaintxstats rpc docs 2019-12-19 16:10:29 -05:00
Duke Leto 284edb0968 Add some forgotten zstats that are important 2019-12-19 12:38:06 -05:00
Duke Leto bf75e6aea3 Add payment rpc docs for getchaintxstats 2019-12-19 10:02:24 -05:00
Duke Leto 0baa4ecadf Guard against negative values in statistics and add some rpc docs 2019-12-19 10:00:04 -05:00