103 Commits (3af081aded8ee55f9c380706d4acfa2113f36b73)

Author SHA1 Message Date
Rusty Russell 7b1a4fc765 utils: add tal_hex() helper. 8 years ago
Christian Decker 452656f5a1 base58: Making check-source happy again 8 years ago
Rusty Russell 9df0aa7538 libbase58: add autosubmodule rule, move depends to bitcoin/Makefile 8 years ago
Lucas Betschart 3e6bb958eb Add libbase58 as git submodule 8 years ago
Rusty Russell b7789bf065 Makefile: generalize whitespace check. 8 years ago
Rusty Russell 0861ec33a5 check-source-bolt: generalize. 8 years ago
Rusty Russell c7b69abdaa type_to_string: move formatting to appropriate files. 8 years ago
Christian Decker 9f846925b3 bitcoin: Add comparison between pubkeys 8 years ago
Rusty Russell a4fdaab5b3 Use global secp256k1_ctx instead of passing it around. 8 years ago
Rusty Russell 1f447688bc test: make generic driver for unit tests. 8 years ago
Rusty Russell f5c00deec7 Remove trailing whitespace from source. 8 years ago
Rusty Russell 700c536a27 Makefile: remove all the old Elements Alpha support. 8 years ago
Rusty Russell 78a0177f1c script: free redeemscript in bitcoin_witness_p2sh_p2wpkh 8 years ago
Christian Decker f4568e5c1c routing: Added IRC announcement glue 8 years ago
Rusty Russell f90fb4934f close_shutdown: make sure script_pubkey is standard. 8 years ago
Rusty Russell be38d3f507 Minor cleanups: things found while debugging the database code. 8 years ago
Rusty Russell 809caa8588 bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal. 8 years ago
Rusty Russell ec3344ce6e daemon/output_to_htlc: routines to map outputs for HTLCs for a given commit_num. 8 years ago
Rusty Russell bcd3e5f60e base58: fix check-source header order check. 9 years ago
Rusty Russell e252f5de7d base58: remove openssl include, and undefined function declaration. 9 years ago
Christian Decker 1f4a056009 Switched base58 to use libbase58. 9 years ago
Jacob ae52977e42 fixed whitespace 9 years ago
Jacob 4751522162 Changed openssl's RAND_bytes() to sodium's randombytes_buf() 9 years ago
Rusty Russell 78174a09e2 bitcoin/varint: fix varint reading for multibyte varints. 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 f2d835522c bitcoin: implement sig_valid. 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 caf50c9ae4 peer: handle fulfull and fail onchain. 9 years ago
Rusty Russell 1245ffaae3 script: add check for 32-byte preimage. 9 years ago
Rusty Russell 02593059cd script: rename scriptpubkey_htlc_send to/recv bitcoin_redeem_htlc_send/recv 9 years ago
Rusty Russell 9eabab78ab utils: tal_hexstr() helper. 9 years ago
Rusty Russell 7efc0efab1 scripteq: simple helper for comparing scripts. 9 years ago
Rusty Russell f4e94147a7 Remove unused script functions now we use witness. 9 years ago
Rusty Russell b1700b1a91 protocol: non-HTLC commit tx outputs are p2wpkh 9 years ago
Rusty Russell 8dce2e77f7 script: 2of2 witness support. 9 years ago
Rusty Russell d26be323b6 measure_tx_cost: determine the BIP141 cost of a transaction. 9 years ago
Rusty Russell e60b1b4efa bitcoind: use correct endianness for block hashes. 9 years ago
Rusty Russell e7b9a913a6 bitcoind: getrawblock helper. 9 years ago
Rusty Russell 410fc3b272 misc: remove some unused functions. 9 years ago
Rusty Russell d9c4960f33 bitcoin/script: support for creating p2sh-p2wpkh. 9 years ago
Rusty Russell 772a960c41 tx: add measure_tx_len() helper. 9 years ago
Rusty Russell 6b956ea22a varint: new file. 9 years ago
Rusty Russell af080d5613 bitcoin/script: helper to create ScriptCode for signing P2WPKH. 9 years ago
Rusty Russell df5d4e3c10 bitcoin/signature: BIP143 signature support. 9 years ago
Rusty Russell 8545db418b bitcoin/tx: sha256_tx_for_sig() takes sighash flag. 9 years ago
Rusty Russell ee5f0e3ea6 bitcoin/tx: add helper to write blob of data. 9 years ago
Rusty Russell 58b14292ad bitcoin/tx: (optional) input amount. 9 years ago
Rusty Russell ed70b13041 bitcoin: add first unit test. 9 years ago