github.com/ari-anchor/sei-tendermint@v0.0.0-20230519144642-dc826b7b56bb/docs/tendermint-core/rpc.md (about)

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