Comments (3)
Yeah, I wanted that too actually. Use bitcoind to publish transactions, get block hashes and estimate fees, but trustedcoin to fetch the full blocks. However that requires an entirely new plugin.
The default bcli thing to be rewritten and then we just swap out the blocks part for the trustedcoin one. It's easy, but I didn't have time yet.
If you want to tackle that, I would recommend maybe copying code from trustedcoin and from this bcli rewrite: https://github.com/niftynei/glightning/blob/master/examples/plugin/pl_btc/btc.go
from trustedcoin.
awesome - thanks for the link. i will see what i can do and if it is also easy for me to implement. will update here if i have something to show
from trustedcoin.
i implemented this in the most reckless way (depending only on blockstream.info and not verifying blocks) - it works for some hours now with my node. will probably add something similar used by trustedcoin (more explorers and validate the blocks): https://git.dalliard.ch/trustme/
will close this, because it is not really an issue with trustedcoin
from trustedcoin.
Related Issues (13)
- Bug in fee-retrieval logic HOT 4
- lightningd: SQLITE version mismatch: compiled 3031001, now 3035005 HOT 1
- Request: GPG-sign releases or commits HOT 4
- plugin-trustedcoin getblock error HOT 19
- Trustedcoin crashes on startup HOT 2
- misreporting version number after v0.6.0 been released HOT 1
- Tor RPC bitcoind HOT 1
- `estimatefees` has changed in CLN version v23.05 HOT 1
- Occasional RPC error when running offline HOT 1
- Unable to catch to the tip HOT 2
- Tests HOT 1
- trusted coin keeps crashing my CLN, seemingly because it can't "sendrawtransaction" 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 trustedcoin.