Define type alias for enumerated transaction data
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 9 Sep 2020 19:16:09 +0000 (12:16 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 1 Oct 2020 05:41:52 +0000 (22:41 -0700)
commit8b1e5afddd931fb57b48f92493b3a1ae7ab523d9
treee65fcecf17cc940c3293344ab0396761526d7674
parent71230c995c81a6eb09f51239fc9908c854cd90d0
Define type alias for enumerated transaction data

Transaction data from a block may be filtered before it is passed to
block_connected functions, which may need the index of each transaction
within the block. Rather than define each function in terms of a slice
of tuples, define a type alias for the slice where it can be documented.
lightning/src/chain/transaction.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/channelmonitor.rs