|
Monero
|


Public Member Functions | |
| __init__ (self, protocol='http', host='127.0.0.1', port=0, idx=0, restricted_rpc=False) | |
| getblocktemplate (self, address, prev_block="", client="") | |
| get_miner_data (self) | |
| calc_pow (self, major_version, height, block_blob, seed_hash='') | |
| add_aux_pow (self, blocktemplate_blob, aux_pow, client="") | |
| send_raw_transaction (self, tx_as_hex, do_not_relay=False, do_sanity_checks=True, client="") | |
| submitblock (self, block) | |
| getblock (self, hash='', height=0, fill_pow_hash=False, client="") | |
| getlastblockheader (self, client="") | |
| getblockheaderbyhash (self, hash="", hashes=[], client="") | |
| getblockheaderbyheight (self, height, client="") | |
| getblockheadersrange (self, start_height, end_height, fill_pow_hash=False, client="") | |
| get_connections (self, client="") | |
| get_info (self, client="") | |
| hard_fork_info (self, client="") | |
| generateblocks (self, address, blocks=1, prev_block="", starting_nonce=0) | |
| get_height (self, client="") | |
| pop_blocks (self, nblocks=1) | |
| start_mining (self, miner_address, threads_count=0, do_background_mining=False, ignore_battery=False) | |
| stop_mining (self) | |
| mining_status (self) | |
| get_transaction_pool (self, client="") | |
| get_transaction_pool_hashes (self, client="") | |
| get_transaction_pool_stats (self, client="") | |
| flush_txpool (self, txids=[]) | |
| get_version (self) | |
| get_bans (self) | |
| set_bans (self, bans=[]) | |
| banned (self, address='') | |
| set_bootstrap_daemon (self, address, username='', password='') | |
| get_public_nodes (self, gray=False, white=True) | |
| get_transactions (self, txs_hashes=[], decode_as_json=False, prune=False, split=False, client="") | |
| get_outs (self, outputs=[], get_txid=False, client="") | |
| get_coinbase_tx_sum (self, height, count, client="") | |
| get_output_distribution (self, amounts=[], from_height=0, to_height=0, cumulative=False, binary=False, compress=False, client="") | |
| get_output_histogram (self, amounts=[], min_count=0, max_count=0, unlocked=False, recent_cutoff=0, client="") | |
| set_log_level (self, level) | |
| set_log_categories (self, categories='') | |
| get_alt_blocks_hashes (self, client="") | |
| get_alternate_chains (self, client="") | |
| get_fee_estimate (self, grace_blocks=0) | |
| is_key_image_spent (self, key_images=[], client="") | |
| save_bc (self) | |
| get_peer_list (self) | |
| set_log_hash_rate (self, visible) | |
| stop_daemon (self) | |
| get_net_stats (self) | |
| get_limit (self) | |
| set_limit (self, limit_down, limit_up) | |
| out_peers (self, out_peers) | |
| in_peers (self, in_peers) | |
| update (self, command, path=None) | |
| get_block_count (self) | |
| get_block_hash (self, height) | |
| relay_tx (self, txids=[], client="") | |
| sync_info (self, client="") | |
| get_txpool_backlog (self, client="") | |
| prune_blockchain (self, check=False) | |
| flush_cache (self, bad_txs=False) | |
| sync_txpool (self) | |
| rpc_access_info (self, client) | |
| rpc_access_submit_nonce (self, client, nonce, cookie) | |
| rpc_access_pay (self, client, paying_for, payment) | |
| rpc_access_tracking (self, clear=False) | |
| rpc_access_data (self) | |
| rpc_access_account (self, client, delta_balance=0) | |
Public Attributes | |
| host = host | |
| port = port | |
| rpc = JSONRPC('{protocol}://{host}:{port}'.format(protocol=protocol, host=host, port=port if port else base+idx)) | |
| framework.daemon.Daemon.__init__ | ( | self, | |
| protocol = 'http', | |||
| host = '127.0.0.1', | |||
| port = 0, | |||
| idx = 0, | |||
| restricted_rpc = False ) |
| framework.daemon.Daemon.add_aux_pow | ( | self, | |
| blocktemplate_blob, | |||
| aux_pow, | |||
| client = "" ) |
| framework.daemon.Daemon.banned | ( | self, | |
| address = '' ) |
| framework.daemon.Daemon.calc_pow | ( | self, | |
| major_version, | |||
| height, | |||
| block_blob, | |||
| seed_hash = '' ) |
| framework.daemon.Daemon.flush_cache | ( | self, | |
| bad_txs = False ) |
| framework.daemon.Daemon.flush_txpool | ( | self, | |
| txids = [] ) |
| framework.daemon.Daemon.generateblocks | ( | self, | |
| address, | |||
| blocks = 1, | |||
| prev_block = "", | |||
| starting_nonce = 0 ) |
| framework.daemon.Daemon.get_alt_blocks_hashes | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.get_alternate_chains | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.get_bans | ( | self | ) |
| framework.daemon.Daemon.get_block_count | ( | self | ) |
| framework.daemon.Daemon.get_block_hash | ( | self, | |
| height ) |
| framework.daemon.Daemon.get_coinbase_tx_sum | ( | self, | |
| height, | |||
| count, | |||
| client = "" ) |
| framework.daemon.Daemon.get_connections | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.get_fee_estimate | ( | self, | |
| grace_blocks = 0 ) |
| framework.daemon.Daemon.get_height | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.get_info | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.get_limit | ( | self | ) |
| framework.daemon.Daemon.get_miner_data | ( | self | ) |
| framework.daemon.Daemon.get_net_stats | ( | self | ) |
| framework.daemon.Daemon.get_output_distribution | ( | self, | |
| amounts = [], | |||
| from_height = 0, | |||
| to_height = 0, | |||
| cumulative = False, | |||
| binary = False, | |||
| compress = False, | |||
| client = "" ) |
| framework.daemon.Daemon.get_output_histogram | ( | self, | |
| amounts = [], | |||
| min_count = 0, | |||
| max_count = 0, | |||
| unlocked = False, | |||
| recent_cutoff = 0, | |||
| client = "" ) |
| framework.daemon.Daemon.get_outs | ( | self, | |
| outputs = [], | |||
| get_txid = False, | |||
| client = "" ) |
| framework.daemon.Daemon.get_peer_list | ( | self | ) |
| framework.daemon.Daemon.get_public_nodes | ( | self, | |
| gray = False, | |||
| white = True ) |
| framework.daemon.Daemon.get_transaction_pool | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.get_transaction_pool_hashes | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.get_transaction_pool_stats | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.get_transactions | ( | self, | |
| txs_hashes = [], | |||
| decode_as_json = False, | |||
| prune = False, | |||
| split = False, | |||
| client = "" ) |
| framework.daemon.Daemon.get_txpool_backlog | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.get_version | ( | self | ) |
| framework.daemon.Daemon.getblock | ( | self, | |
| hash = '', | |||
| height = 0, | |||
| fill_pow_hash = False, | |||
| client = "" ) |
| framework.daemon.Daemon.getblockheaderbyhash | ( | self, | |
| hash = "", | |||
| hashes = [], | |||
| client = "" ) |
| framework.daemon.Daemon.getblockheaderbyheight | ( | self, | |
| height, | |||
| client = "" ) |
| framework.daemon.Daemon.getblockheadersrange | ( | self, | |
| start_height, | |||
| end_height, | |||
| fill_pow_hash = False, | |||
| client = "" ) |
| framework.daemon.Daemon.getblocktemplate | ( | self, | |
| address, | |||
| prev_block = "", | |||
| client = "" ) |
| framework.daemon.Daemon.getlastblockheader | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.hard_fork_info | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.in_peers | ( | self, | |
| in_peers ) |
| framework.daemon.Daemon.is_key_image_spent | ( | self, | |
| key_images = [], | |||
| client = "" ) |
| framework.daemon.Daemon.mining_status | ( | self | ) |
| framework.daemon.Daemon.out_peers | ( | self, | |
| out_peers ) |
| framework.daemon.Daemon.pop_blocks | ( | self, | |
| nblocks = 1 ) |
| framework.daemon.Daemon.prune_blockchain | ( | self, | |
| check = False ) |
| framework.daemon.Daemon.relay_tx | ( | self, | |
| txids = [], | |||
| client = "" ) |
| framework.daemon.Daemon.rpc_access_account | ( | self, | |
| client, | |||
| delta_balance = 0 ) |
| framework.daemon.Daemon.rpc_access_data | ( | self | ) |
| framework.daemon.Daemon.rpc_access_info | ( | self, | |
| client ) |
| framework.daemon.Daemon.rpc_access_pay | ( | self, | |
| client, | |||
| paying_for, | |||
| payment ) |
| framework.daemon.Daemon.rpc_access_submit_nonce | ( | self, | |
| client, | |||
| nonce, | |||
| cookie ) |
| framework.daemon.Daemon.rpc_access_tracking | ( | self, | |
| clear = False ) |
| framework.daemon.Daemon.save_bc | ( | self | ) |
| framework.daemon.Daemon.send_raw_transaction | ( | self, | |
| tx_as_hex, | |||
| do_not_relay = False, | |||
| do_sanity_checks = True, | |||
| client = "" ) |
| framework.daemon.Daemon.set_bans | ( | self, | |
| bans = [] ) |
| framework.daemon.Daemon.set_bootstrap_daemon | ( | self, | |
| address, | |||
| username = '', | |||
| password = '' ) |
| framework.daemon.Daemon.set_limit | ( | self, | |
| limit_down, | |||
| limit_up ) |
| framework.daemon.Daemon.set_log_categories | ( | self, | |
| categories = '' ) |
| framework.daemon.Daemon.set_log_hash_rate | ( | self, | |
| visible ) |
| framework.daemon.Daemon.set_log_level | ( | self, | |
| level ) |
| framework.daemon.Daemon.start_mining | ( | self, | |
| miner_address, | |||
| threads_count = 0, | |||
| do_background_mining = False, | |||
| ignore_battery = False ) |
| framework.daemon.Daemon.stop_daemon | ( | self | ) |
| framework.daemon.Daemon.stop_mining | ( | self | ) |
| framework.daemon.Daemon.submitblock | ( | self, | |
| block ) |
| framework.daemon.Daemon.sync_info | ( | self, | |
| client = "" ) |
| framework.daemon.Daemon.sync_txpool | ( | self | ) |
| framework.daemon.Daemon.update | ( | self, | |
| command, | |||
| path = None ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| framework.daemon.Daemon.host = host |
|
static |
|
static |
| framework.daemon.Daemon.port = port |
| framework.daemon.Daemon.rpc = JSONRPC('{protocol}://{host}:{port}'.format(protocol=protocol, host=host, port=port if port else base+idx)) |
|
static |
|
static |