fail connect to lnd node
nayuta-ueno opened this issue · 4 comments
nayuta-ueno commented
lnd send below init
parameter:
-[init]-------------------------------
globalfeatures: 2200
localfeatures: 2281
option_data_loss_protect: 2
initial_routing_sync: 0
option_upfront_shutdown_script: 2
gossip_queries: 0
--------------------------------
var_onion_optin
is set to require bit.
nayuta-gondo commented
Flags are numbered from the least-significant bit, at bit 0 (i.e. 0x1, an even bit).
nayuta-ueno commented
globalfeatureがbit13以上にならないようにするという仕様もあったので、uint16_t
で処理するようにした。幅が広がる場合には変更する必要あり。
nayuta-ueno commented
-[init]------------------------------
globalfeatures: 2200
features: 2281
option_data_loss_protect: 1
initial_routing_sync: 0
option_upfront_shutdown_script: 0
gossip_queries: 2
var_onion_optin: 2
gossip_queries_ex: 0
option_static_remotekey: 2
--------------------------------
nayuta-ueno commented
c-lightning
-[init]-----------------------------
globalfeatures: 2000
features: 28a2
option_data_loss_protect: 2
initial_routing_sync: 0
option_upfront_shutdown_script: 2
gossip_queries: 2
var_onion_optin: 0
gossip_queries_ex: 2
option_static_remotekey: 2
--------------------------------