Skip to content

Conversation

@dzutto
Copy link

@dzutto dzutto commented Aug 16, 2021

Fixes: 4340

@dzutto
Copy link
Author

dzutto commented Aug 17, 2021

GitLab CI fails on two targets.
For arm-linux-build, the failure is reported before this PR with 592cd0a.
For linux64-test, the failure is reported for feature_llmq_connections.py which is confusing because it passed alright locally:

...
feature_llmq_chainlocks.py            | ✓ Passed  | 42 s
feature_llmq_connections.py           | ✓ Passed  | 28 s
feature_llmq_data_recovery.py         | ✓ Passed  | 121 s
feature_llmq_dkgerrors.py             | ✓ Passed  | 38 s
feature_llmq_is_cl_conflicts.py       | ✓ Passed  | 21 s
feature_llmq_is_retroactive.py        | ✓ Passed  | 121 s
feature_llmq_signing.py               | ✓ Passed  | 53 s
feature_llmq_signing.py --spork21     | ✓ Passed  | 44 s
feature_llmq_simplepose.py            | ✓ Passed  | 143 s
....

ALL                                   | ✓ Passed  | 1937 s (accumulated) 

MarcoFalke and others added 2 commits August 16, 2021 18:41
cb53b82 scripted-diff: Replace boost::bind with std::bind (Chun Kuan Lee)
2196c51 refactor: Use boost::scoped_connection in signal/slot, also prefer range-based loop instead of std::transform (Chun Kuan Lee)

Pull request description:

  Replace boost::bind with std::bind

  - In `src/rpc/server.cpp`, replace `std::transform` with simple loop.
  - In `src/validation.cpp`, store the `boost::signals2::connection` object and use it to disconnect.
  - In `src/validationinterface.cpp`, use 2 map to store the `boost::signals2::scoped_connection` object.

Tree-SHA512: 6653cbe00036fecfc495340618efcba6d7be0227c752b37b81a27184433330f817e8de9257774e9b35828026cb55f11ee7f17d6c388aebe22c4a3df13b5092f0
@PastaPastaPasta
Copy link
Member

PastaPastaPasta commented Aug 17, 2021

GitLab CI fails on two targets.
For arm-linux-build, the failure is reported before this PR with 592cd0a.
For linux64-test, the failure is reported for feature_llmq_connections.py which is confusing because it passed alright locally:

...
feature_llmq_chainlocks.py            | ✓ Passed  | 42 s
feature_llmq_connections.py           | ✓ Passed  | 28 s
feature_llmq_data_recovery.py         | ✓ Passed  | 121 s
feature_llmq_dkgerrors.py             | ✓ Passed  | 38 s
feature_llmq_is_cl_conflicts.py       | ✓ Passed  | 21 s
feature_llmq_is_retroactive.py        | ✓ Passed  | 121 s
feature_llmq_signing.py               | ✓ Passed  | 53 s
feature_llmq_signing.py --spork21     | ✓ Passed  | 44 s
feature_llmq_simplepose.py            | ✓ Passed  | 143 s
....

ALL                                   | ✓ Passed  | 1937 s (accumulated) 

Correct, linter failure should be fixed in #4344

Also, some of the llmq based tests can be flaky

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 for squash merge, LGTM

~/workspace/dash$ git grep -n "bind.hpp"
~/workspace/dash$ git grep -n "boost::bind"

@UdjinM6 UdjinM6 added this to the 18 milestone Aug 17, 2021
@UdjinM6 UdjinM6 changed the title Backports v0.18: PR 13743 Backports v0.18: PR 13743: refactor: Replace boost::bind with std::bind Aug 17, 2021
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 merged commit 4b603e6 into dashpay:develop Aug 17, 2021
@dzutto dzutto deleted the backport_13743 branch August 18, 2021 00:35
gades pushed a commit to cosanta/cosanta-core that referenced this pull request May 2, 2022
…nd (dashpay#4343)

* Merge bitcoin#13743: refactor: Replace boost::bind with std::bind

cb53b82 scripted-diff: Replace boost::bind with std::bind (Chun Kuan Lee)
2196c51 refactor: Use boost::scoped_connection in signal/slot, also prefer range-based loop instead of std::transform (Chun Kuan Lee)

Pull request description:

  Replace boost::bind with std::bind

  - In `src/rpc/server.cpp`, replace `std::transform` with simple loop.
  - In `src/validation.cpp`, store the `boost::signals2::connection` object and use it to disconnect.
  - In `src/validationinterface.cpp`, use 2 map to store the `boost::signals2::scoped_connection` object.

Tree-SHA512: 6653cbe00036fecfc495340618efcba6d7be0227c752b37b81a27184433330f817e8de9257774e9b35828026cb55f11ee7f17d6c388aebe22c4a3df13b5092f0

* Replace boost::bind with std::bind and remove Boost.Bind includes

Co-authored-by: MarcoFalke <[email protected]>
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.

3 participants