Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,6 @@ In addition to electrs's original configuration options, a few new options are a
- `--electrum-txs-limit <num>` - maximum number of txs to return per address in the electrum server (does not apply for the http api).
- `--electrum-banner <text>` - welcome banner text for electrum server.

### Mining-related HTTP endpoints

`GET /block-template` is available only with `--enable-mining-rest`. It proxies
the daemon's `getblocktemplate` template-mode response and caches successful
responses for 15 seconds, invalidating early when electrs indexes a new tip.
Callers that require fresher templates should account for this cache behavior.

Additional options with the `liquid` feature:
- `--parent-network <network>` - the parent network this chain is pegged to.

Expand All @@ -88,6 +81,13 @@ Additional options with the `electrum-discovery` feature:

See `$ cargo run --release --bin electrs -- --help` for the full list of options.

### Mining-related HTTP endpoints

`GET /block-template` is available only with `--enable-mining-rest`. It proxies
the daemon's `getblocktemplate` template-mode response and caches successful
responses for 15 seconds, invalidating early when electrs indexes a new tip.
Callers that require fresher templates should account for this cache behavior.

## License

MIT
12 changes: 0 additions & 12 deletions TODO.md

This file was deleted.

Loading