Skip to content

Reindex logic#193

Merged
braydonf merged 2 commits intobitpay:masterfrom
kleetus:reindex
Sep 8, 2015
Merged

Reindex logic#193
braydonf merged 2 commits intobitpay:masterfrom
kleetus:reindex

Conversation

@kleetus
Copy link
Copy Markdown
Contributor

@kleetus kleetus commented Sep 4, 2015

  • If the reindex option is set in bitcoin.conf, then when start is called and onBlocksReady's callback is fired:
    • start's callback will not be fired until the reindex takes place.
    • along the way the sync percentage is display once per second

- If the reindex option is set in bitcoin.conf, then when start is called and onBlocksReady's callback is fired:
	- start's callback will not be fired until the reindex takes place.
	- along the way the sync percentage is display once per second
Comment thread lib/services/bitcoind.js Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be better to mention that the reindex flag will start the index from beginning every time the node is started, so it should be removed after the reindex has be initiated.

@braydonf
Copy link
Copy Markdown
Contributor

braydonf commented Sep 5, 2015

LGTM

braydonf pushed a commit that referenced this pull request Sep 8, 2015
@braydonf braydonf merged commit b4ed29e into bitpay:master Sep 8, 2015
@braydonf braydonf mentioned this pull request Sep 8, 2015
@braydonf
Copy link
Copy Markdown
Contributor

braydonf commented Sep 8, 2015

I did notice when testing that since all the services do not start, shutting down will error, however that is fixed with: #199

@kleetus kleetus deleted the reindex branch September 11, 2015 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants