Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcutil
  Commit: e0e9257790367184e97012a52d174c3be8314b93
      
https://github.com/btcsuite/btcutil/commit/e0e9257790367184e97012a52d174c3be8314b93
  Author: Dave Collins <[email protected]>
  Date:   2015-10-23 (Fri, 23 Oct 2015)

  Changed paths:
    A txsort/testdata/li01-1.hex
    A txsort/testdata/li01-2.hex
    A txsort/testdata/li01-3.hex
    A txsort/testdata/li01-4.hex
    A txsort/testdata/li01-5.hex
    M txsort/txsort.go
    M txsort/txsort_test.go

  Log Message:
  -----------
  txsort: Convert tests, optimize, and cleanup code.

- Move hex for test txns into separate files in the testdata directory
- Convert tests to table-driven tests
- Make comments more consistent with the rest of the codebase
- Optimize the input sorting function to perform the hash equivalence
  check before reversing the bytes so it can be avoided in that case


Reply via email to