408 Commits (b47fbfead05e237c30976febf4a87053f1d183be)

Author SHA1 Message Date
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
Rusty Russell 156d1be9ed daemon: struct rval to represent r values. 9 years ago
Rusty Russell 1abc676c4f daemon: always take packets into pkt_in, then have it demultiplex. 9 years ago
Rusty Russell b4f0d32b09 daemon: always terminate waiting manual update command on failure. 9 years ago
Rusty Russell 1444d407f3 daemon: remove normal operation loop from state.c 9 years ago
Rusty Russell bc5800b1c1 state: remove unused fields from union input 9 years ago
Rusty Russell 50bffd67c2 daemon: don't save invalid commit signatures. 9 years ago
Rusty Russell 43db90391a daemon: fix case where commit has nothing to do. 9 years ago
Rusty Russell b820f5a0dd Makefile: fix submodule. 9 years ago
Rusty Russell 9046597344 daemon: tighten check for invalid IDs. 9 years ago
Rusty Russell 3928cbe30e daemon: fail connection if preimage isn't valid for shachain. 9 years ago
Rusty Russell 2436207a7a test: detect segwit correctly, assume master branch. 9 years ago
sstone be1a230ae8 fix formatting issues 9 years ago
sstone 07e6ed0c16 save received revocation preimages in shachain. 9 years ago
Rusty Russell 49ebed737d daemon/test: test differential fees. 9 years ago
sstone 385c2a5905 setup_first_commit: initialize their remote commit with their commit fee rate 9 years ago
Rusty Russell 40b550a9d2 daemon: don't log bogus warning on failed anchors. 9 years ago
Rusty Russell 773a6088e4 daemon: reorder and collapse functions. 9 years ago
Rusty Russell 400d415172 daemon: remove pending input and command queues. 9 years ago
Rusty Russell 889db659c5 test: test commands during commit phase. 9 years ago
Rusty Russell 4110376e87 daemon: allow commands during commit. 9 years ago
Rusty Russell d4862938c8 daemon: move unacked queue into commit_info struct. 9 years ago
Rusty Russell 36fc62ab81 test: add --crash option to cause nodes to crash dump on test failure. 9 years ago
Rusty Russell ca9d775f9a lightning-cli: don't print junk on error. 9 years ago
Rusty Russell f662424b7b protocol: don't sign initial commitment for non-funder. 9 years ago
Rusty Russell 5188b14c7c daemon: fix unwatch anchor depth. 9 years ago
Rusty Russell b9d4f7c0ab daemon: dev-output command. 9 years ago
Rusty Russell 97bc4ed0cb daemon/test: test mutual close with outstanding HTLCS. 9 years ago
Rusty Russell 5aed0e12f8 daemon: remove closing states from state machine. 9 years ago
Rusty Russell 4c63845969 daemon: make funding directions local-centric. 9 years ago
Rusty Russell 148bd793cd daemon/test: test overlapping commits. 9 years ago
Rusty Russell 45a6f81c3c protocol: remove ack fields. 9 years ago
Rusty Russell 2bf43f1ebd daemon: handle HTLC as per BOLT #2 algorithm. 9 years ago
Rusty Russell cf7a7a7273 funding: use sides[OURS/THEIRS] instead of a and b. 9 years ago
Rusty Russell 84f5a82eea daemon: use "local" and "remote" instead of "us" and "them". 9 years ago
Rusty Russell 311ae9b4d8 daemon: remove unused functions. 9 years ago
Rusty Russell 0ceee86098 daemon: don't allow fulfill/fail on uncommitted HTLCs. 9 years ago
Rusty Russell f43cc72d6a Makefile: add generated packet names. 9 years ago
Rusty Russell fabdcaf62b daemon: close correctly when guest fails. 9 years ago
Rusty Russell 5a2a9126c3 daemon: don't allow new RPC commands when peer closing. 9 years ago
Rusty Russell b6339af195 daemon: remove unused CMD_REQUEUE. 9 years ago