omnilaboratory / obd

OmniBOLT daemon, a golang implementation of OmniBOLT spec, the smart assets lightning network.
MIT License
213 stars 21 forks source link

Support neutrino backend for mobile devices. #68

Open neocarmack opened 1 year ago

neocarmack commented 1 year ago

Mobile devices have limited space and bandwidth, so that syncing full Bitcoin/Omnilayer database is not possible.

obd currently uses omnicore-proxy as a full node backend, but omnicore does not support neutrino mode yet. So that if obd runs on a mobile phone, it will download full blocks data to the device, which is too much.

The solution is: maintain two full nodes as backends, one is netrino bitcoin node, which is used to sync data to mobile obd wallet. And the other is omnicore full node, which is used to manipulate on-chain omni assets.

neocarmack commented 1 year ago

https://github.com/omnilaboratory/lnd/commit/5662cf4f35bd9a1d82677ed8eed7ef5560b47347