The current behavior waits for the PID file to be created, but this is
not always enough. This diff adds a active wait until the RPC interface
is ready.
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Project - Commits
- rABCWEB2f58c09304b9: [WEBSITE] Wait for bitcoind to be fully started before fetching the help
./scripts/fetch-documentation.sh
Diff Detail
Diff Detail
- Repository
- rABCWEB Bitcoin ABC Website
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
scripts/fetch_documentation.sh | ||
---|---|---|
115 ↗ | (On Diff #23219) | The new waiting scheme is robust, so it makes this section redundant. You dont need to track the PID at all. just call bitcoin-cli -regtest stop |
scripts/fetch_documentation.sh | ||
---|---|---|
115 ↗ | (On Diff #23219) | That won't work:
|
scripts/fetch_documentation.sh | ||
---|---|---|
115 ↗ | (On Diff #23219) | Last point: I want to kill and not stop to allow the loop for running fast. With stop there is no guarantee that the node will be stopped on next loop iteration |