14635 Commits

Author SHA1 Message Date
peicuiping
6837f1ba5d doc: fix typos
Signed-off-by: peicuiping <ezc5@sina.cn>
2024-12-31 17:14:29 +08:00
Old Dip Tracker
c5c6fb70b7
Merge pull request #3715 from thisiskeanyvy/readme-translations
Standardisation of READMEs following update of the main README (doc/intl)
2024-12-28 07:28:20 -05:00
Old Dip Tracker
d6ec20e178
Merge pull request #3717 from thisiskeanyvy/qt-translations-fr
Update and completing unfinished French translation files (bitcoin_fr.ts and bitcoin_fr_CA.ts)
2024-12-27 20:06:58 -05:00
thisiskeanyvy
05a231a1ae
Update and completing unfinished French translation files (bitcoin_fr.ts and bitcoin_fr_CA.ts) 2024-12-23 16:57:19 +01:00
thisiskeanyvy
c099682eb9
Standardisation of READMEs following update of the main README 2024-12-23 16:38:09 +01:00
Old Dip Tracker
7676f91c4e
Merge pull request #3732 from MarsDoge/MarsDoge
fix compatibility with boost::signal2 in 1.83
2024-12-09 16:36:34 -05:00
qiandongyan
718ceafcef fix compatibility with boost 1.83
[Bugfix] Fix incorrect disconnect call for static functions

Problem:
When using `uiInterface.NotifyBlockTip.disconnect(BlockNotifyGenesisWait)`
to disconnect a static function, the compilation fails because `boost::signals2::disconnect`
requires the exact type signature match of the slot. Using the function name directly
doesn't resolve to the correct function pointer for static functions.

Solution:
The fix explicitly uses `&BlockNotifyGenesisWait` to pass the function pointer.
This resolves the compilation error.

Impact:
Only affects the disconnect mechanism for static functions in `uiInterface.NotifyBlockTip`.

Signed-off-by: Dongyan Qian <dongyan0314@gmail.com>
2024-12-02 10:49:48 +08:00
Michi Lumin
e0a863709b
Merge pull request #3725 from patricklodder/bugfix/auxpow-check-order
Check auxpow PoW before the auxpow itself.
2024-11-30 15:56:46 -07:00
Daniel Kraft
51cbc1fd5d
Check auxpow PoW before the auxpow itself.
This reverses the order in which the auxpow structure and the PoW on it
are verified.  By checking the PoW first, we make it harder for random
nodes to pass data of their choosing into CAuxPow::check.

Cherry-picked from: namecoin/namecoin-core@b6e3241b

Conflicts resolved:
- CAuxPow member name mismatch
- source code from validation.cpp resides in dogecoin.cpp
2024-11-30 14:01:03 -05:00
Old Dip Tracker
b4a5d2bef2
Merge pull request #3664 from omahs/patch-1
doc: fix typos
2024-10-14 19:36:25 +02:00
chromatic
55bd54251a
Merge pull request #3643 from patricklodder/doc/readme-links
readme: remove all external URLs other than our GitHub repo
2024-10-13 15:56:47 -07:00
chromatic
f2542d21c8
Merge pull request #3661 from patricklodder/bug/fix_cmpctblk_encoding_asserts
bugfix: change asserts into handled failures for cmpctblk
2024-10-12 16:17:58 -07:00
omahs
cbf9382201 fix typos 2024-10-11 10:53:50 +02:00
Patrick Lodder
149be06daf
bugfix: change asserts into handled failures for cmpctblk
Replaces assert() calls with if() statements returning functional
failure that can be handled for situations that can be triggered
from outside of compiled code - i.e. peers.

Backported from: 42bd4c74
Original Author: dergoegge <n.goeggi@gmail.com>
2024-10-09 15:34:16 -04:00
Old Dip Tracker
ad75b56535
Merge pull request #3623 from daank-c/french-readme
docs: update French README
2024-10-05 16:17:44 +02:00
Old Dip Tracker
381cffb75c
Merge pull request #3622 from FierceSkit/de_GER_final
German README.md
2024-10-01 14:08:57 +02:00
fierce_skit
db2c521828
Create de_GER/EADME.md
Co-authored-by: Loïk Mallat <lemallat@outlook.com>
Co-authored-by: DGalapagos8 <159683808+DGalapagos8@users.noreply.github.com>
2024-09-11 17:22:04 -04:00
Patrick Lodder
ee17885742
readme: remove all external URLs other than our GitHub repo
The discord shortened URL has been hijacked for a while and this
has been routing users to a potentially malicious environment.

To remove this risk completely, this removes all URLs that are not
under github.com/dogecoin/dogecoin, to reduce the impact of any
future URL hijacking.
2024-09-10 10:21:40 -04:00
Old Dip Tracker
a61335ba26
Merge pull request #3627 from chromatic/move-release-notes
Move release notes
2024-09-10 16:03:42 +02:00
chromatic
31a26c8b02 Archive 1.14.8 release notes 2024-08-19 10:15:10 -07:00
chromatic
a36c724437 Add squashed release notes for Dogecoin 1.14.8
Squashes:

 * a6da578185edd90a4bec027003c03d978f2f2abc
 * d94b38c8bf05525620b551322afce458d706bc25
 * f08f547285f8bb6f05e7b174d8e79405482020c5
2024-08-19 10:15:10 -07:00
chromatic
05d8bd0282 Archive 1.14.7 release notes 2024-08-19 10:15:10 -07:00
chromatic
a1cab034fd
Merge pull request #3621 from patricklodder/chore/version-11499
update version info to 1.14.99 for master
2024-08-13 01:39:32 -07:00
shibe
e1795f0860 docs: update French README
Updates the French README to reflect the new branching strategy introduced in version 1.14.8
2024-08-11 15:20:08 -03:00
Patrick Lodder
a8c94c18df
update version info to 1.14.99 for master
the .99 makes sure that code in master is never mistaken for
release code, and is always a higher version than the last minor
release

Also set the last release date to match 1.14.8 instead of 1.14.7
2024-08-08 20:37:34 -04:00
chromatic
70e7bf607a
Merge pull request #3569 from patricklodder/doc/branch-strat
doc: change the branching strategy
2024-08-08 12:29:52 -07:00
Patrick Lodder
9222634400
doc: change the branching strategy
Change the branching strategy to be able to release software for
multiple versions asynchronously, while having an integral up to
date but unstable master branch.

This is a major administrative policy change.
2024-08-08 11:33:58 -04:00
Old Dip Tracker
d7cbc6c332
Merge pull request #3617 from xanimo/xanimo-key-aug-3-24
update xanimo's public key
2024-08-05 17:16:51 +02:00
xanimo
a299f9d8fa
update xanimo's expired public key 2024-08-03 15:46:01 -07:00
chromatic
5426e93f6f
Merge pull request #3549 from GaloisField2718/master
Add gen-dogecoin-conf.sh from bitcoin core github
2024-07-22 17:22:12 -07:00
chromatic
7bd7f36b70
Merge pull request #3582 from patricklodder/qa/pin-setuptools
ci: pin setuptools version to 70.3.0
2024-07-20 15:42:52 -07:00
chromatic
f3501e53dc
Merge pull request #3580 from patricklodder/doc/macos-cxx17
doc: simplify macOS build guide
2024-07-20 15:34:32 -07:00
Patrick Lodder
a0faa22faf
ci: pin setuptools version to 70.3.0
We need to upgrade setuptools, but for now not past 70.x; pin the
latest version available.
2024-07-19 14:06:56 -04:00
Patrick Lodder
71f5b9f0e8
doc: simplify macOS build guide 2024-07-19 09:54:56 -04:00
chromatic
6cfd4524a0
Merge pull request #3558 from patricklodder/compat/boost185
compat: fix compatibility with boost 1.85
2024-07-17 22:58:01 -07:00
chromatic
f78c49abf5
Merge pull request #3577 from patricklodder/net/txrequest
backport: TxRequestTracker module
2024-07-17 22:57:49 -07:00
Old Dip Tracker
82d51dd6f8
Merge pull request #3481 from Twinky-kms/patch-3
depends: bump expat version to 2.6.2
2024-07-17 00:37:28 +02:00
GaloisField2718
1864886c70
Add gen-dogecoin-conf.sh script into contrib/devtools and store the example conf file generated into ./share 2024-07-16 16:49:47 -04:00
Patrick Lodder
2180b80dbf
cleanup: remove limitedmap 2024-07-14 22:02:03 -04:00
Patrick Lodder
a5a4e4b67b
qa: extend and harden p2p-tx-download
- Implements getmocktime instead of time.sleep to prevent races
- Enforce success of all mocktime operations
- Do not increment mocktime with 0 seconds
- Use fresh incoming peers for each test
- Explicitly do test teardown
- Remove TXID_RELAY_DELAY as this no longer exists in the dogecoind
  implementation
- Add the inflight throttling test to replace the removed inflight
  limit test
- Add an expiry fallback test
2024-07-14 21:58:13 -04:00
Patrick Lodder
8eb52142a7
policy: reduce MAX_PEER_TX_ANNOUNCEMENTS
Maintaining up to 100000 INVs per peer is excessive. A Dogecoin
Core node will never send more than 7 invs per second.

Backported from: de11b0a4
Original Author: Pieter Wuille <pieter@wuille.net>
2024-07-14 21:57:47 -04:00
Patrick Lodder
3a700cde38
net: use txrequest for transaction request logic
The major changes are:

* Announcements from outbound (and whitelisted) peers are now
  always preferred over those from inbound peers. This used to be
  the case for the first request (by delaying the first request
  from inbound peers), and a bias after. The 2s delay for requests
  from inbound peers still exists, but after that, if viable
  outbound peers remain for any given transaction, they will
  always be tried first.

* No more hard cap of 100 in flight transactions per peer, as
  there is less need for it (memory usage is linear in the number
  of announcements, but independent from the number in flight,
  and CPU usage isn't affected by it). Furthermore, if only one
  peer announces a transaction, and it has over 100 in flight and
  requestable already, we still want to request it from them. The
  cap is replaced with an additional 2s delay (possibly combined
  with the existing 2s delays for inbound connections).

Backported from: 242d1647
                 173a1d2d
Original Author: Pieter Wuille <pieter@wuille.net>

Conflicts:
  - replaced GenTx with uint256 because no segwit
  - removed additional 2s penalty for non-segwit peers
  - used int64_t instead of std::chrono::microseconds per utiltime
  - implemented TxRequest as g_txrequest instead of as a member of
    PeerManager, which we don't have
  - removed the Dogecoin-specific strict max inflight test
  - make exceptions for whitelisted nodes as there is no fine-
    grained permission system
2024-07-14 21:57:16 -04:00
Patrick Lodder
4bc8099741
Add txrequest module
This adds a new module that defines TxRequestTracker, a data
structure that maintains all information about transaction
requests, and coordinates requests.

Backported from: da3b8fde
                 3c7fe0e5
                 fd9a0060

Original Author: Pieter Wuille <pieter@wuille.net>

Conflicts:
- replaced GenTx with uint256 because no segwit
- used int64_t instead of std::chrono::microseconds per utiltime
- removed wtxid tests
2024-07-14 21:55:39 -04:00
Patrick Lodder
4add9776c2
add constant contructors for uint256 2024-07-14 21:45:03 -04:00
Patrick Lodder
38c3f67833
util: add c++14-style MakeUnique for use with c++11
Backported from: 86179897
Original author: practicalswift <practicalswift@users.noreply.github.com>
2024-07-14 21:45:02 -04:00
chromatic
2fcaf1310c
Merge pull request #3576 from patricklodder/bugfix/maskpow
validation: avoid masking of difficulty adjustment errors
2024-07-14 17:04:30 -07:00
chromatic
5788fb8f15
Merge pull request #3575 from patricklodder/perf/orphantx-interrupt
net: improve orphan processing
2024-07-14 11:21:11 -07:00
chromatic
7c004f4bd5
Merge pull request #3574 from patricklodder/qa/p2p-getdata
qa: add getdata test
2024-07-14 11:20:57 -07:00
chromatic
fea6eeaec5
Merge pull request #3572 from patricklodder/qa/fix-walletnotify
qa: fix walletnotify test
2024-07-14 11:20:44 -07:00
chromatic
cf2c9bac23
Merge pull request #3313 from patricklodder/1.14.7-fix-lock-debugging
refactor: fix undefined behavior and cleanup lock debugging code
2024-07-14 08:29:49 -07:00