Add Rescan RPC to the gRPC server. #382

Merged
merged 8 commits into from Nov 10, 2016

Projects

None yet

2 participants

@jrick
Member
jrick commented Nov 10, 2016 edited

This is one of the missing pieces for seed restoring a wallet over the
gRPC interface. Wallets could already be created using a provided
seed, but there was no way to discover relevant transactions already
in the blockchain.

@jrick
Member
jrick commented Nov 10, 2016

Open to suggestions on improvements to this new API. Perhaps the result should be a stream of progress notifications instead of a single result at the completion or error of the rescan?

jrick added some commits Nov 10, 2016
@jrick jrick Add Rescan RPC to the gRPC server.
This is one of the missing pieces for seed restoring a wallet over the
gRPC interface.  Wallets could already be created using a provided
seed, but there was no way to discover relevant transactions already
in the blockchain.
c44832b
@jrick jrick this RPC is unstable 44d4826
@jrick jrick uncapitalize error string and word better. aeb18f8
@jrick jrick improve doco 4042f7e
@jrick jrick Return a grpc stream of progress notifications 4422908
@jrick jrick oops 3f522ba
@jrick jrick fix doco cc0f33b
@jrick jrick merged commit 1afdc99 into decred:master Nov 10, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@jrick jrick deleted the jrick:rescanrpc branch Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment