14053 Commits

Author SHA1 Message Date
alamshafil
eabe77026a
Depends: Update zlib to 1.2.12 2022-04-26 15:25:53 -04:00
Old Dip Tracker
c6a285828e
Merge pull request #2923 from alamshafil/prune-ui
Qt: Add prune setting to OptionsDialog
2022-04-24 23:13:42 -06:00
alamshafil
71f5e6c488 Qt: Add prune setting to OptionsDialog
Make default prune size 3GB

Use GiB and MiB

Add DEFAULT_PRUNE_TARGET_GB

PruneMiBtoGB & PruneGBtoMiB
2022-04-17 16:34:55 -04:00
Old Dip Tracker
0e02aea03a
Merge pull request #2870 from chromatic/add-lupdate-to-translation-policy
Add lupdate to translation policy
2022-04-10 15:55:42 -04:00
chromatic
67c7fefcf8 Improve translation policy
This change separates the `make translate language=...` and `make
translate_base` Makefile targets. The former is useful for translators
and the latter for core developers.

This change also rearranges flags to `lupdate` to improve utility for
both cases.

Finally, this change also documents these targets and gives more advice
on how to use them.
2022-04-07 15:56:25 -07:00
Old Dip Tracker
08d2d5173b
Merge pull request #2754 from sinetek/displaymb
Network Tab Maximum Granularity.
2022-04-06 03:25:56 -04:00
Old Dip Tracker
4008d95e53
Merge pull request #2895 from motahharm/master
Simple edit README.md and README_zh_CN.md
2022-04-06 03:25:17 -04:00
Old Dip Tracker
9c79c2de2f
Merge pull request #2860 from patricklodder/1.14.6-fix-binresponse
[qa] fix binary response parsing in rest test
2022-04-06 03:24:52 -04:00
Old Dip Tracker
d5b1719880
Merge pull request #2869 from jadijadi/fix/issue-2530-Persian-translation
Fixing Persian Translation; mainly repalcing Bitcoin with Dogecoin
2022-04-06 03:24:22 -04:00
Old Dip Tracker
f78b4b35e7
Merge pull request #2907 from patricklodder/1.14.6-rm-sha512-exp-ci
qa: remove experimental ci for aarch64 sha512
2022-04-06 03:22:59 -04:00
Patrick Lodder
b4632e92e6
qa: remove experimental ci for aarch64 sha512
Remove the CI for aarch64-linux-sha512-experimental because it
errors out.
2022-04-05 09:54:06 +02:00
Motahhar Mokf
77a364cb21
Update README_zh_CN.md 2022-03-29 20:46:05 +04:30
Motahhar Mokf
c1d0dbc4e3
Update README.md 2022-03-29 20:42:43 +04:30
Jadi
c1f4007c24 Fixing Persian Translation; mainly repalcing Bitcoin with Dogecoin
This fixes issue #2530 by running the `lupdate` and then reviewing the
strings. What is done is 1. replacing references to Bitcoin with Dogecoin,
2. fixing some minor typos and 3. translating some of the new strings (like tips)
2022-03-06 06:14:17 -05:00
Patrick Lodder
cdc98a32ec
[qa] fix binary response parsing in rest test
Removing rstrip() from response parsing because it removes 0x20,
which can be a legitimate first byte of a block hash
2022-02-20 21:40:23 +01:00
Old Dip Tracker
d483dfba80
Merge pull request #2745 from vertiond/install_db5
Add install_db5.sh and update build-unix
2022-02-17 15:16:04 -04:00
Patrick Lodder
2a6421f79d
Merge pull request #2770 from just-an-dev/add-blockhashbyheight-to-rest-interface
add blockhashbyheight to rest interface
2022-02-13 22:30:57 -04:00
Ross Nicoll
cdeca5d581
Merge pull request #2843 from patricklodder/1.14.6-sdk-mirror
qa: change download location and harden process for SDKs in CI
2022-02-13 19:45:56 +00:00
Patrick Lodder
a38e8bfff5
qa: harden SDK usage in GH Actions CI
- Check SDK shasum to protect against supply-chain attacks
- Don't re-download the SDK archive when we have it in cache
- Purge the cache when the CI configuration changes
2022-02-12 20:19:41 +01:00
Patrick Lodder
556c586ece
qa: Change CI source of macOS sdk dependency
Moves SDK file from bitcoincore.org to depends.dogecoincore.org to
further reduce dependencies on the former.
2022-02-12 20:19:40 +01:00
Ross Nicoll
8fecf8d732
Merge pull request #2842 from patricklodder/1.14.6-dogecoincore-org-mirror
depends: change fallback to depends.dogecoincore.org
2022-02-12 18:07:42 +00:00
Patrick Lodder
2c7772e906
depends: change fallback to depends.dogecoincore.org
Changes the fallback dependency source repository from Bitcoin's
bitcoincore.org to dogecoincore.org. Both are centrally hosted,
as a fallback. Ideally this would be utilizing a decentralized
protocol like IPFS, but this is harder to integrate with the CI
tooling.

Note: because some dependencies have identical filenames in their
source URLs (currently ds_store and mac_alias) we host the target
filename on the mirror, to prevent conflicts.
2022-02-12 17:45:54 +01:00
Patrick Lodder
24a20ed523
Merge pull request #2778 from chromatic/fix-qt-high-dpi-scaling
Fix QT high DPI scaling
2022-01-20 09:44:23 -04:00
Patrick Lodder
3024da3d6b
Merge pull request #2765 from rnicoll/1.14.6-fix-wallet-charbool
Fix Char as Bool in interfaces
2022-01-20 09:43:31 -04:00
Patrick Lodder
646b1149dc
Merge pull request #2779 from dogespacewizard/patch-2
Partial Translations for Korean
2022-01-16 18:17:19 -04:00
dogespacewizard
01f9baea35 a couple more additional translations im able to do 2022-01-10 23:39:56 +09:00
Ross Nicoll
8b222213b3
Merge pull request #2791 from iam-agf/svg-pixmaps
Svg files added (16,32,64,128,256)
2022-01-08 15:52:37 +00:00
iamagf
038bcfe03e Svg files added (16,32,64,128,256) 2022-01-06 19:13:20 -06:00
just-an-dev
5f5efffd11 add blockhashbyheight to rest interface 2022-01-04 00:47:22 +01:00
Patrick Lodder
94d7e452be
Merge pull request #2784 from bskrksyp9/patch-1
Fix typo in Readme doc
2021-12-28 13:59:02 -04:00
Bhaskar Kashyap
a597fd2821
Fix typo in Readme doc
Corrected spelling of a word
2021-12-28 07:51:46 +05:30
dogespacewizard
330c9c7ad4
Update bitcoin_ko_KR.ts 2021-12-25 19:28:25 +09:00
dogespacewizard
9e45c10449
Partial Translations for Korean
not a coder, ive added some translations for some lines that weren't translated i dont understand some of the stuff so i've left these untouched
2021-12-25 19:26:09 +09:00
chromatic
dae2b2626f Initialize Qt high DPI scaling appropriately
Refers to Bitcoin PR16524 by hebasto:

https://github.com/bitcoin/bitcoin/pull/16254

Addresses GH #2776.
2021-12-24 23:43:43 -08:00
Ross Nicoll
a8026ba7d5
Merge pull request #2768 from patricklodder/1.14.6-scrypt-bench
bench: add scrypt
2021-12-22 19:49:41 +00:00
Patrick Lodder
96af810b53
bench: add scrypt
Add an scrypt benchmark that hashes 80 byte inputs (size of a
block header)
2021-12-20 15:45:15 -04:00
Jeremy Rubin
3f64119177 Fix Char as Bool in interfaces 2021-12-19 18:08:04 +00:00
Ross Nicoll
da8dae3eb3
Merge pull request #2756 from patricklodder/1.14.6-fix-nlocktime-leak
Avoid leaking locktime fingerprint when anti-fee-sniping
2021-12-19 16:45:59 +00:00
Ross Nicoll
190d48e487
Merge pull request #2757 from patricklodder/1.14.6-uninit-scopeid
net: Ensure every CNetAddr constructor initializes the scopeId field
2021-12-19 11:50:47 +00:00
Ross Nicoll
e4e3371b6f
Merge pull request #2759 from patricklodder/1.14.6-initialize-counters
net: avoid uninitialized reads on counters
2021-12-19 11:36:28 +00:00
Ross Nicoll
b39c06aa90
Merge pull request #2755 from patricklodder/1.14.6-fix-rpc-race
rpc: Fix data race (UB) in InterruptRPC()
2021-12-19 11:30:32 +00:00
Patrick Lodder
39a476dcb2
net: avoid uninitialized reads on counters
Initialize CConnman byte counters during construction, so that
GetTotalBytesRecv() and GetTotalBytesSent() methods don't return
garbage before Start() is called, in QT.

Backported from: 8313fa8e
Original author: Russell Yanofsky <russ@yanofsky.org>
2021-12-17 19:45:45 -04:00
MarcoFalke
cd0444871e
wallet: Avoid leaking locktime fingerprint when anti-fee-sniping
Cherry-picked from: fa48baf23

Conflicts:
- Missing chain().lock(), moved assignment until after locking
  cs_main.
- Different structure and version of test framework required:
  - Different block heights
  - Different way of documenting test steps
  - Removal of wallet check, our tests don't run without a wallet
2021-12-17 16:26:07 -04:00
Patrick Lodder
a6ac45c135
qa: Correctly clone txin sequence
Also clone the sequence number when cloning a tx in txn_clone.py

Backported from: 453803ad
Original author: MarcoFalke <falke.marco@gmail.com>
2021-12-17 16:25:38 -04:00
Kaz Wesley
b31dbd9dba
fix uninitialized read when stringifying an addrLocal
Reachable from either place where SetIP is used when our best-guess
addrLocal for a peer is IPv4, but the peer tells us it's reaching us at
an IPv6 address.

In that case, SetIP turns an IPv4 address into an IPv6 address without
setting the scopeId, which is subsequently read in GetSockAddr during
CNetAddr::ToStringIP and passed to getnameinfo. Fix by ensuring every
constructor initializes the scopeId field with something.

Cherry-picked from: b7b36dec
2021-12-17 16:19:41 -04:00
Kaz Wesley
ee4f7fbc13
add test demonstrating addrLocal UB
Cherry-picked from: 8ebbef01

Conflicts: missing MakeUnique, replaced with manual new CNode()
2021-12-17 16:19:07 -04:00
practicalswift
bfdaf2d269
rpc: Fix data race (UB) in InterruptRPC()
Cherry-picked from: 6c10037f7
2021-12-17 15:45:20 -04:00
Patrick Lodder
db76a4f0de
build: Allow overriding BDB autodetection
BDB_CFLAGS  C compiler flags for BerkeleyDB, bypasses autodetection
BDB_LIBS    Linker flags for BerkeleyDB, bypasses autodetection

Adds copyright headers in lieu of 0c4e6ce

Backported from: 8713de8
Original author: Wladimir J. van der Laan <laanwj@gmail.com>
2021-12-17 13:47:11 -04:00
sinetek
c8386eaf91 Display historical sent/received data on the Peers tab even if it goes beyond 1GB. Display in MB. 2021-12-17 16:30:34 +01:00
vertiond
673f4e844e Update build-unix for install_db5 script 2021-12-13 00:59:16 -06:00