Skip to content

Commit fff4884

Browse files
author
Simon Goldberg
committed
fix pre-commit errors
1 parent 66ffdca commit fff4884

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

lib/bitcoin-core/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ npx cdk deploy HABitcoinCoreNodeStack
7676
By deploying as an **outbound-only node**, data transfer costs are significantly reduced since the node does not serve blockchain data to external peers. With its outbound connections, the node(s) are able to maintain full blockchain synchronization.
7777

7878
---
79-
### Accessing and Using bitcoin-cli on a Bitcoin Core Instance
79+
### Accessing and Using bitcoin-cli on a Bitcoin Core Instance
8080

81-
To interact with your Bitcoin Core instance, you'll need to use AWS Systems Manager, as direct SSH access is not available.
81+
To interact with your Bitcoin Core instance, you'll need to use AWS Systems Manager, as direct SSH access is not available.
8282

8383
Bitcoin Core supports cookie-based authentication by default, so interacting with the `bitcoin-cli` from the node itself does not require credentials.
8484

@@ -109,7 +109,7 @@ sudo docker exec -it bitcoind bitcoin-cli getblockchaininfo
109109
---
110110
### Secure RPC Access with AWS Secrets Manager
111111

112-
For a client to securely interact with the Bitcoin Core RPC endpoint from a private subnet within your isolated VPC environment, AWS Secrets Manager is leveraged for credential storage and retrieval.
112+
For a client to securely interact with the Bitcoin Core RPC endpoint from a private subnet within your isolated VPC environment, AWS Secrets Manager is leveraged for credential storage and retrieval.
113113

114114
**Important**: Ensure that you execute the following commands from within a private subnet in the Bitcoin Core Node VPC. A VPC CloudShell environment is suitable for testing purposes.
115115

@@ -121,7 +121,7 @@ export BTC_RPC_AUTH=$(aws secretsmanager get-secret-value --secret-id bitcoin_rp
121121
```
122122

123123
#### Single node RPC Call using credentials
124-
To make an RPC call to a single Bitcoin node, use the following command. Replace <Bitcoin-Node-Private-IP> with the actual private IP address of your Bitcoin node: `<Bitcoin-Node-Private-IP>`.
124+
To make an RPC call to a single Bitcoin node, use the following command. Replace <Bitcoin-Node-Private-IP> with the actual private IP address of your Bitcoin node: `<Bitcoin-Node-Private-IP>`.
125125

126126
```
127127
curl --user "$BTC_RPC_AUTH" \
@@ -269,7 +269,7 @@ To maintain security, rotate RPC credentials periodically using the `generateRPC
269269
node generateRPCAuth.js
270270
```
271271

272-
This will update the value of your credentials in Secrets Manager.
272+
This will update the value of your credentials in Secrets Manager.
273273

274274
**Replacing the Credentials and Restarting the Node to Apply Updates**
275275

@@ -316,7 +316,7 @@ Keep your node healthy by monitoring logs and configurations:
316316
```
317317
sudo cat /var/log/cloud-init-output.log
318318
```
319-
319+
320320

321321
---
322322

@@ -344,4 +344,3 @@ cdk destroy HABitcoinCoreNodeStack
344344
### Conclusion
345345

346346
Deploying and managing a Bitcoin node on AWS requires careful configuration to ensure security, cost efficiency, and high availability. By following the best practices outlined in this guide, you can maintain a robust and secure node while minimizing costs. Stay proactive with monitoring and regularly update credentials to keep your node running smoothly.
347-

lib/bitcoin-core/cdk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"app": "node app.js"
3-
}
3+
}

0 commit comments

Comments
 (0)