266 Commits (5de21f80dea98a50f4d748288b3573953b6c0241)
 

Author SHA1 Message Date
Rusty Russell 3fef1584e5 update-channel-complete: final step in channel update. 10 years ago
Rusty Russell 2bd967af35 update-channel-accept: check their signature is valid. 10 years ago
Rusty Russell 3957f1e1c1 update-channel-accept: accept the channel update. 10 years ago
Rusty Russell d51f6372aa update-channel: prepare a new tx with modified amounts. 10 years ago
Rusty Russell ecb39efed1 find_p2sh_out: extract helper. 10 years ago
Rusty Russell 7175d73573 create-close-tx: create a mutual close tx from the close sigs. 10 years ago
Rusty Russell c6ed5926cb close-channel: add --complete option. 10 years ago
Rusty Russell 38f7a23064 close-channel: create message to mutually close channel. 10 years ago
Rusty Russell 16baa1dae9 create-commit-spend-tx: spend the commit tx (after timeout) 10 years ago
Rusty Russell 114b7afbe2 bitcoin_script: fix bug in complex anchor redeem script. 10 years ago
Rusty Russell 3a4d8cd282 bitcoin_script: use OP_NOP dummy for now, as bitcoind rejects OP_NOP3 10 years ago
Rusty Russell 3c7e11fd65 bitcoin_script: DER correctly when we have leading zeroes. 10 years ago
Rusty Russell a25ba452f3 permute_tx: fix horrible thinko. 10 years ago
Rusty Russell 4dd6b8e385 lightning.proto: Rename 'to_me' to 'final', use for commit_tx. 10 years ago
Rusty Russell baf5d11643 getinput.sh: Switch to -regtest 10 years ago
Rusty Russell 9ed6968fe5 add_varint: encode correctly (LE) 10 years ago
Rusty Russell 0203d51ec0 pull_varint: fix. 10 years ago
Rusty Russell fc8552318a opt_bits: parsing routines for 'bits' == 100 satoshi. 10 years ago
Rusty Russell 126192a842 create-steal-tx: get my money back! 10 years ago
Rusty Russell 904ef32459 bitcoin_tx: handle \n at end of file for tx. 10 years ago
Rusty Russell ca18eeeaa7 open-channel: fix revocation hash. 10 years ago
Rusty Russell 6c62e20701 Note that we should check their locktime, minconfirms etc. 10 years ago
Rusty Russell 6048a15db9 bitcoin_tx: bitcoin_txid_from_hex helper. 10 years ago
Rusty Russell e1532ce044 bitcoin_script: get rid of scriptpubkey_pay_to_pubkeyhash. 10 years ago
Rusty Russell d30c470c7d anchor: change is not an arbitrary output, but a pubkey we p2sh to. 10 years ago
Rusty Russell 29d0cdc3cd open-channel: use pubkey, not arbitrary script for final outout address. 10 years ago
Rusty Russell 0742e5356f get-anchor-depth: simple helper to get min_confirms from OpenChannel packet 10 years ago
Rusty Russell 33bbd38691 Makefile: cleanup and generalize 10 years ago
Rusty Russell a6b08dc393 protocol: add revocation hash to update_accept for other commit tx. 10 years ago
Rusty Russell f7f7f3f1bb check-anchor-scriptsigs: don't require txs. 10 years ago
Rusty Russell 8516798645 signature: fix signatures for p2sh inputs. 10 years ago
Rusty Russell cbad9a1fa5 bitcoin_script: remember to push extra 0 for OP_CHECKMULTISIG. 10 years ago
Rusty Russell 769d2fd722 bitcoin_script: fix out-by-one error in multisig. 10 years ago
Rusty Russell 17c56a8cfc Fix DER encoding. 10 years ago
Rusty Russell 623c6562af Makefile: add TAGS target. 10 years ago
Rusty Russell abac31072e open-anchor-scriptsig: use pubkey, not addr in scriptsig. 10 years ago
Rusty Russell 50609c6771 open-channel: expect hex txids to be in LE (ie. reversed!) order. 10 years ago
Rusty Russell 3ed87c5e6f anchor: fix anchor production for RIPEMD hash. 10 years ago
Rusty Russell 617d21eb43 check-anchor-scriptsigs: dump out anchor tx if scriptsigs make expected tx. 10 years ago
Rusty Russell a6d1c65683 Use new opt_usage_exit_fail(). 10 years ago
Rusty Russell 67f98fe6b6 Rename "anchor sig" to "anchor scriptsigs" to be clearer. 10 years ago
Rusty Russell cf333e45e1 Fix thinko: open-commit-sig needs to sign *their* commit tx. 10 years ago
Rusty Russell fe4972fda1 Anchor: apply permutation to get txid. 10 years ago
Rusty Russell c291d19af6 Add check-commit-sig. 10 years ago
Rusty Russell 316f29cb69 bitcoin_script: wean entirely off protobuf types. 10 years ago
Rusty Russell f911b2b6df Use pubkey structures in bitcoin_script, rather than protobufs. 10 years ago
Rusty Russell bd38003db6 Add function to linearize tx into bytes, by generalizing hash code. 10 years ago
Rusty Russell 393400fa39 Make an explicit bitcoin_txid() call. 10 years ago
Rusty Russell 07c7214edb Explicit pubkey structure. 10 years ago
Rusty Russell 7c977a7633 Move signature <-> proto conversions to signature.c, check lower bit. 10 years ago