makemedoit (OP)
Newbie
Offline
Activity: 4
Merit: 0
|
|
January 31, 2015, 12:40:56 PM |
|
I need from command line (linux) be able to remove specified address and the private key from a bitcoin core wallet.dat The same needed to add private key to a wallet.dat from command line, do not want bitcoin-cli importprivkey with it triggets a rescan of the blockchain time consume.
example:
shutmyduck remove <address> justanotherduckwallet.dat shutmyduck add <privkey> duckwallet.dat
if this is already possible with pywallet just show me exactly how to do it and i will pay you.
|
|
|
|
|
|
|
|
In order to achieve higher forum ranks, you need both activity points and merit points.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
makemedoit (OP)
Newbie
Offline
Activity: 4
Merit: 0
|
|
January 31, 2015, 12:51:33 PM |
|
Thank you, but this does not seem to be available from command line?
|
|
|
|
icanscript
|
|
January 31, 2015, 12:56:29 PM |
|
I need from command line (linux) be able to remove specified address and the private key from a bitcoin core wallet.dat The same needed to add private key to a wallet.dat from command line, do not want bitcoin-cli importprivkey with it triggets a rescan of the blockchain time consume.
example:
shutmyduck remove <address> justanotherduckwallet.dat shutmyduck add <privkey> duckwallet.dat
if this is already possible with pywallet just show me exactly how to do it and i will pay you.
I believe adding will have to rescan the blocks otherwise it wont know how many funds are in the address I think.
|
|
|
|
unamis76
Legendary
Offline
Activity: 1512
Merit: 1005
|
|
January 31, 2015, 12:58:52 PM |
|
I need from command line (linux) be able to remove specified address and the private key from a bitcoin core wallet.dat The same needed to add private key to a wallet.dat from command line, do not want bitcoin-cli importprivkey with it triggets a rescan of the blockchain time consume.
example:
shutmyduck remove <address> justanotherduckwallet.dat shutmyduck add <privkey> duckwallet.dat
if this is already possible with pywallet just show me exactly how to do it and i will pay you.
I believe adding will have to rescan the blocks otherwise it wont know how many funds are in the address I think. Yes, it will rescan it to check for transactions anyway As for command line options, there's only --importprivkey ou --importhex, noone for removing keys AFAIK
|
|
|
|
makemedoit (OP)
Newbie
Offline
Activity: 4
Merit: 0
|
|
January 31, 2015, 01:04:25 PM |
|
I believe adding will have to rescan the blocks otherwise it wont know how many funds are in the address I think.
Not a good idea to add 10000 addresses using importprivkey when each import triggers a full rescan. At least with pywallet i could add the addresses and then bitcoin core could rescan when i start it, but not for each import, it would take a week. Is there anyway to add a private key without trigging the rescan? What if i know that the address has not been used before and i dont care about stupid rescan?
|
|
|
|
elbandi
|
|
January 31, 2015, 04:28:58 PM |
|
Not a good idea to add 10000 addresses using importprivkey when each import triggers a full rescan. At least with pywallet i could add the addresses and then bitcoin core could rescan when i start it, but not for each import, it would take a week.
No. importprivkey 5gfasgfsgfd name1 false importprivkey 5jhdhgfhghf name2 false importprivkey 5gfgdssdgfd name3 false importprivkey 5gtsgggggdg name4 false importprivkey 5fgdgfdgfgf name5 true
the last true triggers the scan. the other disable it. the rescan will scan for all keys.
|
|
|
|
S4VV4S
|
|
January 31, 2015, 05:19:22 PM |
|
Escrow the 1 BTC and you are bound to find a solution.... It is not that hard Escrow first please
|
|
|
|
unamis76
Legendary
Offline
Activity: 1512
Merit: 1005
|
|
January 31, 2015, 05:28:28 PM |
|
Not a good idea to add 10000 addresses using importprivkey when each import triggers a full rescan. At least with pywallet i could add the addresses and then bitcoin core could rescan when i start it, but not for each import, it would take a week.
No. importprivkey 5gfasgfsgfd name1 false importprivkey 5jhdhgfhghf name2 false importprivkey 5gfgdssdgfd name3 false importprivkey 5gtsgggggdg name4 false importprivkey 5fgdgfdgfgf name5 true
the last true triggers the scan. the other disable it. the rescan will scan for all keys. Yep, just found about that and came here to post this Very useful, wasn't aware of this option!
|
|
|
|
icanscript
|
|
January 31, 2015, 07:30:56 PM |
|
Not a good idea to add 10000 addresses using importprivkey when each import triggers a full rescan. At least with pywallet i could add the addresses and then bitcoin core could rescan when i start it, but not for each import, it would take a week.
No. importprivkey 5gfasgfsgfd name1 false importprivkey 5jhdhgfhghf name2 false importprivkey 5gfgdssdgfd name3 false importprivkey 5gtsgggggdg name4 false importprivkey 5fgdgfdgfgf name5 true
the last true triggers the scan. the other disable it. the rescan will scan for all keys. Yep, just found about that and came here to post this Very useful, wasn't aware of this option! Nice Solution
|
|
|
|
brituspol
Sr. Member
Offline
Activity: 458
Merit: 250
From nothing to nothing
|
|
February 01, 2015, 09:48:57 PM |
|
Use false to all addresses except the last with true.
|
|
|
|
|
|