Comments (6)
Have the transaction index enabled txindex=1
https://docs.boltz.exchange/en/latest/deployment/
The boltz backend explicitely requires the txindex
to be enabled. It's not about propagation of the transaction but about the this.chainClient.getRawTransactionVerbose
which calls the Bitcoin Core RPC and requires txindex
from boltz-backend.
What I meant is I have LND with neutrino and Bitcoind with txindex
enabled on different servers. When boltz-backend calls the Bitcoin Core RPC this.chainClient.getRawTransactionVerbose
, it returns the error because the transaction that is broadcasted from LND is not yet propagated to the Bitcoind.
from boltz-backend.
Ah I see. Interesting setup you got there. I guess we could work around that propagation issue.
But the real question is: why would you want to do that in the first place? 😅
Why run LND with neutrino if you could just run it alongside your Bitcoin Core?
from boltz-backend.
The instance I run LND has limited disk space. That's why I have to run another instance for Bitcoind. I added sleep function, but it does not solve the fundamental issue. Do you have any suggestions?
from boltz-backend.
Do you have any suggestions?
That code snippet you sent in the first message assumes that the transcation was broadcasted through the Bitcoin Core node Boltz is connected to.
To fix that we have two options:
- query the raw transaction that was sent not through Bitcoin Core but with the LND gRPC
- you connect your LND to the Bitcoin Core running on the other instance
The first option could even be implemented as a fallback. But I'd prefer the second one, because I wouldn't use Neutrino in producton. What do you think?
from boltz-backend.
Closing, since we don't want to optimize for Neutrino backend usage.
from boltz-backend.
Related Issues (20)
- Normal swaps: allow specifying channel ids HOT 1
- Add transaction details to submarine swap status updates HOT 1
- Continue retrying lightning payments when websocket is connected again
- Mpay restart performance
- Liquid: Covenant Refunds for overpaid amounts HOT 1
- Move all swaps "to mainchain" to prepay miner fee protocol
- Mainnet: Some clients fail to fetch status due to missing `content-length` header in `swapstatus` response HOT 3
- Reverse Swaps: custom invoice description
- Add referral id as url query parameter
- Add disclaimer to broadcast/chain endpoints in docs
- How to enable mpay for CLN - python dependencies. HOT 10
- Improve error message if swap is still in progress (has pending htlcs)
- Chain Swaps: Allow differing fees per direction HOT 1
- Allow Referrals to Set Custom Fee
- Feature suggest: Extend CLN mpay plugin to be able to pay bolt12 invoices HOT 1
- Block swap creation for non-public nodes HOT 2
- Manually paid normal swaps saved in db with error
- Block swap creations if wallet balance below swap amount
- Chain swaps: allow any amount
- boltzcli: add command to securely change swap status HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boltz-backend.