You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
798 B

  1. ---
  2. order: 9
  3. ---
  4. # RPC
  5. The RPC documentation is hosted here:
  6. - [https://docs.tendermint.com/master/rpc/](https://docs.tendermint.com/master/rpc/)
  7. To update the documentation, edit the relevant `godoc` comments in the [rpc directory](https://github.com/tendermint/tendermint/tree/master/rpc).
  8. If you are using Tendermint in-process, you will need to set the version to be displayed in the RPC.
  9. If you are using a makefile with your go project, this can be done by using sed and `ldflags`.
  10. Example:
  11. ```
  12. VERSION := $(shell go list -m github.com/tendermint/tendermint | sed 's:.* ::')
  13. LD_FLAGS = -X github.com/tendermint/tendermint/version.TMCoreSemVer=$(VERSION)
  14. install:
  15. @echo "Installing the brr machine"
  16. @go install -mod=readonly -ldflags "$(LD_FLAGS)" ./cmd/<app>
  17. .PHONY: install
  18. ```