Commit Graph

121 Commits

Author SHA1 Message Date
Jonathan "Duke" Leto
5d2307a709 Update copyrights to 2022 2022-09-19 15:45:30 -07:00
Duke Leto
5686f0c691 Clean up sprout turdz 2021-04-14 21:00:28 -04:00
Duke Leto
be16f80abc Hush Full Node is now GPLv3
Any projects which want to use Hush code from now on will need to be licensed as
GPLv3 or we will send the lawyers: https://www.softwarefreedom.org/

Notably, Komodo (KMD) is licensed as GPLv2 and is no longer compatible to receive
code changes, without causing legal issues. MIT projects, such as Zcash, also cannot pull
in changes from the Hush Full Node without permission from The Hush Developers,
which may in some circumstances grant an MIT license on a case-by-case basis.
2020-10-21 07:28:10 -04:00
Duke Leto
a7f88a87aa Update copyright URL to be https 2020-09-20 13:17:38 -04:00
jl777
0ea9ae3c05 Update copyright to 2019 2018-12-31 21:41:05 -11:00
miketout
191f3bbddd Complete nothing at stake solution, waiting for confirm of masks 2018-10-06 21:28:51 -07:00
miketout
7a9960f086 Comment debugging printf's - tracked down to Zcash raw tx bug, which means we should sync 2018-10-04 17:13:42 -07:00
miketout
2ed3bbec38 Debugging 2018-10-03 22:04:39 -07:00
miketout
8a727a26a7 Beginning of N@S solution using CoinbaseGuard CC 2018-10-02 19:49:54 -07:00
miketout
9feb4b9e08 Major updates integration from all upstreams 2018-09-18 14:33:53 -07:00
jl777
b4795ed684 -prints 2018-08-18 03:07:53 -11:00
jl777
ad4d921071 +print 2018-08-18 01:27:42 -11:00
jl777
64836d75a0 +print 2018-08-18 01:11:31 -11:00
jl777
6252e12f17 +print 2018-08-18 00:54:53 -11:00
jl777
1960a3d2c6 Test 2018-07-23 05:52:40 -11:00
jl777
b2617a2dee Test 2018-07-23 05:49:23 -11:00
jl777
1f5f9d297b Test 2018-07-23 05:41:43 -11:00
jl777
d05a61ec13 Test 2018-07-23 05:28:04 -11:00
jl777
89c506ddb4 Test 2018-07-23 05:27:13 -11:00
jl777
bfcf5bad78 Test 2018-07-23 05:22:36 -11:00
jl777
46d1074a67 Test 2018-07-23 04:43:21 -11:00
Jack Grigg
b391b70736 Implement Sapling signature hash (ZIP 243) 2018-05-08 11:45:38 +01:00
Scott Sadler
0cb91a8d20 wip 2018-04-29 00:34:57 -03:00
Jack Grigg
2d922b66b0 Pass transaction header into correct SignatureHash serialization level
We need to indicate whether PHGR or Groth proofs are expected to vjoinsplit,
which is serialized in an inner hash, not the outer hash.
2018-04-19 20:35:33 +01:00
Jack Grigg
b7e75b17af Implement basic Sapling v4 transaction parser
Details of Sapling datatypes will be filled in later; for now, they are treated
as binary blobs.

Includes code cherry-picked from upstream commit:
    7030d9eb47254499bba14f1c00abc6bf493efd91
    BIP144: Serialization, hashes, relay (sender side)
2018-04-19 05:01:47 +01:00
Jack Grigg
68a1a592ca Remove nType and nVersion from Zcash-specific code 2018-04-17 13:09:47 +01:00
Pieter Wuille
242f1421db Get rid of nType and nVersion
Remove the nType and nVersion as parameters to all serialization methods
and functions. There is only one place where it's read and has an impact
(in CAddress), and even there it does not impact any of the recursively
invoked serializers.

Instead, the few places that need nType or nVersion are changed to read
it directly from the stream object, through GetType() and GetVersion()
methods which are added to all stream classes.
2018-04-17 13:09:28 +01:00
Jack Grigg
d2fb34fb7c Handle usage of prevector for CScript in Zcash-specific code 2018-04-16 07:38:36 -06:00
Pieter Wuille
29a8ade782 Prevector type 2018-04-16 07:38:36 -06:00
mruddy
690d38f0f8 Resolve issue bitcoin/bitcoin#3166.
These changes decode valid SIGHASH types on signatures in assembly (asm) representations of scriptSig scripts.
This squashed commit incorporates substantial helpful feedback from jtimon, laanwj, and sipa.
2018-04-16 07:38:36 -06:00
Scott Sadler
e625be68a9 allow larger PUSHDATA for CC fulfillment 2018-04-06 02:55:47 -03:00
Scott Sadler
561f3e18c1 tests for bet protocol done; verify notarisation still to test 2018-04-05 05:06:22 -03:00
Scott Sadler
563581aff4 many changes: * fix CC malleability * extra validations for CCs such as requiring a signature and limiting types * different SIGHASH types for CC 2018-03-31 23:20:03 -03:00
Scott Sadler
2c8d8268dd ImportPayout cc eval code and alot of general cc polish. tests to write 2018-03-30 15:46:41 -03:00
Scott Sadler
991c422a9d fix CC 2018-03-28 15:02:20 -03:00
Scott Sadler
9e74de25fc merge jl777/dev; zcash upgrade, CC to fix 2018-03-26 20:07:32 -03:00
jl777
9000990c30 Merge remote-tracking branch 'zcash/master' into rebase2
# Conflicts:
#	.travis.yml
#	Makefile.am
#	README.md
#	configure.ac
#	depends/Makefile
#	depends/builders/darwin.mk
#	depends/funcs.mk
#	depends/hosts/darwin.mk
#	depends/packages/googlemock.mk
#	depends/packages/googletest.mk
#	depends/packages/libsnark.mk
#	depends/packages/libsodium.mk
#	depends/packages/packages.mk
#	depends/packages/rust.mk
#	src/Makefile.am
#	src/Makefile.gtest.include
#	src/chainparams.cpp
#	src/chainparams.h
#	src/checkpoints.h
#	src/clientversion.h
#	src/coins.cpp
#	src/consensus/consensus.h
#	src/gtest/test_mempool.cpp
#	src/httprpc.cpp
#	src/init.cpp
#	src/komodo-tx.cpp
#	src/main.cpp
#	src/miner.cpp
#	src/policy/fees.cpp
#	src/policy/fees.h
#	src/rpcmining.cpp
#	src/rpcrawtransaction.cpp
#	src/rpcserver.cpp
#	src/test/policyestimator_tests.cpp
#	src/test/rpc_wallet_tests.cpp
#	src/test/transaction_tests.cpp
#	src/txdb.cpp
#	src/txmempool.cpp
#	src/wallet/asyncrpcoperation_sendmany.cpp
#	src/wallet/rpcwallet.cpp
#	src/wallet/wallet.cpp
#	src/wallet/wallet.h
#	src/zcash/CreateJoinSplit.cpp
#	zcutil/build.sh
2018-03-25 18:44:38 +03:00
Scott Sadler
83b8f972f2 Merge remote-tracking branch 'jl777/dev' into cryptoconditions 2018-03-16 23:03:27 -03:00
Scott Sadler
346eb4ae25 small refactor 2018-03-09 09:40:31 -03:00
Scott Sadler
2b2c75de29 basic implementation of transaction replacement. requires cleanup and testing 2018-03-08 15:15:01 -03:00
jl777
ff0e23d17e Test 2018-03-04 10:39:54 +02:00
jl777
7fbab03f73 Test 2018-03-04 10:23:36 +02:00
jl777
7c5999c9f0 Prints 2018-03-04 10:21:33 +02:00
jl777
f8f7a4d4cd Test 2018-03-04 10:11:12 +02:00
jl777
b9dddf15c4 Test 2018-03-04 10:07:57 +02:00
jl777
ff4e7f8672 Test 2018-03-04 10:03:55 +02:00
jl777
67a9ed29ae Test 2018-03-04 10:03:13 +02:00
jl777
fbdd7dde33 Test 2018-03-04 10:02:44 +02:00
jl777
5968c21549 Test 2018-03-04 10:01:29 +02:00
jl777
0df0ed0c68 CLTV fprintf 2018-03-04 09:59:21 +02:00