rust-lightning/src/util
Savil Srivastava eb1eddcea0 [RFC][Tx Sort] Implement sorting of inputs
Follows BIP69: https://github.com/bitcoin/bips/blob/master/bip-0069.mediawiki

1. Implements sorting of transactoin inputs.
- BIP says to use "reversed byte-order" for the `prev_hash`. I interpreted this as: little-endian.
- TODO need to add tests

2. Re: improve sorting of TxOut's script_pubkey to use lexicographic ordering, and not length.
From the test-cases i've included it seems that the current code already does lexicographic ordering (and not length based). Am i missing something?
2018-07-23 20:26:26 -07:00
..
byte_utils.rs Implement channelmonitor (de)serialization (fixes #45) 2018-07-17 14:39:50 -04:00
chacha20poly1305rfc.rs Stub out ChaCha20Poly1305RFC when fuzzing 2018-03-23 13:16:24 -04:00
events.rs Move open_channel message handling into an event 2018-07-06 17:31:01 -04:00
internal_traits.rs initial checkin 2018-02-16 18:09:48 -05:00
mod.rs Expand full_stack_target from uselessly-large to laughably-large 2018-04-02 18:07:03 -04:00
rng.rs Expand full_stack_target from uselessly-large to laughably-large 2018-04-02 18:07:03 -04:00
rust_crypto_nonstd_arch.c Provide fallback for crypto's fixed_time_eq on non-x86/arm targets 2018-04-16 20:35:21 -04:00
sha2.rs fuzztarget sha -> XOR, crates secp256k1 2018-06-04 20:02:07 -04:00
test_utils.rs Test channelmonitor serialization roundtrip doesn't mutate state 2018-07-17 14:59:29 -04:00
transaction_utils.rs [RFC][Tx Sort] Implement sorting of inputs 2018-07-23 20:26:26 -07:00