Skip to content

Conversation

@furszy
Copy link

@furszy furszy commented Dec 23, 2020

Do not return an error if a different peer port is used for Masternodes running over tor.
The peer is behind a hidden service which has the public port fixed to the default port already. The local port can be used freely, the network cannot prevent it.

@furszy furszy self-assigned this Dec 23, 2020
@furszy furszy added this to the 5.0.0 milestone Dec 23, 2020
@random-zebra random-zebra added Masternode Bug Needs Backport Placeholder tag for anything needing a backport to prior version branches labels Dec 23, 2020
@furszy furszy force-pushed the 2020_fix_masternode_peer_port branch from ce17111 to 17536ab Compare December 23, 2020 22:02
Do not return an error if a different peer port is used for tor addresses. The peer is behind a hidden service which has the port fixed to the default port.
@furszy furszy force-pushed the 2020_fix_masternode_peer_port branch from 17536ab to 2cd0670 Compare December 23, 2020 22:03
@furszy furszy requested a review from random-zebra December 24, 2020 14:18
@random-zebra
Copy link

random-zebra commented Dec 24, 2020

Oh, my bad, @furszy. The check is fine and should actually be performed for RegTest too.
There's a bug in the TierTwo framework 😃 that's why the tests were failing (the mn ports of the two remote nodes are switched):
random-zebra@da6117d

(this could also be the reason of the sporadic inconsistencies we've seen with the ping test)

@furszy
Copy link
Author

furszy commented Dec 24, 2020

nice catch @random-zebra ☕ . Commit cherry-picked, two bugs fixed here :) .

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b878bff

@furszy furszy requested a review from Fuzzbawls December 26, 2020 20:58
Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b878bff

@Fuzzbawls Fuzzbawls merged commit 7a1837e into PIVX-Project:master Dec 27, 2020
Fuzzbawls pushed a commit to Fuzzbawls/PIVX that referenced this pull request Dec 27, 2020
Do not return an error if a different peer port is used for tor addresses. The peer is behind a hidden service which has the port fixed to the default port.

Github-Pull: PIVX-Project#2103
Rebased-From: 2cd0670
Fuzzbawls pushed a commit to Fuzzbawls/PIVX that referenced this pull request Dec 27, 2020
random-zebra added a commit that referenced this pull request Dec 28, 2020
41abf5a clear StakeableCoins before initializing (PeterL73)
3de9861 [Policy] Set DEFAULT_SHIELDEDTXFEE_K to 100 (from 1000) (random-zebra)
4a8e571 [BUG] Fix total budget on testnet (random-zebra)
4285bee scripted-diff: Fix "alloted" typo (random-zebra)
107529b Tests: check getbudgetinfo / getbudgetprojection updated output (random-zebra)
495c546 Tests: check invalid RPC inputs in rpc_budget test (random-zebra)
723a41b Consensus: enforce that proposal BlockStart must be a superblock (random-zebra)
5fb488a Consensus: enforce proposal max payments (6 main-net / 20 test-net) (random-zebra)
6377883 [BUG][Tests] Fix remote nodes switched ports in PivxTier2TestFramework (random-zebra)
73864a0 Startup: move masternode port validation inside `initMasternode`. (furszy)
18e83cf Only return the tx hex string in rawdelegatestake (Fuzzbawls)
85d83b1 Further RPC help output cleanups (Fuzzbawls)
2c315a3 Only Return the transaction hex string in `rawshieldsendmany` (Fuzzbawls)
a6b3f77 [BUG][GUI] Cache unconfirmed_balance only for transparent outs (random-zebra)
d95f0ca [BUG][GUI] Don't return StakingOnlyUnlocked from WalletModel::sendCoins (random-zebra)
f17aabc [Trivial][GUI] coin control: Fixed column size in list-mode (random-zebra)
f3662f8 [GUI] Finally, fix duplicate records. (furszy)
1d95c40 [DOC] main readme, added latest release version and release date badges (furszy)
afcba75 [DOC] main readme, re-written to current project state. (furszy)
7fd9e62 [DOC] Readme, migrated staled travis badge for github actions status badge. (furszy)
227161b [Trivial][RPC] Drop 'ed' suffix from Shielded in TxSaplingToJSON (random-zebra)
ed8999a [GUI] send screen, hide shield all coins btn for now. (furszy)

Pull request description:

  further backports for the 5.0 branch:

  #2094
  #2093
  #2095
  #2096
  #2098
  #2104
  #2102
  #2097
  #2103
  #2101
  #2108
  #2109

ACKs for top commit:
  furszy:
    utACK 41abf5a
  random-zebra:
    utACK 41abf5a and merging...

Tree-SHA512: 34619594f6e87362f8760a24c39ef25e8acf856de258d1e40f5a1264381fb9e6f6210bcca2b1bc765a0366c7a4467d43c95147bf75f7c2d64d16ee3b41a9efb9
@random-zebra random-zebra removed the Needs Backport Placeholder tag for anything needing a backport to prior version branches label Dec 30, 2020
@furszy furszy deleted the 2020_fix_masternode_peer_port branch November 29, 2022 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants