Skip to content

use condition/healthcheck for searcher startup #22

@sbellem

Description

@sbellem

healthcheck in builder can be something like:

 curl -k -X POST https://localhost:8545 -H "Content-Type: application/json" -d "{\"method\":\"eth_blockNumber\",\"params\":[],\"id\":1,\"jsonrpc\":\"2.0\"}" | jq .result | xargs printf "%d\n" | > some_block_height 

last pipe needs some work

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions