lnd.xprv/lnwallet
Olaoluwa Osuntokun 05fb9b5a6d
lnwallet: payment and revocation hashes are now 32 bytes
This unifies some inconstancies across the code-base with hashes being
32 vs 20 bytes. All hashes, whether payment or revocation are now
uniformly 32 bytes everywhere. As a result, only OP_SHA256 will be used
within commitment and HTLC scripts. The rationale for using sha256
instead of hash160 for the HTLC payment pre-image is that alternative
chains are more likely to have sha256 implemented, rather than
ripemd160.

A forthcoming commit will update the current commitment, and HTLC
scripts.
2016-06-26 23:04:14 -07:00
..
channel.go lnwallet: payment and revocation hashes are now 32 bytes 2016-06-26 23:04:14 -07:00
coin_select.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
config.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
interface.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
log.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
reservation.go lnwallet: payment and revocation hashes are now 32 bytes 2016-06-26 23:04:14 -07:00
script_utils.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
setup.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
wallet_test.go lnwallet: payment and revocation hashes are now 32 bytes 2016-06-26 23:04:14 -07:00
wallet.go lnd: introduce the fundingManager 2016-06-21 13:13:49 -07:00