56 Commits (71b90bf3bbe2d160c3744812b65aff778eea24af)

Author SHA1 Message Date
Rusty Russell 1702c7a69a hsmd: convert to new wire generation style. 4 years ago
niftynei 57488cde13 hsm: decouple hsm from wallet; init before wallet 5 years ago
Rusty Russell f77d70d546 common/json: move rest of bitcoin/lightning-specific json functions to json_helpers. 5 years ago
Rusty Russell 3b4a06f52b common: generalize ecdh function. 5 years ago
ZmnSCPxj jxPCSnmZ d9b2482415 lightningd/hsm_control.c: Implement `getsharedsecret`. 5 years ago
darosior f075b87137 bitcoind: remove the chainparams member 5 years ago
darosior 6f9030168e lightningd: prevent hsmd from interpretating an encrypted hsm_secret as not encrypted 5 years ago
darosior d393cda215 hsmd: encrypt hsm_secret if 'lightningd' pass an encryption key 5 years ago
darosior 62896566d0 lightningd: pass the hsm_secret encryption key in hsm_init 5 years ago
Christian Decker ef7a63d8f8 elements: Move from a global is_elements to a global chainparams 5 years ago
Rusty Russell a3273d4c84 developer: IFDEV() macro. 5 years ago
Christian Decker c5ac6c7b1f hsmd: Tell hsmd which chain we are working on 5 years ago
Rusty Russell 1e6eabf018 developer: add --dev-force-channel-secrets. 6 years ago
Rusty Russell d59e2b1b4b developer: add --dev-force-bip32-seed to force a specific BIP32 seed. 6 years ago
Rusty Russell 07adb7efd6 developer: add --dev-force-privkey to allow setting a specific node key. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
trueptolemy 92c08cd861 Fix the version of bip32 private_key generation 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
Rusty Russell 6b6b7eac61 hsmd: use status_conn to send bad_request messages, make handlers uniform. 6 years ago
Rusty Russell da9d92960d lightningd: accept hsmstatus_client_bad_request messages (and log!) 6 years ago
Rusty Russell 231f14e645 lightningd: get basepoints from hsmd, don't ever get seed. 7 years ago
Rusty Russell 28c3706f87 hsmd: fix missing status messages. 7 years ago
Rusty Russell ff6a6f8deb lightningd: create hsm_get_client_fd() helper. 7 years ago
Rusty Russell 2ecfbf46e3 hsmd: drop newdir logic. 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell ad401f3a1c hsm: give it its own log, so it has unique prefix. 7 years ago
Rusty Russell 84bf60f934 status: add multiple levels of logging. 7 years ago
Christian Decker 9ba99d2b2d hsm: Cleanup after merging control and client libraries 7 years ago
Rusty Russell 45f5bb7fac bolt11: move to common/ and sign via callback. 7 years ago
Rusty Russell 7d62de8632 lightningd: fix typo in fatal error. 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago
Rusty Russell 153c622157 lightningd: remove lightningd_state. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell 85ff95e829 common: new directory for any shared objects. 7 years ago
Rusty Russell f765e0e846 bip32: marshal/unmarshal routines. 7 years ago
Rusty Russell 2ff50107ac lightningd/hsm_control: use a simple fd for HSM. 8 years ago
Christian Decker d6656358b5 wallet: Add bip32_base to the wallet struct 8 years ago
Christian Decker 3f594172b2 hsm: Add messages for withdrawal signature requests 8 years ago
Rusty Russell d95adf7f33 subd: hand through fatal messages as well to callback. 8 years ago
Rusty Russell f7a22b699e lightningd/peer_control: embed id, don't use pointer. 8 years ago
Rusty Russell d1fcc434c8 subd: use array of fd pointers, not fds, and use take(). 8 years ago
Christian Decker daf8866eb5 gossip: Implement the basic node_announcement 8 years ago
Rusty Russell fc98d797d2 hsm: new fd type for channeld. 8 years ago
Rusty Russell fed25cc540 lightningd/subd: add a context to requests. 8 years ago
Rusty Russell e36a65a189 lightningd/subd: msgcb return -1 to close channel. 8 years ago
Rusty Russell 7a9df37ef3 lightningd/subd: support multiple fds sent at once in normal messages. 8 years ago
Rusty Russell 38bffc0f0c lightningd/subd: support multiple fds sent at once in request reply. 8 years ago