Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Apr 25, 2016

This includes the commits which were tagged with "needs backport".

@maflcko maflcko force-pushed the Mf1604-012backp branch 7 times, most recently from b764e26 to 591f557 Compare April 27, 2016 20:34
ptschip and others added 13 commits April 27, 2016 22:34
It looks like, TorController::disconnected_cb(TorControlConnection&
conn) gets called multiple times which results in multiple event_new().

Avoid this by creating the event only once in the constructore, and
deleting it only once in the destructor (thanks to Cory Fields for the
idea).

Replaces the fix by Jonas Schnelli in bitcoin#7610, see discussion there.

Github-Pull: bitcoin#7637
Rebased-From: e219503
We do not know that a class of Network is reachable, only that it is not.

Github-Pull: bitcoin#7553
Rebased-From: 110b62f
curl is required to fetch dependencies

Github-Pull: bitcoin#7658
Rebased-From: ce41cf0
Previously we used the CInv that would be sent to the peer announcing the
transaction as the key, but using the txid instead allows us to decouple the
p2p layer from the application logic (which relies on this map to avoid
duplicate tx requests).

Github-Pull: bitcoin#7862
Rebased-From: 7e91f63
…/util.cpp`.

See bitcoin#7845 (comment).
Also refactored `GetDefaultDataDir` function to return path for Mac in one expression.

Github-Pull: bitcoin#7850
Rebased-From: 41dbc48
Previously we would assert that if every block in vBlockHashesToAnnounce is in
chainActive, then the blocks to be announced must connect.  However, there are
edge cases where this assumption could be violated (eg using invalidateblock /
reconsiderblock), so just check for this case and revert to inv-announcement
instead.

Github-Pull: bitcoin#7919
Rebased-From: 3a99fb2
@maflcko maflcko force-pushed the Mf1604-012backp branch 3 times, most recently from cc1d0de to 5978664 Compare April 30, 2016 21:42
SetString seems to be passing the length of the wrong variable to
memory_cleanse, resulting in the last byte of the temporary buffer not being
securely erased.

Github-Pull: bitcoin#7922
Rebased-From: 5770449
@maflcko maflcko force-pushed the Mf1604-012backp branch from e7fb7a9 to c3d1bc3 Compare June 4, 2016 16:01
@maflcko maflcko added this to the 0.12.0 milestone Jun 6, 2016
@laanwj
Copy link
Member

laanwj commented Jun 8, 2016

utACK c3d1bc3

@laanwj laanwj merged commit c3d1bc3 into bitcoin:0.12 Jun 9, 2016
laanwj added a commit that referenced this pull request Jun 9, 2016
c3d1bc3 CBase58Data::SetString: cleanse the full vector (Kaz Wesley)
43c14ac Fix headers announcements edge case (Suhas Daftuar)
06c73a1 Removed call to `TryCreateDirectory` from `GetDefaultDataDir` in `src/util.cpp`. (Alexander Regueiro)
7e71785 Use txid as key in mapAlreadyAskedFor (Suhas Daftuar)
5583a3d Add curl to Gitian setup instrustions (BtcDrak)
d3ead9b Avoid "Unknown command" messages when receiving getaddr on outbound connections. (R E Broadley)
a5bc6a1 Remove vfReachable and modify IsReachable to only use vfLimited. (Patrick Strateman)
52c1011 Clarify description of blockindex (Matthew Zipkin)
21b2f82 Don't resend wallet txs that aren't in our own mempool (Alex Morcos)
66d5408 Fix memleak in TorController [rework] (Wladimir J. van der Laan)
1c3d38b Remove spurious dollar sign. Fixes #7189. (Chris Moore)
64fd0ce fix spelling of advertise in src and doc (jloughry)
a9e73f7 Fix and cleanup listreceivedbyX documentation (instagibbs)
9095594 Do not download transactions during inital sync (ptschip)
@laanwj laanwj added the Backport label Jun 9, 2016
@maflcko maflcko deleted the Mf1604-012backp branch June 9, 2016 11:00
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.