Skip to content

backport: bitcoin#23723, 23547, 24153, 23591#6274

Merged
PastaPastaPasta merged 4 commits into
dashpay:developfrom
vijaydasmp:bp23_100_1_Part_1
Sep 24, 2024
Merged

backport: bitcoin#23723, 23547, 24153, 23591#6274
PastaPastaPasta merged 4 commits into
dashpay:developfrom
vijaydasmp:bp23_100_1_Part_1

Conversation

@vijaydasmp

@vijaydasmp vijaydasmp commented Sep 14, 2024

Copy link
Copy Markdown

This backport brings the following chnages,

  • Fixed a bug in the estimatesmartfee RPC command.
  • Refactored code to improve clarity and maintainability.
  • Removed unnecessary code to streamline the system.
  • Implemented a minor refactor that, while not critical, provides benefits by using a named constructor:
    • It clearly indicates the use of a built-in function.
    • It's slightly faster and reduces the amount of code.

laanwj and others added 2 commits September 14, 2024 20:23
…isminefilter

fa2c991 refactor: Use underlying type of isminetype for isminefilter (MarcoFalke)

Pull request description:

  This does not change behavior, but it would be good for code clarity and to avoid `-Wimplicit-int-conversion` compiler warnings to use the an int of the same width for both `isminetype` and `isminefilter`.

ACKs for top commit:
  laanwj:
    Code review ACK fa2c991
  shaavan:
    crACK fa2c991
  promag:
    Code review ACK fa2c991.

Tree-SHA512: b3e255de7c9b1dea272bc8cb9386b339fe701f18580e03e997c270cac6453088ca2032e26e39f536d66cd1b6fda3e96bdbdc6e960879030e635338d0916277e6
fa3bdbd test: remove unused sanitizer suppressions (MarcoFalke)

Pull request description:

  Looks like those are not needed (anymore)

ACKs for top commit:
  fanquake:
    ACK fa3bdbd

Tree-SHA512: 4bedb6363aba8ea7763291ee0cd074e6bfd77e691bb32999c3959393864dc396bacba1eced2b10d9d600b66e8b83b91f7bc6692331dbd113bbaa87e72d11e2e8
@vijaydasmp vijaydasmp changed the title backport: butcoin backport: bitcoin Sep 14, 2024
@vijaydasmp vijaydasmp changed the title backport: bitcoin backport: bitcoin#23951 Sep 14, 2024
@vijaydasmp vijaydasmp changed the title backport: bitcoin#23951 backport: bitcoin#23951, 23723, 23547, 22677, 23002, 24153, 23591 Sep 14, 2024
@vijaydasmp vijaydasmp changed the title backport: bitcoin#23951, 23723, 23547, 22677, 23002, 24153, 23591 backport: bitcoin#23951, 23723, 23547, 23002, 24153, 23591 Sep 14, 2024
@vijaydasmp vijaydasmp changed the title backport: bitcoin#23951, 23723, 23547, 23002, 24153, 23591 backport: bitcoin#23723, 23547, 23002, 24153, 23591 Sep 14, 2024
@vijaydasmp
vijaydasmp marked this pull request as ready for review September 14, 2024 17:54
@UdjinM6 UdjinM6 added the RPC Some notable changes to RPC params/behaviour/descriptions label Sep 14, 2024
@vijaydasmp

Copy link
Copy Markdown
Author

Hello @UdjinM6, requesting review

@UdjinM6

UdjinM6 commented Sep 16, 2024

Copy link
Copy Markdown

re 23002 "Make descriptor wallets by default": Do we have everything prepared for this @knst?

@knst

knst commented Sep 17, 2024

Copy link
Copy Markdown
Collaborator

re 23002 "Make descriptor wallets by default": Do we have everything prepared for this @knst?

Basically, everything is ready https://github.com/dashpay/dash-issues/issues/59 except mnemonics for descriptor wallets, which is quite important IMO.

But, we should not merge 23002 yet, because that's a breaking changes, at least not before v22 is branched-out.

Also, there's couple useful follow-ups must be done:

@vijaydasmp could you exclude 23002 from this PR, please?

@vijaydasmp

vijaydasmp commented Sep 17, 2024 via email

Copy link
Copy Markdown
Author

MarcoFalke added 2 commits September 21, 2024 18:32
…rtfee if smart fee data is unavailable

cd8d156 Bugfix: RPC/mining: Fail properly in estimatesmartfee if smart fee data is unavailable (Luke Dashjr)

Pull request description:

  Fixes a regression introduced by bitcoin#22722

  (Not entirely sure on the solution)

ACKs for top commit:
  prayank23:
    crACK bitcoin@cd8d156
  darosior:
    utACK cd8d156
  kristapsk:
    utACK cd8d156

Tree-SHA512: eb4aa3cc345c69c44ffd5733b51b90eefe1d7854b7a2855e8cbb98268db24d43b7d0ae9fbb0eccf9b6dc01da644d19433cc77fec52ff67bf890be1fc53a67fc4
fa1b63c test: Replace hashlib.new with named constructor (MarcoFalke)

Pull request description:

  A small refactor that doesn't matter too much, but it using the named constructor is nice because:
  * It clarifies that it is a built-in function
  * It is (trivially) faster and less code.

ACKs for top commit:
  Zero-1729:
    ACK fa1b63c
  w0xlt:
    ACK fa1b63c

Tree-SHA512: d23dc4552c1e6fc1f90f8272e47e4efcbe727f0b66a6f6a264db8a50ee6cb6d57a2809befcb95fda6725136672268633817a03dd1859f2298d20e3f9e0ca4a7f
@vijaydasmp

Copy link
Copy Markdown
Author

Hello @UdjinM6 @knst , dropped 23002

@UdjinM6 UdjinM6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK 073d6d6

@UdjinM6 UdjinM6 changed the title backport: bitcoin#23723, 23547, 23002, 24153, 23591 backport: bitcoin#23723, 23547, 24153, 23591 Sep 21, 2024
@UdjinM6 UdjinM6 added this to the 21.2 milestone Sep 22, 2024

@knst knst left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

utACK 073d6d6

@PastaPastaPasta
PastaPastaPasta merged commit 8f8cd61 into dashpay:develop Sep 24, 2024
@UdjinM6 UdjinM6 modified the milestones: 21.2, 22 Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RPC Some notable changes to RPC params/behaviour/descriptions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants