Struct bitcoin_test::TestMemPoolEntryHelper
source · pub struct TestMemPoolEntryHelper { /* private fields */ }
Expand description
Implementations§
source§impl TestMemPoolEntryHelper
impl TestMemPoolEntryHelper
sourcepub fn fee(&mut self, fee: Amount) -> &mut TestMemPoolEntryHelper
pub fn fee(&mut self, fee: Amount) -> &mut TestMemPoolEntryHelper
| Change the default value |
pub fn time(&mut self, time: i64) -> &mut TestMemPoolEntryHelper
pub fn height(&mut self, height: u32) -> &mut TestMemPoolEntryHelper
pub fn spends_coinbase(&mut self, flag: bool) -> &mut TestMemPoolEntryHelper
pub fn sig_ops_cost(&mut self, sigops_cost: u32) -> &mut TestMemPoolEntryHelper
source§impl TestMemPoolEntryHelper
impl TestMemPoolEntryHelper
pub fn from_mutable_txn(&self, tx: &MutableTransaction) -> TxMemPoolEntry
pub fn from_txn_ref(&self, tx: &TransactionRef) -> TxMemPoolEntry
Trait Implementations§
source§impl Default for TestMemPoolEntryHelper
impl Default for TestMemPoolEntryHelper
Auto Trait Implementations§
impl RefUnwindSafe for TestMemPoolEntryHelper
impl !Send for TestMemPoolEntryHelper
impl !Sync for TestMemPoolEntryHelper
impl Unpin for TestMemPoolEntryHelper
impl UnwindSafe for TestMemPoolEntryHelper
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more