__init__.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:SumoGUIWallet 作者: sumoprojects 项目源码 文件源码
def __init__(self, app, hub, debug):
        window_size = qt_core.QSize(800, 600)
        BaseWebUI.__init__(self, index.html, app, hub, window_size, debug)
        self.agent = '%s v.%s' % (USER_AGENT, '.'.join(str(v) for v in VERSION))
        log("Starting [%s]..." % self.agent, LEVEL_INFO)

        self.app = app
        self.debug = debug
        self.hub = hub

        self.app.aboutToQuit.connect(self._handleAboutToQuit)

        self.sumokoind_daemon_manager = None
        self.wallet_cli_manager = None
        self.wallet_rpc_manager = None

        self.new_wallet_ui = None

        self.wallet_info = WalletInfo(app)

        # load app settings
        self.app_settings = AppSettings()
        self.app_settings.load()

        ## Blockchain height
        self.target_height = self.app_settings.settings['blockchain']['height']
        self.current_height = 0
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号