Bitcoin Forum
May 21, 2024, 02:00:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: EXCEPTION: St9bad_alloc std::bad_alloc bitcoin in ProcessMessages()  (Read 1833 times)
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
January 17, 2016, 04:44:26 PM
 #21

as far as i know exporting privatekey can only be done one by one through API.

Cant you use bumpwallet?

Code:
dumpwallet "filename"

Dumps all wallet keys in a human-readable format.

Arguments:
1. "filename" (string, required) The filename

Examples:
> bitcoin-cli dumpwallet "test"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/

It would give you a nice file that you can split by # of lines (mind the header though) and reimport into different wallet files via a short script.

Im not really here, its just your imagination.
buffett (OP)
Newbie
*
Offline Offline

Activity: 59
Merit: 0


View Profile
January 18, 2016, 03:34:39 AM
 #22

dumpwallet "filename"

Dumps all wallet keys in a human-readable format.


cool! i was looking at outdated api documentation. will try dumpwallet command
Pages: « 1 [2]  All
  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!