58 Commits (87f0733965ea835321feb02ca9a571682a9e867a)

Author SHA1 Message Date
Vasil Dimov fb7c006187 wire: add towire_int() and use it in connectd 5 years ago
Vasil Dimov fc75d8a9e6 connectd: add own err codes instead of generic -1 5 years ago
darosior 3322048774 connectd: add network to init message 5 years ago
Saibato 0f9ba53581 Add enable-autotor-v2 config variable 5 years ago
Rusty Russell a3273d4c84 developer: IFDEV() macro. 5 years ago
Rusty Russell f7a890ca35 lightningd: add slow_reconnect flag for transient failure. 5 years ago
Rusty Russell d5bd1682f5 lightningd: free timers on shutdown. 5 years ago
Rusty Russell bb7bbd03c5 lightningd: have json_stream_success start the "result" object. 5 years ago
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