stakwork / sphinx-key

Lightning hardware signer on ESP32
28 stars 1 forks source link

broker: send a heartbeat message every ten messages in the root loop #124

Closed irriden closed 10 months ago

irriden commented 10 months ago

prunes extraneous data on the hardware signer

Addresses one of the causes of #107, #112

irriden commented 10 months ago

Doing this entirely on the signer side meant that when the handle call sometimes returned some lss bytes on a heartbeat message, we did not send them back to the LSS server, and caused a version jump that eventually crashed broker.

See e15e8620e5d3432191d9f3f7b7da6f9c0e62cf31