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.
 
 
 
 
 
 
Sam Kleinman 48b1952f18
state: avoid panics for marshaling errors (#8125)
2 years ago
..
CONTRIBUTING.md state: move package to internal (#6964) 3 years ago
README.md state: move package to internal (#6964) 3 years ago
abci.go proxy: collapse triforcated abci.Client (#8067) 2 years ago
blocks.go state: avoid panics for marshaling errors (#8125) 2 years ago
blocks_test.go abci: Synchronize FinalizeBlock with the updated specification (#7983) 2 years ago
consensus.go state: avoid panics for marshaling errors (#8125) 2 years ago
dev.go rpc: replace custom context-like argument with context.Context (#7559) 2 years ago
doc.go state: move package to internal (#6964) 3 years ago
doc_template.txt state: move package to internal (#6964) 3 years ago
env.go proxy: collapse triforcated abci.Client (#8067) 2 years ago
env_test.go state: move package to internal (#6964) 3 years ago
events.go rpc: set a minimum long-polling interval for Events (#8050) 2 years ago
evidence.go types/events+evidence: emit events + metrics on evidence validation (#7802) 2 years ago
health.go rpc: replace custom context-like argument with context.Context (#7559) 2 years ago
mempool.go proxy: collapse triforcated abci.Client (#8067) 2 years ago
net.go node: excise node handle within rpc env (#8063) 2 years ago
routes.go rpc: implement the ADR 075 /events method (#7965) 2 years ago
status.go node: excise node handle within rpc env (#8063) 2 years ago
tx.go abci++: synchronize PrepareProposal with the newest version of the spec (#8094) 2 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.