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

Fix addrman crashes #1207

Merged
merged 3 commits into from
May 6, 2012
Merged

Fix addrman crashes #1207

merged 3 commits into from
May 6, 2012

Conversation

sipa
Copy link
Member

@sipa sipa commented May 5, 2012

A function returned the element to remove from a bucket, instead of its position in that bucket. This function was only called when a tried bucket overflowed, which only happens after many outgoing connections have been made.

Closes: #1065, #1156

sipa added 3 commits May 5, 2012 21:32
A function returned the element to remove from a bucket, instead of its
position in that bucket. This function was only called when a tried
bucket overflowed, which only happens after many outgoing connections
have been made.

Closes: bitcoin#1065, bitcoin#1156
@gavinandresen
Copy link
Contributor

ACK

@gmaxwell
Copy link
Contributor

gmaxwell commented May 6, 2012

This has survived about 10 hours of running inside valgrind here on a node that previously crashed and with some tweaks to make it more likely to crash. It also survived a new node bringup. The code looks okay to me, so I'm going to go ahead and pull it in the hopes of getting more people testing it on master.

gmaxwell added a commit that referenced this pull request May 6, 2012
@gmaxwell gmaxwell merged commit 4fdc8a6 into bitcoin:master May 6, 2012
coblee pushed a commit to litecoin-project/litecoin that referenced this pull request Jul 17, 2012
@sipa sipa deleted the fix_addrman branch June 23, 2017 00:43
suprnurd pushed a commit to chaincoin-legacy/chaincoin that referenced this pull request Dec 5, 2017
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Jan 22, 2019
* Fix build on native MacOSX

In cbc2e5 a bug got introduced while trying to special cases
for Qt >= 5.2

* Use c++11 nullptr literal
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Jan 10, 2020
9da9329 [Docs] Update build-unix.md (Fuzzbawls)

Pull request description:

  This addresses a few things in the linux build documentation:

  1. Bitcoin's PPA is now unmaintained for newer versions of Ubuntu (last
  supported version was 18.10). The PIVX PPA supports all current Ubuntu
  versions for providing BDB 4.8.30 (including the upcoming Focal Fossa 20
  .04 LTS version).

  2. Removes the (now)stale note about OpenSSL 1.1 and the removed `--with-unsupported-ssl` configure flag.

  3. Adds a note about Qt's charts library availability on older Ubuntu/Debian distro versions.

  4. Adds Qt's SVG & Charts libs to Fedora build instructions

ACKs for top commit:
  random-zebra:
    utACK 9da9329
  furszy:
    utACK 9da9329

Tree-SHA512: a1d270c590c95cbcaa543ca024d15e42aa427457462e7144411cdbe7781ba3734868b636a0601b2d3b0097656e297b574c1a92bbce51588087d23a775914a9e2
Bushstar pushed a commit to Bushstar/omnicore that referenced this pull request May 9, 2021
Pull request description:

  Add the ability to create managed tokens with a unique index, grant data, issuer data and holder data. Grant data is set on issuance, issuer data and holder data can be set at any point by the current issuer or holder respectively. Two new TX types are introduced, type 5 to send NFTs and type 201 to set the issuer and holder data. Grant data repurposes the memo field used in grant transactions that were not previously used other than to set data on the blockchain.
@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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

addrMan crash on CentOS
3 participants