Skip to content

Conversation

@xanatos
Copy link

@xanatos xanatos commented Jun 23, 2012

The OptionsModel::data that set it has changed. Now it's

        case ProxyPort: {
            CService addrProxy;
            if (GetProxy(NET_IPV4, addrProxy))
                return QVariant(addrProxy.GetPort());
            else
                return 9050;
        }

GetPort() returns an unsigned short, that is upcasted by the QVariant (that doesn't directly support shorts)

@Diapolo
Copy link

Diapolo commented Jun 23, 2012

Is the type-casting to int instead of short a problem here? I'm asking because I'm working on the proxy-options in the GUI currently.

ACK to the pull.

@gavinandresen gavinandresen merged commit 3948eb0 into bitcoin:master Jun 28, 2012
suprnurd pushed a commit to chaincoin-legacy/chaincoin that referenced this pull request Dec 5, 2017
…#1508)

* Only store and connect to NODE_NETWORK nodes

* Keep addrman's nService bits consistent with outbound observations

* Verify that outbound connections have expected services

* Don't require services in -addnode

* Introduce enum ServiceFlags for service flags

* Introduce REQUIRED_SERVICES constant
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Jan 22, 2019
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request May 6, 2020
…ature collateral

7830c17 [BUG] Prevent StartAll from starting mns with immature collateral (random-zebra)

Pull request description:

  Extends the fix of bitcoin#1389 (point 2) also to `startAll` (not only `startAlias`).

  Additional ref: PIVX-Project#1226

ACKs for top commit:
  Fuzzbawls:
    utACK 7830c17
  furszy:
    utACK 7830c17

Tree-SHA512: 74798a075aab71d27b3e65827e625eb876ddc7d0a0a6a641864aa5bfa8bc720ee8200020dc497b03e436b6e4df25bef09955397dbdc7f267cdbd3f5781b08223
@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.

3 participants