You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge rust-bitcoin#1796: transaction: Rename is_coin_base to is_coinbase
a54e1ce Apply rustfmt (The rustfmt Tyranny)
38d11ce ci: Make release CI search for NEXT.RELEASE instead (Steven Roose)
dad3abd transaction: Rename is_coin_base to is_coinbase (Steven Roose)
Pull request description:
Alternative to rust-bitcoin#1795.
Keep the old method as deprecated and add doc alias. Also change internal usage of the method.
ACKs for top commit:
tcharding:
ACK a54e1ce
apoelstra:
ACK a54e1ce
Tree-SHA512: 52d9729bf83da164556d960f8867cb836ff57a0f619da3dd3620efffb28a974aac23b8085863ab0e072a4bdb2f13ac576efa43ad2eec9a271ad044227f4d00a4
/// Returns `true` if the transaction itself opted in to be BIP-125-replaceable (RBF).
989
994
///
990
995
/// # Warning
@@ -1578,10 +1583,10 @@ mod tests {
1578
1583
usecrate::network::constants::Network;
1579
1584
1580
1585
let genesis = constants::genesis_block(Network::Bitcoin);
1581
-
assert!(genesis.txdata[0].is_coin_base());
1586
+
assert!(genesis.txdata[0].is_coinbase());
1582
1587
let tx_bytes = hex!("0100000001a15d57094aa7a21a28cb20b59aab8fc7d1149a3bdbcddba9c622e4f5f6a99ece010000006c493046022100f93bb0e7d8db7bd46e40132d1f8242026e045f03a0efe71bbb8e3f475e970d790221009337cd7f1f929f00cc6ff01f03729b069a7c21b59b1736ddfee5db5946c5da8c0121033b9b137ee87d5a812d6f506efdd37f0affa7ffc310711c06c7f3e097c9447c52ffffffff0100e1f505000000001976a9140389035a9225b3839e2bbf32d826a1e222031fd888ac00000000");
1583
1588
let tx:Transaction = deserialize(&tx_bytes).unwrap();
0 commit comments