signum-network/signum-node

OpenAPI doc - use `getBlockchainStatus` to fetch the Node version

ohager opened this issue · 2 comments

Currently, it uses the veeeery slow getState call... getBlockchainStatus is waaaaay faster.

How is this built? A separate js app served by the node? Or can it be made to just include the version as injected by Java code during the render to client?

short answer: own build pipeline that bundles the OAS json files, and provides to a simple html doc served by node.
long answer: https://github.com/signum-network/signum-node/blob/main/openapi/README.md