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.
 
 
 
 
 
 
Anton Kaliaev 41c11ad2c1
evidence: handling evidence from light client(s) (#4532)
4 years ago
..
types lite2/rpc: verify block results and validators (#4703) 4 years ago
CONTRIBUTING.md rpc: remove godoc comments in favor of swagger docs (#4126) 5 years ago
README.md rpc: create buffered subscriptions on /subscribe (#4521) 4 years ago
abci.go rpc: PR#4320 follow up (#4323) 5 years ago
blocks.go evidence: handling evidence from light client(s) (#4532) 4 years ago
blocks_test.go add support for block pruning via ABCI Commit response (#4588) 4 years ago
consensus.go lite2/rpc: verify block results and validators (#4703) 4 years ago
dev.go limit number of /subscribe clients and queries per client (#3269) 5 years ago
doc.go Fix linter errors thrown by `lll` (#3970) 5 years ago
doc_template.txt generate md for Slate 7 years ago
events.go rpc: create buffered subscriptions on /subscribe (#4521) 4 years ago
evidence.go evidence: handling evidence from light client(s) (#4532) 4 years ago
health.go rpc: PR#4320 follow up (#4323) 5 years ago
mempool.go rpc: add codespace to ResultBroadcastTx (#4611) 4 years ago
net.go rpc: PR#4320 follow up (#4323) 5 years ago
net_test.go p2p: make persistent prop independent of conn direction (#3593) 5 years ago
pipe.go format: add format cmd & goimport repo (#4586) 4 years ago
pipe_test.go rpc: return err if page is incorrect (less than 0 or greater than tot… (#3825) 5 years ago
routes.go Fix some golangci-lint warnings (#4448) 4 years ago
status.go add support for block pruning via ABCI Commit response (#4588) 4 years ago
tx.go rpc: stop txSearch result processing if context is done (#4418) 4 years ago

README.md

Tendermint RPC

Pagination

Requests that return multiple items will be paginated to 30 items by default. You can specify further pages with the ?page parameter. You can also set a custom page size up to 100 with the ?per_page parameter.

Subscribing to events

The user can subscribe to events emitted by Tendermint, using /subscribe. If the maximum number of clients is reached or the client has too many subscriptions, an error will be returned. The subscription timeout is 5 sec. Each subscription has a buffer to accommodate short bursts of events or some slowness in clients. If the buffer gets full, the subscription will be canceled ("client is not pulling messages fast enough"). If Tendermint exits, all subscriptions are canceled ("Tendermint exited"). The user can unsubscribe using either /unsubscribe or /unsubscribe_all.