Commit Graph

17353 Commits

Author SHA1 Message Date
Alfredo Garcia 486817498f Add chain supply and transparent value to block index.
Co-authored-by: Jack Grigg <jack@z.cash>
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2023-01-22 09:10:03 -07:00
Jack Grigg 267ddf8efe qa: Enable RPC test execution to be overridden from Python
`run_tests` now takes a (subclass of) `RPCTestHandler` as its first
argument, and returns `True` if all tests passed instead of calling
`sys.exit`. This enables RPC tests to be run from Python and the
execution of individual tests to be customised:

```python
import importlib
import sys
sys.path.append('qa/pull-tester')
rpc_tests = importlib.import_module('rpc-tests')

src_dir = '.'
build_dir = '.'
exeext = ''

class MyTestHandler(rpc_tests.RPCTestHandler):
    def start_test(self, args, stdout, stderr):
        print('Starting test!')
        return subprocess.Popen(
            args,
            universal_newlines=True,
            stdout=stdout,
            stderr=stderr)

test_list = ['test_to_run.py']

all_passed = rpc_tests.run_tests(MyTestHandler, test_list, src_dir, build_dir, exeext)
```
2023-01-20 13:50:41 +00:00
str4d 1b72c1177d
Merge pull request #6357 from str4d/release-v5.4.0-rc1
Release v5.4.0-rc1
2023-01-20 04:02:54 +00:00
Jack Grigg 227887490b make-release.py: Updated release notes and changelog for 5.4.0-rc1. 2023-01-19 22:57:59 +00:00
Jack Grigg c426545081 make-release.py: Updated manpages for 5.4.0-rc1. 2023-01-19 22:57:58 +00:00
Jack Grigg 072fc26e3e make-release.py: Versioning changes for 5.4.0-rc1. 2023-01-19 22:50:16 +00:00
Jack Grigg 95c6ff635d depends: CMake 3.25.2 2023-01-19 22:48:36 +00:00
Jack Grigg c94b3f40d1 doc: Fix arguments to make-release.py in hotfix process
Closes zcash/zcash#6280.
2023-01-19 22:33:05 +00:00
instagibbs 4bb399a8f5 Corrected values
(cherry picked from commit bitcoin/bitcoin@f8536a62c3)
2023-01-19 21:49:14 +00:00
instagibbs bbf4f8b6e9 Gave miner test values constants for less error-prone values.
(cherry picked from commit bitcoin/bitcoin@617deeb06e)

Zcash: Adapted to mining slow start.
2023-01-19 21:49:13 +00:00
Suhas Daftuar 9d04148414 Add tags to mempool's mapTx indices
(cherry picked from commit bitcoin/bitcoin@086da92ea7)
2023-01-19 21:49:13 +00:00
str4d 9e1efad2d1
Merge pull request #6312 from str4d/6308-backport-6898
Backport `CreateNewBlock` rewrite
2023-01-19 21:47:20 +00:00
str4d 6ec042dd51
Merge pull request #6343 from rex4539/typos
Fix typos
2023-01-18 23:22:44 +00:00
str4d 8bc5740003
Merge pull request #6348 from str4d/update-deps-5.4.0
Update dependencies for 5.4.0 and fix some help messages
2023-01-13 16:18:10 +00:00
Jack Grigg e490b7ff4f qa: Update show_help RPC test 2023-01-13 02:57:39 +00:00
str4d 579e7d1e75
Merge pull request #6347 from daira/increase-wallet-timeout
Increase the time that the wallet will wait for the block index to load
2023-01-13 01:02:57 +00:00
Jack Grigg 7e42041772 Document -clockoffset option 2023-01-13 00:43:46 +00:00
Jack Grigg 0de7a08c86 cargo update 2023-01-13 00:33:13 +00:00
Jack Grigg e91fe01387 depends: Update cxx to 1.0.83 2023-01-13 00:33:13 +00:00
Jack Grigg 9208bdaadd qa: Postpone LLVM 15 and CCache 4.7 updates 2023-01-13 00:33:13 +00:00
Jack Grigg 0e33a7b313 depends: utfcpp 3.2.3 2023-01-13 00:33:13 +00:00
Jack Grigg af8f1c207e depends: Boost 1.81.0 2023-01-13 00:33:13 +00:00
Jack Grigg 0d17460c85 depends: Add tl_expected to update checker 2023-01-13 00:33:13 +00:00
MarcoFalke 828c63ecc4 init: Fix help message for checkblockindex
(cherry picked from commit bitcoin/bitcoin@4ae7d1529e)
2023-01-13 00:32:42 +00:00
Daira Hopwood fae6cd175c Change the time that the wallet will wait for the block index to load from 5 minutes to 2 hours.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-01-13 00:02:03 +00:00
Dimitris Apostolou 3748f3b83a
Fix typos 2023-01-13 00:49:12 +02:00
Daira Hopwood 18b9f8fbd1
Merge pull request #6346 from daira/cleanup-exportwallet
Cleanup after removing dumpwallet
2023-01-12 22:37:09 +00:00
James O'Beirne 5acb393502 Add AbsPathForConfigVal to consolidate datadir prefixing for path args
Most commandline/config args are interpreted as relative to datadir if
not passed absolute. Consolidate the logic for this normalization.

(cherry picked from commit bitcoin/bitcoin@54604600c3)
2023-01-12 22:01:21 +00:00
James O'Beirne 145d259e3e Clarify help messages for path args to mention datadir prefix
Change `-conf`'s and others' help messages to indicate that relative path
values will be prefixed by the datadir path. This behavior is confusing when
attempting to specify a configuration file in the current directory with
`-conf=bitcoin.conf`, but loading the `bitcoin.conf` file in ~/.bitcoin
datadir.

(cherry picked from commit bitcoin/bitcoin@a1e13055c2)
2023-01-12 22:01:21 +00:00
Wladimir J. van der Laan 43e97615ab rpc: Write authcookie atomically
Use POSIX rename atomicity at the `bitcoind` side to create a working
cookie atomically:

- Write `.cookie.tmp`, close file
- Rename `.cookie.tmp` to `.cookie`

This avoids clients reading invalid/partial cookies as in #11129.

(cherry picked from commit bitcoin/bitcoin@82dd7195e1)
2023-01-12 22:01:21 +00:00
MarcoFalke db29ea9e05 Clarify mocktime help message
(cherry picked from commit bitcoin/bitcoin@fa461df685)
2023-01-12 22:01:21 +00:00
MarcoFalke d97f5a0301 [init] Help Msg: Use Params(CBaseChainParams::MAIN)
(cherry picked from commit bitcoin/bitcoin@faa572a329)
2023-01-12 22:01:21 +00:00
MarcoFalke 6703ba2e4e [init] Add missing help for args
(cherry picked from commit bitcoin/bitcoin@fa6ab96799)
2023-01-12 22:01:21 +00:00
str4d e747455adf
Merge pull request #6341 from str4d/6340-drop-centos-8
Remove CentOS 8 as a supported platform
2023-01-12 21:36:30 +00:00
str4d 94f28896f8
Merge pull request #5301 from str4d/cmake-depends
Add CMake to depends system
2023-01-12 21:34:03 +00:00
str4d a2623afe9f
Merge pull request #6299 from zcash/ci_add_heaptrack_benchmark
Update performance-measurements.sh with Heaptrack
2023-01-12 19:19:07 +00:00
str4d e1d48dd3fb
Merge pull request #6136 from zcash/tekton_zcash_basics
Add basic Tekton Zcash CI environment
2023-01-12 17:59:52 +00:00
Daira Hopwood 374df7c4a2 Cleanup after removing dumpwallet.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-01-12 16:17:27 +00:00
mdr0id 08dc78bcc5 update memory targets with heaptrack 2023-01-12 07:18:23 -08:00
Marshall Gaucher 15970e55f3
Update contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build-test.yml
Update darwin version

Co-authored-by: str4d <jack@electriccoin.co>
2023-01-12 06:23:44 -08:00
Marshall Gaucher 1c60c3ac4e
Update contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build.yml
update darwin version

Co-authored-by: str4d <jack@electriccoin.co>
2023-01-12 06:23:28 -08:00
Jack Grigg 609fad8ad0 depends: Force Boost library to be installed in lib/
On CentOS it was defaulting to lib64, which made the library path
unpredictable for native_ccache.
2023-01-12 02:10:22 +00:00
Jack Grigg 5d52d60477 build: Bump required Boost version 2023-01-12 02:10:22 +00:00
Jack Grigg 36efe749c4 build-aux: Update Boost macros to latest serials 2023-01-12 02:10:22 +00:00
Jack Grigg 14973737c4 depends: Force cmake to install libzstd in lib/
On CentOS it was defaulting to lib64, which made the library path
unpredictable for native_ccache.
2023-01-12 02:10:22 +00:00
Jack Grigg a742ad4c62 depends: Add package for native_cmake 3.25.1
This removes the need for users to install cmake themselves to build.
2023-01-12 02:10:22 +00:00
Jack Grigg 3defbd05be depends: native_ccache 4.6.3 2023-01-12 02:10:22 +00:00
Jack Grigg ca512aa286 depends: native_zstd 1.5.2
We already require zstd for cross-compiling Windows binaries; now we
build it internally because we will also require libzstd for ccache.
2023-01-12 02:10:22 +00:00
Jack Grigg 6affc287f7 Remove CentOS 8 as a supported platform
CentOS 8 reached EoL on December 31st 2021, and no longer satisfies our
Tier 2 platform requirements.

Part of zcash/zcash#6340.
2023-01-12 00:08:31 +00:00
Jack Grigg bbc18d2cb2 depends: googletest 1.12.1 2023-01-11 20:55:00 +00:00