diff options
| author | Jonas Schnelli <[email protected]> | 2017-10-13 15:23:04 -0700 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2017-10-13 15:23:22 -0700 |
| commit | 8c2de827e988173cd37f48d78fdd9b600eeeadfb (patch) | |
| tree | 9c76345715dc54c7b8844f06f03b75381e28474b /src/rpc/client.cpp | |
| parent | Merge #10099: Slightly Improve Unit Tests for Checkqueue (diff) | |
| parent | [QA] Add RPC based rescan test (diff) | |
| download | discoin-8c2de827e988173cd37f48d78fdd9b600eeeadfb.tar.xz discoin-8c2de827e988173cd37f48d78fdd9b600eeeadfb.zip | |
Merge #7061: [Wallet] Add RPC call "rescanblockchain <startheight> <stopheight>"
7a91ceb5e [QA] Add RPC based rescan test (Jonas Schnelli)
c77170fbd [Wallet] add rescanblockchain <start_height> <stop_height> RPC command (Jonas Schnelli)
Pull request description:
A RPC rescan command is much more flexible for the following reasons:
* You can define the start and end-height
* It can be called during runtime
* It can work in multiwallet environment
Tree-SHA512: df67177bad6ad1d08e5a621f095564524fa3eb87204c2048ef7265e77013e4b1b29f991708f807002329a507a254f35e79a4ed28a2d18d4b3da7a75d57ce0ea5
Diffstat (limited to 'src/rpc/client.cpp')
| -rw-r--r-- | src/rpc/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index f54f24e2a..721f363ae 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -141,6 +141,8 @@ static const CRPCConvertParam vRPCConvertParams[] = { "echojson", 7, "arg7" }, { "echojson", 8, "arg8" }, { "echojson", 9, "arg9" }, + { "rescanblockchain", 0, "start_height"}, + { "rescanblockchain", 1, "stop_height"}, }; class CRPCConvertTable |