Skip to content

Conversation

@mjdietzx
Copy link
Contributor

Now that boost has been updated >1.60 we can simplify how we get
wallet path relative to wallet_dir by using boost::filesystem::lexically_relative.

Do the todo, and remove the comment that indicated this could be replaced.

Now that boost has been updated >1.60 we can simplify how we get
wallet path relative to wallet_dir by using boost::filesystem::lexically_relative.
@fanquake
Copy link
Member

Our minimum required Boost is currently 1.58.0. See configure.ac.

@mjdietzx
Copy link
Contributor Author

Closing re: min required Boost is currently 1.58.0.

@mjdietzx mjdietzx closed this Oct 29, 2020
@mjdietzx
Copy link
Contributor Author

mjdietzx commented Dec 1, 2020

Note, when #20460 closes we should be able to re-open this PR

fanquake added a commit that referenced this pull request Oct 30, 2021
9ba7c44 refactor: get wallet path relative to wallet_dir (Michael Dietz)

Pull request description:

  Now that boost has been updated > 1.60 (see #22320), we can simplify how we get
  wallet path relative to wallet_dir by using:
  `boost::filesystem::lexically_relative`, removing a TODO.

  Test coverage comes from `test/functional/wallet_multiwallet.py`

  I first tried this in #20265 which was my first attempted PR, and funny enough exactly 1 year later I'm opening this one to hopefully finally close this.

ACKs for top commit:
  ryanofsky:
    Code review ACK 9ba7c44. Basically this same code change is made in #20744 commit b70c84348ac7a8e427a1183f894c73e52c734529, so this PR helps simplify that one
  lsilva01:
    Code Review ACK 9ba7c44

Tree-SHA512: 6ccb91a18bcb52c3ae0c789a94a18fb5be7db7769fd1121552d63f259fbd32b50c3dcf169cec0b02f978321db3bc60eb4b881b8327e9764f32e700236e0d8a35
Copy link

@Roger0623 Roger0623 left a comment

Choose a reason for hiding this comment

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

Roger0623

sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Oct 30, 2021
9ba7c44 refactor: get wallet path relative to wallet_dir (Michael Dietz)

Pull request description:

  Now that boost has been updated > 1.60 (see bitcoin#22320), we can simplify how we get
  wallet path relative to wallet_dir by using:
  `boost::filesystem::lexically_relative`, removing a TODO.

  Test coverage comes from `test/functional/wallet_multiwallet.py`

  I first tried this in bitcoin#20265 which was my first attempted PR, and funny enough exactly 1 year later I'm opening this one to hopefully finally close this.

ACKs for top commit:
  ryanofsky:
    Code review ACK 9ba7c44. Basically this same code change is made in bitcoin#20744 commit b70c84348ac7a8e427a1183f894c73e52c734529, so this PR helps simplify that one
  lsilva01:
    Code Review ACK 9ba7c44

Tree-SHA512: 6ccb91a18bcb52c3ae0c789a94a18fb5be7db7769fd1121552d63f259fbd32b50c3dcf169cec0b02f978321db3bc60eb4b881b8327e9764f32e700236e0d8a35
@bitcoin bitcoin locked and limited conversation to collaborators Oct 30, 2022
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