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

Merge dev branch #46

Merged
merged 29 commits into from
Jan 19, 2022
Merged

Merge dev branch #46

merged 29 commits into from
Jan 19, 2022

Conversation

alamshafil
Copy link
Contributor

Merge Bitcoin PR back-ports bringing enhanced security and fixes.

fdoving and others added 27 commits December 14, 2021 16:48
backport bitcoin#204

    In Qt 5 the last column resizing with dragging its left edge works
    out-of-the-box.
    The current TableViewLastColumnResizingFixer implementation could put
    the last column content out of the view port and confuse a user.
Backport part of bitcoin#14624

bitcoin#3db746beb407f7cdd9cd6a605a195bef1254b4c0
Manual backport of bitcoin PR#18443 and bitcoin PR#15633.

Use madvise on Linux and FreeBSD to avoid sensitive data from secure_allocator to be written to swap and core-files.

bitcoin/bitcoin@d831831
bitcoin/bitcoin@f852030
Manual backport of bitcoin PR #16572
…zed reads (#24)

Manual backport of bitcoin PR #17906

Initialize CConnman byte counters during construction, so GetTotalBytesRecv()
and GetTotalBytesSent() methods don't return garbage before Start() is called.

Change shouldn't have any effect outside of the GUI. It just fixes a race
condition during a qt test that was observed on travis:
https://travis-ci.org/bitcoin/bitcoin/jobs/634989685
manual backport of bitcoin PR # 14993

rpc: Fix data race (UB) in InterruptRPC()
Manual backport of bitcoin PR 14728

Reachable from either place where SetIP is used when our best-guess
addrLocal for a peer is IPv4, but the peer tells us it's reaching us at
an IPv6 address.

In that case, SetIP turns an IPv4 address into an IPv6 address without
setting the scopeId, which is subsequently read in GetSockAddr during
CNetAddr::ToStringIP and passed to getnameinfo. Fix by ensuring every
constructor initializes the scopeId field with something.
Manual backport of bitcoin PR #13907

The largest sensible size for a locator is log in the number of blocks.
 But, as noted by Coinr8d on BCT a maximum size message could encode a
 hundred thousand locators.  If height were used to limit the messages
 that could open new attacks where peers on long low diff forks would
 get disconnected and end up stuck.

Ideally, nodes first first learn to limit the size of locators they
 send before limiting what would be processed, but common implementations
 back off with an exponent of 2 and have an implicit limit of 2^32
 blocks, so they already cannot produce locators over some size.

This sets the limit to an absurdly high amount of 101 in order to
 maximize compatibility with existing software.
* gui: encrypt wallet dialog, update to AVN (#33)

* Contrib: Copy install_db4.sh from bitcoin

* Contrib: Copy install_db4.sh from bitcoin.

    This script automates the process of downloading and compiling Berkeley DB 4.8.
    Rebranded to Avian
* gui: encrypt wallet dialog, update to AVN (#33)

* http: Release work queue after event base finish (btc#19033)

backport of bitcoin#19033.

This fixes a race between http_request_cb and StopHTTPServer where
the work queue is used after release. - promag @ bitcoin.
* gui: encrypt wallet dialog, update to AVN (#33)

* disable output to stdout

Commented the line, if it is needed it should be easy to re-enable.
* gui: encrypt wallet dialog, update to AVN (#33)

* disable logging of diff

Disable logging of diff to debug.log.
Filling the log with all this makes debugging other issues harder.
Can be re-enabled easily if necessary.
* Set stylesheet for price

    * Increase update interval to 30 sec.
* Set black text color for price
    * Increase update interval to 30 sec.
* My previous fix broke dark-mode.
    * This one fetches the textcolor from platformStyle.

Co-authored-by: Julepalme <50538512+Julepalme@users.noreply.github.com>

Co-authored-by: Julepalme <50538512+Julepalme@users.noreply.github.com>
…t) (#45)

Co-authored-by: practicalswift <practicalswift@users.noreply.github.com>
@alamshafil alamshafil added this to the v3.1.1 milestone Dec 23, 2021
Set attributes before invoking the application.
This way, they work.

Disable increased font-size in dark-mode.
@decentralisedcoder
Copy link
Collaborator

Merging Furious' Pull Request to merge Maintenance Dev Branch to Master Branch

@decentralisedcoder decentralisedcoder merged commit 11e9cff into master Jan 19, 2022
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.

3 participants