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

backport: (scripted-diff) Merge bitcoin#21836, 21710, 21753 #5998

Merged
merged 3 commits into from May 19, 2024

Conversation

vijaydasmp
Copy link

bitcoin backports

@vijaydasmp vijaydasmp changed the title backport: Merge #21836: backport: (scripted-diff) Merge #21836: Apr 25, 2024
@vijaydasmp vijaydasmp changed the title backport: (scripted-diff) Merge #21836: backport: (scripted-diff) Merge #21836 Apr 25, 2024
@vijaydasmp vijaydasmp force-pushed the bp22_37 branch 2 times, most recently from 56e470c to ee2aeae Compare April 26, 2024 01:44
@vijaydasmp vijaydasmp changed the title backport: (scripted-diff) Merge #21836 backport: (scripted-diff) Merge bitcoin#21836, 21710, 21753, 21775 May 3, 2024
@vijaydasmp vijaydasmp changed the title backport: (scripted-diff) Merge bitcoin#21836, 21710, 21753, 21775 backport: (scripted-diff) Merge bitcoin#21836, 21710, 21753 May 4, 2024
@vijaydasmp vijaydasmp marked this pull request as ready for review May 5, 2024 06:42
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

script in 21836 should be

-BEGIN VERIFY SCRIPT-
sed -i -E -e 's/\.\.\."\)(\.|,|\)| )/…"\)\1/' -- $(git ls-files -- 'src' ':(exclude)src/qt/dashstrings.cpp' ':(exclude)src/immer/')
sed -i -e 's/\.\.\.\\"/…\\"/' src/qt/sendcoinsdialog.cpp
sed -i -e 's|\.\.\.</string>|…</string>|' src/qt/forms/*.ui
sed -i -e 's|\.\.\.)</string>|…)</string>|' src/qt/forms/sendcoinsdialog.ui
-END VERIFY SCRIPT-

src/immer/extra/guile/benchmark.scm Outdated Show resolved Hide resolved
src/qt/dashstrings.cpp Outdated Show resolved Hide resolved
src/init.cpp Show resolved Hide resolved
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

script fails (as expected) - you must drop all changes in src/immer/* and src/qt/dashstrings.cpp you introduced earlier

@vijaydasmp vijaydasmp force-pushed the bp22_37 branch 2 times, most recently from 8fdda6d to eeec358 Compare May 18, 2024 02:22
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

@UdjinM6 UdjinM6 added this to the 21 milestone May 18, 2024
Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK eeec358

laanwj and others added 3 commits May 19, 2024 11:16
…maxconnections config options

b4fcbcf doc: update -maxconnections config option help (Jon Atack)
79685a8 doc: update -addnode config option help (Jon Atack)
2896c6c doc: update addnode rpc help (Jon Atack)

Pull request description:

  Since bitcoin#9319 proposed by Gregory Maxwell and released in v0.14, peers manually added through the `-addnode` config option or using the `addnode` RPC have their own separate limit of 8 connections that does not compete with other inbound or outbound connection usage and is not subject to the limitation imposed by the `-maxconnections` option.

  This PR updates the `-addnode` and `-maxconnections` config options and the `addnode` RPC help docs with this information.

  `-addnode` config option help
  ```
  $ bitcoind -h | grep -A5 addnode=
    -addnode=<ip>
         Add a node to connect to and attempt to keep the connection open (see
         the addnode RPC help for more info). This option can be specified
         multiple times to add multiple nodes; connections are limited to
         8 at a time and are counted separately from the -maxconnections
         limit.

  $ bitcoind -h | grep -A3 maxconnections=
    -maxconnections=<n>
         Maintain at most <n> connections to peers (default: 125). This limit
         does not apply to connections manually added via -addnode or the
         addnode RPC, which have a separate limit of 8.
  ```

  `addnode` rpc help
  ```
  $ bitcoin-cli help addnode
  addnode "node" "command"

  Attempts to add or remove a node from the addnode list.
  Or try a connection to a node once.
  Nodes added using addnode (or -connect) are protected from DoS disconnection and are not required to be
  full nodes/support SegWit as other outbound peers are (though such peers will not be synced from).
  Addnode connections are limited to 8 at a time and are counted separately from the -maxconnections limit.
  ```

ACKs for top commit:
  prayank23:
    ACK bitcoin@b4fcbcf
  jarolrod:
    ACK b4fcbcf

Tree-SHA512: b6d69baa6cbf6d53f91bac5b39b549d49db6c95f92ea1bdd3588a6432794a25ac2c8b3c89e2c72bb9097e61f2717c8b5ecc404745d5992b88e523db03200898f
65f30e4 doc: add -addrinfo troubleshooting section to tor.md (Jon Atack)

Pull request description:

  Follow-up to bitcoin#21595.

ACKs for top commit:
  jarolrod:
    ACK 65f30e4
  practicalswift:
    ACK 65f30e4
  0xB10C:
    ACK 65f30e4
  theStack:
    ACK 65f30e4

Tree-SHA512: d17fa007106b8f877d2632c99273c663a24f025febe52faec9b197c561df808fd6a92bb27992ccbf5c3cc0d82058a8c4b82a2f1b99325f0ddfdac5ef703ac7d7
…in the UI string

-BEGIN VERIFY SCRIPT-
sed -i -E -e 's/\.\.\."\)(\.|,|\)| )/…"\)\1/' -- $(git ls-files -- 'src' ':(exclude)src/qt/dashstrings.cpp' ':(exclude)src/immer/')
sed -i -e 's/\.\.\.\\"/…\\"/' src/qt/sendcoinsdialog.cpp
sed -i -e 's|\.\.\.</string>|…</string>|' src/qt/forms/*.ui
sed -i -e 's|\.\.\.)</string>|…)</string>|' src/qt/forms/sendcoinsdialog.ui
-END VERIFY SCRIPT-
@vijaydasmp vijaydasmp closed this May 19, 2024
@PastaPastaPasta PastaPastaPasta merged commit df6d666 into dashpay:develop May 19, 2024
5 checks passed
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.

None yet

4 participants