Daira-Emma Hopwood
8b436e8f1f
Repair the RPC tests.
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-10-02 03:53:11 +01:00
Daira-Emma Hopwood
9f7ee08af0
Ensure that `create_coinbase` can work on regtest after various
...
network upgrades:
* after Blossom, there is an extra halving of the block reward;
* after NU5, `nExpiryHeight` must be equal to the block height;
* after NU6, we need to take into account the lockbox value.
Also we rename `hashFinalSaplingRoot` to `hashBlockCommitments`,
and make `CBlock.rehash` implicitly recalculate the `hashMerkleRoot`
and `hashAuthDataRoot` fields.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 11:28:36 +01:00
Kris Nuttycombe
d9aeefc54a
scripted-diff: Add 2017-2022 copyright headers for files added/modified in 2017
...
-BEGIN VERIFY SCRIPT-
grep -l "Copyright" $(grep -L "The Zcash developers" $(git diff --name-only --diff-filter=ACM 94f427a211bb337200c29a1e19be0f5ad2f171b0..b2a114a8c99947b66d1fbdc70278f13e7a415d2a -- src/ test/ zcutil/ qa/)) | xargs -I {} sed -i"" -e "s#\(\(.*\)Copyright (c) .* The Bitcoin Core developers\)#\1\n\2Copyright (c) 2017-2022 The Zcash developers#" {}
-END VERIFY SCRIPT-
2022-05-11 17:25:51 -06:00
Kris Nuttycombe
1b8a9af946
Add tests to check auth data commitments committing to Orchard actions.
...
In the process of adding these tests, I also found and fixed a number
of type errors in Orchard auth data root computation.
Fixes #5223
2022-05-09 21:01:11 -06:00
zancas
fbbdb23214
blake2b/s is integrated into hashlib, drop external python package dependency
2022-01-11 10:16:22 -07:00
Jack Grigg
2d0a8f1f3a
test: Check for valid hashBlockCommitments construction post-NU5
2021-06-18 01:05:04 +01:00
MarcoFalke
15721275d0
[qa] Switch to py3
...
Zcash: We already did this, so most of the backported changes are
ancillary (license header updates and style), but a few are relevant.
2020-11-21 02:33:27 +00:00
Casey Rodarmor
4761c9f2bc
Add p2p-fullblocktest.py
...
Zcash: Includes pyflakes changes.
2020-11-20 03:32:53 +00:00
Jack Grigg
a7f9365fb8
test: Set hashFinalSaplingRoot default correctly in create_block
2020-11-18 11:12:09 +00:00
Jesse Cohen
aead91419e
[doc][trivial] no retargeting in regtest mode
2020-11-17 18:48:32 +00:00
mdr0id
3f751205b1
update io module, fix py3 division, and string encoding
2020-02-09 08:15:43 -08:00
mdr0id
09fa601617
update to py3 encodings
2020-02-09 08:15:43 -08:00
mdr0id
82162e7d20
Update rpc-test/test_framework to Py3 convention,modules,encoding
2020-02-09 08:14:21 -08:00
Jack Grigg
d7d4dd8a0f
test: Add hashFinalSaplingProxy to create_block
2019-08-22 15:44:18 +01:00
Daira Hopwood
bc909a7a7f
Replace http with https: in links to the MIT license.
...
Also change MIT/X11 to just MIT, since no distinction was intended.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-07-18 15:26:01 +01:00
Jack Grigg
c10c40779d
[Test] MiniNode: Implement Zcash coinbase
2017-10-05 15:18:53 +01:00
Jack Grigg
643235859a
[Test] MiniNode: Fix coinbase creation
...
CScriptNum is only used for heights > 16.
2017-10-05 15:18:27 +01:00
Jack Grigg
e68c3ec188
[Test] MiniNode: Use Zcash PoW
...
Equihash solver code extracted from https://github.com/str4d/zcash-pow
RPC tests now require pyblake2 to be installed
2017-10-05 15:15:10 +01:00
Daira Hopwood
aff0bf7fa1
Clean up imports to be pyflakes-checkable. fixes #2450
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-06-22 18:09:04 +01:00
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
2015-05-18 15:25:45 +02:00