Skip to content
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

refactor: simplify internal onchain interfaces #147

Merged
merged 11 commits into from
May 7, 2024
Merged

Conversation

jackstar12
Copy link
Member

@jackstar12 jackstar12 commented May 4, 2024

The usage of wallets / ln nodes as providers for fee estimations / block updates always involved additional complexity which doesnt really pay off since we use default mempool endpoints in testnet / mainnet anyways, while power users can still configure their own mempool / electrum server.

closes: #122

@jackstar12 jackstar12 force-pushed the onchain-refactor branch 3 times, most recently from 30c74e8 to 281d15e Compare May 4, 2024 14:56
chain.Liquid.Tx = client
}

// use boltz in regtest to avoid situations where electrum doesnt know about the tx yet
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// use boltz in regtest to avoid situations where electrum doesnt know about the tx yet
// Use the Boltz API in regtest to avoid situations where electrum doesnt know about the tx yet

@jackstar12 jackstar12 force-pushed the onchain-refactor branch 4 times, most recently from 35bc053 to bf41e62 Compare May 5, 2024 17:24
cmd/boltzd/boltzd.go Outdated Show resolved Hide resolved
@jackstar12 jackstar12 force-pushed the onchain-refactor branch 2 times, most recently from 26d02c8 to 4830e73 Compare May 6, 2024 09:52
@jackstar12 jackstar12 merged commit 2f29464 into master May 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new independent endpoints for tx broadcasting and reading the chain
2 participants