Files
bitcoin/src
MarcoFalke 31a481be29 Merge bitcoin/bitcoin#22597: consensus/params: simplify ValidDeployment check to avoid gcc warning
059171009b consensus/params: simplify ValidDeployment check to avoid gcc warning (Anthony Towns)

Pull request description:

  Simplifies the ValidDeployment check to only check the upperbound, relying on the lower bound to be trivially true due to enum values starting at the minimum value of the underlying type (which is checked at compile time in deploymentstatus.cpp). Avoids a "comparison always true" warning in some versions of gcc.

  Fixes #22587

ACKs for top commit:
  MarcoFalke:
    review ACK 059171009b
  tryphe:
    retested ACK 059171009b

Tree-SHA512: e53b5d478b46d35ec476d004e3c92803afb874c138dd6ef3848861f4281cc113fe88921bc4ac74fd4decbf318ed776d3f816c3a1185f99dc36a5cfecfff51f7c
2021-08-03 13:54:27 +02:00
..
2020-12-08 19:26:30 +01:00
2020-11-19 15:48:24 +01:00
2021-07-30 11:21:51 +02:00
2021-07-30 11:21:51 +02:00
2021-07-30 11:21:51 +02:00
2021-07-30 11:21:51 +02:00
2020-12-31 09:45:41 +01:00
2021-03-17 17:59:22 -07:00
2021-03-17 17:59:22 -07:00
2020-12-31 09:45:41 +01:00
2021-06-03 13:53:31 +02:00
2021-01-07 18:07:09 +02:00
2021-01-04 12:31:31 +08:00
2021-07-30 11:24:59 +02:00
2021-04-06 14:50:17 +08:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-04-30 09:19:14 -04:00
2020-10-12 12:14:53 -07:00
2020-04-16 13:33:09 -04:00