Bitcoin Forum
May 04, 2024, 09:29:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: -rescan from blockheight?  (Read 236 times)
amaclin1 (OP)
Sr. Member
****
Offline Offline

Activity: 770
Merit: 305


View Profile
April 12, 2018, 07:16:20 AM
Merited by pebwindkraft (1)
 #1

Is it possible to improve '-rescan' wallet option to rescan wallet from selected block height?

Something like
bitcoin-qt.exe -rescan=500000 -zapwallettxes=2 [other options]

Bitcoin SV GUI client for Windows and Linux
https://github.com/AlisterMaclin/bitcoin-sv/releases
1714858158
Hero Member
*
Offline Offline

Posts: 1714858158

View Profile Personal Message (Offline)

Ignore
1714858158
Reply with quote  #2

1714858158
Report to moderator
1714858158
Hero Member
*
Offline Offline

Posts: 1714858158

View Profile Personal Message (Offline)

Ignore
1714858158
Reply with quote  #2

1714858158
Report to moderator
1714858158
Hero Member
*
Offline Offline

Posts: 1714858158

View Profile Personal Message (Offline)

Ignore
1714858158
Reply with quote  #2

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

Posts: 1714858158

View Profile Personal Message (Offline)

Ignore
1714858158
Reply with quote  #2

1714858158
Report to moderator
1714858158
Hero Member
*
Offline Offline

Posts: 1714858158

View Profile Personal Message (Offline)

Ignore
1714858158
Reply with quote  #2

1714858158
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
April 12, 2018, 03:07:41 PM
Merited by ABCbits (1)
 #2

Use the rescanblockchain RPC command which takes a height parameter.

bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
April 13, 2018, 12:09:10 PM
 #3

achow101 already answered your question.

In case you did not found out how to use RPC commands:

  • Start the bitcoin daemon (bitcoin -daemon) from command line
  • Then use the bitcoin-cli for RPC calls

Command to scan from height X to height Y: bitcoin-cli rescanblockchain X Y
Both arguments (start-/stop height) are optional.

The documentation (with examples) can be found here.

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!