Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport] 5.3.1 backports #2561

Merged
merged 22 commits into from
Sep 21, 2021
Merged

Conversation

laanwj and others added 16 commits September 19, 2021 14:05
This directory is automatically created by the build process (in the
build target directory, see bitcoin#16588) and doesn't need to be in the
repository nor in the tarballs.

Move associated ignore directive to top-level `.gitignore` file.

Github-Pull: bitcoin#2525
Rebased-From: 4a18d50
The build date does only makes sense for custom/self-compiled PIVX-core versions because we are using static build-dates for our deterministic release builds.

Coming from btc@4856f1d6712cdb2eac8712e379fd1e351583d78f

Github-Pull: bitcoin#2525
Rebased-From: b22dc99
Putting the build date in the executable is a practice that has no place
in these days, now that deterministic building is increasingly common.

Continues bitcoin#7732 which did this for the GUI.

Github-Pull: bitcoin#2525
Rebased-From: 55ec1ee
Missing first argument (bolean, required, "enable").
Github-Pull: bitcoin#2540
Rebased-From: 4002ec9
Replace the string literal "PIVX Core" with the `PACKAGE_NAME` macro
where appropriate and don't pass the macro to translation.

Github-Pull: bitcoin#2491
Rebased-From: 03a002a
Many options are highly technical and refer internals, making it
difficult to translate effectively. This can lead to translation errors
that only add confusion, which is the opposite of what translation is
intended to achieve.

Further, these translations only ever worked for pivx-qt, as the console
 programs have no translation backend.

Github-Pull: bitcoin#2491
Rebased-From: 8608d3a
The previous commits result in ~190 strings being removed for
translation, with most of these strings having never been shown to end
users in the past.

Github-Pull: bitcoin#2491
Rebased-From: 7f655de
the manpages for the master branch aren't typically updated, but the
previous commit changed the format, so the manpage files in master
should be updated to reflect that change.

Github-Pull: bitcoin#2491
Rebased-From: d838f20
bitcoin#2525 introduced changes to the genbuild.sh script, which gets patched
during the nightly snap builds. This follows up bitcoin#2525 to create a new,
compatible patch.

Github-Pull: bitcoin#2546
Rebased-From: 0f88891
the current asset should be checked, not the "next" one.
Github-Pull: bitcoin#2559
Rebased-From: db36fb8
@furszy furszy self-assigned this Sep 19, 2021
@furszy furszy added this to the 5.3.1 milestone Sep 19, 2021
random-zebra and others added 6 commits September 20, 2021 09:10
This bug is caused by the fact that, if at startup the wallet has more
than 4000 (SINGLE_THREAD_MAX_TXES_SIZE) transaction records, then
chachedWallet is loaded not properly ordered, therfore the binary search
(used later in updateWallet, to check whether a tx is already in the
model) is unreliable.

When the wallet has more than 4000 records, in fact, the list of records
in TransactionTablePriv::refreshWallet() is split in batches, each one
processed in a separate thread, processing the last batch in the main
thread at the beginning, thus without preserving the original order (by
hash) of walletTxes. Further, if the wallet has more than 200k records
(MAX_AMOUNT_LOADED_RECORDS), then the list is also sorted by date before
being trimmed and split in batches.

Fix this by re-sorting the cachedWallet list by hash at the end of the
multi-threaded update.
x
Github-Pull: bitcoin#2551
Rebased-From: 7562b63
…ed if the messages are broadcast.

e.g: do not mark them as fulfilled before fail for a timeout.

Github-Pull: bitcoin#2560
Rebased-From: 88704c4
As the transparent addr contacts are only being taken into account, the list is not being presented if the wallet only has shield and/or cold staking addr contacts.

Github-Pull: bitcoin#2555
Rebased-From: 3be1a9d
Plus delete AddNewContactDialog dialog after use it.

Github-Pull: bitcoin#2555
Rebased-From: c5e81a1
@furszy
Copy link
Author

furszy commented Sep 20, 2021

Updated with merged PRs, ready to go.

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2981a17

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2981a17

@Fuzzbawls Fuzzbawls merged commit 0a8b78b into PIVX-Project:5.3 Sep 21, 2021
@furszy furszy deleted the 2021_5.3.1_backports branch November 29, 2022 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants