Files
tendermint/rpc/core
Erik Grinaker ba3a2dde37 rpc: replace Amino with new JSON encoder (#4968)
Migrates the `rpc` package to use new JSON encoder in #4955. Branched off of that PR.

Tests pass, but I haven't done any manual testing beyond that. This should be handled as part of broader 0.34 testing.
2020-06-08 12:04:05 +00:00
..
2020-05-13 16:40:57 +04:00
2020-06-08 10:16:35 +00:00
2020-05-13 16:40:57 +04:00
2019-10-17 10:42:28 +02:00
2020-05-13 16:40:57 +04:00
2020-05-13 16:40:57 +04:00
2020-05-13 16:40:57 +04:00
2020-05-13 16:40:57 +04:00
2020-06-05 10:47:16 +02:00

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.