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.
 
 
 
 
 
 
JayT106 ca7dbea05b
Set cache control in the HTTP-RPC response header (#6265)
4 years ago
..
types rpc: index block events to support block event queries (#6226) 4 years ago
CONTRIBUTING.md docs: rename swagger to openapi (#5263) 4 years ago
README.md rpc: create buffered subscriptions on /subscribe (#4521) 5 years ago
abci.go abci: modify Client interface and socket client (#5673) 4 years ago
blocks.go rpc: index block events to support block event queries (#6226) 4 years ago
blocks_test.go blockstore: fix race conditions when loading data (#5382) 4 years ago
consensus.go params: remove blockTimeIota (#5987) 4 years ago
dev.go config: rename prof_laddr to pprof_laddr and move it to rpc (#5315) 4 years ago
doc.go config: rename prof_laddr to pprof_laddr and move it to rpc (#5315) 4 years ago
doc_template.txt generate md for Slate 7 years ago
env.go RPC: don't cap page size in unsafe mode (#6329) 4 years ago
env_test.go RPC: don't cap page size in unsafe mode (#6329) 4 years ago
events.go correct spelling to US english (#6077) 4 years ago
evidence.go rpc: standardize error codes (#6019) 4 years ago
health.go rpc: refactor lib folder (#4836) 5 years ago
mempool.go correct spelling to US english (#6077) 4 years ago
net.go rpc: standardize error codes (#6019) 4 years ago
net_test.go test/fuzz: fix PEX reactor test (#6188) 4 years ago
routes.go Set cache control in the HTTP-RPC response header (#6265) 4 years ago
status.go node: implement tendermint modes (#6241) 4 years ago
tx.go rpc: index block events to support block event queries (#6226) 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.