14318 Commits

Author SHA1 Message Date
Old Dip Tracker
7cd1bcbccd
Merge pull request #3224 from Anish-M-code/master
set character display limit label in Send coin dialog
2023-02-20 11:37:47 -05:00
ANISH M
d2081257db
set character display limit label in Send coin dialog
An attempt to fix  bug tx confirmation window is getting out of the screen and can't click on "send" by setting a maximum of 45 characters to not wrap lines in the label and be able to add ... if the size exceeds that.
2023-02-18 22:06:31 +05:30
chromatic
fb24715046
Merge pull request #3217 from bwarden/patch-1
Remove http log category from RPC binding-related logs
2023-02-08 09:23:01 -08:00
Brett T. Warden
f7a125431a Remove http log category from RPC binding-related logs
Implement #3216
2023-02-06 19:00:00 -08:00
chromatic
fd50cdd8f1
Merge pull request #3142 from patricklodder/1.14.7-secp256k1-rename-priv-to-sec
fix function rename in secp256k1
2023-02-06 16:49:36 -08:00
chromatic
81dbbec891
Merge pull request #3213 from patricklodder/1.14.7-array-include
net: explicitly include std::array
2023-02-05 13:33:25 -08:00
Patrick Lodder
5a5f1955f7
net: explicitly include std::array
On boost 1.81 std::array is no longer included by default and
causes a compile error on net_processing.cpp:

macOS with apple clang 14.0:

  CXX      libdogecoin_server_a-net_processing.o
net_processing.cpp:1112:47: error: implicit instantiation of undefined template 'std::array<std::pair<unsigned long long, CNode *>, 2>'
    std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}};

debian:exprimental with gcc 12.1:

net_processing.cpp: In function 'void RelayAddress(const CAddress&, bool, CConnman&)':
net_processing.cpp:1112:47: error: variable 'std::array<std::pair<long unsigned int, CNode*>, 2> best' has initializer but incomplete type
 1112 |     std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}};
      |

this commit fixes the problem by explicitly including <array>.
2023-02-01 01:39:51 +01:00
Old Dip Tracker
4b73ae26b6
Merge pull request #3207 from bjacquin/dev/beber/boost-1.81
compatibility with qt 5.15.8 and boost 1.81.0
2023-01-31 19:37:34 -05:00
Bertrand Jacquin
728369efbf
Remove Q_FOREACH
dogecoin fails to build with qt 5.15.8:

  x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config   -I. -I./obj -I/usr/include/db5.3/ -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv   -I./secp256k1/include  -I./qt -I./qt -I./qt/forms -I./qt/forms -DQT_NO_KEYWORDS -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -DQT_NETWORK_LIB -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtWidgets -DQT_PRINTSUPPORT_LIB -I/usr/include/qt5/QtPrintSupport -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB  -DQT_DBUS_LIB -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore    -I/usr/include/db5.3 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS   -fPIC -march=native -O2 -pipe -fomit-frame-pointer -c -o qt/libdogecoinqt_a-paymentserver.o `test -f 'qt/paymentserver.cpp' || echo './'`qt/paymentserver.cpp
  qt/paymentserver.cpp:556:70: error: macro "Q_FOREACH_IMPL" passed 4 arguments, but takes just 3
    556 |     Q_FOREACH(const PAIRTYPE(CScript, CAmount)& sendingTo, sendingTos) {
        |                                                                      ^
  In file included from /usr/include/qt5/QtCore/qatomic.h:41,
                   from /usr/include/qt5/QtCore/qrefcount.h:43,
                   from /usr/include/qt5/QtCore/qbytearray.h:44,
                   from /usr/include/qt5/QtCore/QByteArray:1,
                   from qt/paymentrequestplus.h:17,
                   from qt/paymentserver.h:35,
                   from qt/paymentserver.cpp:6:
2023-01-21 02:44:02 +00:00
Bertrand Jacquin
cc82ecaeec
test: include deque
boost 1.81.0 requires deque to be included directly:

  x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config   -I. -I./obj -I/usr/include/db5.3/ -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv   -I./secp256k1/include  -I./test/ -DBOOST_TEST_DYN_LINK  -I/usr/include/db5.3 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS    -march=native -O2 -pipe -fomit-frame-pointer -c -o test/test_dogecoin-cuckoocache_tests.o `test -f 'test/cuckoocache_tests.cpp' || echo './'`test/cuckoocache_tests.cpp
test/cuckoocache_tests.cpp: In function ‘void cuckoocache_tests::test_cache_generations()’:
test/cuckoocache_tests.cpp:359:10: error: ‘deque’ is not a member of ‘std’
    359 |     std::deque<block_activity> last_few;
        |          ^~~~~
  test/cuckoocache_tests.cpp:9:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?
      8 | #include <thread>
    +++ |+#include <deque>
      9 | #include <boost/thread.hpp>
  test/cuckoocache_tests.cpp:359:30: error: expected primary-expression before ‘>’ token
    359 |     std::deque<block_activity> last_few;
        |                              ^
  test/cuckoocache_tests.cpp:359:32: error: ‘last_few’ was not declared in this scope
    359 |     std::deque<block_activity> last_few;
        |                                ^~~~~~~~
  make[2]: *** [Makefile:9046: test/test_dogecoin-cuckoocache_tests.o] Error 1
2023-01-21 01:38:35 +00:00
Old Dip Tracker
cf79c44373
Merge pull request #3144 from xanimo/1.14.7-dev-depends-bump-pkgs-python3
depends: use python3 in native_biplist/ds_store/mac_alias.mk
2023-01-17 15:05:31 -05:00
chromatic
1603e8fc95
Merge pull request #3196 from NinVoido/new-year-fix
LICENSE: Update year to 2023
2023-01-14 11:55:39 -08:00
chromatic
af022ca76e
Merge pull request #3205 from patricklodder/1.14-update-codeql
qa: update codeql to v2 and standard actions to v3
2023-01-14 09:53:14 -08:00
Patrick Lodder
4310e0be23
qa: update codeql to v2 and standard actions to v3
This is needed because v1 will see final eol on 2023/01/18
2023-01-13 22:27:15 +01:00
Dakoda Greaves
db5336148b
gitian: change python to python3 in osx descriptor 2023-01-13 13:21:54 -08:00
bluezr
8e40d1140f
depends: use python3 in native_biplist/ds_store/mac_alias.mk
-instead of using python-is-python3 update native_biplist.mk, native_ds_store.mk and native_mac_alias.mk files to use python3
2023-01-13 13:21:54 -08:00
Your name
87184830e4 Fix LICENSE year 2023-01-13 22:51:09 +03:00
Old Dip Tracker
70164f1c4c
Merge pull request #3169 from alamshafil/depends-libxkbcommon
depends: Suppress array-bounds errors in libxkbcommon
2023-01-09 19:05:18 -05:00
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
Patrick Lodder
6bd20c061c
fix function rename in secp256k1
secp256k1_ec_privkey_tweak_add was renamed and is now
secp256k1_ec_seckey_tweak_add in upstream 41fc785602 and
22911ee6da.

Removes a warning.
2023-01-08 16:44:42 -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
alamshafil
9f19673345
depends: Suppress array-bounds errors in libxkbcommon 2022-11-09 15:52:45 -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