aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-07-11 12:15:02 -0400
committerMatt Corallo <git@bluematt.me>2017-07-17 12:12:48 -0400
commit1fc8c3de0cff2971cc1f9903bfc3d03a982f2fab (patch)
tree90ef1ee9bbdcc8f90231635a71b63b9234e2a7d7 /src/netbase.cpp
parent0b019357ff09e7a522307fc271d6b60562a7b890 (diff)
downloadbitcoin-1fc8c3de0cff2971cc1f9903bfc3d03a982f2fab.tar.xz
No longer ever reuse keypool indexes
This fixes an issue where you could reserve a keypool entry, then top up the keypool, writing out a new key at the given index, then return they key from the pool. This isnt likely to cause issues, but given there is no reason to ever re-use keypool indexes (they're 64 bits...), best to avoid it alltogether.
Diffstat (limited to 'src/netbase.cpp')
0 files changed, 0 insertions, 0 deletions