Bitcoin Forum
June 21, 2024, 08:47:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: c-lightning on testnet: problems and questions on: January 26, 2018, 03:08:51 PM
Cdecker, does c-lightning only for testing but for work(planning to do an exchange) I go to install a Lightning Network Daemon (lnd) - ?
2  Bitcoin / Development & Technical Discussion / Re: c-lightning on testnet: problems and questions on: January 25, 2018, 10:24:50 AM
I set lightning network of ElementsProject : https://github.com/ElementsProject/lightning run command getinfo :
Code:
"version" : "v0.5.2-2016-11-21-1655-g2f4ba73", "blockheight" : 472053, "network" : "bitcoin"
and help and  there are list of commands:

Code:
{ "command" : "dev-blockheight", "description" : "Show current block height" },
{ "command" : "dev-setfees", "description" : "Set feerate in satoshi-per-kw for {immediate}, {normal} and {slow} (each optional) and show the value of those three feerates" },
{ "command" : "listnodes", "description" : "Show all nodes in our local network view" },
{ "command" : "getroute", "description" : "Show route to {id} for {msatoshi}, using {riskfactor} and optional {cltv} (default 9)" },
{ "command" : "listchannels", "description" : "Show all known channels" },
{ "command" : "invoice", "description" : "Create an invoice for {msatoshi} with {label} and {description} with optional {expiry} seconds (default 1 hour)" },
{ "command" : "listinvoice", "description" : "(DEPRECATED) Show invoice {label} (or all, if no {label}))" },
{ "command" : "listinvoices", "description" : "Show invoice {label} (or all, if no {label})" },
{ "command" : "delinvoice", "description" : "Delete unpaid invoice {label} with {status}" },
{ "command" : "waitanyinvoice", "description" : "Wait for the next invoice to be paid, after {lastpay_index} (if supplied)" },
{ "command" : "waitinvoice", "description" : "Wait for an incoming payment matching the invoice with {label}" },
{ "command" : "decodepay", "description" : "Decode {bolt11}, using {description} if necessary" },
{ "command" : "help", "description" : "Show available commands"},
{ "command" : "stop", "description" : "Shut down the lightningdprocess" },
{ "command" : "getlog", "description" : "Show logs, with optional log {level} (info|unusual|debug|io)" },
{ "command" : "dev-rhash", "description" : "Show SHA256 of {secret}" },
{ "command" : "dev-crash", "description" : "Crash lightningd by calling fatal()" },
{ "command" : "getinfo", "description" : "Show information about this node" },
{ "command" : "sendpay", "description" : "Send along {route} in return for preimage of {rhash}" },
{ "command" : "pay", "description" : "Send payment specified by {bolt11} with optional {msatoshi} (if and only if {bolt11} does not have amount), {description} (required if {bolt11} uses description hash) and {riskfactor} (d                    efault 1.0)" },
{ "command" : "listpayments", "description" : "Show outgoing payments" },
{ "command" : "connect", "description" : "Connect to {id} at {host} (which can end in ':port' if not default)" },
{ "command" : "listpeers", "description" : "Show current peers, if {level} is set, include {log}s" },
{ "command" : "fundchannel", "description" : "Fund channel with {id} using {satoshi} satoshis" },
{ "command" : "close", "description" : "Close the channel with peer {id}" },
{ "command" : "dev-sign-last-tx", "description" : "Sign and show the last commitment transaction with peer {id}" },
{ "command" : "dev-fail", "description" : "Fail with peer {id}" },
{ "command" : "dev-reenable-commit", "description" : "Re-enable the commit timer on peer {id}" },
{ "command" : "dev-ping", "description" : "Send {peerid} a ping of length {len} asking for {pongbytes}" },
{ "command" : "dev-memdump", "description" : "Show memory objects currently in use" },
{ "command" : "dev-memleak", "description" : "Show unreferenced memory objects" },
{ "command" : "withdraw", "description" : "Send to {destination} address {satoshi} (or 'all') amount via Bitcoin transaction" },
{ "command" : "newaddr", "description" : "Get a new address to fund a channel" },
{ "command" : "listfunds", "description" : "Show funds available for opening channels" }

How did you run command addfunds ? It's  :
Code:
"Unknown command 'addfunds'"
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!