Bitcoin Forum
April 26, 2018, 04:31:02 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: -rescan from blockheight?  (Read 53 times)
amaclin1
Full Member
***
Offline Offline

Activity: 280
Merit: 193


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]
1524760262
Hero Member
*
Offline Offline

Posts: 1524760262

View Profile Personal Message (Offline)

Ignore
1524760262
Reply with quote  #2

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

Posts: 1524760262

View Profile Personal Message (Offline)

Ignore
1524760262
Reply with quote  #2

1524760262
Report to moderator
1524760262
Hero Member
*
Offline Offline

Posts: 1524760262

View Profile Personal Message (Offline)

Ignore
1524760262
Reply with quote  #2

1524760262
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1386
Merit: 1295


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
April 12, 2018, 03:07:41 PM
 #2

Use the rescanblockchain RPC command which takes a height parameter.

bob123
Sr. Member
****
Offline Offline

Activity: 546
Merit: 387



View Profile
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!