Commit Graph
100 Commits
Author SHA1 Message Date
Jonathan "Duke" Leto 9d968518a3 Do not fetch sprout params, which saves every new Hush node from needing to download over 1.5GB of stuff it will never use 2019-06-17 19:39:48 -07:00
Jonathan "Duke" Leto 5faa6c3fea Merge remote-tracking branch 'jl777/FSM' into duke 2019-06-14 20:59:38 -07:00
Jonathan "Duke" Leto 01fb676782 Allow duplicate receivers in z_sendmany 2019-05-31 10:54:16 +02:00
Jonathan "Duke" Leto fbb45dd9b3 Allow duplicate receivers in z_sendmany 2019-05-31 10:53:02 +02:00
Jonathan "Duke" Leto 2dc5b1916a Merge remote-tracking branch 'jl777/FSM' into duke 2019-05-30 11:37:32 -07:00
Jonathan "Duke" Leto 872f9e929d Fix link in readme to install instructions 2019-05-29 05:30:40 -07:00
Jonathan "Duke" Leto 0ad980def1 Merge remote-tracking branch 'jl777/FSM' into duke 2019-05-28 11:49:21 -07:00
Jonathan "Duke" Leto 4579c5e39d Merge remote-tracking branch 'jl777/FSM' into duke
Conflicts:
	README.md
2019-05-28 08:05:15 -07:00
Jonathan "Duke" Leto 0f24aec587 Give correct CLI asset name and RPC ports in rpc examples 2019-05-27 21:36:25 -07:00
Jonathan "Duke" Leto 14e08572d5 Give correct CLI asset name and RPC ports in rpc examples 2019-05-27 21:31:15 -07:00
Jonathan "Duke" Leto ece060d04c Wait to look at KOMODO_INSYNC until we hold cs_main lock, to prevent a datarace when using chainActive 2019-05-20 06:55:55 -07:00
Jonathan "Duke" Leto 406d6e60a2 Wait to look at KOMODO_INSYNC until we hold cs_main lock, to prevent a datarace when using chainActive 2019-05-20 06:49:22 -07:00
Jonathan "Duke" Leto 3275b435de Add synced key to getinfo+getblockchaininfo
This addresses #3 of upstream issue
https://github.com/zcash/zcash/issues/3996 .

Any software that creates a transaction outside of the RPC interface
MUST check if synced==true beforehand, otherwise metadata leakage which
leads to linkability analysis is possible.

The z_sendmany, z_shieldcoinbase and z_mergetoaddress RPCs have their
own synced checks, so it's not needed to look at this new synced value
when using those RPCs.
2019-05-16 05:24:27 -07:00
Jonathan "Duke" Leto 8b57ca63b8 Prevent linkability analysis on out-of-sync nodes
This addresses upstream issue https://github.com/zcash/zcash/issues/3996
by preventing z_sendmany, z_mergecoinbase and z_shieldcoinbase from
making shielded transactions if the node is out of sync. This prevents
metadata leakage which can be used in blockchain analysis.
2019-05-16 05:24:17 -07:00
Jonathan "Duke" Leto fc6869e3af Add synced key to getinfo+getblockchaininfo
This addresses #3 of upstream issue
https://github.com/zcash/zcash/issues/3996 .

Any software that creates a transaction outside of the RPC interface
MUST check if synced==true beforehand, otherwise metadata leakage which
leads to linkability analysis is possible.

The z_sendmany, z_shieldcoinbase and z_mergetoaddress RPCs have their
own synced checks, so it's not needed to look at this new synced value
when using those RPCs.
2019-05-15 22:07:09 -07:00
Jonathan "Duke" Leto cde23ca5dc Prevent linkability analysis on out-of-sync nodes
This addresses upstream issue https://github.com/zcash/zcash/issues/3996
by preventing z_sendmany, z_mergecoinbase and z_shieldcoinbase from
making shielded transactions if the node is out of sync. This prevents
metadata leakage which can be used in blockchain analysis.
2019-05-15 21:27:05 -07:00
Jonathan "Duke" Leto c0e98c1b64 Merge branch 'stuck' into duke 2019-05-15 09:32:43 -07:00
Jonathan "Duke" Leto 58533e7e56 Merge remote-tracking branch 'jl777/FSM' into duke 2019-05-15 09:32:35 -07:00
Jonathan "Duke" Leto c60e3d97f1 Debug weird startup bug 2019-05-01 07:22:09 -07:00
Jonathan "Duke" Leto 85ab0bf7c1 Merge remote-tracking branch 'jl777/FSM' into duke 2019-05-01 06:15:57 -07:00
Jonathan "Duke" Leto 8cd4b60aa0 Update code of conduct info 2019-04-30 19:04:15 -07:00
Jonathan "Duke" Leto cb5c00448b fixes 2019-04-30 06:58:17 -07:00
Jonathan "Duke" Leto a7238189d6 web wallet details 2019-04-30 06:55:41 -07:00
Jonathan "Duke" Leto f7d429964f More details in readme about claiming funds 2019-04-30 06:41:13 -07:00
Jonathan "Duke" Leto f0b32b94d8 How to claim docs, finally 2019-04-27 07:42:55 -07:00
Jonathan "Duke" Leto ec73aa528f update 2019-04-27 07:33:11 -07:00
Jonathan "Duke" Leto d520ff8175 Hushify our readme 2019-04-27 07:32:16 -07:00
Jonathan "Duke" Leto 69c5efb79b Merge remote-tracking branch 'jl777/FSM' into duke 2019-04-25 09:46:22 -07:00
Jonathan "Duke" Leto 7b67ea9058 Merge remote-tracking branch 'jl777/FSM' into duke 2019-04-24 11:50:17 -07:00
Jonathan "Duke" Leto 93c9349cf1 Merge remote-tracking branch 'jl777/FSM' into duke 2019-04-23 15:11:47 -07:00
Jonathan "Duke" Leto 74b2563334 Reduce unnecessary warnings to STDOUT 2019-04-21 07:58:05 -07:00
Jonathan "Duke" Leto e4ce048b8e Comment out this warning which will spam stdout for unconfirmed xtns 2019-04-21 07:52:06 -07:00
Jonathan "Duke" Leto d927688838 Merge remote-tracking branch 'jl777/jl777' into duke 2019-04-21 07:12:40 -07:00
Jonathan "Duke" Leto cc6b990bdb Revert "Attempt to fix coredump found by TheTrunk/Shossain"
This reverts commit 4b8ae26232.
2019-04-21 06:50:38 -07:00
Jonathan "Duke" Leto d302140b54 Merge branch 'duke' of https://github.com/MyHush/hush3 into duke 2019-04-21 05:50:34 -07:00
Jonathan "Duke" Leto 4b8ae26232 Attempt to fix coredump found by TheTrunk/Shossain 2019-04-21 05:50:26 -07:00
Jonathan "Duke" Leto a3da29e994 Update testchain params to mimic mainnet, since our production supply curve is hardcoded and CLI args must match it 2019-04-16 17:29:51 +02:00
Jonathan "Duke" Leto a4fcce1b9c testnet airdrop script, because lets be sure 2019-04-15 21:22:55 -07:00
Jonathan "Duke" Leto 7e5fd654a3 Initial airdrop script to disperse funds to HUSH3 chain 2019-04-15 20:52:27 -07:00
Jonathan "Duke" Leto ce2843810b Add snapshot json 2019-04-14 19:40:49 +02:00
Jonathan "Duke" Leto 8fe0e83aa6 Add snapshot of block 499958, just in case 2019-04-14 17:49:26 +02:00
Jonathan "Duke" Leto 0395eb4c9e Add ac_cclib to make our future lives easier, as per jl777 2019-04-14 07:03:57 -07:00
Jonathan "Duke" Leto 5ec7f56c22 Convert to HUSH3 asset name to prevent confusion about HUSH chainparams in iguana/etc 2019-04-14 06:33:43 -07:00
Jonathan "Duke" Leto ce3abdcb60 This is the current value of HUSH mainnet supply, which could change via last minute xtns 2019-04-14 05:28:56 -07:00
Jonathan "Duke" Leto eeb56cea95 This debug print is a bit noisy 2019-04-14 05:20:17 -07:00
Jonathan "Duke" Leto d2bec31a7a Update to production mainnet block reward values 2019-04-13 19:08:38 -07:00
Jonathan "Duke" Leto 95d29ee2af +x 2019-04-14 02:47:29 +02:00
Jonathan "Duke" Leto 5042c9b11a Add seed node to prod 2019-04-13 11:20:14 -07:00
Jonathan "Duke" Leto 6461e96682 add seed node to script to make it easier 2019-04-13 11:10:42 -07:00
Jonathan "Duke" Leto 964424b6d0 Merge branch 'duke' of https://github.com/MyHush/hush3 into duke 2019-04-13 09:12:57 -07:00
Jonathan "Duke" Leto d5f46f25eb Add hush-cli-testnet 2019-04-13 09:12:50 -07:00
Jonathan "Duke" Leto 38f5f34d7b We have 30 years to properly fix this bug, ain't got time now
Revert "Chasing a last block reward bug"

This reverts commit 034003c8d6.
2019-04-13 18:00:49 +02:00
Jonathan "Duke" Leto 034003c8d6 Chasing a last block reward bug 2019-04-13 08:57:13 -07:00
Jonathan "Duke" Leto 1e330acca3 T7 2019-04-13 07:01:04 -07:00
Jonathan "Duke" Leto d81e7c47c2 ac_end=501 should mean that the last testnet BR is block 500 2019-04-13 15:52:50 +02:00
Jonathan "Duke" Leto f457b96e67 This BR=0 logic overlaps/conflicts with core ac_end logic, and does not work. Get rid of it and verify things work as expected on one more testnet 2019-04-13 06:45:22 -07:00
Jonathan "Duke" Leto 3ac60ceb82 Merge remote-tracking branch 'jl777/dev' into duke 2019-04-13 06:00:09 -07:00
Jonathan "Duke" Leto e73e6a69a9 Merge branch 'frfix' into duke 2019-04-13 04:46:04 -07:00
Jonathan "Duke" Leto 6c438dff91 HUSHT6 2019-04-13 03:03:56 -07:00
Jonathan "Duke" Leto f4cedeffd8 Merge branch 'frfix' of https://github.com/MyHush/hush3 into frfix 2019-04-13 03:02:32 -07:00
Jonathan "Duke" Leto 7bba0ef046 Let us go back to simpler times when things worked 2019-04-13 03:02:22 -07:00
Jonathan "Duke" Leto 7e8d7d5539 Going back to simpler things that work 2019-04-13 02:55:07 -07:00
Jonathan "Duke" Leto 8d52fd6a58 add back perc 2019-04-13 05:47:45 +02:00
Jonathan "Duke" Leto 30643f4994 Stop using eras and hardcode HUSH subsidy/FR 2019-04-12 20:23:04 -07:00
Jonathan "Duke" Leto 7ce2189cfe HUSHT4 2019-04-12 11:55:10 -07:00
Jonathan "Duke" Leto a4149b6a18 Smaller values for testnet blocks so we can verify faster 2019-04-12 11:19:25 -07:00
Jonathan "Duke" Leto ed3090d2e8 Enforce founders reward = 0 when block reward goes to zero 2019-04-12 11:12:04 -07:00
Jonathan "Duke" Leto 41e97129ab Merge branch 'frfix' of https://github.com/MyHush/hush3 into frfix 2019-04-12 09:00:49 -07:00
Jonathan "Duke" Leto ce41b2de32 Update almost-finalized prod chain params 2019-04-12 09:00:32 -07:00
Jonathan "Duke" Leto 97eeeaa779 No FR in 0 BR transition period 2019-04-12 05:53:04 -07:00
Jonathan "Duke" Leto da53f2ca17 Merge branch 'frfix' of https://github.com/MyHush/hush3 into frfix 2019-04-12 14:52:14 +02:00
Jonathan "Duke" Leto 85dd6ce61c T3 2019-04-12 14:32:09 +02:00
Jonathan "Duke" Leto f4c4104cf0 more debug prints 2019-04-12 05:12:26 -07:00
Jonathan "Duke" Leto c1934ec813 int64_t is probably important for commission, enable some debug prints 2019-04-12 04:00:14 -07:00
Jonathan "Duke" Leto 87fc2de687 Add HUSH testnet script to test frfix branch 2019-04-11 08:53:24 -07:00
Jonathan "Duke" Leto f45379735b Mods to fix small FR rounding issue 2019-04-11 08:46:50 -07:00
Jonathan "Duke" Leto 51b36df70c update hush-cli 2019-04-10 19:16:16 -07:00
Jonathan "Duke" Leto 5256f57555 Update testnet chain params, create a new testnet HUSHT2 2019-04-10 15:19:31 -07:00
Jonathan "Duke" Leto 931b5fd7e2 Update chainparams to new vanity FR address, which is uncompressed and requires ac_script 2019-04-08 04:42:30 -07:00
Jonathan "Duke" Leto 67f448fa43 Update client name cli arg for latest KMD 2019-04-03 06:52:03 -07:00
Jonathan "Duke" Leto d592e700ba Client name is not a consensus-related option, it can be configured by any node 2019-04-03 06:50:28 -07:00
Jonathan "Duke" Leto d725af022e Client name is not a consensus-related option, it can be configured by any node 2019-04-02 06:44:09 -07:00
Jonathan "Duke" Leto c4340299ff Merge remote-tracking branch 'jl777/dev' into duke 2019-04-02 05:11:49 -07:00
Jonathan "Duke" Leto aea98c0b92 Some docs for hush_supply 2019-03-26 22:00:07 -07:00
Jonathan "Duke" Leto ddb364756c Add block 5422111 to ac_end, when block rewards should end 2019-03-26 21:37:47 -07:00
Jonathan "Duke" Leto 4f71319b75 Do calculations in satoshis to avoid FP error 2019-03-26 21:07:00 -07:00
Jonathan "Duke" Leto b8166c757c Add script to simulate Hush supply 2019-03-26 20:33:59 -07:00
Jonathan "Duke" Leto 4c9dba59f4 Add hush binary bash completion 2019-03-26 20:02:42 -07:00
Jonathan "Duke" Leto 0ad6367e36 Add client name to hushd 2019-03-25 13:10:12 -07:00
Jonathan "Duke" Leto 7c365437a4 Merge branch 'jl777' into duke 2019-03-25 12:22:49 -07:00
Jonathan "Duke" Leto 26b457dc84 Merge branch 'jl777' into duke 2019-03-18 09:06:09 -07:00
Jonathan "Duke" Leto b146bc3887 Merge branch 'founders' into duke 2019-03-15 11:29:55 -07:00
Jonathan "Duke" Leto 6e0eceb549 Show foundersreward in getblocktemplate if ac_founders enabled 2019-03-15 11:24:27 -07:00
Jonathan "Duke" Leto 5bd13715fd Keep life easy and make FR every 500 blocks 2019-03-15 10:45:38 -07:00
Jonathan "Duke" Leto 73331044dd Pay out FR daily and add helpful comments 2019-03-15 10:20:01 -07:00
Jonathan "Duke" Leto 6398d6f054 Filter out amount=0 UTXOs from getsnapshot results 2019-03-09 14:52:49 -08:00
Jonathan "Duke" Leto 5c66b810d3 Prevent use of uninitialized ignoredAddresses 2019-03-09 07:50:53 -08:00
Jonathan "Duke" Leto 72671d573f Merge branch 'jl777' into duke 2019-03-09 07:41:56 -08:00
Jonathan "Duke" Leto c04ef8eedf Add hush-cli wrapper 2019-03-09 07:13:28 -08:00
Jonathan "Duke" Leto 848477e398 Use ac_perc as recommended by Alright 2019-03-08 22:23:11 -08:00