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 d4cda544ae
fastsync/rpc: add TotalSyncedTime & RemainingTime to SyncInfo in /status RPC (#6620)
3 years ago
..
types fastsync/rpc: add TotalSyncedTime & RemainingTime to SyncInfo in /status RPC (#6620) 3 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 rpc: remove global environment (#6426) 4 years ago
blocks.go revert returning empty block (#6647) 3 years ago
blocks_test.go rpc: Add `TotalGasUsed` to `block_results` response (#6615) 3 years ago
consensus.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
dev.go Revert "rpc: re-index missing events (#6535)" (#6631) 3 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 types: move NodeInfo from p2p (#6618) 3 years ago
env_test.go rpc: remove global environment (#6426) 4 years ago
events.go rpc: add subscription id to events (#6386) 3 years ago
evidence.go rpc: remove global environment (#6426) 4 years ago
health.go rpc: remove global environment (#6426) 4 years ago
mempool.go rpc: add subscription id to events (#6386) 3 years ago
net.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
net_test.go p2p: renames for reactors and routing layer internal moves (#6547) 3 years ago
routes.go Revert "rpc: re-index missing events (#6535)" (#6631) 3 years ago
status.go fastsync/rpc: add TotalSyncedTime & RemainingTime to SyncInfo in /status RPC (#6620) 3 years ago
tx.go config/indexer: custom event indexing (#6411) 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.