85 Commits (2d7c1ed0cfd912eeeed5f3a7561d714ecb654bbc)

Author SHA1 Message Date
Christian Decker 26f17e87a3 plugin: Add connect and disconnect notifications 6 years ago
Rusty Russell 819078fe18 param: make command_fail/command_success WARN_UNUSED_RESULT. 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 6 years ago
Rusty Russell 1ede7bc55b wallet_tx: make wtx_select_utxos return command_result. 6 years ago
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
lisa neigut a39c97c960 channeld: support private channel creation, fixes #2125 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell d9d762170a memleak: don't get stuck if per-peer daemons die. 6 years ago
Rusty Russell a42c8bfb38 openingd: wire up dev_memleak. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Simon Vrouwe c22d7012a3 lightningd: fail fundchannel command when feerate is below feerate_floor 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Christian Decker f417dfa0e1 chainparams: Always retrieve chainparams by the chain_hash 6 years ago
Christian Decker 0128bc7362 channeld: Use the chainparams to check msatoshi and funding_satoshi 6 years ago
Rusty Russell e0952ceff2 feerate: use suffix, not separate argument. 6 years ago
Rusty Russell 14dc1c37ab fundchannel / withdraw: allow explicit feerate setting. 6 years ago
Rusty Russell a4b952ebc7 feerate: include rough estimates of actual tx costs. 6 years ago
Rusty Russell 175db926c2 chaintopology: expose when we don't actually know feerate. 6 years ago
Rusty Russell a5ecc95c42 db: store claimed per_commitment_point from option_data_loss_protect. 6 years ago
Mark Beckwith a3178b8177 param: remove old callback code 6 years ago
Mark Beckwith 9b28ecf8fc param: upgraded json_tok_pubkey 6 years ago
Mark Beckwith 8f17191099 param: upgraded json_tok_tok to advanced callback 6 years ago
Rusty Russell 8939a5001b connectd: rely on the master to tell us to reconnect. 6 years ago
Rusty Russell 8b5c80f42a opening_control.c: make sure we always clean up in error cases. 6 years ago
Rusty Russell 174c79acad openingd: tell master if funding failed, but don't exit. 6 years ago
Rusty Russell 909cd4136b openingd: get told if we can't let them open a new channel. 6 years ago
Rusty Russell 50f5eb34b4 openingd: take peer before we're opening, wait for explicit funding msg. 6 years ago
Rusty Russell 8f38a46584 lightningd: correctly store our own channel_reserve_satoshis 6 years ago
Rusty Russell 63a1e510d9 lightningd: count first block of channel on exit from openingd, not start. 6 years ago
Rusty Russell c05bc7c8ab lightningd: don't try to delete peer from db on shutdown if it's opening. 6 years ago
Rusty Russell 8bffd2b604 lightningd: centralize refcounting behaviour for peers. 6 years ago
Rusty Russell 52303029aa fundchannel: cap 'all' at 2^24-1 satoshi. 6 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 6 years ago
Rusty Russell 722dd05e9d lightningd: keep features arrays for connected peers. 6 years ago
Rusty Russell 5c066b9a25 connectd: wean off gossip_wire message types, use our own. 6 years ago
Rusty Russell 3d3d2ef9af gossipd: remove connectd functionality, enable connectd. 6 years ago
Rusty Russell 8e3bc84634 lightningd: tell gossipd when we kill an opening channel. 6 years ago
Rusty Russell 231f14e645 lightningd: get basepoints from hsmd, don't ever get seed. 6 years ago
Rusty Russell 89b1cc69ef openingd: take hsmfd, use it to sign commitment transaction and get commitment_point 6 years ago
Rusty Russell f456fdfab1 lightningd: keep local_basepoints and local_funding_pubkey. 6 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 6 years ago
Rusty Russell 28c3706f87 hsmd: fix missing status messages. 6 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 6 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 6 years ago
Mark Beckwith 8f0ef1636f Added wallet related error codes 6 years ago
Rusty Russell e549bc6ecf lightningd: fix up BOLT references. 6 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago