Skip to content

cleanup TODOs in transaction_utils.rs #66

Closed
@savil

Description

@savil

I was looking into doing this as an easy starter task, but had some questions. https://github.com/rust-bitcoin/rust-lightning/blob/master/src/util/transaction_utils.rs

  1. re: the TODO to make static and put in utils (+ sort inputs).
  • not sure what "make static" would mean for a standalone function? I'm new to rust so probably overlooking some concept.
  • it seems to already be in a utils file, and is called as transaction_utils::sort_outputs. Is there anything else to do (except implement sort_inputs)?
  1. re: the TODO for ordering of scripts shouldn't be len-based.
  • If not len-based, then what should the ordering be based on?
  • I can poke around at other implementations to see what they do, but figured I'd ask first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions