Fixed minor formatting issues

This commit is contained in:
Lavanya Kasturi
2023-05-09 12:40:14 +05:30
parent 802e6bb0f6
commit c74704d762
4 changed files with 10 additions and 10 deletions

View File

@@ -32,8 +32,8 @@ Chainhook can be used from the exposed RESTful API endpoints. A comprehensive Op
Yes, you can run chainhooks on both the testnet and mainnet.
### **How can I optimize chainhook scanning?**
#### **How can I optimize chainhook scanning?**
Use of adequate values for `start_block` and `end_block` in predicates
Use of adequate values for `start_block` and `end_block` in predicates.
Networking: reducing the number of networks hops between chainhook and `bitcoind` process
Networking: Reducing the number of networks hops between chainhook and `bitcoind` process.

View File

@@ -1,10 +1,10 @@
---
title: Run chainhook as a Service
title: Run Chainhook as a Service
---
# Run `chainhook` as a service for streaming new blocks
# Run `Chainhook` as a service for streaming new blocks
`chainhook` can be run as a background service for streaming and processing new canonical blocks appended to the Bitcoin and Stacks blockchains.
`Chainhook` can be run as a background service for streaming and processing new canonical blocks appended to the Bitcoin and Stacks blockchains.
When running chainhook as a service, `if_this` / `then_that` predicates can be registered by passing the path of the `JSON` file in the command line:

View File

@@ -2,7 +2,7 @@
title: Use Chainhook with Bitcoin
---
# Use chainhook with Bitcoin
# Use Chainhook with Bitcoin
The following guide helps you define predicates to use chainhook with Bitcoin.

View File

@@ -1,5 +1,5 @@
---
title: Use chainhook with Stacks
title: Use Chainhook with Stacks
---
# Use chainhook with Stacks
@@ -18,7 +18,7 @@ $ chainhook predicates new hello-arkadiko.json --stacks
The current `stacks` predicates support the following `if_this` constructs:
Get any transaction matching a given txid `txid` mandatory argument admits:
Get any transaction matching a given `txid` mandatory argument admits:
- 32 bytes hex encoded type. Example:
```json
@@ -47,7 +47,7 @@ Get any transaction, including an OP_RETURN output starting with a set of charac
```
Get any transaction, including an OP_RETURN output matching the sequence of bytes specified `equals` mandatory argument admits:
- hex encoded bytes. example: `0x589403`
- hex encoded bytes. Example: `0x589403`
```json
{
"if_this": {