onryo
58b65f9670
Update copyrights
3 months ago
Duke
e033a2e6eb
Update copyrights to 2023
1 year ago
Jonathan "Duke" Leto
5d2307a709
Update copyrights to 2022
2 years ago
Duke Leto
4a536d62dc
Update copyrights
3 years ago
Duke Leto
b58c15b9fb
update copyrights
3 years ago
Duke Leto
a42c063b52
Remove more remnants of JoinSplits
3 years ago
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.
4 years ago
jl777
52445b8430
Slowflag into CBOPRET if
5 years ago
ca333
492d6703ed
sync jl777:FSM
6 years ago
Larry Ruane
6206d86237
Test peer banning logic in both pre- and post-initial block download states
6 years ago
Sean Bowe
3d75e8b3e7
Move `extern params` to beginning of `test_checktransaction`.
6 years ago
Sean Bowe
291895fac7
Ensure sum of valueBalance and all vpub_new's does not exceed MAX_MONEY inside of CheckTransactionWithoutProofVerification.
6 years ago
Larry Ruane
772f87aaeb
don't ban peers when loading pre-overwinter blocks
6 years ago
Jack Grigg
97b46f00cc
Add valueBalance to value balances, and enforce its consensus rules
6 years ago
Jack Grigg
e1d41f21f3
Update tests for CreateNewContextualCMutableTransaction changes
6 years ago
Jack Grigg
e1dbec49b7
Add test of Sapling transaction size boundary
6 years ago
Jack Grigg
15ec5525e3
Raise 100kB transaction size limit from Sapling activation
Closes #2864 .
6 years ago
Jack Grigg
b1608eed82
Add a constant for Overwinter's transaction version
6 years ago
jl777
e73b2055c6
Merge branch 'beta' into mergemaster
# Conflicts:
# src/main.cpp
6 years ago
Jack Grigg
be12669982
Add consensus branch ID parameter to SignatureHash, remove SigVersion parameter
We do not need to be able to calculate multiple SignatureHash versions for a
single transaction format; instead, we use the transaction format to determine
the SigVersion.
The consensus branch ID *does* need to be passed in from the outside, as only
the caller knows the context in which the SignatureHash is being calculated
(ie. mempool acceptance vs. block validation).
JoinSplit signature verification has been moved into ContextualCheckTransaction,
where the consensus branch ID can be obtained.
The argument to the sign command for zcash-tx has been modified to take a height
in addition to the optional sigtype flags.
6 years ago
Pieter Wuille
c86a1cb86e
BIP143: Verification logic
Includes simplifications by Eric Lombrozo.
Edited for Zcash merge by Ariel Gabizon.
7 years ago
Simon
fa78211ed7
Add test to check malformed v1 transaction against Overwinter tx parser
6 years ago
Simon
072099d788
Implementation of Overwinter transaction format ZIP 202.
6 years ago
Daira Hopwood
cb1246194e
Update the error message string for tx version too low. ref #1600
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Jack Grigg
7ac924cdb7
Disallow v0 transactions as a consensus rule
Closes #1557
8 years ago
Sean Bowe
74f15a73a1
Make 100KB transaction size limit a consensus rule, rather than a standard rule.
8 years ago
Sean Bowe
d7eeb7455b
Fix CheckTransaction bugs.
8 years ago
Taylor Hornby
2902ac7ce8
Use libsodium's s < L check, instead checking that libsodium checks that.
8 years ago
Sean Bowe
1d184d53e1
Rename cacheSerials to cacheNullifiers and fix tests.
8 years ago
Sean Bowe
8f95cd3c26
Test fixes.
8 years ago
Sean Bowe
8675d94b63
Rename vpour to vjoinsplit.
8 years ago
Sean Bowe
a8c68ffe99
Rename CPourTx to JSDescription.
8 years ago
Taylor Hornby
a4944ffcb0
Fix bad_txns_oversize test for increased block size.
8 years ago
Taylor Hornby
d9ee9a51d1
Test non-canonical ed25519 signature check
8 years ago
Taylor Hornby
4aea53423e
More testing of CheckTransaction
8 years ago
Taylor Hornby
948d4e6c10
Split JoinSplit proof verification out of CheckTransaction.
8 years ago
Taylor Hornby
cea9f58791
WIP: Add mock test coverage of CheckTransaction
8 years ago
Taylor Hornby
fc057da455
Add example mock test of CheckTransaction
8 years ago
Taylor Hornby
6ad4db2253
Add check that vpubs are not both nonzero and test it.
8 years ago