504 Commits (bcde9675e42848ca79e1a14a19daac3f40ecb143)

Author SHA1 Message Date
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 bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 6 years ago
Rusty Russell 19ecf8c6fb disconnect: add force option to disconnect even with a live channel. 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
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 8fb1b609ce closingd: handle our own memleak detection. 6 years ago
Rusty Russell 55306fc3eb onchaind: wire up dev_memleak. 6 years ago
Rusty Russell d3ea9bf8bf channeld: wire up dev_memleak. 6 years ago
Conor Scott 3f420dc408 [rpc] Add peer stats to getinfo rpc 6 years ago
Conor Scott dd27205ba2 [rpc] move getinfo implementation to peer_control.c 6 years ago
Rusty Russell 8600ba403c wireaddr: remove handling for addr->type == ADDR_TYPE_PADDING 6 years ago
Rusty Russell 171006d17c lightnignd: peer addr is never NULL, adjust new_peer. 6 years ago
Rusty Russell 322d483b36 lightningd: fix crash on failed close. 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
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Christian Decker f3b4dcb1f6 channel: Set the billboard to reconnecting when we restarted 6 years ago
Rusty Russell 9455331575 json: use bolt naming for features arrays in listnodes, listpeers. 6 years ago
Rusty Russell 41b0872f58 Use localfeatures and globalfeatures consistently. 6 years ago
Rusty Russell 9fa7f5e30e listpeers: include current htlc information. 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Rusty Russell 7744c41521 listpeers: add 'scratch_txid' for the tx we would broadcast if necessary. 6 years ago
Rusty Russell 168bec0974 lightningd: move channel/peer/htlc load into own function. 6 years ago
Rusty Russell a260849870 moveonly: feerate_min and feerate_max belong in chaintopology.c 6 years ago
Rusty Russell 9d37b78088 cleanup: lowercase name of feerates, immediate -> urgent. 6 years ago
Rusty Russell 175db926c2 chaintopology: expose when we don't actually know feerate. 6 years ago
Rusty Russell 36b1cac6e6 lightningd: new state AWAITING_UNILATERAL. 6 years ago
Rusty Russell 43156643b4 lightningd: message for channeld to tell us that channel risks penalty. 6 years ago
Rusty Russell 162adfdf12 listpeers: correctly display features on reconnect. 6 years ago
Rusty Russell 05f12edf60 txwatch: hand ld to callback, don't assume channel is non-NULL. 6 years ago
Mark Beckwith a3178b8177 param: remove old callback code 6 years ago
Mark Beckwith fa55e2cab0 param: upgraded json_tok_loglevel 6 years ago
Mark Beckwith 1fb203891d param: upgraded json_tok_short_channel_id 6 years ago
Mark Beckwith 9b28ecf8fc param: upgraded json_tok_pubkey 6 years ago
Mark Beckwith 8ebc95b7b0 param: upgraded json_tok_bool 6 years ago
Mark Beckwith 294dc06de9 param: upgraded json_tok_number 6 years ago
Mark Beckwith 8f17191099 param: upgraded json_tok_tok to advanced callback 6 years ago
Rusty Russell b4e6a0fcad peer_failed: write error message to peer directly. 6 years ago
Rusty Russell d8d4b19f3a connectd: remove separate address hint message. 6 years ago
Rusty Russell 8939a5001b connectd: rely on the master to tell us to reconnect. 6 years ago
Rusty Russell 30f08cc2b0 connectd: always tell master when connection fails/succeeded. 6 years ago
Rusty Russell 02966a4857 connectd: remove unused handback APIs and code. 6 years ago
Rusty Russell 50f5eb34b4 openingd: take peer before we're opening, wait for explicit funding msg. 6 years ago
Rusty Russell 45ad2498f3 connectd: check for supported features ourselves. 6 years ago
Rusty Russell 8bffd2b604 lightningd: centralize refcounting behaviour for peers. 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago