108 Commits (htlc_accepted_hook)

Author SHA1 Message Date
Rusty Russell 837a095d68 pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 6 years ago
Christian Decker 50ade7349f wally: Migrate onchaind to use the wally tx and the helpers 6 years ago
Christian Decker 9fe481b967 wally: Move input amounts into a separate array 6 years ago
Christian Decker 4f0c386d32 wally: Use input and output setters in onchaind and htlc_tx 6 years ago
Christian Decker 369a85e289 wally: Use output and input setters when signing / grinding feerate 6 years ago
Christian Decker 16f72cb160 wally: Migrate version and locktime to libwally tx 6 years ago
Rusty Russell 02faadfb93 amount: make it work with gcc-4.8. 6 years ago
Christian Decker 478e2d7084 onchaind: Have onchaind also tell us the scriptPubKey of our outputs 6 years ago
Rusty Russell 948ca470ad bitcoin: use amount_sat/amount_msat. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 3412c5d392 commit_tx & htlc_tx: use amount_sat/amount_msat. 6 years ago
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat. 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Christian Decker 94eb2620dc bolt: Updated the BOLT specification to the latest version 6 years ago
Christian Decker 65054ae72e bolt: Updated the BOLT specification to a07dc3df3b4611989e3359f28f96c574f7822850 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell 55306fc3eb onchaind: wire up dev_memleak. 6 years ago
William Casarin ad1cf8b40c build: fix compilation error on gcc 7.3.0 6 years ago
Rusty Russell c5cd4791be onchaind: allow multiple candidate HTLCs for output match 6 years ago
Rusty Russell c919551109 onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Rusty Russell 8f1f1784b3 hsmd: remove hsmd/client.c 6 years ago
Rusty Russell 0d46a3d6b0 Put the 'd' back in the daemons. 6 years ago
Rusty Russell a217392fca onchaind: remove useless continue. 6 years ago
Rusty Russell 1a4084442b onchaind: use a point-of-last-resort if we see an unknown transaction. 6 years ago
Rusty Russell b123b1867d shachain: shachain_get_secret helper. 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Rusty Russell ae8b459932 onchaind: tell wallet when we see our revoked commitment tx `to_remote` output 7 years ago
Rusty Russell 613b65eede onchaind: use the HSM to get the per-commitment-point. 7 years ago
Rusty Russell 14d6fc4a31 onchaind: use HSM for signing htlc transactions. 7 years ago
Rusty Russell 4098f47cfc onchaind: use HSM to sign "to-us" transactions. 7 years ago
Rusty Russell 437b65eba1 onchaind: clean up types for penalty transactions. 7 years ago
Rusty Russell dd2773dfc0 common/keyset: use struct basepoints rather than open-coding fields. 7 years ago
Rusty Russell 76cc428923 onchaind: make commit number a global. 7 years ago
Rusty Russell b2b85100d7 common/derive_basepoints: add routines for marshal/unmarshal. 7 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
Rusty Russell c78afa9201 onchaind: use lowball fee instead of donating to miners. 7 years ago
Rusty Russell 3460b42513 onchaind: fix up BOLT references. 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Rusty Russell b4db228aa1 onchaind: add BOLT 3 comment for fee calculations. 7 years ago
Rusty Russell 1764d6c907 grind_htlc_tx_fee: benchmark. 7 years ago
Rusty Russell c52222848d onchaind: support tests. 7 years ago
Rusty Russell 5f1c77d249 test_lightning.py: add test for onchain with different feerates. 7 years ago
Rusty Russell 4234321f7e onchain: get feerate min/max from master. 7 years ago
Rusty Russell 564615d878 onchaind: accept a range of possible feerates. 7 years ago
Rusty Russell 1a4a59d221 common/daemon: common routines for all daemons. 7 years ago
Rusty Russell 20bbd92564 utils: add subdaemon_shutdown() to consolidate subdaemon cleanup. 7 years ago
Rusty Russell 06e8fbda95 onchain: print exactly what we were doing if we fail in grind_feerate. 7 years ago