Closed
Description
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
- 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 implementsort_inputs
)?
- 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
Labels
No labels