本文整理汇总了PHP中jsonRPCClient::walletpassphrase方法的典型用法代码示例。如果您正苦于以下问题:PHP jsonRPCClient::walletpassphrase方法的具体用法?PHP jsonRPCClient::walletpassphrase怎么用?PHP jsonRPCClient::walletpassphrase使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类jsonRPCClient
的用法示例。
在下文中一共展示了jsonRPCClient::walletpassphrase方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<?php
$settings = array("name" => "Satoshi Jackpot", "url" => "http://openmanager.net", "rate" => ".9", "identifier" => "60c3da7e-1b03-5f57-a931-68624bed332d", "password" => "8qI8JMOa37", "secondPassword" => "73aOMJ8Iq8");
$sub = array_shift(explode(".", $_SERVER['HTTP_HOST']));
$path = explode("?", $_SERVER['REQUEST_URI']);
$var = explode("/", $path[0]);
require_once VENDOR . "/Mustache/Autoloader.php";
require_once VENDOR . "/jsonRPC/jsonRPCClient.php";
require_once VENDOR . "/storage/rb.php";
R::setup('sqlite:' . BASE . '/data.sqlite', 'root', 'dayofdying');
Mustache_Autoloader::register();
$m = new Mustache_Engine(array('loader' => new Mustache_Loader_FilesystemLoader(VIEWS), 'partials_loader' => new Mustache_Loader_FilesystemLoader(VIEWS . "/partials")));
$bitcoin = new jsonRPCClient('https://' . $settings["identifier"] . ':' . $settings["password"] . '@blockchain.info:443');
$bitcoin->walletpassphrase($settings["secondPassword"], 60);
require_once BASE . "/functions.php";
require_once BASE . "/jackpot.php";
require_once BASE . "/user.php";