14618 Commits

Author SHA1 Message Date
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
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
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
Old Dip Tracker
777a84f8f7
Merge pull request #3565 from qlpqlp/1.15.0-dev-pt_PT-Readme-Translation
Added pt_PT Readme
2024-07-13 03:37:14 +02:00
Patrick Lodder
3a1519a901
qa: fix walletnotify test
1. Allow more time for notifications to be delivered under load
2. Assure that in a non-hostile reorg the tracked transaction
   isn't mined prematurely by mining 80-bytes blocks
3. Test all 4 messages for the doublespend scenario at once to
   not error out when the conflict races the new transaction

This allows us to more strictly test the reorg behavior while
reducing race issues
2024-07-10 22:09:00 -04:00
inevitable360
872b61ade3 Updated typos
Updated typos thanks to @vhs94
Added pt_PT Readme

Co-Authored-By: Victor Hugo Ramos <victor.santana@juntossomosmais.com.pt>
2024-07-09 22:38:56 +01:00
chromatic
d099258fdc
Merge pull request #3568 from patricklodder/net/inv-buffer
p2p: reduce amount of getheaders sent per inv
2024-07-07 16:55:23 -07:00
chromatic
63d2d8a2d7
Merge pull request #3567 from patricklodder/bugfix/timedata
bugfix: avoid the use of abs in time data
2024-07-07 16:55:10 -07:00
Patrick Lodder
215fc33d08
validation: avoid masking of difficulty adjustment errors
Currently difficulty adjustment violations are not reported for
chains that branch off before the last checkpoint. Change this
by moving the checkpoint check after the difficulty check.

Backported from: 85c82b50
Original Author: Pieter Wuille <pieter.wuille@gmail.com>
2024-07-03 17:31:22 -04:00
Pieter Wuille
9f2ab9ed6c
Interrupt orphan processing after every transaction
This makes orphan processing work like handling getdata messages:
After every actual transaction validation attempt, interrupt
processing to deal with messages arriving from other peers.

Cherry-picked from: 866c8058a
2024-07-03 16:30:01 -04:00
Patrick Lodder
0e4df473f6
p2p: simplify orphan processing
Reduces complexity in processing of orphans when receiving tx
messages over p2p. and isolate the functionality in its own
function ProcessOrphanTx

Backported from: 9453018f
                 6e051f3d
Original Author: Pieter Wuille <pieter.wuille@gmail.com>
2024-07-03 16:29:48 -04:00
Patrick Lodder
cedbbeba96
p2p: enforce cs_main lock when requesting headers 2024-07-03 14:01:44 -04:00
Patrick Lodder
3e64e6f226
p2p: Only send a getheaders for one block in an INV
Headers-first is the primary method of announcement on the network.
If a node fell back sending blocks by inv, it's probably for a
re-org. The final block hash provided should be the highest, so
send a getheaders and then fetch the blocks we need to catch up.

Backported from: 74673663
Original Author: John Newbery <john@johnnewbery.com>
2024-07-03 14:01:36 -04:00
Patrick Lodder
846812cdde
cleanup: remove BOOST_FOREACH from timedata.cpp 2024-07-03 12:35:17 -04:00
Pieter Wuille
f88f9ddee2
Avoid the use of abs64 in timedata
Cherry-picked from: d1292f25
2024-07-03 12:16:46 -04:00
Patrick Lodder
f68998b0b1
qa: add getdata test
Tests that an invalid GETDATA doesn't prevent processing of future
messages

Backported from: 2f032556
Co-authored-by: Amiti Uttarwar <amiti@uttarwar.org>
Co-authored-by: John Newbery <john@johnnewbery.com>
2024-07-03 11:21:58 -04:00
Old Dip Tracker
962b0205f4
Merge pull request #3194 from thisiskeanyvy/master
Translation and addition of the README.md file in French
2024-06-29 16:30:52 +02:00
thisiskeanyvy
a9e6621935
Translation and addition of the README.md file in French (fr/README.md) 2024-06-28 00:04:47 +02:00
chromatic
2a16b17825
Merge pull request #3459 from patricklodder/1.15.0-organize-intl-docs
Organize internationalized documentation
2024-06-25 17:12:30 -07:00
Patrick Lodder
d021d75fd5
add missing <list> include in validation.h
This omission was masked by including boost/unordered_map.hpp prior
to boost 1.85.0.
2024-06-25 10:03:41 -04:00