Empact
commented at 2:08 AM on May 17, 2018:
member
ReserveKeyFromKeyPool's previous behaviour is to set nIndex to -1 if the keypool is
empty, OR throw an exception for technical failures. Instead, we now return false
if the keypool is empty, true if the operation succeeded.
This is to make failure more easily detectable by calling code.
fanquake added the label Refactoring on May 17, 2018
fanquake added the label Wallet on May 17, 2018
Empact
commented at 2:11 AM on May 17, 2018:
member
Return bool rather than throw, because this is a common failure mode, so its handling is control flow
Extract use_split_keypool bool to make "keypool entry misclassified" case more straightforward
throw rather than assert on keypool.vchPubKey.IsValid(), to simplify docs and create an opportunity for handling / testability
Empact force-pushed on May 17, 2018
Empact force-pushed on May 17, 2018
Empact force-pushed on May 17, 2018
Empact force-pushed on May 17, 2018
Wallet: Refactor ReserveKeyFromKeyPool for safety
ReserveKeyFromKeyPool's previous behaviour is to set nIndex to -1 if the keypool is
empty, OR throw an exception for technical failures. Instead, we now return false
if the keypool is empty, true if the operation succeeded.
This is to make failure more easily detectable by calling code.
4b62bdf513
Empact force-pushed on May 17, 2018
jonasschnelli
commented at 8:03 AM on May 17, 2018:
contributor
utACK4b62bdf5136c174621509bf7866fbd89b61cc66a
achow101
commented at 3:19 PM on May 17, 2018:
member
utACK4b62bdf5136c174621509bf7866fbd89b61cc66a
promag
commented at 3:53 PM on May 17, 2018:
member
utACK4b62bdf.
MarcoFalke
commented at 4:12 PM on May 17, 2018:
member
utACK4b62bdf5136c174621509bf7866fbd89b61cc66a
laanwj merged this on May 30, 2018
laanwj closed this on May 30, 2018
laanwj referenced this in commit c4cc8d9930 on May 30, 2018
Empact deleted the branch on Jun 1, 2018
jasonbcox referenced this in commit efb39b6c27 on Oct 11, 2019
jonspock referenced this in commit 4eb8cefc89 on Feb 26, 2020
jonspock referenced this in commit 87c4d2cf08 on Mar 2, 2020
jonspock referenced this in commit b040950464 on Mar 7, 2020
jonspock referenced this in commit a16a0fd2c6 on Mar 14, 2020
jonspock referenced this in commit a86ee70250 on Mar 21, 2020
jonspock referenced this in commit 4e979e0662 on Mar 24, 2020
jonspock referenced this in commit 3816e10d9d on Apr 6, 2020
jonspock referenced this in commit 525e0efc0e on Apr 8, 2020
jonspock referenced this in commit e8172f4ae3 on Apr 8, 2020
jonspock referenced this in commit 5c3f09fc72 on Apr 8, 2020
jonspock referenced this in commit 9c51474d40 on Apr 8, 2020
jonspock referenced this in commit 7ee9811cff on Apr 9, 2020
jonspock referenced this in commit c0a0306592 on Apr 17, 2020
jonspock referenced this in commit fb5bca2254 on May 23, 2020
jonspock referenced this in commit 936c4715bd on May 25, 2020
jonspock referenced this in commit b95dc116b5 on Jul 9, 2020
jonspock referenced this in commit f93a590b27 on Jul 10, 2020
jonspock referenced this in commit e266978668 on Jul 17, 2020
jonspock referenced this in commit 38102425da on Jul 17, 2020
jonspock referenced this in commit cd734dfd01 on Jul 20, 2020
jonspock referenced this in commit 586bff6a6a on Jul 29, 2020
jonspock referenced this in commit 8f75d896f6 on Jul 31, 2020
jonspock referenced this in commit e5f7b4f454 on Aug 5, 2020
jonspock referenced this in commit aa7cf595b5 on Aug 6, 2020
jonspock referenced this in commit 2061e4f750 on Aug 7, 2020
proteanx referenced this in commit 756cadeb6a on Aug 8, 2020
NickIAm referenced this in commit 169690c4ad on Apr 18, 2021
UdjinM6 referenced this in commit e72dea40ef on Jun 19, 2021
UdjinM6 referenced this in commit 0aa91a8645 on Jun 24, 2021
UdjinM6 referenced this in commit ebffe0c44e on Jun 26, 2021
UdjinM6 referenced this in commit 5aadfe167a on Jun 26, 2021
UdjinM6 referenced this in commit 58793161ac on Jun 28, 2021
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-14 18:15 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me