14211 Commits

Author SHA1 Message Date
chromatic
3a29ba6d49
Merge pull request #3048 from patricklodder/1.14.6-fixate
fixate v1.14.6
v1.14.6
2022-07-18 15:54:00 -07:00
chromatic
6517a495fa
Merge pull request #3036 from RnoHach/patch-1
Update bitcoin_bg.ts - Български
2022-07-18 15:52:53 -07:00
chromatic
ce770c4989
Merge pull request #3047 from patricklodder/1.14.6-rn-minor
release notes: minor changes
2022-07-18 15:52:10 -07:00
Patrick Lodder
7868a463c2
release notes: minor changes
- Mishaboar was listed twice because of capitalization
- Added all reviewers
- Fix description of traffic graph improvement
- Added portuguese translation and contributors
- Added bulgarian translation and contributors
2022-07-19 00:26:43 +02:00
RnoHach
87583f0542
Update bitcoin_bg.ts
Co-authored-by: ch0k1 <4okito@gmail.com>
2022-07-18 23:05:56 +02:00
Old Dip Tracker
7d764249ef
Merge pull request #3029 from qlpqlp/Minor-updates-to-portuguese-from-portugal-translation-(1.14.6-dev)
Minor updates to portuguese from portugal translation (1.14.6-dev)
2022-07-18 15:39:44 -04:00
Old Dip Tracker
6add415c13
Merge pull request #3050 from xanimo/1.14.6-dev
update xanimo-key.pgp
2022-07-18 14:52:04 -04:00
chromatic
ad8625a031
Merge pull request #3026 from patricklodder/1.14.6-dutch2
Minor updates to Dutch translation
2022-07-18 10:09:29 -07:00
chromatic
df20a6656a
Merge pull request #3032 from patricklodder/1.14.6-simplified-translation-checker
contrib: port translation script to Dogecoin usecase
2022-07-18 10:08:58 -07:00
chromatic
0db6264e6c
Merge pull request #3049 from patricklodder/plddr-key-update
update patricklodder-key.pgp
2022-07-18 10:08:43 -07:00
chromatic
4cf5285ab0
Merge pull request #3045 from patricklodder/1.14.6-copyright
Update copyright years
2022-07-17 12:24:39 -07:00
chromatic
d14cf7cf09
Merge pull request #3031 from patricklodder/1.14.6-checkpoints
update checkpoints, chainwork, assumevalid for mainnet and testnet
2022-07-17 12:05:07 -07:00
chromatic
4e23a29884
Merge pull request #3042 from patricklodder/1.14.6-update-linux-custom-builds
Update the linux custom build guides
2022-07-17 09:57:14 -07:00
inevitable360
5dd2cf6d5f
Minor updates to portuguese from portugal translation UI
Minor updates to portuguese from portugal translation, and finished translated 100% of the rest of the file.

this new was made to be able to run sucessful all tests do to my error on (https://github.com/dogecoin/dogecoin/pull/3028)

Applied some suggestions and corrections from @justAndrea1111
2022-07-17 15:22:44 +02:00
Patrick Lodder
4c9bb96585
update patricklodder-key.pgp 2022-07-17 03:54:32 +02:00
Dakoda Greaves
fb10e8ad04
contrib: update expired gitian signing key for xanimo 2022-07-16 18:51:24 -07:00
Patrick Lodder
43fbdfa9b8
fixate v1.14.6 2022-07-16 23:32:52 +02:00
Old Dip Tracker
b5ccb2fe00
Merge pull request #3046 from chromatic/update-1.14.6-release-notes
Enhance release notes
2022-07-16 16:39:24 -04:00
chromatic
9296c93650
Merge pull request #3044 from patricklodder/1.14.6-rn-mail-list
release notes: bring back mailing list
2022-07-16 12:49:42 -07:00
chromatic
a4a62e658f Enhance release notes
* add more information about backup/export files
 * make language more consistent in places
2022-07-16 12:32:40 -07:00
chromatic
c8b3a2f237
Merge pull request #3043 from patricklodder/1.14.6-rn-prune-ui
release notes: add section about pruning in Qt
2022-07-16 12:21:19 -07:00
Patrick Lodder
87bd548807
Update copyright headers in files
Detected changes since fork from Bitcoin Core 0.14 and either
updated the Dogecoin Core developer copyright, or added a line
for it.

Script can be found at:

https://gist.github.com/patricklodder/210a449896ece9ca4a8f872328198e3f
2022-07-16 20:18:50 +02:00
chromatic
0cb4729a0c
Merge pull request #3038 from patricklodder/1.14.6-mainnet-seeds
net: update mainnet seeds
2022-07-16 11:05:26 -07:00
Patrick Lodder
5514ff17c2
update copyright in license file 2022-07-16 18:40:07 +02:00
Patrick Lodder
fcc864c595
release notes: add section about pruning in Qt 2022-07-16 18:11:02 +02:00
Patrick Lodder
99d2d794fe
release notes: bring back mailing list 2022-07-16 17:53:58 +02:00
Patrick Lodder
43c0008fb7
update checkpoints, chainwork, assumevalid for mainnet and testnet
ed7d266dcbd8bb8af80f9ccb8deb3e18f9cc3f6972912680feeb37b090f8cee0 is
the new mainnet checkpoint at height 4303965, with a total tx count
of 86433645.

Calculated the tx volume between block 3793538 and 4288126 which is
exactly 1 year of volume.

Cumulative chainwork is 0x07dc8ab65fc32f953c4a

---

af23c3e750bb4f2ce091235f006e7e4e2af453d4c866282e7870471dcfeb4382 is
the new testnet checkpoint at height 3976284, with a total tx count
of 5353803.

The tx volume did not significantly change (0.024 to 0.026) so that
remains unchanged.

Cumulative chainwork is 0x3e3c33bc605e5d
2022-07-16 17:26:23 +02:00
Old Dip Tracker
96f9d2446d
Merge pull request #3037 from chromatic/make-ipc-server-names-unique
Make IPC server names unique per server
2022-07-15 22:57:13 -04:00
Patrick Lodder
7724fd387e
update archlinux build guide 2022-07-15 22:38:49 +02:00
Patrick Lodder
eb15e9ce97
update fedora build guide 2022-07-15 22:38:37 +02:00
Patrick Lodder
50bb0e2065
contrib: port translation script to Dogecoin usecase 2022-07-15 21:30:17 +02:00
chromatic
22884709d7
Merge pull request #3008 from patricklodder/1.14.6-rate-limit-addr
net: rate limit the processing of incoming addr messages
2022-07-15 11:29:28 -07:00
chromatic
aa43aed7c2
Merge pull request #3027 from patricklodder/1.14.6-update-manpages
doc: update manpages
2022-07-15 11:06:44 -07:00
chromatic
249a540dc2
Merge pull request #3033 from patricklodder/1.14.6-crosslink-readme
doc: crosslink the translated readme files
2022-07-15 11:06:33 -07:00
chromatic
74633f7d5f
Merge pull request #3034 from patricklodder/1.14.6-cleanup-fee-recommendation
doc: clean up fee-recommendation.md for 1.14.6
2022-07-15 11:06:22 -07:00
chromatic
dd6b6923fc
Merge pull request #3035 from patricklodder/1.14.6-draft-release-notes
Draft release notes for 1.14.6
2022-07-15 09:17:54 -07:00
Patrick Lodder
78b9f6017c
net: update mainnet seeds
- removes defunct mainnet seeds
- adds newly discovered seeds, top 80% of observed uptime
- filters out all nodes with version 1.14.0-1.14.2 because these
  cause sync issues for connecting peers
2022-07-15 00:23:38 +02:00
chromatic
1729aaaf1f
Merge pull request #3030 from patricklodder/1.14.6-rework-tx-download
net: rework transaction download scheduling
2022-07-13 23:14:32 -07:00
chromatic
f0f50cf9ce Improve Qt payment server IPC
Add a unique suffix to the IPC server name before hashing, to avoid
things like network collisions or attempts to reuse old sockets on
restart.

Remove now-superfluous code that removed the old socket after a crash.
2022-07-13 23:09:22 -07:00
Patrick Lodder
581db6e47d
doc: first iteration of release notes 2022-07-13 22:06:28 +02:00
Patrick Lodder
893ae00fab
doc: move 1.14.5 release notes to the archive
and re-link the internal links in the document
2022-07-13 17:14:23 +02:00
Patrick Lodder
a758fa7982
doc: clean up fee-recommendation.md for 1.14.6
Removes the note that dust recommendations are done in a future
release, as 1.14.6 is that future release
2022-07-13 16:08:39 +02:00
Patrick Lodder
8a2d744fbb
doc: crosslink the translated readme files 2022-07-13 15:56:58 +02:00
Patrick Lodder
f9a0334a67
locale: minor corrections to dutch translation 2022-07-13 00:49:46 +02:00
Patrick Lodder
ae38534692
qa: add transaction download test
Tests 5 scenarios for transaction download scheduling:

1. Whether eventually, after a series of timeouts, all our peers
   that announced a transaction are sent a getdata request
2. Whether outbound peers are prioritized over inbound peers when
   a getdata request takes longer than optimal
3. That we honor the maximum in-flight capacity, that this is on
   a per-peer basis and that it resets itself after timeout
4. That when we have an inflight getdata request when a peer
   disconnects, we recover after the initial 30 second timeout
   and fetch the transaction from another peer
5. That we recover after a peer sends us a notfound message for
   a tx we had an inflight getdata request for.
2022-07-12 02:57:00 +02:00
Patrick Lodder
054bd7f087
net: tune the timeouts around tx download
- Lower the timeout until we will request a transaction from an
  additional peer on top of the one we received an inv from, from
  1 minute to 30 seconds. Waiting a full minute will often mean
  that the transaction will skip 2 blocks (one that is currently
  templated, and the one that we'd make a minute after that.
  This allows the transaction to at least have a chance to be
  included in the next block template.

- (Inferred) lower the timeout between requesting and receiving a
  transaction from 10 minutes to 5 minutes. We keep the multiplier
  from Bitcoin Core of 10x the re-request timeout, to allow faster
  cleanup of stale requests when 2 peers have a slow connection.

- Change the frequency of checking timeouts from once every 10
  minutes, to once every 90 seconds, on average. We randomize this
  check to be performed every 60-120 seconds. This allows the node
  to be triggered into cleanup more frequently and with that also
  helps towards the goal of faster cleanup of stale requests.
2022-07-12 02:51:22 +02:00
Patrick Lodder
0664e73401
net: make inv timing mockable
Changes all timing around when we send inv messages to our peers to
be mockable with setmocktime (on regtest.)

This is needed for testing transaction scheduling in time that is
faster-than-real.
2022-07-12 02:51:21 +02:00
Suhas Daftuar
1e596ed731
net: improve upon transaction scheduling rework
- Add an explicit memory bound to m_tx_process_time
  Previously there was an implicit bound based on the handling
  of m_tx_announced, but that approach is error-prone
  (particularly if we start automatically removing things from
  that set).

- Remove NOTFOUND transactions from in-flight data structures
  This prevents a bug where the in-flight queue for our peers
  will not be drained, resulting in not downloading any new
  transactions from our peers.

- Expire old entries from the in-flight tx map
  If a peer hasn't responded to a getdata request, eventually
  time out the request and remove it from the in-flight data
  structures. This is to prevent any bugs in our handling of
  those in-flight data structures from filling up the
  in-flight map and preventing us from requesting more
  transactions (such as the NOTFOUND bug mentioned above).

- Fix bug around transaction requests
  If a transaction is already in-flight when a peer announces
  a new tx to us, we schedule a time in the future to
  reconsider whether to download. At that future time, there
  was a bug that would prevent transactions from being
  rescheduled for potential download again (ie if the
  transaction was still in-flight at the time of
  reconsideration, such as from some other peer). This fixes
  that bug.

- Improve NOTFOUND comment

Cherry-picked from: 218697b6, 23163b75, e32e0840, f635a3ba
                    and 308b7673
Co-authored-by: Anthony Towns <aj@erisian.com.au>
2022-07-12 02:51:03 +02:00
alamshafil
596041ccb7
net: rework transaction scheduling
This prevents invblock related attacks.

Backported-from: 1cff3d6c
Original author: Gleb Naumenko <naumenko.gs@gmail.com>
2022-07-12 02:12:07 +02:00
Patrick Lodder
56891146a5
locale: update dutch translation after 1.14.6 string freeze 2022-07-11 18:46:37 +02:00