Skip to content

Add local Bitcoin network simulation #690

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pyramation
Copy link
Collaborator

Summary

  • support running a local Bitcoin network
  • document the Bitcoin configuration

Testing

  • go test ./... (fails: directory prefix does not contain main module)

@pyramation
Copy link
Collaborator Author

cc @Anmol1696 this is from Codex

@pyramation pyramation requested a review from Anmol1696 May 22, 2025 22:12
Copy link
Collaborator

@Anmol1696 Anmol1696 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some other notes:

  • need to add tests
  • multi-validator setup not supported (okish for now)

@@ -916,6 +916,18 @@ defaultChains:
- --chain-config-file=/etc/config/config.yml
- --suggested-fee-recipient=0x0C46c2cAFE097b4f7e1BB868B89e5697eE65f934

bitcoin:
image: ruimarinho/bitcoin-core:latest
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be just a random docker image, and seems to be outdated.

app.kubernetes.io/type: {{ $chain.id }}
spec:
containers:
- name: bitcoind
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need some init containers so that the btc nodes are more configureable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants