Dash Core  0.12.2.1
P2P Digital Currency
smartfees.EstimateFeeTest Class Reference
+ Inheritance diagram for smartfees.EstimateFeeTest:

Public Member Functions

def setup_network (self)
 
def transact_and_mine (self, numblocks, mining_node)
 
def run_test (self)
 
- Public Member Functions inherited from test_framework.test_framework.BitcoinTestFramework
def run_test (self)
 
def add_options (self, parser)
 
def setup_chain (self)
 
def setup_nodes (self)
 
def setup_network (self, split=False)
 
def split_network (self)
 
def sync_all (self)
 
def join_network (self)
 
def main (self)
 

Public Attributes

 nodes
 
 txouts
 
 txouts2
 
 is_network_split
 
 memutxo
 
 fees_per_kb
 
 confutxo
 
- Public Attributes inherited from test_framework.test_framework.BitcoinTestFramework
 nodes
 
 is_network_split
 

Detailed Description

Definition at line 168 of file smartfees.py.

Member Function Documentation

◆ run_test()

def smartfees.EstimateFeeTest.run_test (   self)

◆ setup_network()

def smartfees.EstimateFeeTest.setup_network (   self)
We'll setup the network to have 3 nodes that all mine with different parameters.
But first we need to use one node to create a lot of small low priority outputs
which we will use to generate our transactions.

Definition at line 170 of file smartfees.py.

Referenced by test_framework.test_framework.BitcoinTestFramework.join_network(), test_framework.test_framework.BitcoinTestFramework.main(), and test_framework.test_framework.BitcoinTestFramework.split_network().

◆ transact_and_mine()

def smartfees.EstimateFeeTest.transact_and_mine (   self,
  numblocks,
  mining_node 
)

Definition at line 231 of file smartfees.py.

Member Data Documentation

◆ confutxo

smartfees.EstimateFeeTest.confutxo

Definition at line 260 of file smartfees.py.

Referenced by smartfees.EstimateFeeTest.transact_and_mine().

◆ fees_per_kb

smartfees.EstimateFeeTest.fees_per_kb

Definition at line 258 of file smartfees.py.

Referenced by smartfees.EstimateFeeTest.transact_and_mine().

◆ is_network_split

◆ memutxo

smartfees.EstimateFeeTest.memutxo

Definition at line 255 of file smartfees.py.

Referenced by smartfees.EstimateFeeTest.transact_and_mine().

◆ nodes

smartfees.EstimateFeeTest.nodes

Definition at line 176 of file smartfees.py.

Referenced by walletbackup.WalletBackupTest.do_one_round(), invalidtxrequest.InvalidTxRequestTest.get_tests(), invalidblockrequest.InvalidBlockRequestTest.get_tests(), test_framework.test_framework.BitcoinTestFramework.join_network(), test_framework.test_framework.BitcoinTestFramework.main(), walletbackup.WalletBackupTest.one_send(), listtransactions.ListTransactionsTest.run_rbf_opt_in_test(), getchaintips.GetChainTipsTest.run_test(), nodehandling.NodeHandlingTest.run_test(), txn_clone.TxnMallTest.run_test(), txn_doublespend.TxnMallTest.run_test(), zapwallettxes.ZapWalletTXesTest.run_test(), wallet-hd.WalletHDTest.run_test(), invalidtxrequest.InvalidTxRequestTest.run_test(), httpbasics.HTTPBasicsTest.run_test(), listtransactions.ListTransactionsTest.run_test(), getblocktemplate_longpoll.GetBlockTemplateLPTest.run_test(), invalidblockrequest.InvalidBlockRequestTest.run_test(), test_framework.test_framework.BitcoinTestFramework.run_test(), receivedby.ReceivedByTest.run_test(), wallet.WalletTest.run_test(), multi_rpc.HTTPBasicsTest.run_test(), timestampindex.TimestampIndexTest.run_test(), spentindex.SpentIndexTest.run_test(), txindex.TxIndexTest.run_test(), zmq_test.ZMQTest.run_test(), p2p-fullblocktest.FullBlockTest.run_test(), getblocktemplate_proposals.GetBlockTemplateProposalTest.run_test(), walletbackup.WalletBackupTest.run_test(), proxy_test.ProxyTest.run_test(), test_framework.test_framework.BitcoinTestFramework.split_network(), walletbackup.WalletBackupTest.start_three(), walletbackup.WalletBackupTest.stop_three(), test_framework.test_framework.BitcoinTestFramework.sync_all(), and smartfees.EstimateFeeTest.transact_and_mine().

◆ txouts

smartfees.EstimateFeeTest.txouts

Definition at line 183 of file smartfees.py.

◆ txouts2

smartfees.EstimateFeeTest.txouts2

Definition at line 184 of file smartfees.py.


The documentation for this class was generated from the following file: