mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-04-30 12:41:50 +08:00
Fixed minor formatting issues
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user