50 Commits (f1b4b14be5a1d07edfe144ffb78d939a29b702c1)

Author SHA1 Message Date
darosior 323adb467a jsonrpc: Add a category field to commands. 5 years ago
Rusty Russell 13717c6ebb gossipd: hand a gossip_store_fd to all subdaemons. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell e65b680807 json: move bitcoin/lightning specific helpers into common/json_helpers. 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 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 22ca896b54 json: add and use a json_strdup() helper. 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 d613b3fa9d connectd: simply use global features from common/features. 6 years ago
Rusty Russell 1430036684 connectd: wire up dev_memleak. 6 years ago
Rusty Russell e17f69ce2d json_stream: disentangle JSON handling from command. 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 41b0872f58 Use localfeatures and globalfeatures consistently. 6 years ago
Rusty Russell 04c77f4853 lightningd: use hsm_get_client_fd() helper for global daemons too. 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Mark Beckwith 47510a8e74 param: added json_tok_string 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 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 be7a27a765 connect: randomize backoff a little. 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 684d60dbda lightningd: don't call connectd if we already know about peer. 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 c9435787cb connectd: remove gossip-related fields. 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 92d66a5451 gossipd: take connectd fd on initialization. 6 years ago
Mark Beckwith b876c601a6 Modern param style for chaintopology.c, ... 6 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago
Rusty Russell 1125682ceb wireaddr: new type, ADDR_INTERNAL_FORPROXY, use it if we can't/wont resolve. 7 years ago
Rusty Russell 89c76a5a78 Move always-use-proxy auto-override to master daemon. 7 years ago
Rusty Russell 5a0bc83b20 Tor: don't do seed queries if we're supposed to always use proxy. 7 years ago
Rusty Russell 52917ff6c9 More flexible address wildcards, only add wildcard if nothing else. 7 years ago
Rusty Russell 73cd009a4c gossipd/lightningd: use wireaddr_internal. 7 years ago
Rusty Russell 83e847575c gossipd: don't handle multiple connect requests, combine them in lightningd. 7 years ago
Rusty Russell 72c459dd6c gossipd: keep reaching struct only when we're actively connecting, and don't retry 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
ZmnSCPxj 9efe123a0d lightningd/json: Move json helpers specific for lightningd to new module. 7 years ago
ZmnSCPxj f7f55edcdb wireaddr: Do hostname resolution in parse_wireaddr. 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell 36652a3df3 lightningd/peer_control: reorder, move more functions out. 7 years ago
Rusty Russell a83ff83328 lightningd/connect_control: routines to control connecting (move from peer_control.c) 7 years ago