14298 Commits

Author SHA1 Message Date
Old Dip Tracker
1389ea1d2a
Merge pull request #3191 from chromatic/add-release-date-constants
Add release date constants
2023-01-09 16:50:46 -05:00
chromatic
93f989df7d
Merge pull request #3186 from jimjimmiejames/patch-1
Update rpcuser.py
2023-01-08 13:05:38 -08:00
chromatic
0ddbfd7974 Add release date and duration constants
These constants, when defined at the point of each new release, give us
the ability to detect when a running node may be out of date with
respect to an expected upcoming release.

This is the starting point for adding out-of-date notifications to the
daemon, CLI tool, and Qt binary.
2023-01-07 11:32:29 -08:00
jimjimmiejames
0684430320
Update rpcuser.py
- updates to python3
- fixes strain bitcoin filename to reflect dogecoin

Update line 39
2022-12-27 14:31:47 -05:00
chromatic
315a84d14c
Merge pull request #3146 from patricklodder/1.14.7-avx2-fix-depends-cc
depends: only use explicit CC for mingw32 in intel-ipsec-mb
2022-11-27 12:57:30 -08:00
chromatic
b371ebd9d5
Merge pull request #3139 from patricklodder/1.14.7-zlib-1.2.13
depends: update zlib to 1.2.13
2022-11-27 11:39:12 -08:00
Old Dip Tracker
2cf7d3aa67
Merge pull request #3141 from xanimo/1.14.7-dev-depends-qfixed-patch
depends: adds QT 5.7.1 'QFixed' context error patch
2022-11-22 19:06:30 -05:00
Patrick Lodder
552a40a572
depends: only use explicit CC for mingw32 in intel-ipsec-mb
The CC override in intel-ipsec-mb.mk fails for linux builds
when done in a docker container due to it inserting "pc" into
the host variable when not otherwise specified.

This fixes it by only overriding if we're building with mingw.
2022-11-02 21:30:33 +01:00
chromatic
4c31ab1240
Merge pull request #3158 from patricklodder/1.14.7-fix-3157
fix: misnamed header file in Makefile.am
2022-11-02 13:25:25 -07:00
chromatic
af3ad6add6
Merge pull request #3140 from patricklodder/1.14.7-actions-node-update
ci: update actions libraries to node16
2022-11-02 10:42:47 -07:00
chromatic
647fdfcf1d
Merge pull request #3136 from patricklodder/1.14.7-enforce-experimental
distinguish experimental features and enforce explicit configuration of these
2022-11-02 09:45:52 -07:00
Patrick Lodder
41cac009a3
fix: misnamed header file in Makefile.am 2022-11-01 01:04:06 +01:00
Old Dip Tracker
c17177d6d4
Merge pull request #3157 from patricklodder/1.14.7-netbase-strings
net: Avoiding C-style NUL-terminated strings in interfaces
2022-10-31 08:20:56 -04:00
Old Dip Tracker
f1c5698197
Merge pull request #3148 from omahs/master
Update French translation
2022-10-31 07:02:03 -04:00
Patrick Lodder
f23050b1f1
doc: experimental features
introduces a new document doc/experimental.md and adapts the
contribution guidelines to this new type of feature
2022-10-30 13:22:15 +01:00
Patrick Lodder
330cea911f
enforce explicit experimental configuration through annotation
Introduces a new support header that exposes the macro
EXPERIMENTAL_FEATURE that (a) allows us to clearly mark blocks
of code as experimental (or entire files) and (b) enforces that
none of the annotated code gets compiled if --enable-experimental
was not configured through a static assertion.

Existing experimental features are annotated:

- AVX2 using the intel-ipsec-mb dependency for SHA1/256/512
- ARMv8 intrinsics for SHA1/256
- ARMv82 intrinsics for SHA512
- SSE2 for scrypt
2022-10-30 13:22:14 +01:00
Patrick Lodder
2c46336ce6
ci: configure experimental jobs explicitly 2022-10-30 13:22:08 +01:00
Patrick Lodder
5446a74f08
build: explicitly enable experimental functions
Introduces a configure flag --enable-experimental that controls at
configure time whether or not experimental features can be
enabled. This serves as a circuit breaker to both make sure that
CI jobs are configured properly, and ensures manual compilations
are intentionally configuring experimental / non-production code.

Additionally, experimental features get listed in the summary after
configuration completes if enabled.

Further work can insert compile time checks with static_asserts
against the ALLOW_DOGECOIN_EXPERIMENTAL macro.
2022-10-30 13:20:25 +01:00
chromatic
6198d674fc
Merge pull request #3154 from patricklodder/1.14.7-fix-ci-qt-selector
ci: fix gui selectors
2022-10-29 21:30:26 -07:00
practicalswift
8bbda1d2be
tests: Avoid using C-style NUL-terminated strings as arguments
Cherry-picked from: 7a046cdc
2022-10-29 22:52:33 +02:00
practicalswift
14c9288af7
tests: check that lookups on strings with NUL fail
Add tests to make sure lookup methods fail on std::string
parameters with embedded NUL characters

Cherry-picked from: fefb9165
2022-10-29 22:52:33 +02:00
Patrick Lodder
6469f6bea7
net: avoid using C-style NUL-terminated strings in interfaces
Minimizes the use of c_str() in netbase interfaces, by using
std::string when we're passing arguments instead, and only
converting to a C-style string when interfacing with
getaddrinfo.

Introduces attributes.h for definition of NODISCARD macro
Introduces utilstring.h for definition of ValidAsCString()

Backported from: 9cc0230c (partial), d945c6f5 and 9574de8
Original Author: practicalswift <practicalswift@users.noreply.github.com>
2022-10-29 22:50:30 +02:00
Old Dip Tracker
f01e36c421
Merge pull request #3102 from chromatic/add-height-to-importpubkey-rescan
Add height to importpubkey for rescan
2022-10-26 03:50:02 -04:00
chromatic
7a00fb1b18 Add height to importpubkey for rescan
This adds two helper functions. One function gets a height parameter from the
incoming RPC request. The other performs the scanning. We can use both
functions for reducing code in other RPC calls that can/should take height
parameters and perform rescanning.
2022-10-22 17:07:04 -07:00
Patrick Lodder
551412bc60
ci: fix gui selectors 2022-10-22 15:36:22 +02:00
Old Dip Tracker
6686083a14
Merge pull request #3143 from xanimo/1.14.7-dev-depends-same-owner
depends: tar: Always extract as yourself
2022-10-21 15:22:01 -04:00
omahs
066dd4e5e2
Update French translation
Update French translation
2022-10-19 16:22:48 +02:00
Old Dip Tracker
5782c969b2
Merge pull request #3145 from xanimo/1.14.7-dev-drop-libtinfo5
ci: drop extraneous libtinfo5 from x86_64-apple-darwin11
2022-10-19 08:12:36 -04:00
Carl Dong
b364365dfb
depends: tar: Always extract as yourself
For normal users, --no-same-owner is default, but not so for root, where
it is assumed that root can change ownership willy-nilly. This is not
the case for privilege-limited container environments where we gaslight
the process into thinking it's root.

Cherry-picked from: 89bee1b
2022-10-18 11:18:31 -07:00
Old Dip Tracker
059327de13
Merge pull request #3137 from chromatic/fix-dbtest-wrapper-warning
Fix warning in dbwrapper test
2022-10-18 05:56:47 -04:00
bluezr
8e02e99fe5
ci: drop extraneous libtinfo5 from x86_64-apple-darwin11 2022-10-17 14:55:09 -07:00
Old Dip Tracker
e322525758
Merge pull request #3138 from chromatic/optimize-is-hex-check
Optimize IsHex() string helper function
2022-10-17 12:31:46 -04:00
Patrick Lodder
d606d594a2
ci: update actions libraries to node16 2022-10-17 00:09:10 +02:00
Dakoda Greaves
2c151a964b
depends: adds QT 5.7.1 'QFixed' context error patch
-After updating clang+llvm, QT 5.7.1's qfontengine_coretext.mm file's variable QFixed errors out as it's a constructor rather than a type in this context. This patch fixes that error.
2022-10-16 14:18:52 -07:00
Patrick Lodder
8f8db42a94
depends: update zlib to 1.2.13 2022-10-16 22:22:12 +02:00
chromatic
063f69528e
Merge pull request #3135 from patricklodder/1.14.7-revert-arm-sha-runtime
Revert "crypto: added runtime checks for SHA hardware"
2022-10-16 13:16:50 -07:00
chromatic
5d2a1b2557 Optimize IsHex() string helper function
This looks like a silly optimization, but this function gets called for
transaction processing, so returning early when there's no point in even
starting to iterate through a string is just smart coding.
2022-10-15 17:43:08 -07:00
chromatic
f3df18466f Fix warning in dbwrapper test
While `buf` isn't going to overflow with the values written to it, the compiler
can't prove that, because the integers used for the contents of the buffer
could possibly be too large.

Fortunately, these integers only need a couple of bits.

`uint8_t` would be enough but it might be better to be more consistent with
other types in this function.
2022-10-15 13:03:19 -07:00
Patrick Lodder
c5c0c3ecee
Revert "crypto: added runtime checks for SHA hardware"
This reverts commit e78cfc630dbb712662328eb6c8b401bd3fab8969.

Besides adding runtime checks, this also removes experimental
guards and makes the features leak into release code as we have
no way of disabling them.

Additionally, this breaks on non-gnu systems which currently have
no released binaries, like arm-apple-darwin20 (Apple silicon macs)
2022-10-14 09:26:33 +02:00
Old Dip Tracker
763848c56e
Merge pull request #3107 from slightlyskepticalpotat/update-snap
Linux Snap Packaging for v1.14.6
2022-10-12 03:29:03 -04:00
chromatic
6c8499e638
Merge pull request #1986 from itseasy21/master
Avoid &foo[0] on C-Style arrays
2022-10-11 11:07:42 -07:00
Shubham Mathur
eebf35b8b4 Avoid &foo[0] on C-Style arrays
Confusing as some parts of class use redundant operators and other parts do not.
2022-10-10 10:59:14 +11:00
chromatic
f0ca929cd7
Merge pull request #3082 from patricklodder/1.14.7-update-secp256k1
Update secp256k1 subtree
2022-10-06 12:57:40 -07:00
Old Dip Tracker
e1bb8a85f7
Merge pull request #3080 from xanimo/1.14.7-dev-ltc-scrypt
qa: fix ltc-scrypt
2022-10-01 09:55:06 -04:00
chromatic
ca55ab81f6
Merge pull request #3088 from junderw/master
Fix: parse -maxtxfee outside of CWallet
2022-08-30 13:06:18 -07:00
Dakoda Greaves
73a435b58e
qa: fix ltc-scrypt
-update install-deps.sh so it will clean up after itself and can be invoked from root directory.
-add python3-pip and python3-setuptools to ci matrix jobs that run qa and qa/README.md which are needed in order to install ltc-scrypt.
-update archive source to dogecoin/ltc-scrypt:v1.0.1.
-update qa/README.md to include sudo prior to apt-get install directive and add instructions to invoke install-deps.sh script from root directory.
2022-08-27 14:26:05 -07:00
Anthony Chen
ec965dd9e9 update snap packaging for 1.14.6 2022-08-27 02:41:42 -04:00
Old Dip Tracker
7e56d462ea
Merge pull request #3103 from randomwalk266/Tiger
fix bugs in Chinese translation
2022-08-24 10:41:11 -04:00
randomwalk266
586656667e fix bugs in Chinese translation 2022-08-21 20:41:16 +08:00
chromatic
42f3349d39
Merge pull request #3079 from patricklodder/1.14.7-walletcryptotest-no-openssl
qa: remove openssl comparison from wallet test
2022-08-20 11:03:26 -07:00