14444 Commits

Author SHA1 Message Date
Patrick Lodder
c2fddcaf87
cleanup: document magic number in fee_estimates.dat 2024-02-20 18:00:04 -05:00
chromatic
fc128f3a4a
Merge pull request #3389 from patricklodder/1.14.7-rework-smartfee-params
policy: tune feerate estimator parameters
2024-02-20 14:26:56 -08:00
chromatic
e0b6a51615
Merge pull request #3423 from patricklodder/1.14.7-update-manpages
doc: update manpages
2024-02-19 22:07:29 -08:00
Old Dip Tracker
02040c5414
Merge pull request #3429 from chromatic/1.14.7-add-pull-tester-error-checking
[QA] Check command-line arguments for test runner
2024-02-20 02:16:39 +01:00
chromatic
1451b59269
Merge pull request #3427 from patricklodder/1.14.7-bugfix-qt4
qt: fix qt4 compile error
2024-02-19 14:51:56 -08:00
chromatic
57709ff042
Merge pull request #3422 from patricklodder/1.14.7-update-seeds
Update static seeds
2024-02-19 10:27:01 -08:00
Old Dip Tracker
0b6d5b4527
Merge pull request #3421 from chromatic/1.14.7-dev-clean-up-paymentserver-qt-warnings
Fix two QT payment server warnings
2024-02-19 18:23:36 +01:00
Old Dip Tracker
0fddd85f5c
Merge pull request #3419 from slightlyskepticalpotat/1.14.7-chinese
add Chinese (zh_CN) translations to 1.14.7, full coverage
2024-02-19 18:06:14 +01:00
chromatic
17e899d1c3 [QA] Check command-line arguments for test runner
Before this change, if you made a typo such as `-parellel-8` when trying to run
tests, you'd get a backtrace that's difficult to interpret. With this change,
you'll get a better error message and a non-zero exit code.
2024-02-18 14:00:54 -08:00
chromatic
e0278f6878
Merge pull request #2686 from patricklodder/1.14.5-update-osx-guide
docs: update macos build guide
2024-02-18 13:37:49 -08:00
chromatic
08f9db087b
Merge pull request #3417 from patricklodder/1.14.7-minimum-os
doc: list minimum os versions
2024-02-18 10:47:31 -08:00
chromatic
f71116645b
Merge pull request #3415 from patricklodder/1.14.7-backport-qt-fixes
depends: backport Qt bugfixes
2024-02-18 10:39:16 -08:00
chromatic
5a0e275329
Merge pull request #3416 from patricklodder/1.14.7-chainparams
update checkpoints, chainwork, assumevalid
2024-02-18 10:37:39 -08:00
Patrick Lodder
d53b640c2d
qt: fix qt4 compile error
f0f50cf9c introduced a compile error on qt4 because qHash only takes
an int argument from qt5+. This fixes that by converting the seed
into a string and both prepending and appending the seed to the
datadir whenever compiling on qt4.
2024-02-18 09:23:29 -05:00
chromatic
ad6a62b7ee
Merge pull request #3413 from patricklodder/1.14.7-translation-base
locale: freeze strings and update active translation files
2024-02-17 18:55:47 -08:00
Patrick Lodder
17bbdb17c7
doc: update manpages
generated with contrib/devtools/gen-manpages.sh
2024-02-17 11:23:29 -05:00
Anthony Chen
70d3633a37 Update zh_CN translation for 1.14.7 2024-02-17 10:03:43 -05:00
Patrick Lodder
55b24c512d
update static seed node lists for 1.14.7 2024-02-17 09:04:15 -05:00
chromatic
88ad916fce Fix two QT payment server warnings
This code cleans up two warnings about deprecated functions and removes
another case of using a signed integer for a network request length.
2024-02-16 18:54:48 -08:00
Patrick Lodder
92b439f375
depends: Backport Qt bugfixes
Dogecoin-Qt cannot upgrade Qt on a minor release without breaking
support for older systems, and thus preventing operators on these
to get important security updates. Therefore, it is important to
patch the fixed version of Qt we are stuck with when applicable.

This backports important bug fixes from later Qt versions that
harden Dogecoin-Qt's internals:

- Fix possible heap corruption in QXmlStream
  see: https://codereview.qt-project.org/c/qt/qtbase/+/236691

- do not attempt to load a library relative to $PWD
  see: https://codereview.qt-project.org/c/qt/qtbase/+/286795

- Fix specific overflow in qtextlayout
  see: https://codereview.qt-project.org/c/qt/qtbase/+/476125

- QDnsLookup/Unix: Ensure that both the RDATA and the Record header
  fields before it fall inside the buffer we have
  see: https://codereview.qt-project.org/c/qt/qtbase/+/477644

- Fix a crash while parsing an XML file with garbage data
  see: https://codereview.qt-project.org/c/qt/qtbase/+/471756
       https://codereview.qt-project.org/c/qt/qtbase/+/455027

- Fix crash when reading corrupt font data
  see: https://codereview.qt-project.org/c/qt/qtbase/+/503026
2024-02-16 21:05:15 -05:00
Patrick Lodder
7eaf406383
trivial: depends: one line per Qt patch 2024-02-16 21:05:14 -05:00
Old Dip Tracker
6cb6ec5202
Merge pull request #3420 from chromatic/1.14.7-dev-fix-noto-sans-requirements
Add NotoSans font to Qt makefile includes
2024-02-17 03:04:23 +01:00
chromatic
1dccda48d6 Add NotoSans font to Qt makefile includes
Follow-up from PR #2676.
2024-02-16 13:56:10 -08:00
Patrick Lodder
bb7adb6fd7
doc: list minimum os versions 2024-02-16 10:13:47 -05:00
Patrick Lodder
f6e25d5382
update checkpoints, chainwork, assumevalid for 1.14.7
Adds checkpoint and assumevalid for mainnet block 5050000:

- hash: e7d4577405223918491477db725a393bcfc349d8ee63b0a4fde23cbfbfd81dea
- work: 000000000000000000000000000000000000000000000e993d2aa86cf246a49b
- txs: 226128837
- timestamp: 1705383360 (2024-01-16)

Compares tx delta with block from 2023-01-16, 4556625:

- hash: 269ad8789a2792c9e6db17a3c98314d3c3931407689fa730075c9909511100e0
- txs: 92752025

(226128837 - 92752025) / 31536000 = 4.23 tx/sec

---

Adds checkpoint and assumevalid for testnet block 5900000:

- hash: 199bea6a442310589cbb50a193a30b097c228bd5a0f21af21e4e53dd57c382d3
- work: 00000000000000000000000000000000000000000000000000540f2f62ff9a26
- txs: 7391928
- timestamp: 1703511130

Because testnet has seen increased mining for 9 months or so but this
has since ceased, the tx delta was calculated over the whole period since
last checkpoint:

(7391928 - 5353803) / (1703511130 - 1657647467) = 0.04 tx/s
2024-02-15 16:43:36 -05:00
Patrick Lodder
1b62f12c9c
docs: update macos build guide
- Removes zipping of XCode instruction
- Removes the boost source compile, no longer needed since 41406bf
- Removes the bdb source compile, no longer needed since e23f14c
- Adds instructions for using protobuf@21
- Adds libevent as a dependency
- Use berkeley-db@5
- Formats to be closer to the other build guides
- Remove $-signs in front of commands, to make it easier to c&p
- Updates the brew installation script
- Replaces the old build-osx guide because that is unmaintained
  and this one is better
- Now tested on Sonoma and Ventura, x86_64 and arm64
2024-02-14 09:58:32 -05:00
Patrick Lodder
8c2f8579be
locale: update translations
Updates translation files for all available languages with 1.14.7
strings
2024-02-14 09:54:50 -05:00
Patrick Lodder
07bc7361b5
locale: Update base translation files
Effectuates string freeze for 1.14.7 release
2024-02-14 09:54:39 -05:00
Patrick Lodder
6de4d22840
locale: remove obsolete translation files
Remove unmaintained translations mentioned in 2a0c36b6, except for
bitcoin_fr_CA.ts, as there has been activity on this, indicating
that this is important to support.
2024-02-14 09:08:51 -05:00
Patrick Lodder
c045bba37e
fix missing space in BIP70 warning 2024-02-14 09:08:25 -05:00
Old Dip Tracker
4a544d6569
Merge pull request #3412 from chromatic/deprecate-bip70-payment-server
Disable BIP-70 payment server by default
2024-02-14 13:07:45 +01:00
chromatic
18714b7bb6
Merge pull request #3414 from patricklodder/1.14.7-fix-m4-warnings
build: Update `AX_PTHREAD`
2024-02-13 20:33:15 -08:00
Patrick Lodder
581073df44
build: Update AX_PTHREAD
Update build-aux/m4/ax_pthread.m4 from GNU's archive at
https://www.gnu.org/software/autoconf-archive/ax_pthread.html

Using commit: ac2e553eee1eb831df43f3db40b7d77f0104e823
2024-02-12 16:14:51 -05:00
Old Dip Tracker
2e711213ec
Merge pull request #2676 from chromatic/reduce-font-warnings
[Qt] Reduce font warnings
2024-02-12 01:50:09 +01:00
chromatic
e59e3ab34e Disable BIP-70 payment server by default
This commit adds a configuration option, `enable-bip70`, to enable this
feature. Only enable this if you know what you're doing.

Please note that BIP-21 payment links continue to work.

Co-authored-by: Old Dip Tracker <patricklodder@users.noreply.github.com>
2024-02-11 09:52:57 -08:00
chromatic
9bbf8c8363
Merge pull request #3297 from alamshafil/getblockstats
rpc: Add getblockstats
2024-02-10 10:57:33 -08:00
alamshafil
4307c56951 rpc: Add getblockstats 2024-02-08 14:08:37 -05:00
Old Dip Tracker
4a47046e81
Merge pull request #3386 from daank-c/rebrand-koinu-strings
rebranded strings (koinu)
2024-02-07 23:21:35 +01:00
daanksy
22e14a44b6 rebrand strings containing "satoshi(s)"
rebranded strings from "satoshi" to "koinu"

Revert "rebranded strings from "satoshi" to "koinu""

This reverts commit f03c63a4d3489ed4945eebbb63eef496438e6a4c.

Revert "rebrand strings containing "satoshi(s)""

This reverts commit ae0c5ebfff83297165a65dc94be1ad13fbb2b99c.

rebrand strings (koinu)

rebrand strings (koinu)

changed dates back
2024-02-04 15:58:09 -04:00
Old Dip Tracker
8347e8ecae
Merge pull request #3395 from OpinionDoge/1.14.7-dev
Update bitcoin_ko_KR.ts
2024-02-01 21:13:45 +01:00
Old Dip Tracker
c8ab641029
Merge pull request #3239 from Anish-M-code/1.14.7_printer_feature
Make Qt auto-detect the preferred page size for printer
2024-01-18 15:47:54 +01:00
pseudogenymous
fb75dea42a Update bitcoin_ko_KR.ts
Update bitcoin_ko_KR.ts

Update bitcoin_ko_KR.ts

Update bitcoin_ko_KR.ts

Update bitcoin_ko_KR.ts
2024-01-06 14:41:24 +09:00
chromatic
4d44dbf629
Merge pull request #3364 from edtubbs/1.14.7-dev-fontconfig
depends: updated to fontconfig 2.12.6
2023-12-03 09:15:02 -08:00
Patrick Lodder
35c2910913
policy: tune feerate estimator parameters
Changes the static parameters used in CBlockPolicyEstimator to
support the Dogecoin network, inspired by changes made in Bitcoin
Core 0.15, and field-tested to survive and recover from peak
inflow of transactions.

In addition to changing the parameters:
- documented each changed parameter and the rationale in-line
- changed the fee estimator tests to take into account the new
  configuration. Note that only 8 buckets can be tested on a set
  of 10, when confidence is set to 80%

1. Changes the decay rate of statistical history from a half-life
   of 346 blocks to a half-life of 60 blocks. (DEFAULT_DECAY)

This means that the weight of previous block feerate stats on the
current fee estimates becomes smaller, and more recent block
results weigh heavier, so that the estimates react faster to
temporary peaks.

Weight:

age | previous |   now
1h  |    0.887 | 0.498
2h  |    0.786 | 0.248
3h  |    0.697 | 0.124
4h  |    0.618 | 0.062
5h  |    0.548 | 0.031
7h  |    0.431 | 0.008
10h |    0.301 | 0.001
24h |    0.056 | 0.001

2. Changes the historical confidence level (the percentage of
   transactions included at a certain level) from 95% to 80%.
   (MIN_SUCCESS_PCT)

This lowers the successful inclusion rate because miners in the
Dogecoin ecosystem tune mempool policy for orphan prevention
more than transaction inclusion (because subsidy > fees). This
negatively impacts the precision of the estimate, but with 10%
of empty blocks and at least 2 orders of magnitude difference
between miner enforced minimum fee rates, higher precision will
cause extremely high feerate estimate, yet still have low
effectivity rates. The value was picked by taking Bitcoin Core's
half-confidence of 60% used for 24-block half-time, and standard
confidence of 85% and picking a workable value between those.

3. Decreases the number of transactions per bucket required to
   consider a feerate valid from 1 to 0.1 (SUFFICIENT_FEETXS)

This makes more buckets relevant while filtering for fees to
consider and offsets the more rapid half-life from point 1, as
we still want to consider a feerate included with a single
transaction 10 blocks ago, yet because of decay would not be
sufficient for inclusion (because effective relevance would
be 0.89 with the new parametrization). Value taken from Bitcoin
Core because it's been the default there for v0.15 until v25.0

4. Set the minimum and maximum feerates to be considered in
   line with default mempool policies: min 0.001 DOGE/kB and
   max 10 DOGE/kB (MIN_FEERATE, MAX_FEERATE)

This is copied 1-on-1 from an earlier attempt by Ross Nicoll that
needed further investigation.

5. Lowers the spacing inside feerate buckets from exponent
   1.1 to 1.05 (FEE_SPACING)

This increases the granularity of the buckets and is copied
directly from Bitcoin Core, where this has been the parameter
from v0.15 until v25.0
2023-11-29 13:44:53 -05:00
chromatic
94f5ef4a43
Merge pull request #3214 from patricklodder/1.14.7-fix-avx2-qt-dep
build: constrain -lQt5PlatformSupport check as AVX2 dependency
2023-11-27 17:16:34 -08:00
chromatic
afdea1c9dc
Merge pull request #3383 from patricklodder/1.14.7-unify-aarch64-ci
ci: execute only one aarch64 experimental ci
2023-11-27 17:15:19 -08:00
Old Dip Tracker
0896780b25
Merge pull request #3384 from edtubbs/1.14.7-dev-doc_sec_update
doc: added security update guidance
2023-11-27 00:22:46 +01:00
Old Dip Tracker
1198179944
Merge pull request #3271 from sinetek/1.14.7-dev-expat
depends: expat 2.5.0
2023-11-26 13:01:21 +01:00
Old Dip Tracker
8a3669d10a
Merge pull request #3257 from chromatic/add-height-to-walletnotify
Add height parameter to walletnotify message
2023-11-26 01:30:08 +01:00
Ed Tubbs
2edf2fc0e4 doc: added security update guidance 2023-11-24 23:47:39 -06:00