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

Upstream merge 2 #77

Merged
merged 45 commits into from
Nov 27, 2018
Merged

Upstream merge 2 #77

merged 45 commits into from
Nov 27, 2018

Conversation

stoffu
Copy link

@stoffu stoffu commented Nov 6, 2018

This PR merges upstream patches after monero-project#3977 which is the last one included in #30; specifically, it includes upstream PRs from monero-project#3716 up to monero-project#4067, both merged on June 28.

Notably, the wallet scanning speedup PR monero-project#3716 adds significant amount of changes to some critical parts of the wallet code where some merge conflicts (due to the recent security upstream fixes #31 & #45 having been merged earlier) had to be resolved with care. Please test and confirm that the wallet functions without problems.

moneromooo-monero and others added 30 commits November 5, 2018 20:23
…onero#3716

Processing typically is the bottleneck
key derivation and checking for incoming outputs are threaded
in batch before adding blocks to the local blockchain. Other
minor bits and bobs are also cached.
Decrease the number of worker threads by one to account
for the fact the calling thread acts as a worker thread now
Speeds up syncing with a lot of outgoing outputs as key generation
runs Cryptonight.
…estnet::X : stagenet ? config::stagenet::X : config::X /monero#3982
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
for privacy reasons, so an untrusted node can't easily track
wallets from IP address to IP address, etc. The granularity
is 1024 blocks, which is about a day and a half.
…monero#3907

This is based on how much an attacking miner stands to lose in block
rewardy by mining a private chain which double spends a payment.
This is not foolproof, since mining is based on luck, and breaks
down as the attacking miner nears 50% of the network hash rate,
and the estimation is based on a constant block reward.
@stoffu
Copy link
Author

stoffu commented Nov 13, 2018

Also added monero-project#4105 and monero-project#4471 so that it compiles on MSYS2.

@stoffu
Copy link
Author

stoffu commented Nov 13, 2018

Also added monero-project#4295 to make it compile on MSYS2.

@stoffu
Copy link
Author

stoffu commented Nov 15, 2018

Also added monero-project#4060 and monero-project#4290 to make it compile and run on Windows.

…4108

It's not 100% certain it'll be needed, but it avoids getinfo
needing the blockchain lock and potentially blocking
@stoffu
Copy link
Author

stoffu commented Nov 15, 2018

Also added monero-project#4108 so that the difficulty drift bug is hopefully fixed.

@stoffu
Copy link
Author

stoffu commented Nov 16, 2018

Also added monero-project#4806 which seems potentially related to the issue

@stoffu stoffu changed the title Upstream merge 2 [DON'T MERGE ]Upstream merge 2 Nov 19, 2018
@stoffu
Copy link
Author

stoffu commented Nov 19, 2018

Added a sanity check patch made by @moneromooo-monero for testing purposes. I'll remove it when this PR is to be merged.

@stoffu stoffu changed the title [DON'T MERGE ]Upstream merge 2 Upstream merge 2 Nov 27, 2018
@stoffu
Copy link
Author

stoffu commented Nov 27, 2018

Now that the testing seems to be deemed complete, the sanity checking code is removed.

@aeonix aeonix merged commit 6860d50 into aeonix:master Nov 27, 2018
@stoffu stoffu mentioned this pull request Dec 21, 2018
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.

6 participants