Bitcoin Forum
May 14, 2024, 07:36:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What does "keypool reserve" & "keypool return" in the debug log indicate?  (Read 1790 times)
DeathAndTaxes (OP)
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
May 26, 2014, 04:38:03 PM
 #1

What does "keypool reserve" & "keypool return" in the debug log indicate?
Quote
2014-05-26 16:34:01 keypool reserve 9028
2014-05-26 16:34:01 keypool return 9028
2014-05-26 16:34:01 keypool reserve 9028
2014-05-26 16:34:01 keypool return 9028
1715672180
Hero Member
*
Offline Offline

Posts: 1715672180

View Profile Personal Message (Offline)

Ignore
1715672180
Reply with quote  #2

1715672180
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715672180
Hero Member
*
Offline Offline

Posts: 1715672180

View Profile Personal Message (Offline)

Ignore
1715672180
Reply with quote  #2

1715672180
Report to moderator
telepatheic
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile
May 26, 2014, 08:53:09 PM
 #2

They indicate that a key has been temporarily removed from the pool and then returned to the pool while an operation involving it is taking place. See the wallet.cpp file.

These functions allow multi-threading (two threads can't be using the same key at the same time).
DeathAndTaxes (OP)
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
May 26, 2014, 08:55:07 PM
 #3

Thanks and that opens up even more questions.  Not sure why a key would be removed from the keypool and returned.  Will need to dig into the code.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!