clightning4j / lamp

c-Lightning Android Mobile Porting
MIT License
20 stars 10 forks source link

Fixed navigation method for main activity into manifest and fixed waitning time startup node #76

Closed vincenzopalazzo closed 3 years ago

vincenzopalazzo commented 4 years ago

This PR closes #69 (considered history for the actual master) and introduce the navigation change about MainActivity.

In addition, I increase the waiting time for a lightning startup because I noted that the lamp showdown the node during the node startup in some sense.

This is the log shared from the application, but maybe this is caused by esplora because the next call should be it. However, a little bit more time help to wait for the log from esplora

------- LOG lightningd.log CONTENT ----------
2020-10-27T10:26:16.175Z DEBUG   plugin-manager: blacklist for bcli
2020-10-27T10:26:16.178Z INFO    plugin-manager: /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/../plugins/bcli: disabled via disable-plugin
2020-10-27T10:26:16.175Z DEBUG   plugin-manager: blacklist for bcli
2020-10-27T10:26:16.178Z INFO    plugin-manager: /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/../plugins/bcli: disabled via disable-plugin
2020-10-27T10:26:16.182Z DEBUG   plugin-manager: started(30227) /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/../plugins/autoclean
2020-10-27T10:26:16.185Z DEBUG   plugin-manager: started(30228) /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/../plugins/keysend
2020-10-27T10:26:16.189Z DEBUG   plugin-manager: started(30229) /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/../plugins/pay
2020-10-27T10:26:16.192Z DEBUG   plugin-manager: started(30230) /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/../plugins/txprepare
2020-10-27T10:26:16.195Z DEBUG   plugin-manager: started(30231) /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/../plugins/spenderp
2020-10-27T10:26:16.200Z DEBUG   plugin-manager: started(30232) /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/../plugins/esplora
2020-10-27T10:26:16.229Z INFO    plugin-esplora: getutxout
2020-10-27T10:26:16.232Z DEBUG   lightningd: testing /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/lightning_channeld
2020-10-27T10:26:16.239Z DEBUG   lightningd: testing /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/lightning_closingd
2020-10-27T10:26:16.245Z DEBUG   lightningd: testing /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/lightning_connectd
2020-10-27T10:26:16.252Z DEBUG   lightningd: testing /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/lightning_gossipd
2020-10-27T10:26:16.259Z DEBUG   lightningd: testing /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/lightning_hsmd
2020-10-27T10:26:16.265Z DEBUG   lightningd: testing /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/lightning_onchaind
2020-10-27T10:26:16.273Z DEBUG   lightningd: testing /data/user/0/com.lvaccaro.lamp/no_backup/lightningd/lightning_openingd
2020-10-27T10:26:16.276Z DEBUG   hsmd: pid 30240, msgfd 25
2020-10-27T10:26:16.388Z DEBUG   connectd: pid 30241, msgfd 29
2020-10-27T10:26:16.388Z DEBUG   hsmd: Client: Received message 11 from client
2020-10-27T10:26:16.388Z DEBUG   hsmd: Client: Received message 9 from client
2020-10-27T10:26:16.389Z DEBUG   hsmd: new_client: 0
2020-10-27T10:26:16.404Z DEBUG   connectd: Proxy address: 127.0.0.1:9050
2020-10-27T10:26:16.404Z DEBUG   connectd: Created IPv6 listener on port 9735
2020-10-27T10:26:16.404Z DEBUG   connectd: Created IPv4 listener on port 9735
2020-10-27T10:26:16.404Z DEBUG   connectd: REPLY WIRE_CONNECTD_INIT_REPLY with 0 fds
2020-10-27T10:26:16.407Z DEBUG   gossipd: pid 30242, msgfd 28
2020-10-27T10:26:16.430Z DEBUG   hsmd: Client: Received message 9 from client
2020-10-27T10:26:16.430Z DEBUG   hsmd: new_client: 0
2020-10-27T10:26:16.431Z UNUSUAL plugin-esplora: lightnind require the proxy always,in this cases the esplora plugin should be use the proxy
2020-10-27T10:26:16.431Z INFO    plugin-esplora: ------------ esplora initialized ------------
2020-10-27T10:26:16.431Z INFO    plugin-esplora: esplora endpoint https://blockstream.info/api
2020-10-27T10:26:16.431Z INFO    plugin-esplora: proxy configuration 127.0.0.1:9050
2020-10-27T10:26:16.431Z DEBUG   lightningd: All Bitcoin plugin commands registered
2020-10-27T10:26:16.432Z **BROKEN** gossipd: gossip_store_compact: bad version
2020-10-27T10:26:16.433Z UNUSUAL gossipd: Gossip store version 0 not 8: removing
2020-10-27T10:26:16.433Z DEBUG   gossipd: total store load time: 0 msec
2020-10-27T10:26:16.433Z DEBUG   gossipd: gossip_store: Read 0/0/0/0 cannounce/cupdate/nannounce/cdelete from store (0 deleted) in 1 bytes
2020-10-27T10:26:16.433Z DEBUG   gossipd: seeker: state = STARTING_UP New seeker
2020-10-27T10:26:22.096Z INFO    plugin-esplora: getchaininfo
2020-10-27T10:26:22.096Z INFO    plugin-esplora: block_genesis: 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
2020-10-27T10:26:22.096Z INFO    plugin-esplora: blockcount: 654438
2020-10-27T10:26:22.425Z DEBUG   lightningd: Smoothed feerate estimate for opening initialized to polled estimate 4317
2020-10-27T10:26:22.425Z DEBUG   lightningd: Feerate estimate for opening set to 4317 (was 0)
2020-10-27T10:26:22.425Z DEBUG   lightningd: Smoothed feerate estimate for mutual_close initialized to polled estimate 4317
2020-10-27T10:26:22.425Z DEBUG   lightningd: Feerate estimate for mutual_close set to 4317 (was 0)
2020-10-27T10:26:22.425Z DEBUG   lightningd: Smoothed feerate estimate for unilateral_close initialized to polled estimate 4317
2020-10-27T10:26:22.425Z DEBUG   lightningd: Feerate estimate for unilateral_close set to 4317 (was 0)
2020-10-27T10:26:22.425Z DEBUG   lightningd: Smoothed feerate estimate for delayed_to_us initialized to polled estimate 4317
2020-10-27T10:26:22.425Z DEBUG   lightningd: Feerate estimate for delayed_to_us set to 4317 (was 0)
2020-10-27T10:26:22.425Z DEBUG   lightningd: Smoothed feerate estimate for htlc_resolution initialized to polled estimate 4317
2020-10-27T10:26:22.425Z DEBUG   lightningd: Feerate estimate for htlc_resolution set to 4317 (was 0)
2020-10-27T10:26:22.425Z DEBUG   lightningd: Smoothed feerate estimate for penalty initialized to polled estimate 4317
2020-10-27T10:26:22.425Z DEBUG   lightningd: Feerate estimate for penalty set to 4317 (was 0)
2020-10-27T10:26:22.425Z DEBUG   lightningd: Smoothed feerate estimate for min_acceptable initialized to polled estimate 1384
2020-10-27T10:26:22.425Z DEBUG   lightningd: Feerate estimate for min_acceptable set to 1384 (was 0)
2020-10-27T10:26:22.425Z DEBUG   lightningd: Smoothed feerate estimate for max_acceptable initialized to polled estimate 43170
2020-10-27T10:26:22.425Z DEBUG   lightningd: Feerate estimate for max_acceptable set to 43170 (was 0)
lvaccaro commented 3 years ago

ack 7af694706f1cd9b8399483a0bc399932b22d172b