Files
bitcoin/src
MacroFake a2a8e919ee Merge bitcoin/bitcoin#24925: refactor: make GetRand a template, remove GetRandInt
ab1ea29ba1 refactor: make GetRand a template, remove GetRandInt (pasta)

Pull request description:

  makes GetRand a template for which any integral type can be used, where the default behavior is to return a random integral up to the max of the integral unless a max is provided.
  This simplifies a lot of code from GetRand(std::numeric_limits<uint64_t>::max() -> GetRand<uint64_t>()

ACKs for top commit:
  laanwj:
    Code review ACK ab1ea29ba1

Tree-SHA512: db5082a0e21783389f1be898ae73e097b31ab48cab1a2c0e29348a4adeb545d4098193aa72a547c6baa6e8205699aafec38d6a27b3d65522fb3246f91b4daae9
2022-05-12 08:57:22 +02:00
..
2022-04-20 13:51:33 +01:00
2022-04-20 14:29:29 +01:00
2022-03-23 17:36:33 -05:00
2022-04-28 10:24:06 +02:00
2022-05-05 20:50:24 +02:00
2022-05-10 10:54:54 +02:00
2022-05-10 10:54:54 +02:00
2022-05-05 20:50:24 +02:00
2022-03-10 13:05:29 +01:00