297 Commits (4751522162a0789359cc3d6e870b73c74336aa2e)

Author SHA1 Message Date
Jacob 4751522162 Changed openssl's RAND_bytes() to sodium's randombytes_buf() 9 years ago
Rusty Russell df4df8679d chaintopology: only report active chaintip. 9 years ago
Rusty Russell 364c2cd2c0 key_from_base58 / pubkey_from_privkey: don't support non-compressed keys. 9 years ago
Rusty Russell 2a03af4486 Misc minor cleanups. 9 years ago
Rusty Russell a613d8d1fb peer: make id a pointer, NULL until we know peer's ID. 9 years ago
Rusty Russell 7e6dc28f70 htlc: store which side created the HTLC. 9 years ago
Rusty Russell fbe15bdce2 peer: remove unused struct members. 9 years ago
Rusty Russell f2d835522c bitcoin: implement sig_valid. 9 years ago
Rusty Russell c649f62e43 libsecp256k1: update. 9 years ago
Rusty Russell 42bed80145 pubkey: don't carry around DER encoding. 9 years ago
Rusty Russell 69cb158edd base58, script, protobuf_convert: don't use temporary secp256k1 context. 9 years ago
Rusty Russell a35055c699 log: keep dstate pointer. 9 years ago
Rusty Russell 08a910b06e BOLT: fee requirements update. 9 years ago
Rusty Russell 3de6ca3d0b BOLT: update comment to indicate HTLC id must be completely unique. 9 years ago
Rusty Russell ffeab49ed3 htlc_add: only limit is on receiving side. 9 years ago
Rusty Russell fa7934dfe3 htlc: implement deadline as per BOLT. 9 years ago
Rusty Russell 45cac95331 log: logging for HTLCs. 9 years ago
Rusty Russell db72f33988 log: simplify union. 9 years ago
Rusty Russell e877febf43 daemon: allow fulfill command for onchain HTLCs. 9 years ago
Rusty Russell 25d99b91bd daemon: fail any HTLCs which we weren't committed to if we drop to chain. 9 years ago
Rusty Russell caf50c9ae4 peer: handle fulfull and fail onchain. 9 years ago
Rusty Russell 4f1a1ec044 BOLT: update for latest onchain draft. 9 years ago
Rusty Russell b8571c1ac8 watch: make it easier for them to self-delete. 9 years ago
Rusty Russell 3ba25dd994 htlc: keep rval (if known). 9 years ago
Rusty Russell 69a8ea2ad9 daemon: pay command. 9 years ago
Rusty Russell 21a29d9b4d daemon: fix bug when we close two peers simulatneously. 9 years ago
Rusty Russell 31a5de644a daemon: route fulfill back. 9 years ago
Rusty Russell 21fe4fbba7 daemon: route failures back. 9 years ago
Rusty Russell 2aa8fe8df1 daemon: route payments onwards. 9 years ago
Rusty Russell f994a44827 daemon/peer: keep our own node connection information. 9 years ago
Rusty Russell 37b269f53e daemon: link HTLCs together. 9 years ago
Rusty Russell cc4fc4b668 daemon: use htlc pointers everywhere. 9 years ago
Rusty Russell 67ac2d2081 daemon: code for HTLC maps. 9 years ago
Rusty Russell fecd91ab2a Move funding.[ch] to daemon/channel.[ch]. 9 years ago
Rusty Russell b2fdc86740 daemon: check and use routing info in HTLC packet. 9 years ago
Rusty Russell f4f0c1aa18 daemon: add dev-routefail command. 9 years ago
Rusty Russell bf3acfab62 daemon/htlc: including routing information. 9 years ago
Rusty Russell 4902907628 daemon: onion routing API 9 years ago
Rusty Russell f06855ff6c daemon: extract newhtlc code into common function. 9 years ago
Rusty Russell b1ac490bea daemon: add-route RPC command. 9 years ago
Rusty Russell 26a03acfd0 daemon: routing infrastructure. 9 years ago
Rusty Russell 27da8f77b5 daemon: expose find_peer(), rename other to find_peer_json(). 9 years ago
Rusty Russell a3375516e5 daemon: don't ever use timeouts in seconds, always blocks, 9 years ago
Rusty Russell c1e1299249 daemon: always log error packets we create. 9 years ago
Rusty Russell 5296b7f9a0 log: add structure logging. 9 years ago
Rusty Russell 04b3e8f91d daemon: use siphash for hashes. 9 years ago
Rusty Russell ba9df99770 daemon: wire in payment. 9 years ago
Rusty Russell 5027410ab1 daemon: payment infrastructure. 9 years ago
Rusty Russell f1af56fcee daemon: save acked changes, so we can process them when confirmed on both sides. 9 years ago
Rusty Russell eeb9b9de84 funding: make funding_htlc_by_id() return pointer, not offset. 9 years ago