Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. { "nodes" :
  2. [
  3. { "nodeid" : "028e5a8e86540f703e1f58880d35d1e318a54c27d84ec1edbcde04a78ed4469a1e", "alias" : "???? EXANTE", "color" : "007f39", "last_timestamp" : 1516636793, "addresses" :
  4. [
  5. { "type" : "ipv4", "address" : "148.251.53.235", "port" : 9735 } ] },
  6.  
  7. $ cat ~/.lightning/config
  8. alias=xxx
  9. rgb=008000
  10. network=bitcoin
  11. bitcoin-rpcuser=xxx
  12. bitcoin-rpcpassword=xxx
  13. bitcoin-rpcconnect=xxx
  14. bitcoin-rpcport=xxx
  15. announce-addr=xxx:9735
  16. log-level=debug
  17.  
  18. $ ./cli/lightning-cli getinfo
  19. {
  20. "id": "xxx",
  21. "alias": "xxx",
  22. "color": "008000",
  23. "num_peers": 0,
  24. "num_pending_channels": 0,
  25. "num_active_channels": 0,
  26. "num_inactive_channels": 0,
  27. "address": [
  28. {
  29. "type": "ipv4",
  30. "address": "xxx",
  31. "port": 9735
  32. }
  33. ],
  34. "binding": [
  35. ],
  36. "version": "v0.7.0-41-g1cd0ae1",
  37. "blockheight": 567741,
  38. "network": "bitcoin",
  39. "msatoshi_fees_collected": 0,
  40. "fees_collected_msat": "0msat"
  41. }
  42.  
  43. $ ./cli/lightning-cli listnodes
  44. {
  45. "nodes": [
  46. ]
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement