rpc: typo fixes
This commit is contained in:
parent
d24083b257
commit
b3796e0aaa
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## Generate markdown for [Slate](https://github.com/tendermint/slate)
|
## Generate markdown for [Slate](https://github.com/tendermint/slate)
|
||||||
|
|
||||||
We are using [Slate](https://github.com/lord/slate) to power our RPC
|
We are using [Slate](https://github.com/tendermint/slate) to power our RPC
|
||||||
documentation. If you are changing a comment, make sure to copy the resulting
|
documentation. If you are changing a comment, make sure to copy the resulting
|
||||||
changes to the slate repo and make a PR
|
changes to the slate repo and make a PR
|
||||||
[there](https://github.com/tendermint/slate) as well. For generating markdown
|
[there](https://github.com/tendermint/slate) as well. For generating markdown
|
||||||
|
|
|
@ -7,7 +7,7 @@ Tendermint supports the following RPC protocols:
|
||||||
* JSONRPC over HTTP
|
* JSONRPC over HTTP
|
||||||
* JSONRPC over websockets
|
* JSONRPC over websockets
|
||||||
|
|
||||||
Tendermint RPC is build using [our own RPC library](https://github.com/tendermint/tendermint/tree/master/rpc/lib). Documentation and tests for that library could be found at `tendermint/rpc/lib` directory.
|
Tendermint RPC is built using [our own RPC library](https://github.com/tendermint/tendermint/tree/master/rpc/lib). Documentation and tests for that library could be found at `tendermint/rpc/lib` directory.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
// Subscribe for events via WebSocket.
|
// Subscribe for events via WebSocket.
|
||||||
//
|
//
|
||||||
// ```go
|
// ```go
|
||||||
// import 'github.com/tendermint/tendermint/types'
|
// import "github.com/tendermint/tendermint/types"
|
||||||
//
|
//
|
||||||
// client := client.NewHTTP("tcp://0.0.0.0:46657", "/websocket")
|
// client := client.NewHTTP("tcp://0.0.0.0:46657", "/websocket")
|
||||||
// result, err := client.AddListenerForEvent(types.EventStringNewBlock())
|
// result, err := client.AddListenerForEvent(types.EventStringNewBlock())
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Tx allows you to query the transaction results. `nil` could mean the
|
// Tx allows you to query the transaction results. `nil` could mean the
|
||||||
// transaction is in the mempool, invalidated, or was not send in the first
|
// transaction is in the mempool, invalidated, or was not sent in the first
|
||||||
// place.
|
// place.
|
||||||
//
|
//
|
||||||
// ```shell
|
// ```shell
|
||||||
|
|
Loading…
Reference in New Issue