HomePhabricator

Add "warmup mode" for RPC server.
af82884ab7c4Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add "warmup mode" for RPC server.

Start the RPC server before doing all the (expensive) startup
initialisations like loading the block index. Until the node is ready,
return all calls immediately with a new error signalling "in warmup"
with an appropriate status message (similar to the init message).

This is useful for RPC clients to know that the server is there (e. g.,
they don't have to start it) but not yet available. It is used in
Namecoin and Huntercoin already for some time, and there exists a UI
hooked onto the RPC interface that actively uses this to its advantage.

Details

Provenance
Daniel Kraft <d@domob.eu>Authored on Oct 29 2014, 17:08
deadalnixPushed on May 14 2017, 22:04
Parents
rABCbe32b5212b6a: Merge pull request #5205
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Kraft <d@domob.eu> committed rABCaf82884ab7c4: Add "warmup mode" for RPC server. (authored by Daniel Kraft <d@domob.eu>).Nov 4 2014, 15:01