projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version to 0.0.5 to get new docs out
[rust-lightning]
/
src
/
chain
/
transaction.rs
diff --git
a/src/chain/transaction.rs
b/src/chain/transaction.rs
index 227afa0de68e35bf8a104ea913f6ce7e2c6b0db0..73e08ea22f41f4d32ac5a7804617e0e7219d0e1d 100644
(file)
--- a/
src/chain/transaction.rs
+++ b/
src/chain/transaction.rs
@@
-1,3
+1,5
@@
+//! Contains simple structs describing parts of transactions on the chain.
+
use bitcoin::util::hash::Sha256dHash;
use bitcoin::blockdata::transaction::OutPoint as BitcoinOutPoint;
use bitcoin::util::hash::Sha256dHash;
use bitcoin::blockdata::transaction::OutPoint as BitcoinOutPoint;
@@
-27,6
+29,7
@@
impl OutPoint {
res
}
res
}
+ /// Converts this OutPoint into the OutPoint field as used by rust-bitcoin
pub fn into_bitcoin_outpoint(self) -> BitcoinOutPoint {
BitcoinOutPoint {
txid: self.txid,
pub fn into_bitcoin_outpoint(self) -> BitcoinOutPoint {
BitcoinOutPoint {
txid: self.txid,