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: Merge bitcoin#21848,22003 #6010

Merged
merged 2 commits into from
May 24, 2024

Conversation

vijaydasmp
Copy link

backport

@vijaydasmp vijaydasmp force-pushed the bp23_11 branch 2 times, most recently from b59dc8d to e501043 Compare May 6, 2024 11:30
@vijaydasmp vijaydasmp changed the title backport: Merge bitcoin#20773 backport: Merge bitcoin#21848,21913,2203,22403,22135,22169 May 6, 2024
@vijaydasmp vijaydasmp force-pushed the bp23_11 branch 3 times, most recently from 98df67d to f41a8ee Compare May 7, 2024 10:56
Copy link

This pull request has conflicts, please rebase.

@vijaydasmp vijaydasmp changed the title backport: Merge bitcoin#21848,21913,2203,22403,22135,22169 backport: Merge bitcoin#21848,21913,2203, [22403,22135,22169] May 15, 2024
@vijaydasmp vijaydasmp changed the title backport: Merge bitcoin#21848,21913,2203, [22403,22135,22169] backport: Merge bitcoin#21848,21913,2203 May 18, 2024
@vijaydasmp vijaydasmp force-pushed the bp23_11 branch 3 times, most recently from 56b09ad to aebf5d5 Compare May 21, 2024 06:40
@vijaydasmp vijaydasmp changed the title backport: Merge bitcoin#21848,21913,2203 backport: Merge bitcoin#21848,22003 May 21, 2024
@vijaydasmp vijaydasmp marked this pull request as ready for review May 21, 2024 09:19
@vijaydasmp
Copy link
Author

Hello @UdjinM6 , requesting review

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

@vijaydasmp
Copy link
Author

Hello @knst @PastaPastaPasta requesting review

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 aebf5d5

MarcoFalke added 2 commits May 24, 2024 13:24
…-independent

fafd121 refactor: Make CFeeRate constructor architecture-independent (MarcoFalke)

Pull request description:

  Currently the constructor is architecture dependent. This is confusing for several reasons:

  * It is impossible to create a transaction larger than the max value of `uint32_t`, so a 64-bit `size_t` is not needed
  * Policy (and consensus) code should be arch-independent
  * The current code will print spurious compile errors when compiled on 32-bit systems:

  ```
  policy/feerate.cpp:23:22: warning: result of comparison of constant 9223372036854775807 with expression of type 'size_t' (aka 'unsigned int') is always true [-Wtautological-constant-out-of-range-compare]
      assert(nBytes_ <= uint64_t(std::numeric_limits<int64_t>::max()));
  ```

  Fix all issues by making it arch-independent. Also, fix `{}` style according to dev notes.

ACKs for top commit:
  theStack:
    re-ACK fafd121
  promag:
    Code review ACK fafd121.

Tree-SHA512: e16f75bad9ee8088b87e873906d9b5633449417a6996a226a2f37d33a2b7d4f2fd91df68998a77e52163de20b40c57fadabe7fe3502e599cbb98494178591833
793b268 txmempool: add thread safety annotations (Anthony Towns)

Pull request description:

  Add missing thread safety guards to CTxMempool members.

ACKs for top commit:
  MarcoFalke:
    cr ACK 793b268
  hebasto:
    re-ACK 793b268, only suggested changes since my [previous](bitcoin#22003 (review)) review.

Tree-SHA512: c5eb197c63375c80c325a276f322177e84e0181c94a124720b1a364e964ac223fc6fdfd89bd0e152b76959fb6b97bfbf82dd36ec105ed6e2dc045ede717df4ae
@PastaPastaPasta PastaPastaPasta merged commit 82dbeed into dashpay:develop May 24, 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

3 participants