You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to discuss how to structure the SSE events to we have the same messages and I can adapt correctly.
General
The idea would be to send all data when the SSE connection is opnened and after that only the updates..
The frontend merges the object / array. Array objects are merged / replaced by their id.
variable names / message names can of course be changed, just tell me :)
Current messages:
syncstatus
Sends a object with the following keys:
transactions
Sends an array with the following objects:
appstatus
appstatus
shows online/offline info of the installed apps in the home dashboardsends an array with the following objects:
apps
install
delivers a message that the app with id
id
is being installed currently to block installation of ther apps.Sugesstion:
I think the
syncstatus
message is quite big which is why i would split it into the following messages:nodeinfo
Info about your node.
btcstatus
Info regarding bitcoind
lnstatus
info regarding LN
balance
on-chain / ln balance
Other events like before
Beta Was this translation helpful? Give feedback.
All reactions