34 Commits (03be40ea8bc57dc1bded41d176cb692c463223ed)

Author SHA1 Message Date
Rusty Russell b99c5620ef struct secret: use everywhere. 8 years ago
Rusty Russell 2ce6a4bcca daemon/peer: move struct peer to internal header. 8 years ago
Rusty Russell 8522a5ea64 struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 8 years ago
Rusty Russell 1edce4878d bitcoin/signature.h: remove struct signature. 8 years ago
Rusty Russell a4fdaab5b3 Use global secp256k1_ctx instead of passing it around. 8 years ago
Rusty Russell f5c00deec7 Remove trailing whitespace from source. 8 years ago
Rusty Russell 71b8a07c56 db.c: database API. 8 years ago
Rusty Russell 0bb183e028 peer: split and expose new_peer function. 8 years ago
Rusty Russell 7709eb9b4a protocol: use separate ack packet. 8 years ago
Rusty Russell f086e44358 Fix check-source: reorder includes in alphabetical order. 8 years ago
Jacob ae52977e42 fixed whitespace 8 years ago
Jacob dc2d83bfbe Replace OpenSSL's RAND_bytes() with libsodium's randombytes_buf() 8 years ago
Jacob 4751522162 Changed openssl's RAND_bytes() to sodium's randombytes_buf() 8 years ago
Rusty Russell 364c2cd2c0 key_from_base58 / pubkey_from_privkey: don't support non-compressed keys. 8 years ago
Rusty Russell caf50c9ae4 peer: handle fulfull and fail onchain. 8 years ago
Rusty Russell 5296b7f9a0 log: add structure logging. 8 years ago
sstone be1a230ae8 fix formatting issues 8 years ago
sstone 07e6ed0c16 save received revocation preimages in shachain. 8 years ago
Rusty Russell 84f5a82eea daemon: use "local" and "remote" instead of "us" and "them". 9 years ago
Rusty Russell 5e40b264dd daemon: handle cheating. 9 years ago
Rusty Russell 5eb50345ae daemon: implement bitcoin_htlc_timeout() 9 years ago
Rusty Russell b1700b1a91 protocol: non-HTLC commit tx outputs are p2wpkh 9 years ago
Rusty Russell bd081d219d protocol: anchor output is now witness 2of2. 9 years ago
Rusty Russell df5d4e3c10 bitcoin/signature: BIP143 signature support. 9 years ago
Rusty Russell b6943b9198 protocol: remove support for uncompressed pubkeys. 9 years ago
Rusty Russell 862509637b daemon: implement unilateral commit. 9 years ago
Rusty Russell fc4c94cb06 daemon: simple close support for the case of one side closing transaction. 9 years ago
Rusty Russell 6bdaa5d1ca daemon: newhtlc command. 9 years ago
Rusty Russell 871e4d5172 secrets: peer_sign_theircommit() helper. 9 years ago
Rusty Russell fc49e3fd74 daemon: rename 'state' to 'dstate' everywhere. 9 years ago
Rusty Russell b04392609a daemon: encapsulate each side's state in a struct. 9 years ago
Rusty Russell d303393d67 daemon/peer: save their commit key too. 9 years ago
Rusty Russell bf3080ca09 secrets: handle per-peer secrets as well. 9 years ago
Rusty Russell 9449f387ac daemon: primitive privkey handling. 9 years ago