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.
 
 
 
 
 
 
mergify[bot] 47635f756b
rpc: check error code for broadcast_tx_commit (#7683) (#7688)
3 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 cleanup: Reduce and normalize import path aliasing. (#6975) 3 years ago
blocks.go rpc: implement header and header_by_hash queries (backport #7270) (#7367) 3 years ago
blocks_test.go rpc: implement header and header_by_hash queries (backport #7270) (#7367) 3 years ago
consensus.go cleanup: Reduce and normalize import path aliasing. (#6975) 3 years ago
dev.go cleanup: Reduce and normalize import path aliasing. (#6975) 3 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 cleanup: Reduce and normalize import path aliasing. (#6975) 3 years ago
env_test.go state: move package to internal (#6964) 3 years ago
events.go rpc: backport experimental buffer size control parameters from #7230 (tm v0.35.x) (#7276) 3 years ago
evidence.go cleanup: Reduce and normalize import path aliasing. (#6975) 3 years ago
health.go cleanup: Reduce and normalize import path aliasing. (#6975) 3 years ago
mempool.go rpc: check error code for broadcast_tx_commit (#7683) (#7688) 3 years ago
net.go cleanup: Reduce and normalize import path aliasing. (#6975) 3 years ago
net_test.go cleanup: Reduce and normalize import path aliasing. (#6975) 3 years ago
routes.go rpc: implement header and header_by_hash queries (backport #7270) (#7367) 3 years ago
status.go cleanup: Reduce and normalize import path aliasing. (#6975) 3 years ago
tx.go Set a cap on the length of subscription queries. (backport #7263) (#7264) 3 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.