Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and Improvements for web view of a lightning node #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Wolf-Raider
Copy link

this pull request contain the following fixes:

  • Docker build fix. (python 3.7 is needed to build correct)
  • fixed link to view the highest bitcoin block at the blockchain. (smartbit is down)
  • fixed the fee calculation on the event list. (millisat fees where always round down)
  • fixed the map view. (it is an memory overflow in your local browser, which kills the application. i filtered the view to only the nodes connected with your node with channels between them and you. this is i think also a nice view, how your node is connected. :) )

Fixes Map_View (Reduces the size of the view only to your node and the connected peers of your node)
Fixes fee calculation in Events. (Millisat fees where not summed. they was always round down)
Fixed link for blockchain blockexplorer view 
Fixed build in Docker and updated requirements.txt
@Wolf-Raider
Copy link
Author

this version is running at http://marburg.ddns.net

@@ -342,7 +342,7 @@ def events():
for event in events_response.forwarding_events:
tx_date = datetime.datetime.fromtimestamp(event.timestamp).strftime("%Y-%m-%d")
tx_size = event.amt_out
tx_fee = event.fee
tx_fee = event.fee_msat / 1000
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here im not sure if this is correct in python, (i normaly programm in C/C++), but it works. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant