Module Import alias ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Slice Num attr Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Index Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Slice Num Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareLt Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest bitcoin.rpc RawProxy coloredcoinlib.blockchain BlockchainState script_to_raw_address TestBlockchainState N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self bs N/A N/A BlockchainState from_url None True N/A N/A self blockhash 00000000c927c5d0ee1ca362f912f83c462f644e695337ce3731b9f7c5d1ca8c N/A N/A self previous_blockhash 000000000001c503d2e3bff1d73eb53213a8d784206a233181ea11f95c5fd097 N/A N/A self txhash 72386db4bf4ced6380763d3eb09b634771ba519e200b57da765def26219ef508 N/A N/A self height 154327 N/A N/A self coinbase 4fe45a5ba31bab1e244114c4555d9070044c73c98636231c77657022d76b87f7 N/A N/A self tx N/A N/A N/A self bs get_tx N/A self txhash N/A N/A self coinbasetx N/A N/A N/A self bs get_tx N/A self coinbase N/A test_get_tx N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A N/A self tx inputs N/A 0 get_txhash N/A -1 encode hex c6dcb546bfe4e096e2c2e894fb8c95e9615e6df3095db0e59a4f2413e17a76af N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A self tx inputs N/A 0 get_outpoint N/A 1 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self coinbasetx inputs N/A 0 get_txhash coinbase N/A test_script_to_raw_address N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A script_to_raw_address None N/A test_get_block_height N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self bs get_block_height N/A self blockhash N/A self height N/A test_get_blockhash_at_height N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self bs get_blockhash_at_height N/A self height N/A self blockhash N/A test_get_tx_blockhash N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self bs get_tx_blockhash N/A self txhash N/A N/A self blockhash True N/A N/A N/A self assertEqual N/A N/A N/A self bs get_tx_blockhash N/A N/A N/A self txhash N/A -1 0 N/A None False N/A test_get_previous_blockinfo N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A self bs get_previous_blockinfo N/A self blockhash N/A 0 N/A self previous_blockhash N/A test_ensure N/A N/A self N/A N/A N/A N/A N/A N/A self tx ensure_input_values N/A N/A N/A self assertTrue N/A N/A self tx have_input_values N/A N/A N/A N/A self tx ensure_input_values N/A N/A N/A self assertTrue N/A N/A self tx have_input_values N/A N/A N/A N/A self coinbasetx ensure_input_values N/A N/A N/A self assertTrue N/A N/A self coinbasetx have_input_values N/A test_get_best N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A self bs get_best_blockhash N/A test_iter_block_txs N/A N/A self N/A N/A N/A i 0 N/A txs N/A N/A tx N/A N/A N/A self bs iter_block_txs N/A self blockhash N/A N/A i 1 N/A N/A N/A tx ensure_input_values N/A N/A N/A txs append N/A tx hash N/A N/A N/A self assertEqual i 12 N/A sorted_txs N/A N/A tx hash N/A tx N/A N/A N/A self bs sort_txs txs N/A N/A N/A self assertEqual N/A len sorted_txs 12 N/A a 5e9762b340e2f72a66dabe16d738a8ae89d71843286e7c9354eaf299d906845c N/A b 264b174948d0be47d7661b60ecc88b575ab1216617f5298a230c27f7a34f2e40 N/A N/A N/A self assertTrue N/A a sorted_txs N/A N/A N/A self assertTrue N/A b sorted_txs N/A N/A N/A self assertTrue N/A N/A N/A sorted_txs index a N/A N/A sorted_txs index b N/A test_mempool N/A N/A self N/A N/A N/A mempool_txs N/A N/A N/A self bs get_mempool_txs N/A N/A len mempool_txs N/A N/A tx N/A mempool_txs N/A 0 N/A bh N/A N/A N/A self bs get_tx_blockhash N/A tx hash N/A N/A N/A self assertTrue bh N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main