pbies (OP)
|
|
April 29, 2022, 09:43:14 AM |
|
How can I export or other way around extract private keys or public keys that had movement in Bitcoin Core?
Surely I can export all private keys but I will not know which of them had received or sent BTC.
I am looking for a way to filter all private keys in wallet that had movement.
|
BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k I have 9900K and 1080 Ti, gathering funds for new desktop PC for Bitcoin operations - 14900K and RTX 4090
|
|
|
|
|
|
|
"You Asked For Change, We Gave You Coins" -- casascius
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
OmegaStarScream
Staff
Legendary
Offline
Activity: 3472
Merit: 6131
|
|
April 29, 2022, 10:18:40 AM Last edit: April 29, 2022, 02:47:36 PM by OmegaStarScream Merited by vapourminer (1) |
|
This will return all addresses which already received a transaction. And then, you can export the private keys associated with these addresses: dumpprivkey "address here"
If your wallet is encrypted, make sure to unlock it before exporting the private keys: walletpassphrase "passphrase here" 60
|
|
|
|
nc50lc
Legendary
Online
Activity: 2408
Merit: 5600
Self-proclaimed Genius
|
There's dumpprivkey <address> command to export an address' private key. Although it will not work in descriptor wallets. For filtering addresses, use listtransactions "*" "100" to list the wallet's transaction together with the associated address(es). Replace " 100" if you think the wallet has more than 100 transaction history. More info about the commands:
|
. .HUGE. | | | | | | █▀▀▀▀ █ █ █ █ █ █ █ █ █ █ █ █▄▄▄▄ | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . CASINO & SPORTSBOOK ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀▀▀█ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▄█ | | |
|
|
|
pbies (OP)
|
|
April 29, 2022, 01:30:28 PM |
|
This will return all addresses which already received a transaction. This take ages!
|
BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k I have 9900K and 1080 Ti, gathering funds for new desktop PC for Bitcoin operations - 14900K and RTX 4090
|
|
|
Welsh
Staff
Legendary
Offline
Activity: 3262
Merit: 4110
|
|
April 29, 2022, 02:20:22 PM |
|
This take ages! Unless you're running on a rather slow computer or you've made a lot of transactions, I wouldn't have thought it would take that long. If you're running it from the graphical console, you could attempt to run it via the terminal to see if that helps performance a little bit. Goes without saying, if you're struggling with performance, terminate other programs until you've completed this step. If your CPU is maxing, you'll have difficulty with whatever you're trying to do.
|
|
|
|
pbies (OP)
|
|
April 29, 2022, 03:26:24 PM |
|
Unless you're running on a rather slow computer or you've made a lot of transactions, I wouldn't have thought it would take that long. If you're running it from the graphical console, you could attempt to run it via the terminal to see if that helps performance a little bit.
Goes without saying, if you're struggling with performance, terminate other programs until you've completed this step. If your CPU is maxing, you'll have difficulty with whatever you're trying to do.
This is 9900K @ 5 GHz, 16 GB of RAM @ 4000 MHz and SSD drives (NVMe also). This shouldn't be taking that long! Wallet is big (1 GB) and has long history. It is running since few hours now.
|
BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k I have 9900K and 1080 Ti, gathering funds for new desktop PC for Bitcoin operations - 14900K and RTX 4090
|
|
|
LoyceV
Legendary
Offline
Activity: 3304
Merit: 16655
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
April 29, 2022, 03:38:19 PM |
|
Wallet is big (1 GB) and has long history. It is running since few hours now. For what it's worth: my wallet is less than 1% of yours, and listreceivedbyaddress takes less than a second on much slower hardware.
|
|
|
|
pbies (OP)
|
|
April 30, 2022, 09:10:10 AM |
|
Wallet is big (1 GB) and has long history. It is running since few hours now. For what it's worth: my wallet is less than 1% of yours, and listreceivedbyaddress takes less than a second on much slower hardware. It taken all night and didn't finished. I suspect some loops that didn't ended. I closed Bitcoin Core with no luck.
|
BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k I have 9900K and 1080 Ti, gathering funds for new desktop PC for Bitcoin operations - 14900K and RTX 4090
|
|
|
pbies (OP)
|
|
April 30, 2022, 09:26:23 PM |
|
Simple GUI Export of transactions did the trick.
From console it has hanged working on sth.
|
BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k I have 9900K and 1080 Ti, gathering funds for new desktop PC for Bitcoin operations - 14900K and RTX 4090
|
|
|
BitMaxz
Legendary
Offline
Activity: 3248
Merit: 2972
Block halving is coming.
|
|
April 30, 2022, 11:34:44 PM |
|
Why not use dumpwallet command it will export all of your private keys into a file and then open it with notepad and copy all private keys and export it to Electrum and let the Electrum sync. Now, after sync, you can sort all of the addresses with balances you can go under the addresses tab and look for balance just click it it will sort all addresses with balances. Here's what I'm talking about
|
|
|
|
Pmalek
Legendary
Offline
Activity: 2758
Merit: 7138
|
|
May 01, 2022, 07:56:29 AM |
|
<Snip> It depends on how much activity and how many addresses OP has used already. He wrote that his walet.dat file is 1GB in size, so the number of used addresses is probably quite a significant one. If we are talking about thousands of addresses, he might experience problems importing all of them in Electrum. Electrum isn't really suited for such a load. But there are no limitations to how many Electrum wallets he can create, so he can work around that by dividing his private keys in two or more batches and creating a new Electrum wallet for each batch.
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3304
Merit: 16655
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
May 01, 2022, 11:44:24 AM |
|
Splitting to multiple Electrum wallet is good idea, since it doesn't scale well. If you want to check which addresses out of a very long list had (past) activity, this list is the fastest solution I know. After downloading 21 GB, it's scales very well. You can check millions of addresses as fast as your hard drive can read them.
|
|
|
|
pbies (OP)
|
|
May 01, 2022, 01:22:36 PM |
|
Electrum is limited to ca 1000 private keys when importing. I am not sure if the limit is lower and it is 400.
I tried that earlier. Servers refuse to check that number of keys.
|
BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k I have 9900K and 1080 Ti, gathering funds for new desktop PC for Bitcoin operations - 14900K and RTX 4090
|
|
|
|