71 Commits (1e5789d421001af499b5df42a3a6f9fa1597070b)

Author SHA1 Message Date
Rusty Russell 7f2b332021 connectd: implement connection timeout (60 seconds). 4 years ago
niftynei 6607f1d629 openingd: pull out common code, rename some things 4 years ago
Rusty Russell c34c055d82 Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 4 years ago
Rusty Russell 8150d28575 Makefile: use generic rules to make spec-derived sources. 4 years ago
Rusty Russell 398b4806b9 connectd: convert to new wire generation style. 4 years ago
Rusty Russell 1702c7a69a hsmd: convert to new wire generation style. 4 years ago
Rusty Russell 2f1502abf4 cleanup: make 'u8 *features' and 'struct feature_set *fset' more explicit. 5 years ago
Rusty Russell 41ebaffba3 lightningd: return `features` in connect response. 5 years ago
Rusty Russell b7db588a8a plugin: remove boutique features. 5 years ago
Rusty Russell c95e58ad4b subdaemons: initialize feature routines with explicit feature_set. 5 years ago
Christian Decker 8d6c8c3cd1 connectd: Pass the init_featurebits down to connectd and use in init 5 years ago
darosior d35387f489 common: move json_stream from lightningd/ to common/ 5 years ago
Vasil Dimov 55173a56b7 Use dedicated type for error codes 5 years ago
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. 6 years ago
Rusty Russell d5bd1682f5 lightningd: free timers on shutdown. 6 years ago
Rusty Russell bb7bbd03c5 lightningd: have json_stream_success start the "result" object. 6 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 6 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